Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-20 | Decouple log_verbose() from log_init() so the verbose flag stays set with | Stuart Henderson | |
"-v" (previously only "-vd" worked). Similar to recent ospfd commit. ok claudio@ | |||
2011-07-04 | LINK_STATE_IS_UP() cleanup userland part. There is no need to special | Claudio Jeker | |
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. | |||
2011-06-26 | Remove obsolete mcast routes in ldpd and ripd. | Claudio Jeker | |
OK dlg@ | |||
2011-06-21 | Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudio | Mike Belopuhov | |
2011-04-30 | no need to escape |, pointed out by jmc@ | Stuart Henderson | |
"it's worth killing, if just to stop it being copied all over the place" | |||
2010-12-31 | Change <sys/types.h> to <sys/param.h> instead of assuming that some | Philip Guenthe | |
system header pulls the latter in ok millert@ | |||
2010-08-03 | fix linecount bug with comments spanning multiple lines | Henning Brauer | |
problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 applied to all the others by yours truly. ok theo isn't it amazing how far this parser (and more) spread? | |||
2010-07-12 | Merge duplicate log messages into one log_warn(). | Alexander Bluhm | |
ok claudio@ | |||
2010-07-03 | Fix the naming of interfaces and variables for rdomains and rtables | Philip Guenthe | |
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me | |||
2010-05-26 | Move imsg into libutil and add a man page. | Nicholas Marriott | |
Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt | |||
2010-05-26 | Rename some imsg bits to make namespace collisions less likely buf to | Nicholas Marriott | |
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt | |||
2010-05-24 | now that we can handle >9 args, put "-D name=value" on one line: it's a bit | Jason McIntyre | |
more readable, and fixes a spacing bug we had in smtpd.8; | |||
2010-05-14 | Use calloc() instead of malloc() to allocate the connection structure. This | Claudio Jeker | |
way the memory is zeroed. This is equivalent to the relayd commit by reyk. OK reyk, jsg | |||
2010-04-27 | imsg.h does not need sys/tree.h. | Nicholas Marriott | |
ok eric | |||
2010-04-07 | Remove XXX comment and just close received fd if calloc() fails. | Nicholas Marriott | |
If this happens the imsg may no longer be usable as there may be queued messages, but this is a) already the case with the code now, and b) would be the case if recvmsg() fails anyway, so we can document that -1 from imsg_read() invalidates the struct imsgbuf. discussed with and ok eric | |||
2010-02-23 | Fix .Oo .Xo .Oc .Xc mis-nesting by just dropping the .Xo and .Xc which, | Ingo Schwarze | |
in these cases, is useless anyway. Found by and fixing the build with mandoc; still fine with both old and new groff. ok jmc@ | |||
2010-02-21 | Kill double declaration of control_imsg_relay(). | Michele Marchetto | |
From Christiano F. Haesbaert. ok claudio@ | |||
2010-02-08 | Use SIGCHLD for the sigchild handler not SIGINT twice. | Philip Guenthe | |
(This was inherited from ospfd; claudio fixed it there some time ago) Spotted in ripd by haesbaert <at> haesbaert.org | |||
2010-01-02 | The .Rs macro must be followed by .Re, and empty .Rs is useless anyway. | Ingo Schwarze | |
Markup syntax error found by mandoc(1), also required to fix the mandoc build. ok jmc@ sobrado@ | |||
2010-01-02 | Fix comparison between the routing message's priority and RTP_RIP. | Michele Marchetto | |
ok claudio@ | |||
2009-12-08 | porcesses -> processes | Jonathan Gray | |
2009-12-02 | log_warn() consistency. | Michael Knudsen | |
`OK' claudio | |||
2009-11-02 | Another routing daemon that gets IMSG_CTL_LOG_VERBOSE to allow toggeling of | Claudio Jeker | |
log_debug(). ok michele, henning, sthen | |||
2009-10-22 | write UNIX-domain in a more consistent way; while here, replace a | Igor Sobrado | |
few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@ | |||
2009-10-22 | use the UNIX-related macros (.At and .Ux) where appropriate. | Igor Sobrado | |
ok jmc@ | |||
2009-09-30 | Bring in sync with the bgpd version of carp.c. This fixes a memory leak | Claudio Jeker | |
in an error path. | |||
2009-09-30 | carp_demote_ioctl() can handle more then +/-1 steps so there is no need to | Claudio Jeker | |
loop in the shutdown case. OK henning@ | |||
2009-09-26 | Added manpage bits about rdomain support. | Michele Marchetto | |
ok jmc@ | |||
2009-09-26 | Preliminary rdomain support. | Michele Marchetto | |
ok claudio@ | |||
2009-09-26 | Whitespace cleanup. | Michele Marchetto | |
2009-09-24 | Priorities are now handled in the kernel so: | Michele Marchetto | |
- RTF_PROTO3 is useless - MPLS routes don't need special treatment anymore, so don't track them at all ok claudio@ | |||
2009-09-18 | Make kroute code routing priority aware. | Michele Marchetto | |
ok claudio@ | |||
2009-09-15 | Enclose repeated buffer draining code in a new msgbuf_drain() | Jacek Masiulaniec | |
function, which is additionally exported for use by others. It will be needed by smtpd's SSL module when the SMTP client code is changed to replace libevent's evbuffers with our msgbuf_* API. ok gilles@ henning@ guenther@ eric@ | |||
2009-08-08 | Make imsg_clear close and free any fds in the received fd queue as well as | Nicholas Marriott | |
freeing the msgbuf. While here also remove an unnecessary while loop. ok eric pyr | |||
2009-07-31 | Reword the split horizon parameters in the configuration file. | Michele Marchetto | |
Now the choioses are: none, simple, poisoned. Also make poisoned reverse the default behaviour. Based on a diff by Eugene Yunak, thanks. ok claudio@ | |||
2009-07-23 | make buf_write() behave like msgbuf_write(): send out only the | Eric Faurot | |
bytes that were filled, not the whole buffer. ok pyr@ gilles@ | |||
2009-07-07 | Make ripd(8) aware of MPLS routes. | Michele Marchetto | |
ok claudio@ | |||
2009-06-08 | revert this change by eric@: | David Gwynne | |
Make the imsg protocol network-safe. it might be network safe, but half the imsg based daemons on my firewalls dont run anymore. | |||
2009-06-07 | Change the way fds passed over a socket are retreived on the receiving side. | Eric Faurot | |
Currently the receiver fetches an imsg via imsg_get() and if he expects an fd, he then calls imsg_get_fd() to fetch the next fd queued on the imsgbuf from which the imsg came. This changes hides the fd queueing mechanism to the API user. When closing an imsg with an fd, the message is flagged so that the receiving end knows it must dequeue the fd in imsg_get() and return it with the imsg structure. This way there is no (less) possible screw up from imsg_get_fd() not being called directly after imsg_get() by the user. The retreived imsg is self-contained. ok pyr@, "I like that" henning@ | |||
2009-06-07 | Make the imsg protocol network-safe. | Eric Faurot | |
ok pyr@ | |||
2009-06-06 | change the imsg header fields a bit to prepare for upcoming changes. | Eric Faurot | |
add a flag field, use u_int32_t for pid_t and extend type to 32 bits for padding. ok pyr@ | |||
2009-06-06 | Get ready for including imsg.h from a lib, when it comes along. | Pierre-Yves Ritschard | |
2009-06-06 | make ripctl/ripd imsg-in-a-lib ready too. | Eric Faurot | |
ok pyr@ | |||
2009-06-05 | rtm->rtm_hdrlen conversion | Chris Cappuccio | |
ok claudio@, henning@ | |||
2009-06-02 | Same reject and blackhole route handling as in ospfd. Allow those routes | Claudio Jeker | |
to be redistributed even though they point to 127.0.0.1. OK michele@ | |||
2009-05-31 | Remove redundant imsg_event_add calls; ok claudio@ | Jacek Masiulaniec | |
2009-05-31 | Better EV_READ and EV_WRITE handling in the libevent callbacks. Again mostly | Claudio Jeker | |
the same ospfd diff applied with some fuzz. | |||
2009-03-31 | Fixed memory leaks which would occur if the second of two memory | Tobias Stoeckmann | |
allocations fails. looks right deraadt, krw ok henning | |||
2009-03-31 | Assign the correct metric to the routes learned from the kernel while ripd is | Michele Marchetto | |
running. Issue spotted and diff tested by Steven Surdock. ok claudio@ | |||
2009-03-27 | Allow the announcement of default route also via redistribute 0.0.0.0/0 | Michele Marchetto | |
and route labels. ok claudio@ |