summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
AgeCommit message (Collapse)Author
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;
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@.