summaryrefslogtreecommitdiff
path: root/sbin/route
AgeCommit message (Collapse)Author
2004-10-14avoid collision of variable "err" with err()Jared Yanovich
use errx() after strlcpy if out of space style nits/knf ok henning hshoexer
2004-10-13print the expire route metric as signed; ok deraadt claudioJared Yanovich
2004-09-26fix printf's for route metrics. ok henningJared Yanovich
2004-09-24simplify some parts, little more warn() fixing. ok henningJared Yanovich
2004-09-24kill homegrown quit(); use err()/errx() insteadJared Yanovich
make other error messages consistent sync usage ok henning
2004-09-24kill osi and mask, ok henningJared Yanovich
2004-09-23properly check read() and write() return values.Henning Brauer
one instance found by jaredy, causes issues with route -t monitor ok jaredy hshoexer mickey fgs
2004-09-22remove -S, -src, -srcmask, and other source routing stuff. ok henningJared Yanovich
2004-09-21print route labels in monitor mode. ok henningJared Yanovich
2004-09-15unused functionsTheo de Raadt
2004-09-15lint demands little cleanupsTheo de Raadt
2004-09-07make -netmask work again; ok henning, mcbride, deraadtMarkus Friedl
2004-08-10update to realityJared Yanovich
- fix syntax usage - remove source routing stuff - mention bgpd - document -t, -genmask (from FreeBSD), and -label - move -rtt, -rttvar, -recvpipe ... into HISTORY - remove ISO mention mdoc fixes sort list of and add syntax usage for sub-commands list supported address families in a separate table consistency and reorganizational fixes elaborate on some topics (some from NetBSD) punctuation, grammar, and rewording fixes add some FILES and cross-refs requested by, help, and ok henning help and ok jmc
2004-08-03-src/-srcmask are no moreHenning Brauer
2004-08-03display route labels with "route get", and allow them to be setHenning Brauer
2004-07-15remove references to removed pages: clnp(4), esis(4), and iso(4);Jason McIntyre
2004-07-05fix warning: extra tokens at end of #undef; ok henningPeter Valchev
2004-06-28- repair examples which i damaged in previous commitJason McIntyre
- tidy up DIAGNOSTICS, and use -diag - wording from jared yanovich;
2004-06-26grammar, formatting, consistency, spelling, etc. from jared yanovich;Jason McIntyre
2004-06-26grammar;Jason McIntyre
2004-06-25remove netiso and netns codeHenning Brauer
2004-06-19require RTF_MPATH to enter a multipath route with RTM_ADD.Cedric Berger
route(8) takes a new -mpath modifier to enter a multipath route. requested deraadt@, ok itojun@ mcbride@ millert@
2004-06-18Make this better reflect reality; OK and with help from CedricTodd C. Miller
2004-06-16Fix -S flag with new show code. ok claudio@Cedric Berger
2004-06-15Cleanup last commit here:Todd C. Miller
- pass netname4() a struct sockaddr_in * and check it for NULL - netname6() already deals with NULL mask so remove unneeded check in netname() OK deraadt@
2004-06-15do not crash on 'route flush'Theo de Raadt
2004-06-12Make route show output similar to netstat -r output.Claudio Jeker
OK cedric@ millert@
2004-06-09Fix IPv4 name->address translation. Addresses like "10.1000" will not beCedric Berger
accepted anymore, but constructs like "route add 10.1.2/24 <gw>" will finally do the right thing. ok millert@
2004-06-06- wordingJason McIntyre
- simplify some displays
2004-06-06add new "-src" and "-srcmask" modifiers to make it possible to add a sourceCedric Berger
selector part to the routing table entry. complements existing "-dst" and "-dstmask". typical use: route add -src 20.20.20.22 20.20.20.21 route add -src 192.168.1.0/24 -dst 192.168.2.0/24 20.20.20.21 useful for example to implement symetrical routing on multihomed boxes, or to better select which packets to send to gif/tun/... tunnels. new '-S' flag similar to netstat one. ok deraadt@ mcbride@
2004-05-15Fix two byte overflow when printing unknown sockaddrs. OK cedric@Claudio Jeker
2004-04-26fix route with explicit -gateway modifier. ok deraadt@ itojun@Cedric Berger
2004-04-07another piece inside qflag checkTheo de Raadt
2004-01-18print link state for RTM_IFINFO messages, flush stdout correctlyMarkus Friedl
if message contains no address; ok mpf@, deraadt@, mcbride@
2004-01-15print RTM_IFANNOUNCE message; netbsd; ok itojun@, henning@Markus Friedl
2004-01-09route -q is supposed to be totally quietTheo de Raadt
2003-08-31add references to /etc/mygate in FILES and SEE ALSO;Jason McIntyre
from Han Boetes.
2003-08-26mark cloned route with RTF_CLONED. remove RTF_CLONED route when clone parentJun-ichiro itojun Hagino
disappers. deraadt ok
2003-07-02missing protosTheo de Raadt
2003-06-26ansi and protosTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-11strcpy -> strlcpy; Hans-Joerg.Hoexer@yerbouti.franken.deTheo de Raadt
2003-02-11typos;Jason McIntyre
raidctl(8) ok millert@ mknetid(8) help maja@
2003-01-31o When checking for root, look at effective, not real uid; checking theTodd C. Miller
real uid made sense when route(8) was setuid root but it no longer is. o ANSIfy deraadt@ OK
2002-11-24KNF while beeing hereHenning Brauer
2002-10-18correct prefixlen handling (-prefixlen 32 will make it a host route)Jun-ichiro itojun Hagino
2002-10-17Make prefixlen check to make sure its argument is present before deref; ↵Jason Wright
millert ok.
2002-06-10permit DNS name (they are considered RTF_HOST if specified as destination).Jun-ichiro itojun Hagino
PR 2152
2002-06-08support IPv4 in -prefixlen.Jun-ichiro itojun Hagino