summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.c
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-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-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-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-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-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-08-03Fix compilation in non-INET6 case (rfunk@funknet.net)Angelos D. Keromytis
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-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-11add 802.11's nwid command; add mtu commandMichael Shalayeff
2000-02-18more alignment fix for SIOCGIFCONF.Jun-ichiro itojun Hagino
2000-02-18avoid alignment problem in 64bit arch.Jun-ichiro itojun Hagino
netbsd 1.57 -> 1.58
2000-02-18fix unaligned struct access on alpha.Jun-ichiro itojun Hagino
From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se>
2000-01-15Add "giftunnel" keyword, obsoleting gifconfig(8).Angelos D. Keromytis
2000-01-09Use getaddrinfo() in srcsa/dstsa/clearsa.Angelos D. Keromytis
1999-12-27Handle srcsa/clearsa, and rename setsa to dstsa.Angelos D. Keromytis
1999-12-27Implement setsa keyword for enc interface TDB binding.Angelos D. Keromytis
1999-12-20remove temporary workaround for library dependency problem.Jun-ichiro itojun Hagino
(this was just for kame repository)
1999-12-08IPv6-enabled ifconfig from KAME.Jun-ichiro itojun Hagino
it now loops through all the aliases on interfaces. KAME_SCOPEID will be enabled when get{addr,name}info(3) are replaced with KAME code.
1999-02-24only allow src, dst address, not things like "ifconfig xx0 1 2 3 4 5 6"Theo de Raadt
1999-02-24for things like "ifconfig xx0 up", do not automatically set an address.Theo de Raadt
1998-09-03Documentation for ifmedia & updated ifconfig usageJason Wright