summaryrefslogtreecommitdiff
path: root/sbin/route
AgeCommit message (Expand)Author
2018-07-09Kill fluff about how route(8) is of limited usefulnessJeremie Courreges-Anglas
2018-07-01Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE.Martin Pieuchot
2018-06-18Replace hardcoded constants with defineskn
2018-06-04Zap unused sockaddr.kn
2018-05-01The -d flag should be a no-op in monitor mode since it does not modifyFlorian Obser
2018-05-01Sync p_rttables() to netstat(1) version. Pointed out by claudio andFlorian Obser
2018-04-30* simplify code by no longer calling getnetbyname(3)Ingo Schwarze
2018-04-30tableid is either initialized to the current routing table or to theFlorian Obser
2018-04-30No need to get the whole routing table from the kernel if we areFlorian Obser
2018-04-30Fix route monitor -AF filter.Florian Obser
2018-04-28remove references to /etc/networks; reminded by jmc@Ingo Schwarze
2018-04-28Improve / simplify pledges.Florian Obser
2018-01-16Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsipMartin Pieuchot
2017-10-18Typo, from Hiltjo Posthuma.Martin Pieuchot
2017-10-17Do not print an extra line if the 'get' command succeeds.Martin Pieuchot
2017-10-16Print the correct message and return an error code when no route entryMartin Pieuchot
2017-09-06backout previous diff:Sebastian Benoit
2017-08-11new sentence, new line;Jason McIntyre
2017-08-10document use of del as short form for delete, from jcaSebastian Benoit
2017-08-10autodetect AF when setting inet6 default routeSebastian Benoit
2017-08-10allow "del" in addition to "delete"Sebastian Benoit
2017-07-10zap depend ghost.Marc Espie
2017-06-12destroy lint remnants.Marc Espie
2017-03-23Fix printf() incantation for non-NULL terminated string.Kenneth R Westerback
2017-03-21getnameinfo errors should go to stderr & should print what's going on.Florian Obser
2017-03-20show inet6 proposals in route monitorFlorian Obser
2017-03-02Implement a new routing message RTM_PROPOSAL that communicatesKenneth R Westerback
2017-01-23Zap some bad whitespace.Kenneth R Westerback
2017-01-19add hooks so we can query the current state of a BFD sessionPeter Hessler
2017-01-17In monitor mode, also print the interface mtu of RTM_IFINFO messages.Jeremie Courreges-Anglas
2017-01-01Hyphenate compound adjectives 'up-to-date', 'out-of-date' and 'well-known'Theo Buehler
2016-12-13Print the correct netmask instead of /0 when flushing routes to networks.Martin Pieuchot
2016-09-24print a BFD route message.Peter Hessler
2016-09-15Add RTM_INVALIDATE as a route message, to keep the kernel and userlandPeter Hessler
2016-09-05Print route labels in double quotes since they can contain spaces in the name.Claudio Jeker
2016-09-04Make it possible to set the RTF_BFD flag in a change request. Also add aClaudio Jeker
2016-09-03Add userland parts for BFD. Can't work if you don't have it enabled inPeter Hessler
2016-09-01Fix previous commit that displays all route flags with "route get".Alexander Bluhm
2016-09-01Display all route flags in "route get", "route show" and "netstat -r"Alexander Bluhm
2016-08-31Remove unused RTF_MASK route flag.Alexander Bluhm
2016-08-26Add <time.h> for time() and ctime(); sort <net*/*.h>Philip Guenther
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