summaryrefslogtreecommitdiff
path: root/sbin/route
AgeCommit message (Collapse)Author
2007-09-25make route flush obey the rtable IDHenning Brauer
From: Pierre Riteau <pierre.riteau@free.fr>
2007-09-05Correct 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-07-24Sync closer to netstat/show.c this removes also the unneeded variableClaudio Jeker
noticed by Igor Zinovik.
2007-07-21Check the rtm_version before trying to print an entry. If the rtmsg has aClaudio Jeker
different version skip it and don't try to print it. Solves a SIGSEGV I have triggered with one of my scarier diffs. OK henning@
2007-06-04remove IPX, agreed by manyHenning Brauer
libc and kernel side awaiting a libc major bump to piggyback to
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30Unbreak route.c after TOKEN removal by henning (bad henning, no cookie)Ryan Thomas McBride
looks ok otto@
2007-03-25Instead of using the global -F flag that only works with show, switch to aClaudio 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-23add -F to usage() and kill some extraneous whitespace;Jason McIntyre
2007-03-23add -F to SYNOPSIS;Jason McIntyre
2007-03-23Add a new flag -F to netstat restricting route display in conjuctionPierre-Yves Ritschard
with -r to routes in the same address family as the destination. ok henning@, claudio@
2007-03-23Only print the routing table id if the routing message uses the rt_msghdrClaudio Jeker
else some random value is printed for messages like RTM_NEWADDR. OK henning@
2007-01-19add an EXAMPLES section;Jason McIntyre
from mark lumsden via otto, tidied up somewhat by myself; ok otto claudio
2007-01-15reference ripd(8) vs. routed(8) and remove routed statement in BUGSKevin Steves
that no longer applies because it is not referenced. ok claudio@ jmc@
2006-12-29Route warns about a illegal prefixlen when a default inet6 route is present.Claudio Jeker
Need to typecast the sizeof() to int so that the compare works. Having a negativ lim is OK. Reported by Björn Ketelaars. OK deraadt@
2006-11-29tweak; ok henningJason McIntyre
2006-11-28add -T to synopsis;Jason McIntyre
2006-11-28add additional link states to report the half duplex / full duplexReyk 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 manpageHenning Brauer
2006-11-17change semantics of ff01::/16 to interface local multicastJun-ichiro itojun Hagino
(to sync up with more recent IPv6 spec) ok from: deraadt mcbride
2006-10-16More details on multipath.Ryan Thomas McBride
ok henning + style suggestions from jmc
2006-10-15Proper link state descriptions in print_rtmsg() RTM_IFINFO case.Ryan Thomas McBride
ok deraadt henning
2006-06-17Display multipath and jumbo flags in route get/monitor.Christopher Pascoe
ok claudio@
2006-06-16make route show work on secondary tables, using the just committedHenning Brauer
extension to the syctl NET_RT_DUMP interface, claudio ok
2006-06-16introduce -T <tableid> to work on alternate tables.Henning Brauer
purposefully undocumented for the moment, claudio hshoexer norby ok
2006-05-30this fixes a crash observed by Naddy on amd64, and permits the src/dst ip's toTodd T. Fries
be visible .. when IPv6 sa flows are present ok claudio@
2006-05-27Kill unused Aflag support that sneeked in via netstat code.Claudio Jeker
2006-05-27Do not print an error in case of ENOPROTOOPT. Install medias do not haveClaudio Jeker
IPSec support and so will print a "route: spd-sysctl-estimate: Protocol not available" on upgrades. Requested and ok deraadt@
2006-05-21Pretty print netmasks in monitor mode.Marco Pfatschbacher
From Alexander Bluhm <Alexander_Bluhm at genua.de> OK henning@
2006-04-20Instead of printing useless metrics like recvpipe and sendpipe printClaudio Jeker
rmx_pksent in route get. This makes it possible to identify DoS targets even if you have a full routing table. OK henning@
2006-03-31Be careful when accessing the external destination address, as it is not setHans-Joerg Hoexer
for bypass and deny flows. Also display acquire/dontacquire flows. ok henning@
2006-03-30Print the "Encap" heading only when the sadb is not empty.Hans-Joerg Hoexer
Fix identation (was off by one space). both requested and ok markus@
2006-03-30document -encap. ok claudio@Hans-Joerg Hoexer
2006-03-30If an address family is specified do not print IPSec "routes". AdditionallyClaudio Jeker
add a -encap option to show only the IPSec part. OK hshoexer@, henning@
2006-03-30Minor cleanup and start using rmx_refcnt to show the refcount instead of 0.Claudio Jeker
OK henning@
2006-03-30Really ignore sendpipe, recvpipe, rtt, rttvar, etc. in route(8) instead ofClaudio Jeker
passing these values to the kernel where they get ignored anyway. OK henning@
2006-03-29Use sysctl to get information about encap routes (aka ipsec). NowHans-Joerg Hoexer
you see something actually useful... requested by and ok henning@
2006-03-23Fix pretty-print of carp link addresses by making them print like IFT_ETHER.Ryan Thomas McBride
Diff from jon@abccomm.com
2006-02-01double semicolon; from Daniel Matic in PR 4929Otto Moerbeek
2005-12-11Don't allow a -prefixlen arg of -1. jaredy@ okAaron Campbell
2005-11-27BINMODE not neededTheo de Raadt
2005-06-09print the interface address on route get; ok henning, claudioMarkus Friedl
2005-06-06get rid of another leftover from the src routing adventureHenning Brauer
2005-05-27Use rtm_fmask instead of rtm_useRyan Thomas McBride
ok marius@ claudio@
2005-05-27Experimental support for opportunitic use of jumbograms where only some hostsRyan Thomas McBride
on the local network support them. This adds a new socket option, SO_JUMBO, and a new route flag, RTF_JUMBO. If _both_ the socket option is set and the route for the host has RTF_JUMBO set, ip_output will fragment the packet to the largest possible size for the link, ignoring the card's MTU. The semantics of this feature will be evolving rapidly; talk to us if you intend to use it. ok deraadt@ marius@
2005-03-30mention ospfd as wellHenning Brauer
2005-03-30syncHenning Brauer
2005-03-30generated a .h file with spacing bugsTheo de Raadt
2005-03-30make keywords.sh generate an enum for the keysHenning Brauer
2005-03-30make set_metric() bail out on invalid keys (unreachable, but betterHenning Brauer
safe than sorry later)