summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
AgeCommit message (Expand)Author
2009-11-12Add more paranoia in lsa_router_check(). There needs to be at least oneClaudio Jeker
2009-11-12get_rtr_link and get_net_link are not supposed to fail and returningClaudio Jeker
2009-11-11Fix an obvious use after free. Found by parfait. Reported and OK jsg@Claudio Jeker
2009-11-02Implement IMSG_CTL_LOG_VERBOSE to enable or disable debug logging on runtime.Claudio Jeker
2009-10-22write UNIX-domain in a more consistent way; while here, replace aIgor Sobrado
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
2009-10-05Until now AS-ext LSA were always announced with the router as nexthop.Claudio Jeker
2009-09-30Oups, these changes should not have been commited. Revert.Claudio Jeker
2009-09-30Announce a stub network LSA for backup carp interfaces. This should helpClaudio Jeker
2009-09-300xffff -> MAX_METRIC. Idea by sthen@, I like it :)Claudio Jeker
2009-09-30Bring in sync with the bgpd version of carp.c. This fixes a memory leakClaudio Jeker
2009-09-30carp_demote_ioctl() can handle more then +/-1 steps so there is no need toClaudio Jeker
2009-09-19KNF indentation; no binary changeStuart Henderson
2009-09-19- "stub redistribute default" does not take a "no" option, remove itStuart Henderson
2009-09-15Enclose repeated buffer draining code in a new msgbuf_drain()Jacek Masiulaniec
2009-08-09Scale both receive and send buffer on the raw socket. The default 8192Claudio Jeker
2009-08-08Make imsg_clear close and free any fds in the received fd queue as well asNicholas Marriott
2009-07-23no need for Xo/Xc when we have very simple list items;Jason McIntyre
2009-07-23make buf_write() behave like msgbuf_write(): send out only theEric Faurot
2009-07-23Document rdomain keyword, again from stsp@Claudio Jeker
2009-07-23Spelling and comment fixes by stsp@Claudio Jeker
2009-06-08revert this change by eric@:David Gwynne
2009-06-07Change the way fds passed over a socket are retreived on the receiving side.Eric Faurot
2009-06-07Make the imsg protocol network-safe.Eric Faurot
2009-06-06change the imsg header fields a bit to prepare for upcoming changes.Eric Faurot
2009-06-06Get ready for including imsg.h from a lib, when it comes along.Pierre-Yves Ritschard
2009-06-06sync ospfctl/ospfd with the common imsg code, making it lib ready as well.Eric Faurot
2009-06-06remove unnecessary and scary pid check in imsg_init.Pierre-Yves Ritschard
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
2009-06-05bring buf_write here as well.Pierre-Yves Ritschard
2009-06-05Add an unused data field, to allow smtpd and ypldap to work, all libPierre-Yves Ritschard
2009-06-05bump MAX_IMSGSIZE to 16384, this will make smtpd happy later on.Pierre-Yves Ritschard
2009-06-05make ospfd's imsg lib ready as well.Pierre-Yves Ritschard
2009-06-05Preliminary rdomain support, all hacked up by reyk@Claudio Jeker
2009-06-05treat buf->wpos as the size to send out on the wire, not buf->size,Pierre-Yves Ritschard
2009-06-05don't mess with buffer internals,Pierre-Yves Ritschard
2009-06-02Track reject and blackhole routes and allow them to be redistributed evenClaudio Jeker
2009-05-31Remove redundant imsg_event_add calls; ok claudio@Jacek Masiulaniec
2009-05-31The libevent callback function may be called with EV_READ and EV_WRITEClaudio Jeker
2009-05-15Do not ignore the route metric for "redistribute default".Marco Pfatschbacher
2009-04-26comment typos; no binary changeStuart Henderson
2009-04-07allow to specify an alternate control socket instead of /var/run/ospfd.sock.Reyk Floeter
2009-03-31Fixed memory leaks which would occur if the second of two memoryTobias Stoeckmann
2009-03-29Key-Id 0 is not only not available on Cisco devices but also on other devices.Claudio Jeker
2009-03-27Allow the announcement of default route also via redistribute 0.0.0.0/0Michele Marchetto
2009-03-24Change the behaviour of redistribute default.Michele Marchetto
2009-03-13When commiting the buf_left() change adding len to the check was dropped andClaudio Jeker
2009-03-04Introduce and use buf_size(buf) instead of buf->wpos -- at least in the nonClaudio Jeker
2009-03-01Print the correct function name in log_debug().Michele Marchetto
2009-02-25Fix an invalid pointer dereference in control_close(). If control_connbyfd()Claudio Jeker