Up to [local] / src / usr.sbin / dvmrpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.33 / (download) - annotate - [select for diffs], Mon Feb 26 09:50:42 2024 UTC (3 months, 1 week ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
HEAD
Changes since 1.32: +3 -4 lines
Diff to previous 1.32 (colored)
use TAILQ_FOREACH_SAFE() to avoid use after free found by smatch, ok claudio@
Revision 1.32 / (download) - annotate - [select for diffs], Wed Dec 28 21:30:16 2022 UTC (17 months, 1 week ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 19 12:29:46 2021 UTC (3 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: 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
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)
Make struct imsgev static like in the other routing daemons. With this dvmrpd should compile with -fno-common
Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 19 12:26:38 2021 UTC (3 years, 4 months ago) by claudio
Branch: MAIN
Changes since 1.29: +2 -3 lines
Diff to previous 1.29 (colored)
Kill dvrmpd_process and log_procnames. Unneeded abstraction for this simple daemon.
Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 2 16:20:34 2016 UTC (7 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,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (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@
Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 2 15:38:08 2016 UTC (7 years, 9 months ago) by renato
Branch: MAIN
Changes since 1.27: +9 -6 lines
Diff to previous 1.27 (colored)
Simplify shutdown process. On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC sockets will make the children receive an EOF, break out from the event loop and then exit. Tha advantages of this "pipe teardown" are: * simpler code; * no need to pledge "proc" in the parent process; * removal of a (hard to trigger) PID reuse race condition. "reads good" claudio@
Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 2 15:35:34 2016 UTC (7 years, 9 months ago) by renato
Branch: MAIN
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored)
Close connections when msgbuf_write() returns 0. Pulled from ospfd. Original author: claudio@ ok rzalamena@ benno@ claudio@
Revision 1.26 / (download) - annotate - [select for diffs], Fri Sep 2 15:33:27 2016 UTC (7 years, 9 months ago) by renato
Branch: MAIN
Changes since 1.25: +10 -4 lines
Diff to previous 1.25 (colored)
Don't fatal if the imsg pipe is closed, this is often triggered in the parent and hides the real cause of the termination. Pulled from ospfd. Original author: claudio@ ok rzalamena@ benno@ claudio@
Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 5 13:11:00 2015 UTC (8 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)
EAGAIN handling for imsg_read. OK henning@ benno@
Revision 1.24 / (download) - annotate - [select for diffs], Sat Jul 12 19:22:32 2014 UTC (9 years, 10 months ago) by krw
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
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)
msgbuf_write() <= 0 for a few more daemons. ok claudio@
Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 26 11:32:31 2013 UTC (10 years, 6 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)
deal with msgbuf_write EAGAIN, ok gilles benno
Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 2 20:31:50 2009 UTC (14 years, 7 months ago) by claudio
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,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored)
Yet another implementation of IMSG_CTL_LOG_VERBOSE. Similar to the one in ripd, ospfd and friends. OK michele, henning, sthen
Revision 1.21 / (download) - annotate - [select for diffs], Sun Sep 6 09:52:14 2009 UTC (14 years, 9 months ago) by michele
Branch: MAIN
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)
When dvmrpd receives a prune, it must checks if every downstream member on that interfaces has already sent prunes. If so (and there are no local groups) removes the interface from the downstream list. ok claudio@
Revision 1.20 / (download) - annotate - [select for diffs], Sat Jun 6 07:52:04 2009 UTC (15 years ago) by pyr
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6
Changes since 1.19: +34 -28 lines
Diff to previous 1.19 (colored)
make dvmrpd imsg-in-a-lib ready as well. ``put it in'' claudio@, ok eric@
Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 1 23:22:58 2009 UTC (15 years ago) by henning
Branch: MAIN
Changes since 1.18: +1 -3 lines
Diff to previous 1.18 (colored)
no endpwent
Revision 1.18 / (download) - annotate - [select for diffs], Sun May 31 20:31:35 2009 UTC (15 years ago) by jacekm
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)
Remove redundant imsg_event_add calls; ok claudio@
Revision 1.17 / (download) - annotate - [select for diffs], Sun May 31 17:13:04 2009 UTC (15 years ago) by claudio
Branch: MAIN
Changes since 1.16: +6 -9 lines
Diff to previous 1.16 (colored)
More libevent callback fixes. While there make n also ssize_t as in all other daemons.
Revision 1.16 / (download) - annotate - [select for diffs], Wed May 20 16:10:04 2009 UTC (15 years ago) by michele
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)
Whitespaces cleanup.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 16 20:11:12 2009 UTC (15 years, 1 month ago) by michele
Branch: MAIN
Changes since 1.14: +10 -1 lines
Diff to previous 1.14 (colored)
Notify the rde when a neighbor goes down. When this happens we have to rebuild the list of downstream interfaces. ok claudio@
Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 11 10:21:20 2009 UTC (15 years, 2 months ago) by michele
Branch: MAIN
Changes since 1.13: +28 -2 lines
Diff to previous 1.13 (colored)
When inserting a new route add as downstream interfaces just the ones with downstream neighbors or group members. ok claudio@
Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 14 15:32:55 2009 UTC (15 years, 2 months ago) by michele
Branch: MAIN
Changes since 1.12: +15 -1 lines
Diff to previous 1.12 (colored)
Initial support for pruning. When every single interface is removed from the downstream list for a particular source send a prune to the upstream router. input and ok claudio@
Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 7 12:47:17 2009 UTC (15 years, 3 months ago) by michele
Branch: MAIN
Changes since 1.11: +1 -116 lines
Diff to previous 1.11 (colored)
Get rid of rde_nbr structure as it is no more needed in RDE to make routing decisions. ok claudio@
Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 6 18:39:13 2009 UTC (15 years, 3 months ago) by michele
Branch: MAIN
Changes since 1.10: +99 -2 lines
Diff to previous 1.10 (colored)
Make RDE aware of multicast group members per interface. This is needed to make unicast routing decisions. ok claudio@
Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 27 08:53:47 2009 UTC (15 years, 4 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)
Get rid of the 24h timer as it useless here. While there fix minor bugs. ok norby@
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 24 16:25:47 2009 UTC (15 years, 4 months ago) by michele
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)
Fix an evil typo. ok norby@
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 20 01:35:34 2009 UTC (15 years, 4 months ago) by todd
Branch: MAIN
Changes since 1.7: +3 -35 lines
Diff to previous 1.7 (colored)
revert earlier commit that broke the tree
Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 19 20:40:31 2009 UTC (15 years, 4 months ago) by michele
Branch: MAIN
Changes since 1.6: +36 -4 lines
Diff to previous 1.6 (colored)
When inserting a new route into the kernel set as downstream interfaces the ones with neighbors or group members. ok norby@
Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 2 13:42:44 2008 UTC (15 years, 6 months ago) by michele
Branch: MAIN
Changes since 1.5: +116 -1 lines
Diff to previous 1.5 (colored)
Initial support for neighbor expiry. When a nbr goes down delete it from the lists of downstream dependent neighbors. OK norby@
Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 21 19:33:48 2007 UTC (17 years, 2 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
Added code to parse unicast routes learned from route report packets. Now we are able to select correctly designated forwarders and downstream dependent routers per interface. Tested and OK norby@
Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 24 09:57:51 2007 UTC (17 years, 4 months ago) by norby
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)
Ignore SIGPIPE in the parent and RDE as well. ok claudio@
Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 3 20:14:37 2006 UTC (17 years, 6 months ago) by michele
Branch: MAIN
Changes since 1.2: +7 -8 lines
Diff to previous 1.2 (colored)
introduce rde_check_route that selects which routes must be accepted and which discarded. Still not complete, just a step forward. ok norby@ henning@
Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 1 21:47:27 2006 UTC (18 years ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.1: +3 -6 lines
Diff to previous 1.1 (colored)
Remove some unneeded lint goo and use setres[ug]id() instead of the setuid dance.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 1 14:12:20 2006 UTC (18 years ago) by norby
Branch: MAIN
Welcome dvmrpd started by Esben Norby some time ago by using the imsg/three process framework of ospfd. Right now it is not particularly useful, major parts are still missing but is imported to allow more people to work on it. Status: The IGMP part is mostly complete, allowing clients to join and leave groups. Election the IGMP querier of a network is also functional, only thing missing is some corner cases when going from non-querier to querier. About half of the DVMRP is functional, probes and route reports are functional. Multicast streams can be detected and the MFC can be manipulated. The RIB is not complete but operational. Not yet connected to the builds. OK claudio@