Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-02 | Implement a new routing message RTM_PROPOSAL that communicates | Kenneth R Westerback | |
information that can be used to configure an interface and related network components. ok bluhm@, ok for various older versions mpi@ florian@ claudio@ | |||
2017-01-23 | Zap some bad whitespace. | Kenneth R Westerback | |
2017-01-19 | add hooks so we can query the current state of a BFD session | Peter Hessler | |
bfd session details are visible with "route -n get 192.0.2.1 -bfd" OK mpi@ deraadt@ claudio@ | |||
2017-01-17 | In monitor mode, also print the interface mtu of RTM_IFINFO messages. | Jeremie Courreges-Anglas | |
ok deraadt@ millert@ mpi@ | |||
2017-01-01 | Hyphenate compound adjectives 'up-to-date', 'out-of-date' and 'well-known' | Theo Buehler | |
if they precede the noun and omit hyphens otherwise. ok tj | |||
2016-12-13 | Print the correct netmask instead of /0 when flushing routes to networks. | Martin Pieuchot | |
Issue reported by jsing@, ok stsp@ | |||
2016-09-24 | print a BFD route message. | Peter Hessler | |
protected with #ifdef BFD while we still figure out some of the mechanisms. OK mpi@ | |||
2016-09-15 | Add RTM_INVALIDATE as a route message, to keep the kernel and userland | Peter Hessler | |
lists in sync. OK mpi@ | |||
2016-09-05 | Print route labels in double quotes since they can contain spaces in the name. | Claudio Jeker | |
OK florian@ | |||
2016-09-04 | Make it possible to set the RTF_BFD flag in a change request. Also add a | Claudio Jeker | |
nobfd option to turn it off again. While here also print the fmask in the rtmsg dump so it is possible to figure out why something happens (or not). OK phessler@ | |||
2016-09-03 | Add userland parts for BFD. Can't work if you don't have it enabled in | Peter Hessler | |
the kernel. OK claudio@, henning@ | |||
2016-09-01 | Fix previous commit that displays all route flags with "route get". | Alexander Bluhm | |
The successor of octal 027 is 030 and not 028. Found by regress/sbin/route/rttest20.ok test. | |||
2016-09-01 | Display all route flags in "route get", "route show" and "netstat -r" | Alexander Bluhm | |
output. Sort them according to the RTF_... defines in route.h. OK claudio@ mpi@ | |||
2016-08-31 | Remove unused RTF_MASK route flag. | Alexander Bluhm | |
Requested by and OK mpi@ | |||
2016-08-26 | Add <time.h> for time() and ctime(); sort <net*/*.h> | Philip Guenther | |
ok deraadt@ | |||
2016-07-13 | Introduce RTF_MULTICAST and flag corresponding IPv6 routes as such | Martin Pieuchot | |
instead of abusing RTF_CLONING. Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@ | |||
2016-07-09 | only print one error, not multiple misleading messages | Ted Unangst | |
2016-06-07 | per trending style, add continue to emtpy loop bodies. | Ted Unangst | |
ok mglocker | |||
2015-12-03 | Print the interface index which is part of the route msg header. | Claudio Jeker | |
mpi@ and benno@ agree | |||
2015-11-27 | After evaluating patches from Ricardo Mestre, it became obvious that | Sebastian Benoit | |
route needs pledge("stdio rpath dns") in all cases. Looks best to me deraadt@ | |||
2015-11-20 | Replace hardcoded "0" with SHUT_RD; from Ricardo Mestre | Jeremie Courreges-Anglas | |
2015-10-25 | route flush cannot pledge before sysctl for NET_RT_DUMP; defer the act. | Theo de Raadt | |
issue spotted by matthieu | |||
2015-10-24 | Removing xresolve from generating script has been forgotten. | Alexander Bluhm | |
OK mpi@ | |||
2015-10-23 | route has 3 code paths: monitor (listening on route socket); show | Theo de Raadt | |
(sysctl and then print), change (getsocket, then read/write on that). Refactor lightly and insert pledge "stdio rpath dns" in each case. ok claudio benno phessler | |||
2015-09-11 | Remove RTF_XRESOLVE support. | Martin Pieuchot | |
2015-07-18 | Make all commands accepting the "-priority" switch recognize aliases | Martin Pieuchot | |
for common priorities. ok deraadt@, claudio@ | |||
2015-07-18 | On systems with a full routing table (550k+), we often want to be able to | Peter Hessler | |
look at the routes with a priority, or to display all routes that do not have a specific priority (normally, don't show bgp). We are intentionally not updating netstat -r yet, as we do not have a good flag to use. first version from, and OK benno@ | |||
2015-05-17 | nope, ioctl has not been used for a while | Theo de Raadt | |
2015-05-06 | Document that priority 1 is reserved for kernel use. | Martin Pieuchot | |
2015-04-27 | route show does not need to filter unwanted af itself, the sysctl does | Sebastian Benoit | |
that for us. approach seems sound deraadt@ ok claudio@ mpi@ henning@ phessler@ | |||
2015-03-18 | Instead of embedding interface names in a sockaddr use their indexes | Martin Pieuchot | |
when adding route entries with the -link option. This prevent the ARP layer to take the name of your interface for an Ethernet address. If you still want to add stupid content to your routing table, please write your own tool. Thanks to Henk Jan Agteresch for reporting the original issue and testing this diff. ok mikeb@, deraadt@, benno@, claudio@ | |||
2015-02-06 | Remove route/netstat -f encap in favor of ipsecctl -s flow. | Reyk Floeter | |
OK deraadt@ | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-08-19 | Entries for broadcast addresses should also be ignored, just like local | Martin Pieuchot | |
entries. ok florian@, mikeb@, henning@ | |||
2014-07-24 | Unbreak ''route flush'': the kernel now adds local (RTF_LOCAL) routes | Jeremie Courreges-Anglas | |
for addresses configured on the system, and prevents userland from deleting them. Just skip those routes when flushing. Problem noticed by mlarkin@, ok henning@ mpi@ claudio@ sthen@ deraadt@ | |||
2014-06-23 | The second level of the CTL_NET sysctl is a PF_*, not an AF_* | Philip Guenther | |
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de) | |||
2014-05-08 | Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST. | Martin Pieuchot | |
Nothing use them for the moment, but here is the plan: Since a route lookup is always necessary to output a packet it makes sense to store all the information regarding how the packet should be sent in the routing entry. This will save us some expensive lookups on address lists. But once we have all the information about our addresses in the routing table, we can even use it in the input path with the hope that the number of lookups in the forwarding case can be reduce to one. ok henning@, chris@ | |||
2014-04-17 | Sync show.c to what we have in netstat.c (at least steal some good idioms | Claudio Jeker | |
from there). OK sthen@ mpi@ jca@ | |||
2014-02-26 | Try to be more precise about rtable and rdomains. | Claudio Jeker | |
2014-01-22 | Remove genmask support from route(8). It still will show them in monitor | Claudio Jeker | |
or get but you can no longer set it. genmask will die soon since nobody needs it. OK benno@ and agreed by dlg@ | |||
2013-10-28 | use %d instead of %i in a few fprintf for clarity | Theo de Raadt | |
2013-10-18 | Prepare the route(8) command for printing 64 bit route expire time. | Alexander Bluhm | |
Also fix the conversion between relative and absolute expire time. OK claudio@ | |||
2013-07-19 | Prep for WARNINGS=yes: add the prototypes that were missing, silence | Philip Guenther | |
a "signed vs unsigned in conditional" warning, and eliminate what looks like an unintentional variable shadowing. ok bluhm@ | |||
2013-07-19 | Compile /sbin/route with -Wall enabled. | Alexander Bluhm | |
OK deraadt@ | |||
2013-05-27 | autodetect ipv6 addresses for route(8). ok benno@ bluhm@, manpage help jmc@ | Stuart Henderson | |
2013-03-21 | create realloc() loops around sysctl for array-based mibs, in programs | Theo de Raadt | |
which want a "full" dump ok dlg | |||
2012-12-04 | remove some unnecessary sys/mbuf.h inclusions | Theo de Raadt | |
2012-09-23 | Allow route -T 3 add to create a table even if the table does not exist | Claudio Jeker | |
yet. This is the only way to create alternate routing tables. Reminded by and OK jsg@ | |||
2012-08-14 | fix bad argument passed to errx() | Charles Longeau | |
ok sthen@ benno@ claudio@ | |||
2012-07-13 | allow destination/prefixlen syntax for ipv6 routes. | Sebastian Benoit | |
from Florian Obser, florian -AT- narrans -DOT- de ok sthen@ |