Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix 2 memory leaks in error paths and a double-free (kroute_insert already | remi | 2019-12-11 | 1 | -3/+2 |
| | | | | | | | frees kr if it detects a duplicate). From Hiltjo Posthuma OK benno@ | ||||
* | Add config option fib-priority to set a custom prio for routes ripd | remi | 2018-12-31 | 1 | -10/+12 |
| | | | | | | insers into the kernel routing table. OK deraadt@ | ||||
* | Unify ROUNDUP macros for parsing route messages. | friehm | 2017-07-24 | 1 | -4/+4 |
| | | | | | | Use the macro from route(8) / ospf6d(8) since it works also with argument 0. OK claudio@ | ||||
* | As done for bgpd recently, rename if_mediatype to if_type in ripd. | stsp | 2015-09-27 | 1 | -3/+3 |
| | | | | | And some ifmedia64 fixes. "move forward" deraadt@ | ||||
* | Like bgpd and ospfd filter routes by RTF_LLINFO and RTF_BROADCAST and use | claudio | 2015-07-17 | 1 | -3/+14 |
| | | | | the RTF_CONNECTED to know if a route is connected or not. | ||||
* | Use sizeof(u_short) in the first check since there are RT messages that | claudio | 2015-02-11 | 1 | -2/+2 |
| | | | | | are less then sizeof(*rtm) bytes long (e.g. interface announcements). Found the hard way by phessler@ | ||||
* | Sync kroute code with what we do in ospfd/bgpd (EAGAIN handling). | claudio | 2015-02-10 | 1 | -1/+6 |
| | |||||
* | Add SOCK_CLOEXEC | SOCK_NONBLOCK to two more socket calls. | claudio | 2015-02-09 | 1 | -2/+3 |
| | |||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | deraadt | 2015-01-16 | 1 | -2/+1 |
| | | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | ||||
* | The second level of the CTL_NET sysctl is a PF_*, not an AF_* | guenther | 2014-06-23 | 1 | -3/+3 |
| | | | | inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de) | ||||
* | LINK_STATE_IS_UP() cleanup userland part. There is no need to special | claudio | 2011-07-04 | 1 | -7/+3 |
| | | | | | | | | case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does the right job. OK deraadt@ henning@ This needs a -current kernel or link state may be not reported correctly. | ||||
* | Remove obsolete mcast routes in ldpd and ripd. | claudio | 2011-06-26 | 1 | -17/+1 |
| | | | | OK dlg@ | ||||
* | Merge duplicate log messages into one log_warn(). | bluhm | 2010-07-12 | 1 | -17/+6 |
| | | | | ok claudio@ | ||||
* | Fix comparison between the routing message's priority and RTP_RIP. | michele | 2010-01-02 | 1 | -2/+2 |
| | | | | ok claudio@ | ||||
* | Preliminary rdomain support. | michele | 2009-09-26 | 1 | -4/+7 |
| | | | | ok claudio@ | ||||
* | Priorities are now handled in the kernel so: | michele | 2009-09-24 | 1 | -4/+1 |
| | | | | | | | - RTF_PROTO3 is useless - MPLS routes don't need special treatment anymore, so don't track them at all ok claudio@ | ||||
* | Make kroute code routing priority aware. | michele | 2009-09-18 | 1 | -76/+75 |
| | | | | ok claudio@ | ||||
* | Make ripd(8) aware of MPLS routes. | michele | 2009-07-07 | 1 | -2/+4 |
| | | | | ok claudio@ | ||||
* | rtm->rtm_hdrlen conversion | chris | 2009-06-05 | 1 | -3/+3 |
| | | | | ok claudio@, henning@ | ||||
* | Same reject and blackhole route handling as in ospfd. Allow those routes | claudio | 2009-06-02 | 1 | -3/+13 |
| | | | | to be redistributed even though they point to 127.0.0.1. OK michele@ | ||||
* | Assign the correct metric to the routes learned from the kernel while ripd is | michele | 2009-03-31 | 1 | -2/+12 |
| | | | | | | | running. Issue spotted and diff tested by Steven Surdock. ok claudio@ | ||||
* | prio RTP_RIP for inserted routes | henning | 2008-05-09 | 1 | -1/+2 |
| | |||||
* | An u_int8_t is enough as prefixlen. Another lint warning gone. | claudio | 2007-10-24 | 1 | -2/+2 |
| | |||||
* | spacing | deraadt | 2007-10-18 | 1 | -2/+2 |
| | |||||
* | Add missing RTM_VERSION checks. | claudio | 2007-10-17 | 1 | -1/+7 |
| | |||||
* | Ripd needs a valid route for 224.0.0.9 to work. Instead of forcing users to | claudio | 2007-04-27 | 1 | -3/+21 |
| | | | | | | | set multicast_router=YES we inject a 224.0.0.9/32 route into the kernel and remove the route on exit if the insert was successful. With this ripd works out of the box. OK michele@ norby@ | ||||
* | Use vectorized writes to send routing messages into the kernel instead of | claudio | 2007-04-19 | 1 | -34/+62 |
| | | | | using a static message structure. Similar diffs went into bgpd and ospfd. | ||||
* | Doh! If we support "redistribute rtlabel" we should actually track the | claudio | 2007-03-19 | 1 | -2/+24 |
| | | | | | routing labels in ripd's kroute code. Just steal the code from ospfd which does it right. OK michele@ | ||||
* | Same problem as in ospfd's kroute.c don't check rtm_tableid without verifying | claudio | 2007-03-13 | 1 | -4/+4 |
| | | | | that rtm_type is one of RTM_ADD, RTM_CHANGE or RTM_DELETE. | ||||
* | add additional link states to report the half duplex / full duplex | reyk | 2006-11-28 | 1 | -3/+3 |
| | | | | | | | | state, if known by the driver. this is required to check the full duplex state without depending on the ifmedia ioctl which can't be called in the kernel without process context. ok henning@, brad@ | ||||
* | mib we pass to sysctl when fetching the routing table has 7 entries now, | henning | 2006-11-28 | 1 | -3/+3 |
| | | | | not 6 any more (rtableid added). need to tell sysctl so. | ||||
* | ignore messages for alternate routing tables for now; from bgpd | henning | 2006-11-16 | 1 | -2/+6 |
| | |||||
* | spelling and typo fixes | david | 2006-10-24 | 1 | -2/+2 |
| | |||||
* | Welcome ripd | norby | 2006-10-18 | 1 | -0/+1126 |
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@ |