OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 19 10:02:22 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.13: +1 -3 lines
Diff to previous 1.13 (colored)

Like in ospfd make the pkt_ptr a local static buffer.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 19 10:00:36 2021 UTC (3 years, 4 months ago) by claudio
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Apply same cleanup to the control code as in ospfd.
Internalize control_state and ctl_conns.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 17 16:30:54 2017 UTC (7 years, 4 months ago) by jca
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, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Keep track of dead peers instead of freeing them right away.

This mimics what ospfd does, and avoids a (mostly harmless)
use-after-free.  Delay suggested by claudio@, ok florian@

Revision 1.11 / (download) - annotate - [select for diffs], Sat Oct 25 03:23:49 2014 UTC (9 years, 7 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

Remove unnecessary netinet/in_systm.h include.

ok millert@

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 26 13:56:08 2010 UTC (14 years ago) by nicm
Branch: MAIN
CVS Tags: 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
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Rename some imsg bits to make namespace collisions less likely buf to
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.

ok henning gilles claudio jacekm deraadt

Revision 1.9 / (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_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Wed Oct 24 20:52:50 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.7: +5 -5 lines
Diff to previous 1.7 (colored)

Make the packet buffer u_int8_t * everywhere. This is binary data and not
a string.

Revision 1.7 / (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.6: +2 -2 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Mon Apr 9 20:45:52 2007 UTC (17 years, 1 month ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Improve the handling of "counting to infinity" mechanism and add an heuristic
higly recommended in the rfc.

tested by me and OK claudio@

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 27 20:19:04 2007 UTC (17 years, 2 months ago) by michele
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Remove unused parameter in nbr_new

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 23 21:10:10 2007 UTC (17 years, 4 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.3: +3 -4 lines
Diff to previous 1.3 (colored)

add timeout for failed nbr structures

OK claudio@ henning@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 10 10:28:18 2006 UTC (17 years, 6 months ago) by michele
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

clear lists before deleting neighbor

OK claudio@ henning@

Revision 1.2 / (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.1: +2 -1 lines
Diff to previous 1.1 (colored)

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

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.