Commit Graph

70 Commits

Author SHA1 Message Date
Ruslan Ermilov
eb9a85cabd mdoc(7) police: fix more breakages from rev. 1.69. 2003-05-14 16:22:16 +00:00
Sheldon Hearn
49830e2a2c Fix broken comment line introduced in rev 1.69.
Found with:	nroff -mandoc ifconfig.8 > /dev/null
2003-05-13 08:29:49 +00:00
Sam Leffler
e519b1a5ee document mode directive 2003-04-28 16:47:40 +00:00
Tim J. Robbins
8151186746 Uncomment the description of the ipdst parameter, but refer to IPX
instead of NS.
2003-03-08 13:42:42 +00:00
Ruslan Ermilov
8fbad60d0a Document the rxcsum and txcsum commands.
Submitted by:	jlemon
2003-02-27 22:59:13 +00:00
Ruslan Ermilov
3706a3a87f mdoc(7) police: markup, spelling.
Also fixed a critical bug made in revision 1.62 by phk@.
2002-11-25 16:01:28 +00:00
Sam Leffler
ac244ef31f update vlandev description; vlan code now auto-recognizes devices that
support h/w tagging
2002-11-15 00:31:49 +00:00
Chris Costello
d25beabfca Remove a line that reflected behavior that does not actually exist.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-10-28 03:46:32 +00:00
Chris Costello
76b4b15fcf Document the `maclabel' command.
Obtained from:	TrustedBSD Project
Sponsored by:	Network Associates Laboratories
2002-10-25 22:40:37 +00:00
Poul-Henning Kamp
afbe3a0f81 Add the "Monitor" interface flag.
Setting this flag on an ethernet interface blocks transmission of packets
and discards incoming packets after BPF processing.

This is useful if you want to monitor network trafic but not interact
with the network in question.

Sponsored by:	http://www.babeltech.dk
2002-09-27 18:57:47 +00:00
Maxim Sobolev
ffb079be0c Implement user-setable promiscuous mode (a new `promisc' flag for ifconfig(8)).
Also, for all interfaces in this mode pass all ethernet frames to upper layer,
even those not addressed to our own MAC, which allows packets encapsulated
in those frames be processed with packet filters (ipfw(8) et al).

Emphatically requested by:	Anton Turygin <pa3op@ukr-link.net>
Valuable suggestions by:	fenner
2002-08-19 15:16:38 +00:00
Ruslan Ermilov
a61d9c47fe mdoc(7) police: KAMEism in rev. 1.56, nits in rev. 1.58. 2002-08-13 11:51:03 +00:00
Warner Losh
d8f2e345b9 Warn that hex keys are the most portable.
Submitted by: Gregory Bond <gnb@itga.com.au>
Pr: 40872
2002-08-12 06:59:04 +00:00
Philippe Charnier
e1205e80e5 The .Nm utility 2002-07-06 19:34:18 +00:00
Hajimu UMEMOTO
331a2db8a9 Add eui64 option which fills interface index (lowermost 64bit of
an IPv6 address) automatically.
This should obsolete prefix(8).

Obtained from:	NetBSD
MFC after:	2 weeks
2002-06-15 15:35:24 +00:00
Brian Somers
aaa348891f Reword the ``alias'' description slightly. We must specify a non-conflicting
netmask - not necessarily 0xffffffff.

MFC after:	3 days
2002-05-11 11:35:35 +00:00
Ruslan Ermilov
1876df83f4 Turn "ether" address family into a generic "link" family
that could be used to set/get arbitrary length link level
addresses.  Alias "lladdr" parameter and "ether" family
to the new "link" family for backward compatibility.

PR:		bin/31476
MFC after:	1 week
2002-03-27 14:29:23 +00:00
Ruslan Ermilov
86fbcc3207 mdoc(7) police: kill whitespace at eol. 2002-03-15 14:45:45 +00:00
Dima Dorfman
d29a2061f2 Note what the default address_family is.
PR:		32463
Submitted by:	Gary W. Swearingen
2002-02-11 02:31:03 +00:00
Ruslan Ermilov
9f1741cac2 mdoc(7) police:
Restore (sorta) a useful piece of information that got lost in the
previous delta -- an ability to specify /prefixlength after an IPv6
address.
2002-01-09 15:10:31 +00:00
Dima Dorfman
eb2a17011c In the words of the submitter:
The first "synopsis" example has a "[/prefixlength]" which shouldn't
	be there, since that stuff is part of the preceeding "address" as is
	explained in the description of "address".

	(The way it is now, 192.168.0.1/16/prefixlength would be a proper
	operand.  Note that "prefixlength" is not mentioned by name anywhere.)

PR:		32462
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-01-07 06:51:19 +00:00
Dima Dorfman
525d500e72 Spelling police: sucessful -> successful.
Submitted by:	Anders Andersson <anders@codefactory.se>
2001-11-24 23:38:17 +00:00
Dima Dorfman
b94231daca Spelling police: "more then" - "more than" where appropriate. 2001-11-24 19:47:12 +00:00
Yaroslav Tykhiy
b8a7fd3f3f `create'' and `destroy'' are command modifiers (.Cm), not flags (.Fl). 2001-08-22 18:37:47 +00:00
Ruslan Ermilov
f1845f5ba8 mdoc(7) police: restore markup bit that got accidentally lost in rev. 1.44. 2001-08-16 11:31:18 +00:00
Stephen McKay
bfc03b187c Spelling. 2001-08-07 11:09:17 +00:00
Ruslan Ermilov
b09b4efb4b mdoc(7) police: fix markup. 2001-07-05 12:37:08 +00:00
Brooks Davis
3e61dca08d Support network device cloning via create and destroy options.
Reviewed by:	ru, ume
Obtained from:	NetBSD
MFC after:	1 week
2001-07-02 20:52:34 +00:00
Hajimu UMEMOTO
3384154590 Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

