OpenBSD CVS

CVS log for src/usr.sbin/ripd/ripd.h


[BACK] Up to [local] / src / usr.sbin / ripd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28 / (download) - annotate - [select for diffs], Tue Jan 19 10:28:07 2021 UTC (3 years, 4 months ago) by claudio
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, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

Do not use IBUF_READ_SIZE for the packet read buffer size. Instead
define READ_BUF_SIZE like the other daemons.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jan 19 10:18:56 2021 UTC (3 years, 4 months ago) by claudio
Branch: MAIN
Changes since 1.26: +1 -13 lines
Diff to previous 1.26 (colored)

Remove the PROC_* enums and ripd_process, they are no longer needed.
Instead assign the process name directly to log_procname which was
the last user of ripd_process.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Dec 31 20:34:16 2018 UTC (5 years, 5 months ago) by remi
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
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Add config option fib-priority to set a custom prio for routes ripd
insers into the kernel routing table.

OK deraadt@

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 8 00:19:54 2018 UTC (6 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Bump the read sockbuf of the routing socket to 2MB, may help reduce some of
the desync cases. OK benno@

Revision 1.24 / (download) - annotate - [select for diffs], Fri Sep 2 14:07:52 2016 UTC (7 years, 9 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.23: +14 -7 lines
Diff to previous 1.23 (colored)

work on making log.c similar in all daemons:

move daemon-local functions into new logmsg.c, and reduce
the (mostly whitespace) differences so that log.c's can be diffed easily.

ok claudio@, feedback from henning@, deraadt@, reyk@

Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 2 16:05:32 2016 UTC (7 years, 10 months ago) by jca
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Allow specifying an alternate socket path.

This allows one to run multiple ripd instances, for example to serve
multiple rdomains.  Diff from Nima GHOTBI, ok claudio@ florian@ benno@

Revision 1.22 / (download) - annotate - [select for diffs], Sun Sep 27 17:32:36 2015 UTC (8 years, 8 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

As done for bgpd recently, rename if_mediatype to if_type in ripd.
And some ifmedia64 fixes.
"move forward" deraadt@

Revision 1.21 / (download) - annotate - [select for diffs], Mon Nov 2 20:28:49 2009 UTC (14 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, 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, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Another routing daemon that gets IMSG_CTL_LOG_VERBOSE to allow toggeling of
log_debug(). ok michele, henning, sthen

Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 26 18:24:58 2009 UTC (14 years, 8 months ago) by michele
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

Preliminary rdomain support.

ok claudio@

Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 26 11:12:50 2009 UTC (14 years, 8 months ago) by michele
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Whitespace cleanup.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 24 12:30:36 2009 UTC (14 years, 8 months ago) by michele
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

Priorities are now handled in the kernel so:

- RTF_PROTO3 is useless
- MPLS routes don't need special treatment anymore, so don't track them at all

ok claudio@

Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 18 16:17:02 2009 UTC (14 years, 8 months ago) by michele
Branch: MAIN
Changes since 1.16: +2 -4 lines
Diff to previous 1.16 (colored)

Make kroute code routing priority aware.

ok claudio@

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 7 12:07:23 2009 UTC (14 years, 11 months ago) by michele
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Make ripd(8) aware of MPLS routes.

ok claudio@

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 6 18:31:42 2009 UTC (15 years ago) by pyr
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Get ready for including imsg.h from a lib, when it comes along.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 6 08:20:55 2009 UTC (15 years ago) by eric
Branch: MAIN
Changes since 1.13: +12 -78 lines
Diff to previous 1.13 (colored)

make ripctl/ripd imsg-in-a-lib ready too.

ok pyr@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 2 21:43:36 2009 UTC (15 years ago) by claudio
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

Same reject and blackhole route handling as in ospfd. Allow those routes
to be redistributed even though they point to 127.0.0.1. OK michele@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Mar 24 19:26:13 2009 UTC (15 years, 2 months ago) by michele
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Change the behaviour of redistribute default.
Now a default route have to be present in the fib to be correctly advertised.

Spotted and tested by Steven Surdok on ripd.
ok claudio@

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 17 14:19:39 2008 UTC (15 years, 5 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.10: +16 -2 lines
Diff to previous 1.10 (colored)

Add support for demotion counter.
When interfaces go up/down the demotion counter of the
specified group is decreased/increased.

ok henning@

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 24 20:16:49 2007 UTC (16 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

ctl_rt flags should be u_int16_t -- noticed by lint

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 18 17:00:59 2007 UTC (16 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

spacing

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 18 09:47:57 2007 UTC (16 years, 7 months ago) by claudio
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Massive cleanup in the authentication code. the simple auth_key and the crypt
keys are not strings so a) use u_int8_t instead of char and b) uses memcpy
to copy the full MAX_SIMPLE_AUTH_LEN resp. MD5_DIGEST_LENGTH bytes around.
The parser needs some special code to ensure that the string is not to long
and if it is shorter then the buffer the rest needs to be zero padded.
Avoid to use strncpy() instead use a bzero(); memcpy() combo.
with and OK deraadt@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Sep 11 18:05:36 2007 UTC (16 years, 9 months ago) by claudio
Branch: MAIN
Changes since 1.6: +4 -5 lines
Diff to previous 1.6 (colored)

More baudrate fixes. Again don't forget to initialize the iface->baudrate.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 11 17:26:22 2007 UTC (16 years, 9 months ago) by henning
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

baudrate, two non-obvious ones marked for michele

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 8 13:01:10 2007 UTC (17 years, 5 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.4: +33 -12 lines
Diff to previous 1.4 (colored)

New redistribute code adapted from ospfd. It is now possible to do the same
redistribute setups as in ospfd (rtlables, per prefix, negation).
Tested, input and OK michele@

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 15 20:21:46 2006 UTC (17 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

remove double define; dunceor@gmail.com

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 31 23:43:11 2006 UTC (17 years, 7 months ago) by michele
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

create a temporary neighbor instead of a permanent one when a request is received

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 31 07:16:45 2006 UTC (17 years, 7 months ago) by mcbride
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Time is not a secret.
Modulate the timer with an MD5 hash of the key to generate the sequence number.
Ensure that the most significant bit of the modulated value is 0 to prevent
wrapping of the sequence number.

ok michele@

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 16:11:58 2006 UTC (17 years, 7 months ago) by norby
Branch: MAIN

Welcome ripd
started by Michele Marchetto some time ago by using the imsg/three process framework
of ospfd. He implemented most of the daemon with a little help and guidance from
Claudio and I.

Currently the daemon is more or less complete, with the exception of key lifetime
and rollover.

Not yet connected to the builds.
OK claudio@

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.