Age | Commit message (Collapse) | Author |
|
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de)
|
|
Nothing use them for the moment, but here is the plan:
Since a route lookup is always necessary to output a packet it makes
sense to store all the information regarding how the packet should be
sent in the routing entry. This will save us some expensive lookups
on address lists.
But once we have all the information about our addresses in the routing
table, we can even use it in the input path with the hope that the number
of lookups in the forwarding case can be reduce to one.
ok henning@, chris@
|
|
from there). OK sthen@ mpi@ jca@
|
|
|
|
or get but you can no longer set it. genmask will die soon since nobody
needs it. OK benno@ and agreed by dlg@
|
|
|
|
Also fix the conversion between relative and absolute expire time.
OK claudio@
|
|
a "signed vs unsigned in conditional" warning, and eliminate what
looks like an unintentional variable shadowing.
ok bluhm@
|
|
OK deraadt@
|
|
|
|
which want a "full" dump
ok dlg
|
|
|
|
yet. This is the only way to create alternate routing tables.
Reminded by and OK jsg@
|
|
ok sthen@ benno@ claudio@
|
|
from Florian Obser, florian -AT- narrans -DOT- de
ok sthen@
|
|
no objection from mcbride@ krw@ markus@ deraadt@
|
|
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.
|
|
|
|
|
|
even though -interface is the same as -iface.
OK jmc@
|
|
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.
|
|
flags in the monitor case. Brought up on the mailing list some long
time ago.
|
|
previously they operated on the default route. reported by weerd@, ok claudio@
|
|
this is not the real solution to PR 6500; claudio is going to fix that
properly in the kernel
ok claudio
|
|
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@
|
|
|
|
given label. No change to existing functionality.
ok henning@ claudio@
|
|
correctly; changing keywords.sh still requires manual intervention.
pointed out by sthen@
|
|
(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@
|
|
(verified by both sthen@ and me).
ok sthen@; "just commit it" claudio@
|
|
-v show" are called with the -v switch.
ok markus@
|
|
reviewed by deraadt@
written by sthen@ who said i should commit it cos he was going to sleep.
|
|
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
|
|
ok claudio@
|
|
OK michele@
|
|
ok claudio@ michele@
|
|
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@
|
|
|
|
OK michele@
|
|
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@
|
|
from and ok claudio@
|
|
looking at it with claudio since I started doing more routing stuff.
|
|
|
|
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@
|
|
ok jsg@
|
|
|
|
compatibility.
|
|
useful from time to time and it is easer then deciphering ktrace output.
While there kill the no longer needed msec macro.
OK henning
|
|
While there remove some very old compat code supporting a syntax that
no one still knows or uses. OK henning@, deraadt@
|
|
mplslabel label was added, fix.
|