summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
AgeCommit message (Collapse)Author
2002-07-08make failed SIOCG80211NWKEY print alert more clearly; ↵Theo de Raadt
jolan@norm.encryptedemail.net
2002-06-19Since we can no longer count on isprint() to tell us whether or notTodd C. Miller
a character is 7-bit ASCII, check the high bit by hand when deciding whether to print a WEP key as ASCII or hex.
2002-06-14manpage for eui64Jun-ichiro itojun Hagino
2002-06-14add "eui64" option. from ww@styx.org. sync usage with reality.Jun-ichiro itojun Hagino
2002-06-14metric and mtu are u_long, not int.Jun-ichiro itojun Hagino
2002-06-10print ethernet address; ok provos@, itojun@Markus Friedl
2002-06-09rm trailing whitespaceTodd T. Fries
2002-06-05clarify nwkey usage; ok millert@Jason Peel
2002-05-22strcpy, sprintf death; mpech okTheo de Raadt
2002-04-26use struct in_aliasreq instead of ifaliasreq when setting new inetFederico G. Schwindt
address. solves a sigbus error seen on sparc64 with new binutils. from itojun@
2002-04-25no need for __alignment__, it was paste error. from fgs/deraadtJun-ichiro itojun Hagino
2002-04-10Add missing IFM_OPTIONS macro. Previously 'ifconfig -mediaopt' couldTodd C. Miller
clear bits other than media options. Fix from NetBSD.
2002-04-08more details to media and mediaopt; miod okTheo de Raadt
2002-02-23Add support for nwkey and powersave; from NetBSDTodd C. Miller
2002-02-21i_nwid is not a NUL-terminated string. Use the length parameter for theTodd C. Miller
length and sanity check against IEEE80211_NWID_LEN.
2002-02-19when printing out the option list compare the option part only; fixes 802.11 ↵Michael Shalayeff
mediaopt printing
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-13o) start new sentence on a new line;Mike Pechkin
o) wrap long lines; o) fix bogus .Xr usage; o) we don't like blank lines; o) always close .Bl tags; o) OpenBSD -> .Ox; o) don't like .Pp before .Ss; millert@ ok;
2001-11-13make setting ipx frame type work; from Ian McWilliam <ianm@cit.uws.edu.au>Michael Shalayeff
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-10-30strncpy() -> strlcpy(); from Jean-Francois BrousseauTodd C. Miller
2001-09-15add mtu description, from Phil Pennock <Phil.Pennock@globnix.org>Michael Shalayeff
2001-08-19fix buffer underrun on 1.51Jun-ichiro itojun Hagino
2001-08-18more careful with snprintf result codeTheo de Raadt
2001-07-25do not write into s6_addr[16] (out of bounds).Jun-ichiro itojun Hagino
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-05-07tunneldelete -> deletetunnelMarkus Friedl
2001-05-02implement "deletetunnel" (removes tunnel outer IP address pair)Jun-ichiro itojun Hagino
rename "giftunnel" intto "tunnel", to reduce diffs with netbsd. (giftunnel is still usable for backward compat) markus and niels ok'ed.
2001-03-01on "giftunnel" configuration, use specified address familyJun-ichiro itojun Hagino
2001-02-20provide SIOC[SG]LIFPHYADDR, which greatly simplify userland manipulation.Jun-ichiro itojun Hagino
sync with kame. old ioctls are kept but not really recommended.
2001-01-18permit prefixlen against inet address, like:Jun-ichiro itojun Hagino
# ifconfig fxp0 10.0.0.1 prefixlen 23
2000-12-30Remove the dstsa/srcsa/clearsa directives, the bridge will be usingAngelos D. Keromytis
the gif interface instead.
2000-12-18fix nwid get/setMichael Shalayeff
2000-11-10show pltime=0 address as "deprecated". sync with kame.Jun-ichiro itojun Hagino
2000-10-17We use ARP for all Ethernet speeds.Christian Weisgerber
Pointed out by Hans Guenter Weigand <hgw@d1906.inka.de>. ok aaron@
2000-08-03Fix compilation in non-INET6 case (rfunk@funknet.net)Angelos D. Keromytis
2000-08-01remove duplicate XrJakob Schlyter
2000-06-30correct address family handling in "giftunnel".Jun-ichiro itojun Hagino
test with the following: # ifconfig gif0 inet giftunnel localhost localhost # ifconfig gif0 inet6 giftunnel localhost localhost
2000-06-18routes on down interfaces are disabledNiels Provos
2000-06-18Xr hostname.ifNiklas Hallqvist
2000-05-23doc nwid; imain@ymir.netidea.comTheo de Raadt
2000-05-22correct gif physical address printing on non-IPv6 kernel.Jun-ichiro itojun Hagino
2000-05-15better scoped address handling on gif physical address printing.Jun-ichiro itojun Hagino
(hide kame ifidx hack)
2000-04-28Add vlan stuff to usage()Chris Cappuccio
2000-04-26if_vlan supportChris Cappuccio
2000-04-14use getifaddrs, instead of SIOCGIFCONF.Jun-ichiro itojun Hagino
XXX ifr/ifr6 manipulation is kind of ugly.
2000-04-14recover "ifconfig -a" and "ifconfig -A" behavior for inet (least surprise).Jun-ichiro itojun Hagino
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-04-11add 802.11's nwid command; add mtu commandMichael Shalayeff