TODO:
  - The definitions of SADB_* in sys/net/pfkeyv2.h are still different
    from RFC2407/IANA assignment because of binary compatibility
    issue.  It should be fixed under 5-CURRENT.
  - ip6po_m member of struct ip6_pktopts is no longer used.  But, it
    is still there because of binary compatibility issue.  It should
    be removed under 5-CURRENT.

Reviewed by:	itojun
Obtained from:	KAME
MFC after:	3 weeks
2001-06-11 12:39:29 +00:00
Dima Dorfman
b80875bce6 ARP works on networks other than Ethernet.
PR:		22062
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>,
		Brooks Davis <brooks@one-eyed-alien.net>
2001-06-02 04:09:53 +00:00
Dima Dorfman
d86b31125b Mention the 'ether' parameter.
PR:		23767
Submitted by:	Maxime Henrion <mux@qualys.com>,
		Brooks Davis <brooks@one-eyed-alien.net>
2001-06-02 04:05:51 +00:00
Poul-Henning Kamp
ca299b1fc0 When using interfaces that support if_media, the supported media list is
printed on a single, very long, and generally unreadable line.  This
isn't very useful.  It's also really ugly and most of the time you don't
care what media is supported anyway.

PR:		27701
Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
2001-05-29 09:13:44 +00:00
Poul-Henning Kamp
419d8080a4 Currently, each wireless networking driver has it's own control program
despite the fact that most people want to set exactly the same settings
regardless of which card they have.  It has been repeatidly suggested
that this configuration should be done via ifconfig.  This patch
implements the required functionality in ifconfig and add support to the
wi and an drivers.  It also provides partial, untested support for the
awi driver.

PR:		25577
Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
2001-05-26 09:27:08 +00:00
Ruslan Ermilov
19fe482675 Cosmetics: .Dl -> .Li. 2001-05-07 07:42:56 +00:00
Jesper Skriver
12813062e3 Let ifconfig(8) catch up with the new functionality where
one can specify addresses and netmask in CIDR notation.

Submitted by:	Dima Dorfman <dima@unixfreak.org>
2001-05-05 19:53:20 +00:00
Ruslan Ermilov
d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Ben Smithurst
23dafeaced mdoc police.
Submitted by:	ru
2001-01-22 18:37:51 +00:00
Ben Smithurst
b112c02bc6 Add 'netrange' parameter to 'range' command and fix a couple of typos.
PR:		23984
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2001-01-20 21:37:37 +00:00
Ruslan Ermilov
7c7fb079b9 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
Archie Cobbs
abc3361a8b Show the actual command line usage in the man page and usage error string. 2000-07-19 17:24:53 +00:00
John Baldwin
67b6e9dd8b Note that "ether" is a supported address family for setting addresses. 2000-07-12 17:58:19 +00:00
Bill Paul
b106252c19 Implement SIOCSIFLLADDR, which allows you to change the link-level
address on an interface. This basically allows you to do what my
little setmac module/utility does via ifconfig. This involves the
following changes:

socket.h: define SIOCSIFLLADDR
if.c: add support for SIOCSIFLLADDR, which resets the values in
      the arpcom struct and sockaddr_dl for the specified interface.
      Note that if the interface is already up, we need to down/up
      it in order to program the underlying hardware's receive filter.
ifconfig.c: add lladdr command
ifconfig.8: document lladdr command

You can now force the MAC address on any ethernet interface to be
whatever you want. (The change is not sticky across reboots of course:
we don't actually reprogram the EEPROM or anything.) Actually, you
can reprogram the MAC address on other kinds of interfaces too; this
shouldn't be ethernet-specific (though at the moment it's limited to
6 bytes of address data).

Nobody ran up to me and said "this is the politically correct way to
do this!" so I don't want to hear any complaints from people who think
I could have done it more elegantly. Consider yourselves lucky I didn't
do it by having ifconfig tread all over /dev/kmem.
2000-06-16 20:14:43 +00:00
David E. O'Brien
fac3d98105 Document "-alias". 2000-05-20 18:05:24 +00:00
Sheldon Hearn
ef8f7ac935 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
Chris Costello
99aa831bd4 Spelling: `adress'' -> `address'' 2000-02-26 18:59:34 +00:00
Robert Watson
d6d1cb48a9 Introduce `add'' and remove'' as alternatives to alias'' and `delete''.
Improve compatibility with BSD/OS, and also more accurately reflect that
IP aliases aren't really any different than the primary IP address on an
interface.

Reviewed by:	dcs
Approved by:	jkh
2000-02-26 18:55:39 +00:00
Mike Pritchard
f050f700ad Fix various man pages to stop abusing the .Bx macro to generate
the strings "FreeBSD" and "NetBSD".  Use the .Fx or .Nx macro
instead.
2000-01-23 01:30:05 +00:00
Bill Fumerola
dfed87fcea Spelling fix (manuall -> manual)
Submitted by:	Jeroen C. van Gelderen <jeroen@vangelderen.org>
1999-12-16 01:25:17 +00:00
Yoshinobu Inoue
cfa1ca9dfa udp IPv6 support, IPv6/IPv4 tunneling support in kernel,
packet divert at kernel for IPv6/IPv4 translater daemon

This includes queue related patch submitted by jburkhol@home.com.

Submitted by: queue related patch from jburkhol@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-07 17:39:16 +00:00
Poul-Henning Kamp
3e0c8d78f3 Add comment about aliases on same subnet.
Submitted by:	Martin Blapp <mbr@imp.ch>
1999-11-21 14:53:13 +00:00