summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
AgeCommit message (Collapse)Author
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;
2012-08-21Reverse the name and meaning of the IFXF_INET6_PRIVACY interfaceAlexander Bluhm
flag. It is now called IFXF_INET6_NOPRIVACY. So IPv6 privacy addresses are on by default without resetting the flag during ifconfig down/up. OK stsp@, sperreault@ (who wrote the same diff)
2012-05-31Clarify issues del (bridge command) vs delete (IP address command);Theo de Raadt
documentation not fixed after ifconfig/brconfig merge spotted by Pieter Verberne ok camield
2012-04-15fix a leakJonathan Gray
ok krw@
2012-03-18clarify the nwkey text; requested by Doug FordhamJason McIntyre
ok jsg
2012-02-02add netflow v9/ipfix support to pflow(4).Sebastian Benoit
large parts written by Florian Obser (florian -at- narrans -dot- de). feedback from sperreault@ gollo@ sthen@ ok from gollo@ dlg@ henning@
2011-12-04Cleanup recently removed flags from ifconfig.c and its manpage.Christiano F. Haesbaert
ok jmc@ mikeb@
2011-11-27Manpage bits for the recent changes in vlan(4) prio handling.Christiano F. Haesbaert
ok jmc henning sthen claudio
2011-11-26Tie the 802.1p (CoS) value in vlan(4) with the new prio scheme in pf.Christiano F. Haesbaert
When transmitting through vlan(4), it will now use the prio value in pf packet header. When receiving, we save the incoming Cos in the same place, this gives us the hability to preserve the CoS value across two different vlan interfaces. This kills the SIOC[GS]VLANPRIO ioctls and removes the corresponding buttons from ifconfig(8). ok henning@ claudio@ mcbride@
2011-11-02Properly document hwfeatures.Christiano F. Haesbaert
ok jcm@ henning@
2011-11-02this list is sorted alphabetically;Jason McIntyre
2011-11-02Expose if_capabilities to userland so that ifconfig can display theChristiano F. Haesbaert
device hardware features. Tune ifconfig to show them with 'hwfeatures' argument. While here, kill some old unused capabilities and respect 80 columns in brconfig.h. ok mcbride@, henning@, mpf@.
2011-10-25document some limits of "group-name"; from Steffen Daode NurpmesoJason McIntyre
ok henning
2011-09-19kill prototypes for long removed functions, Rafael Sadowski <rafael atHenning Brauer
sizeofvoid.org>
2011-08-21Remove old wpapsk entries. Cleanup casts and use timerclear.Christiano F. Haesbaert
ok mcbride
2011-07-09tweak previous;Jason McIntyre
2011-07-09rmove rotten netatalk bitsHenning Brauer
2011-06-27vlan parent devices do not have to be physical, and they can beCamiel Dobbelaar
changed on the fly now. ok sthen deraadt
2011-05-26Don't provide an af hint to getaddrinfo in settunnel(), this functionStuart Henderson
already checks that families of source and destination addresses match and that's all we need. This allows "ifconfig foo tunnel 1::1 2::2" syntax rather than requiring "ifconfig foo inet6 tunnel 1::1 2::2", which in turn allows hostname.if files to create an IPv4-in-IPv6 tunnel without games with shell escapes. ok dcoppa@, seems ok todd@, "Yes, yes and yes" claudio@
2011-03-23use the define for max rdomain with tunneldomain as wellJonathan Gray
ok claudio@
2011-03-13consistently use "Wake on LAN (WoL)"; i don;t care if anyone wants toJason McIntyre
change that, but let's keep it consistent; ok stsp
2011-03-13s/can be/are/ in previous; from jmcStefan Sperling
2011-03-13Add a way to enable/disable Wake On LAN with ifconfig.Stefan Sperling
ok deraadt
2011-03-01Introduce a dummy function in the SMALL case to digest arguments likeClaudio Jeker
"rdomain", "description", etc. so that the ifconfig on ramdisk is able to parse hostname.if files on updates. OK deraadt@
2011-02-17Clarify that ifconfig tries to show interface groups before type "groups".Camiel Dobbelaar
ok henning jmc miod
2011-02-170-4095 inclusive is the correct (12 bit) vlan rangeCamiel Dobbelaar
ok henning claudio miod
2010-12-23spelling fixes; from Daniel DickmanJason McIntyre
2010-11-09when setting the rdomain, use the same define as the kernelJonathan Gray
for the maximum route-id instead of a currently incorrect number ok claudio@
2010-11-01add support for (full length only) hex keys to the wpakey code. for theTheo de Raadt
remainder of the 4.8->4.9 transition, alias wpapsk to wpakey (since it swings both ways) ok damien halex tedu
2010-10-18document the new wpakey optionAlexander Hall
prodded by deraadt@ "tweak previous" expected... ;-)
2010-10-18Add wpakey/-wpakey options. This was originally written by halex andTheo de Raadt
has gone many times around now (it is smaller now). man page diff coming soon. Fits onto the media that need it. ok halex