OpenBSD CVS

CVS log for src/sbin/route/keywords.sh


[BACK] Up to [local] / src / sbin / route

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Wed Aug 4 18:17:23 2021 UTC (2 years, 9 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, HEAD
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

Add a new 'nameserver' command to route(8).
It sends nameserver proposals to resolvd(8) using the dns proposal
protocol over the route socket. Based on a seperate program
written by florian@. deraadt noticed some whitespace issues.
more fixes and ok florian@

Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 29 21:15:26 2020 UTC (3 years, 7 months ago) by denis
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Add feature to force the selection of source IP address

Based/previous work on an idea from deraadt@
Input from claudio@, djm@, deraadt@, sthen@

OK deraadt@

Revision 1.32 / (download) - annotate - [select for diffs], Thu Aug 10 13:44:48 2017 UTC (6 years, 9 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

allow "del" in addition to "delete"
from Denis Fondras, positive feedback from sthen@ and deraadt@
ok jca@

Revision 1.31 / (download) - annotate - [select for diffs], Sun Sep 4 09:41:03 2016 UTC (7 years, 8 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

Make it possible to set the RTF_BFD flag in a change request. Also add a
nobfd option to turn it off again. While here also print the fmask in the
rtmsg dump so it is possible to figure out why something happens (or not).
OK phessler@

Revision 1.30 / (download) - annotate - [select for diffs], Sat Sep 3 14:23:14 2016 UTC (7 years, 8 months ago) by phessler
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Add userland parts for BFD.  Can't work if you don't have it enabled in
the kernel.

OK claudio@, henning@

Revision 1.29 / (download) - annotate - [select for diffs], Sat Oct 24 11:53:41 2015 UTC (8 years, 7 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

Removing xresolve from generating script has been forgotten.
OK mpi@

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jul 18 00:05:02 2015 UTC (8 years, 10 months ago) by phessler
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.27: +6 -1 lines
Diff to previous 1.27 (colored)

On systems with a full routing table (550k+), we often want to be able to
look at the routes with a priority, or to display all routes that do not
have a specific priority (normally, don't show bgp).

We are intentionally not updating netstat -r yet, as we do not have a
good flag to use.

first version from, and OK benno@

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 6 03:22:00 2015 UTC (9 years, 3 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.26: +1 -2 lines
Diff to previous 1.26 (colored)

Remove route/netstat -f encap in favor of ipsecctl -s flow.

OK deraadt@

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 22 06:23:37 2014 UTC (10 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

Remove genmask support from route(8). It still will show them in monitor
or get but you can no longer set it. genmask will die soon since nobody
needs it. OK benno@ and agreed by dlg@

Revision 1.25 / (download) - annotate - [select for diffs], Sat Sep 4 08:06:09 2010 UTC (13 years, 9 months ago) by blambert
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

sort generated keywords in order to replace linear probe with bsearch(3)
(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@

Revision 1.24 / (download) - annotate - [select for diffs], Tue Dec 1 16:16:46 2009 UTC (14 years, 6 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

add "exec" keyword

ok jsg@

Revision 1.23 / (download) - annotate - [select for diffs], Fri Oct 30 17:32:34 2009 UTC (14 years, 7 months ago) by jsg
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

The script that generates keywords.h wasn't updated when
mplslabel label was added, fix.

Revision 1.22 / (download) - annotate - [select for diffs], Wed May 7 06:06:25 2008 UTC (16 years ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

Add support to show and modify rtm_priority.

Revision 1.21 / (download) - annotate - [select for diffs], Tue May 6 03:40:31 2008 UTC (16 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

Add pop, push and swap options used by MPLS. OK norby@

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 28 11:36:14 2008 UTC (16 years, 1 month ago) by norby
Branch: MAIN
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

It is now possible to enter static MPLS routes into the kernel.

It is still not possible to set the desired opration for an entry.

ok claudio@ laurent@ dlg@

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 4 12:23:43 2007 UTC (17 years ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

remove IPX, agreed by many
libc and kernel side awaiting a libc major bump to piggyback to

Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 30 12:11:37 2006 UTC (18 years, 2 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

If an address family is specified do not print IPSec "routes". Additionally
add a -encap option to show only the IPSec part. OK hshoexer@, henning@

Revision 1.17 / (download) - annotate - [select for diffs], Fri May 27 04:55:27 2005 UTC (19 years ago) by mcbride
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

Experimental support for opportunitic use of jumbograms where only some hosts
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@

Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 30 08:02:34 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

generated a .h file with spacing bugs

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 30 07:59:52 2005 UTC (19 years, 2 months ago) by henning
Branch: MAIN
Changes since 1.14: +7 -4 lines
Diff to previous 1.14 (colored)

make keywords.sh generate an enum for the keys

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 30 06:12:38 2005 UTC (19 years, 2 months ago) by henning
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

nicer output

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 30 06:02:52 2005 UTC (19 years, 2 months ago) by henning
Branch: MAIN
Changes since 1.12: +10 -24 lines
Diff to previous 1.12 (colored)

get rid of the twisted keywords.[c|h] interaction and just let keywords.sh
put the defines and the table into the .h

Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 30 05:20:18 2005 UTC (19 years, 2 months ago) by henning
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

remove ccitt x.25 traces, ok theo

Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 24 01:13:04 2004 UTC (19 years, 8 months ago) by jaredy
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.10: +1 -3 lines
Diff to previous 1.10 (colored)

kill osi and mask, ok henning

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 22 01:07:10 2004 UTC (19 years, 8 months ago) by jaredy
Branch: MAIN
Changes since 1.9: +1 -3 lines
Diff to previous 1.9 (colored)

remove -S, -src, -srcmask, and other source routing stuff.  ok henning

Revision 1.9 / (download) - annotate - [select for diffs], Tue Aug 3 11:23:11 2004 UTC (19 years, 10 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

display route labels with "route get", and allow them to be set

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 25 01:26:01 2004 UTC (19 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)

remove netiso and netns code

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 19 19:55:53 2004 UTC (19 years, 11 months ago) by cedric
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

require RTF_MPATH to enter a multipath route with RTM_ADD.
route(8) takes a new -mpath modifier to enter a multipath route.
requested deraadt@, ok itojun@ mcbride@ millert@

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 6 17:08:23 2004 UTC (20 years ago) by cedric
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

add new "-src" and "-srcmask" modifiers to make it possible to add a source
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@

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 27 20:12:25 2000 UTC (23 years, 10 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

Don't show or delete IPsec flows with the route command -- this was a
kludge to begin with, and it's about time we get rid of it.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 8 07:55:54 1999 UTC (24 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

ipv6 support from KAME (needs no libc upgrade).  regen keywords.[ch].

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 26 13:49:37 1997 UTC (26 years, 9 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Forgot about keyword.c's tag, regenned again

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 26 13:47:47 1997 UTC (26 years, 9 months ago) by niklas
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Move over -encap change to keywords.sh only made to keywords.h,
$OpenBSD$ tagging.  Added a missing extern specifier. Regenerated keywords.h

Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 14 17:23:53 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1

merge netbsd changes for show command
yet more buf oflows (provided by netbsd!)
an attempt at 64 bit cleanliness
-Wall

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.