Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-19 | Set RTF_MPLS when playing with MPLS routes since this is now required. | Claudio Jeker | |
OK 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 | Print MPLS information in route -n get and do some cleanup in the show code. | Claudio Jeker | |
OK michele@ | |||
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-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-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-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@ | |||
2009-06-25 | Add a missing RTM_VERSION check. | Claudio Jeker | |
Tested and OK sthen@, OK henning@ | |||
2009-06-06 | Uninitialized variable causing havoc on flush. Found by rivo nurges | Claudio Jeker | |
2009-05-31 | Masking the priority with RTP_MASK is no longer needed in userland. | Claudio Jeker | |
Kernel will do this now. | |||
2009-05-30 | Make it possible to filter monitor output on AF or show only interface | Claudio Jeker | |
specific changes. OK henning@ | |||
2009-05-30 | priority is a u_char not a u_short. | Claudio Jeker | |
2009-05-30 | Make route flush more powerful by allowing -iface/-interface or -priority | Claudio Jeker | |
to be specified. So only routes matching these conditions will be flushed. This will help making dhclient less dumb when fiddeling with routes. OK henning@ | |||
2009-04-28 | Sync with kernel changes. | Michele Marchetto | |
Add support to route(8) for a new dummy operation to allow packets coming in with a particular label to leave the MPLS cloud and join ipv4/ipv6 stack. ok claudio@ laurent@ | |||
2009-02-03 | Reflect MPLS kernel changes. Operations are stored now in rt_mpls field. | Michele Marchetto | |
ok claudio@ laurent@ | |||
2009-01-29 | Introduce -mplslabel to allow ipv4/ipv6 packets enter MPLS clouds. | Michele Marchetto | |
This is also consistent with mplslabel in ifconfig(8). OK claudio@ laurent@ | |||
2009-01-28 | Reflect MPLS kernel changes. | Michele Marchetto | |
2009-01-08 | Reflect MPLS kernel changes. | Michele Marchetto | |
ok claudio@ | |||
2008-12-16 | Use macros from route.h when mapping route priorities to names; the | Stuart Henderson | |
hardcoded values used here before were incorrect. ok claudio@ | |||
2008-12-15 | Reflect kernel changes. Labels are no more per link unique | Michele Marchetto | |
and operations are now stored in rt_flags. This also simplify a lot the syntax. ok claudio@ laurent@ | |||
2008-12-12 | Use the hdrlen to skip over the header and to the sockaddrs instead of the | Claudio Jeker | |
implied sizeof(struct rt_msghdr). Makes code more robust when userland and kernel are out of sync. | |||
2008-09-15 | Mask rtm->rtm_priority with RTP_MASK before printing so that the priority is | Claudio Jeker | |
correctly shown even if the route is flagged RTP_DOWN. OK henning@ | |||
2008-05-09 | using the rtm_priority to translate priority number into nice name is | Henning Brauer | |
working much better than using rtm_version for that | |||
2008-05-09 | on route get, display the priority and a cleartext name (like, "bgp" for 48) | Henning Brauer | |
claudio ok | |||
2008-05-07 | Add support to show and modify rtm_priority. | Claudio Jeker | |
2008-05-06 | Yet another missing RTM_VERSION check. Found by norby@. OK henning@ | Claudio Jeker | |
2008-05-06 | Add code to specify the mpls label switching operation. OK norby@ | Claudio Jeker | |
2008-05-06 | Labels in the sockaddr are stored like on the wire so shift and byte swap | Claudio Jeker | |
them. This makes route lookups work again. OK norby@ | |||
2008-04-28 | It is now possible to enter static MPLS routes into the kernel. | Esben Norby | |
It is still not possible to set the desired opration for an entry. ok claudio@ laurent@ dlg@ | |||
2007-09-25 | make route flush obey the rtable ID | Henning Brauer | |
From: Pierre Riteau <pierre.riteau@free.fr> | |||
2007-09-05 | Correct the format strings after the recent rt_metrics changes. | Claudio Jeker | |
rmx_pksent is not u_int64_t all others are just u_int. This is almost the same as in usr.bin/netstat. | |||
2007-06-04 | remove IPX, agreed by many | Henning Brauer | |
libc and kernel side awaiting a libc major bump to piggyback to | |||
2007-05-30 | Unbreak route.c after TOKEN removal by henning (bad henning, no cookie) | Ryan Thomas McBride | |
looks ok otto@ | |||
2007-03-25 | Instead of using the global -F flag that only works with show, switch to a | Claudio Jeker | |
show specific modifier -gateway to show only routes whose gateway are in the same AF as the destination. Requested by deraadt@, OK pyr@, reyk@, michele@ | |||
2007-03-23 | add -F to usage() and kill some extraneous whitespace; | Jason McIntyre | |
2007-03-23 | Add a new flag -F to netstat restricting route display in conjuction | Pierre-Yves Ritschard | |
with -r to routes in the same address family as the destination. ok henning@, claudio@ | |||
2007-03-23 | Only print the routing table id if the routing message uses the rt_msghdr | Claudio Jeker | |
else some random value is printed for messages like RTM_NEWADDR. OK henning@ | |||
2006-11-28 | add additional link states to report the half duplex / full duplex | Reyk Floeter | |
state, if known by the driver. this is required to check the full duplex state without depending on the ifmedia ioctl which can't be called in the kernel without process context. ok henning@, brad@ | |||
2006-11-28 | -T in synopsis and briefly in manpage | Henning Brauer | |
2006-11-17 | change semantics of ff01::/16 to interface local multicast | Jun-ichiro itojun Hagino | |
(to sync up with more recent IPv6 spec) ok from: deraadt mcbride | |||
2006-10-15 | Proper link state descriptions in print_rtmsg() RTM_IFINFO case. | Ryan Thomas McBride | |
ok deraadt henning | |||
2006-06-17 | Display multipath and jumbo flags in route get/monitor. | Christopher Pascoe | |
ok claudio@ | |||
2006-06-16 | make route show work on secondary tables, using the just committed | Henning Brauer | |
extension to the syctl NET_RT_DUMP interface, claudio ok | |||
2006-06-16 | introduce -T <tableid> to work on alternate tables. | Henning Brauer | |
purposefully undocumented for the moment, claudio hshoexer norby ok | |||
2006-05-27 | Kill unused Aflag support that sneeked in via netstat code. | Claudio Jeker | |
2006-05-21 | Pretty print netmasks in monitor mode. | Marco Pfatschbacher | |
From Alexander Bluhm <Alexander_Bluhm at genua.de> OK henning@ | |||
2006-04-20 | Instead of printing useless metrics like recvpipe and sendpipe print | Claudio Jeker | |
rmx_pksent in route get. This makes it possible to identify DoS targets even if you have a full routing table. OK henning@ |