summaryrefslogtreecommitdiff
path: root/sbin/route
AgeCommit message (Expand)Author
2016-07-13Introduce RTF_MULTICAST and flag corresponding IPv6 routes as suchMartin Pieuchot
2016-07-09only print one error, not multiple misleading messagesTed Unangst
2016-06-07per trending style, add continue to emtpy loop bodies.Ted Unangst
2015-12-03Print the interface index which is part of the route msg header.Claudio Jeker
2015-11-27After evaluating patches from Ricardo Mestre, it became obvious thatSebastian Benoit
2015-11-20Replace hardcoded "0" with SHUT_RD; from Ricardo MestreJeremie Courreges-Anglas
2015-10-25route flush cannot pledge before sysctl for NET_RT_DUMP; defer the act.Theo de Raadt
2015-10-24Removing xresolve from generating script has been forgotten.Alexander Bluhm
2015-10-23route has 3 code paths: monitor (listening on route socket); showTheo de Raadt
2015-09-11Remove RTF_XRESOLVE support.Martin Pieuchot
2015-07-18Make all commands accepting the "-priority" switch recognize aliasesMartin Pieuchot
2015-07-18On systems with a full routing table (550k+), we often want to be able toPeter Hessler
2015-05-17nope, ioctl has not been used for a whileTheo de Raadt
2015-05-06Document that priority 1 is reserved for kernel use.Martin Pieuchot
2015-04-27route show does not need to filter unwanted af itself, the sysctl doesSebastian Benoit
2015-03-18Instead of embedding interface names in a sockaddr use their indexesMartin Pieuchot
2015-02-06Remove route/netstat -f encap in favor of ipsecctl -s flow.Reyk Floeter
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-08-19Entries for broadcast addresses should also be ignored, just like localMartin Pieuchot
2014-07-24Unbreak ''route flush'': the kernel now adds local (RTF_LOCAL) routesJeremie Courreges-Anglas
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
2014-05-08Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST.Martin Pieuchot
2014-04-17Sync show.c to what we have in netstat.c (at least steal some good idiomsClaudio Jeker
2014-02-26Try to be more precise about rtable and rdomains.Claudio Jeker
2014-01-22Remove genmask support from route(8). It still will show them in monitorClaudio Jeker
2013-10-28use %d instead of %i in a few fprintf for clarityTheo de Raadt
2013-10-18Prepare the route(8) command for printing 64 bit route expire time.Alexander Bluhm
2013-07-19Prep for WARNINGS=yes: add the prototypes that were missing, silencePhilip Guenther
2013-07-19Compile /sbin/route with -Wall enabled.Alexander Bluhm
2013-05-27autodetect ipv6 addresses for route(8). ok benno@ bluhm@, manpage help jmc@Stuart Henderson
2013-03-21create realloc() loops around sysctl for array-based mibs, in programsTheo de Raadt
2012-12-04remove some unnecessary sys/mbuf.h inclusionsTheo de Raadt
2012-09-23Allow route -T 3 add to create a table even if the table does not existClaudio Jeker
2012-08-14fix bad argument passed to errx()Charles Longeau
2012-07-13allow destination/prefixlen syntax for ipv6 routes.Sebastian Benoit
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.David Gwynne
2011-09-03make -column lists pretty again;Jason McIntyre
2011-07-09rmove rotten netatalk bitsHenning Brauer
2011-07-05kill a useless Pp;Jason McIntyre
2011-07-05Flip one .Fl interface to .Fl iface since iface is used everywhere elseClaudio Jeker
2011-07-04Force the sa_len to sizeof(struct sockaddr_dl) before callingClaudio Jeker
2011-07-02-interface is an alias of -iface so make sure route(8) accepts bothClaudio Jeker
2011-04-25allow commands like "route add 0.0.0.0/1 $SOMEHOST" to work correctly,Stuart Henderson
2010-10-25range check rtm_type more carefully against the known RTM_ values.Theo de Raadt
2010-10-11Make route(8) use the ROUTE_TABLEFILTER and change the code so thatClaudio Jeker
2010-09-2115 months later, there is still no mpls(4) man page: .Xr mpls 4 -> MPLSJason McIntyre
2010-09-21Add '-label' to specify that you only want to see routes having theKenneth R Westerback
2010-09-04Tried to get too fancy with the Makefile in a way that doesn't buildBret Lambert
2010-09-04sort generated keywords in order to replace linear probe with bsearch(3)Bret Lambert
2010-09-02remove trailing spaces and tabs from source code; no binary changesIgor Sobrado