Age | Commit message (Collapse) | Author | |
---|---|---|---|
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@ | |||
2012-03-17 | remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO. | David Gwynne | |
no objection from mcbride@ krw@ markus@ deraadt@ | |||
2011-09-03 | make -column lists pretty again; | Jason McIntyre | |
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense. | |||
2011-07-09 | rmove rotten netatalk bits | Henning Brauer | |
2011-07-05 | kill a useless Pp; | Jason McIntyre | |
2011-07-05 | Flip one .Fl interface to .Fl iface since iface is used everywhere else | Claudio Jeker | |
even though -interface is the same as -iface. OK jmc@ | |||
2011-07-04 | Force the sa_len to sizeof(struct sockaddr_dl) before calling | Claudio Jeker | |
link_addr() since the function looks at sa_len internally. This should solve issues with using -ifp modifier because the aflen was often to small. | |||
2011-07-02 | -interface is an alias of -iface so make sure route(8) accepts both | Claudio Jeker | |
flags in the monitor case. Brought up on the mailing list some long time ago. | |||
2011-04-25 | allow commands like "route add 0.0.0.0/1 $SOMEHOST" to work correctly, | Stuart Henderson | |
previously they operated on the default route. reported by weerd@, ok claudio@ | |||
2010-10-25 | range check rtm_type more carefully against the known RTM_ values. | Theo de Raadt | |
this is not the real solution to PR 6500; claudio is going to fix that properly in the kernel ok claudio | |||
2010-10-11 | Make route(8) use the ROUTE_TABLEFILTER and change the code so that | Claudio Jeker | |
route(8) will default to the process rtableid. route -T 1 exec route add default 192.168.1.1 route -T 1 exec route -n show These commands will now operate outmatically on rtable 1 and not on rtable 0 as it was done before. OK henning@ | |||
2010-09-21 | 15 months later, there is still no mpls(4) man page: .Xr mpls 4 -> MPLS | Jason McIntyre | |
2010-09-21 | Add '-label' to specify that you only want to see routes having the | Kenneth R Westerback | |
given label. No change to existing functionality. ok henning@ claudio@ | |||
2010-09-04 | Tried to get too fancy with the Makefile in a way that doesn't build | Bret Lambert | |
correctly; changing keywords.sh still requires manual intervention. pointed out by sthen@ | |||
2010-09-04 | sort generated keywords in order to replace linear probe with bsearch(3) | Bret Lambert | |
(more people should know about how to properly use libc-provided tools) make keywords.h depend upon keywords.sh, so that it gets automatically rebuilt when keywords.sh is edited ok claudio@ | |||
2010-09-02 | remove trailing spaces and tabs from source code; no binary changes | Igor Sobrado | |
(verified by both sthen@ and me). ok sthen@; "just commit it" claudio@ | |||
2010-07-29 | Print a column with the routing label if "netstat -vr" or "route | Alexander Bluhm | |
-v show" are called with the -v switch. ok markus@ | |||
2010-07-14 | handle printing of RTM_DESYNC in route monitor. | David Gwynne | |
reviewed by deraadt@ written by sthen@ who said i should commit it cos he was going to sleep. | |||
2010-07-03 | Fix the naming of interfaces and variables for rdomains and rtables | Philip Guenthe | |
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me | |||
2010-06-27 | Make 'route exec' emit error messages like xargs when execve() fails does. | Philip Guenthe | |
ok claudio@ | |||
2010-05-19 | Set RTF_MPLS when playing with MPLS routes since this is now required. | Claudio Jeker | |
OK michele@ | |||
2010-05-19 | remove unused variables | Charles Longeau | |
ok claudio@ michele@ | |||
2010-05-19 | Do not default to rdomain 1 for route exec use 0 as default like every other | Claudio Jeker | |
route command. Found by Christophe Fillo (cf (at) utc fr). While there cleanup the code a bit there is no need for special rtableid handling for route exec. OK reyk@ | |||
2010-03-23 | Add missing break, found while syncing with netstat/show.c | Claudio Jeker | |
2010-03-23 | Print MPLS information in route -n get and do some cleanup in the show code. | Claudio Jeker | |
OK michele@ | |||
2010-01-13 | netmask sockaddrs for the default route may set sa_len to 0 to indicate | Claudio Jeker | |
a all zero mask. So check for this condition as well since else we read garbage that comes after the netmask sockaddr (which is the IFP normaly). Found by todd@, OK dlg@ | |||
2010-01-11 | "default" routes need a mask of 0 too. | David Gwynne | |
from and ok claudio@ | |||
2009-12-20 | First shot at making this manual page not look like a black sheep. Been | Theo de Raadt | |
looking at it with claudio since I started doing more routing stuff. | |||
2009-12-11 | be a little more specific about -ifp; from Doran Mori | Jason McIntyre | |
2009-12-01 | Add the new exec command to run a process and its children in a | Reyk Floeter | |
non-default rdomain/rtable. route will change the default rdomain using the new setrdomain() syscall and execute the supplied command, eg. "route -T1 exec /usr/sbin/named". Tested by many including michele@, phessler@ ok claudio@, deraadt@ | |||
2009-12-01 | add "exec" keyword | Reyk Floeter | |
ok jsg@ | |||
2009-11-04 | tweak previous; | Jason McIntyre | |
2009-11-03 | Lies. We no longer support this magic netmask at the end of the line | Claudio Jeker | |
compatibility. | |||
2009-11-02 | Print the route metrics in monitor mode if -v is used. This info can be | Claudio Jeker | |
useful from time to time and it is easer then deciphering ktrace output. While there kill the no longer needed msec macro. OK henning | |||
2009-11-02 | Use strtonum instead of atoi, this allows to do basic range checking. | Claudio Jeker | |
While there remove some very old compat code supporting a syntax that no one still knows or uses. OK henning@, deraadt@ | |||
2009-10-30 | The script that generates keywords.h wasn't updated when | Jonathan Gray | |
mplslabel label was added, fix. | |||
2009-09-14 | Switch get_linkstate() to use the new LINK_STATE_DESCRIPTIONS instead | Claudio Jeker | |
of the if_media dance. Simplifies the code nicely. OK henning, sthen, michele, deraadt | |||
2009-08-07 | if buffers overlap; result will be undefined. ok claudio@, michele@ | Martynas Venckus | |
2009-07-23 | Always print interface names, not just ifindex, even when -n is | Stuart Henderson | |
specified. Most people want -n to avoid reverse DNS lookups, and it's stupid not to print a useful interface name just for that. YES PLEASE! Ok claudio@ | |||
2009-07-23 | Only print unknown in RTM_IFINFO messages when the link is in | Claudio Jeker | |
LINK_STATE_UNKOWN. In the other case use LINK_STATE_IS_UP() to print either "up" or "down". OK henning@, sthen@ | |||
2009-06-27 | Mark MPLS routes with T (tagged) in route output. | Michele Marchetto | |
suggested by dlg@, ok claudio@, laurent@, blambert@ |