summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
AgeCommit message (Collapse)Author
2014-10-01Remove some sl(4) references.Martin Pieuchot
2014-09-20provide a hint for enabling jumbo frames, since we removed it from theJason McIntyre
driver pages;
2014-07-12ewps, that giant table has -inet6 twice, for SMALL and !SMALLHenning Brauer
no breakage involved, but wasn't correct in the SMALL case either
2014-07-12tweak previous;Jason McIntyre
2014-07-11allow IFXF_AUTOCONF6 to be set and cleared.Henning Brauer
"ifconfig <if> inet6 autoconf" to turn it on, -autoconf to turn it off. show AUTOCONF6 in the flags line. -inet6 turns IFXF_AUTOCONF6 off as well. ok stsp benno florian bluhm
2014-07-10Return RSN (WPA) information to userland during wireless scan, andStefan Sperling
make ifconfig show whether a wireless network uses WEP or WPA. Since struct ieee80211_nodereq grows in size old ifconfig won't be able to scan when running on a new kernel. While here, add missing ioctl constant IEEE80211_WPA_CIPHER_BIP. ok jsg@
2014-07-02From: Gregor BestJason McIntyre
- "delete" works in af inet by default - priority range is 0 to 15 the "delete" portion tweaked by me help/ok henning
2014-06-23first attempt at documenting NOINET6 by default and eui64 turning it on againHenning Brauer
2014-06-23make "ifconfig <if> inet6 eui64" reset the NOINET6 flagHenning Brauer
(unconditionally), so a link-local will be assigned if there isn't one yet. ok krw benno todd sthen
2014-05-12Make ifconfig do something intelligent based on the required length ofBob Beck
WEP keys rather then being silently dumb, so when using WEP: 1) If the key is a plausible size try to use it. 2) If they key would be a plausible size with '0x' in front of it, add that. 3) If the key is not a plausible size, emit a warning and do not try to use it. ok sthen@
2014-04-22for consistency's sake, use the terminology from the 802.1Q standardHenning Brauer
here too. pt out by alexey suslikov via mpi, ok reyk
2014-03-05fix a null test, from remco.Ted Unangst
and then modernize some other function pointer calls.
2014-02-26Try to reduce the confusion about rdomain vs rtable. More is needed butClaudio Jeker
this is a start. With input from many.
2014-01-21allow pflow(4) to determine the src IP address based on the routeSebastian Benoit
table if flowsrc is not set. Now works with new udp checksum code. From Nathanael Rensen (nathanael.openbsd AT list DOT polymorpheus DOT com), tweak and ok florian@
2014-01-19Fix macro usage: ifconfig is .Nm, not .Cm.Ingo Schwarze
2013-12-01Make ifconfig scan show the nwid, channel, and bssid for IBSS networks.Stefan Sperling
These were only shown for access points, so getting useful information about IBSS networks in the area was somewhat difficult. ok deraadt
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
Careful second audit by millert
2013-11-21Make the bit string unsigned char * in printb() and printb_status().Todd C. Miller
In practice we shouldn't have chars > 127 in these but it is better not to assume this. OK deraadt@
2013-11-12add a variety of missing prototypesTheo de Raadt
2013-11-05Fix ifconfig with IPv6 tunnel addresses which was broken by theAlexander Bluhm
vxlan(4) commit. found by todd@; OK reyk@
2013-10-28use %d instead of %i in a few fprintf for clarityTheo de Raadt
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
created a bunch of useless dependencies. Remove this implicit inclusion and do an explicit #include <netinet6/in6_var.h> when it is needed. OK mpi@ henning@
2013-10-13whitespaceReyk Floeter
2013-10-13Pass NI_DGRAM to getnameinfo() to use UDP tunnel service names.Reyk Floeter
2013-10-13tweak previous;Jason McIntyre
2013-10-13Import vxlan(4), the virtual extensible local area network tunnelReyk Floeter
interface. VXLAN is a UDP-based tunnelling protocol for overlaying virtualized layer 2 networks over layer 3 networks. The implementation is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested with other implementations in the wild. put it in deraadt@
2013-10-09Change "physical address" to "tunnel:" in ifconfig's tunnel addressReyk Floeter
output. This is more consistent with the current ifconfig style and matches the "tunnel" configuration command. ok claudio@ jmc@ deraadt@
2013-09-13pflow(4) does not work without flowsrc set.Florian Obser
OK benno@
2013-08-19Add missing util.hDavid Coppa
ok otto@ mpi@ mikeb@
2013-08-16Replace the misleading SIOC{G,S}IFGENERIC ioctls by SIOCG{G,S}PPPPARAMS.Martin Pieuchot
This is another ABI break but no port rely on them as verified by naddy@. ok claudio@, mikeb@, henning@
2013-07-16Make sure the ioctl(2) has been processed by sppp(4) before printingMartin Pieuchot
any phase error. This prevents ifconfig(8) from priting 'sppp: phase...' messages for vlan(4) interfaces attached to interfaces with a long name. A better fix should be cooked because various pseudo-interfaces still use the same set of ioctl(2)s for different purposes. Issue reported by jca@, ok claudio@, jca@
2013-07-10Change the structure used in the SPPPIOSDEFS and SPPPIOGDEFS ioctlsMartin Pieuchot
to only include what is really needed. In particular stop including a "struct ifnet" and move kernel-only definition into the proper #if dance. While here remove the unused spppinfo() from ifconfig. ok guenther@, sthen@, mikeb@
2013-07-02Long passwords could not be replaced completely with shorterAlexander Bluhm
passwords. ioctl(SIOCGVH) fills the carpr_key with the old value. strlcpy() overwrites only the beginning of the key. Add a bzero() to clear the rest. Testing Jan Klemkow; OK florian@ mpf@
2013-05-31Correct the range checks in ifconfig properly for vhid, advbase and advskew.YASUOKA Masahiko
Clarify about the ranges in the man page. ok mpf mcbride
2013-04-25fix format string; found while scaning the tree for time_t/ino_t problems;Otto Moerbeek
ok deraadt@ krw@
2013-04-19remove comment about "make gcc happy" for variables which WERE beingTheo de Raadt
used uninitialized... clean up time related variables too for 2038++ ok millert
2013-04-03handle larger time_t types; toss some unused codeTheo de Raadt
ok guenther
2013-03-14tedu faith(4), suggested by todd@ some weeks ago after a submission byMartin Pieuchot
dhill. ok krw@, mikeb@, tedu@ (implicit)
2013-03-05802.1x enterprise is actually supported but requires external software, soStuart Henderson
update the manual. Pointed out by mlarkin@, ok mlarkin@ brad@ matthieu@
2013-02-06add pppx(4) interfaces to the "pppx" interface group, as done for variousStuart Henderson
other interface types. suggested/tested Mattieu Baptiste, ok dlg@ yasuoka@ giovanni@, ifconfig(8) reminder jmc@
2012-12-22Return EEXIST to 'add' when a port is already a bridge member. This makesCamiel Dobbelaar
reconfiguration with /etc/netstart silent again. (noticed by deraadt) And do the same for 'addspan'. ok deraadt
2012-12-04add group support back (for the ramdisk version)Theo de Raadt
spotted by rpe and sthen; ok krw
2012-12-04only needs sys/types.h not sys/param.hTheo de Raadt
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2012-11-30get rid of unneeded \n here. err(3) family already does it for us.Gleydson Soares
OK mikeb@ camield@ reyk@ sobrado@ henning@ krw@
2012-11-23Mention hardmtu in the list relating to hwfeatures, suggested by jmc@Stuart Henderson
2012-11-23Display hardmtu value when "ifconfig hwfeatures" is used.Stuart Henderson
Looks fine reyk@ ok mikeb@
2012-09-07no need for the ../bioctlTheo de Raadt
2012-09-06move pkcs5_pbkdf5 function to libutil so everybody can play with itTed Unangst
ok deraadt jsing matthew
2012-08-27correct the description of VLAN_MTU; from brad smithJason McIntyre
ok sthen haesbaert while here, knock out a useless .Pp, and provide a section number for an Xr;