Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-21 | Kill double declaration of control_imsg_relay(). | Michele Marchetto | |
From Christiano F. Haesbaert. ok claudio@ | |||
2010-02-08 | ...and yet another typo copied from ospfd: the ev_sighup event handler | Philip Guenthe | |
should handle SIGHUP and not SIGTERM. SIGTERM is already handled by ev_sigterm. | |||
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 | |||
2009-12-08 | porcesses -> processes | Jonathan Gray | |
2009-12-02 | log_warn() consistency. | Michael Knudsen | |
`OK' claudio | |||
2009-11-02 | Yet another implementation of IMSG_CTL_LOG_VERBOSE. Similar to the one in | Claudio Jeker | |
ripd, ospfd and friends. 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-22 | Sync the link state check code with others daemons. | Michele Marchetto | |
ok claudio@ | |||
2009-09-22 | React putting the interface in state 'down' when dvmrpd detects that | Michele Marchetto | |
the link went down. ok claudio@ | |||
2009-09-22 | Whitespaces fix. | Michele Marchetto | |
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-09-06 | When dvmrpd receives a prune, it must checks if every downstream member | Michele Marchetto | |
on that interfaces has already sent prunes. If so (and there are no local groups) removes the interface from the downstream list. ok claudio@ | |||
2009-09-04 | Dvrmpd inherited the same yesno porblem from bgpd. Make sure it throws | Claudio Jeker | |
a proper syntax error. | |||
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-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-13 | If there are no downstream members for a particular prefix, send a prune | Michele Marchetto | |
upstream. ok claudio@ | |||
2009-06-25 | Another kroute.c code with missing RTM_VERSION checks. | Claudio Jeker | |
OK sthen@, henning@ | |||
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 | forgot to cvs add the file | Pierre-Yves Ritschard | |
2009-06-06 | make dvmrpd imsg-in-a-lib ready as well. | Pierre-Yves Ritschard | |
``put it in'' claudio@, ok eric@ | |||
2009-06-01 | no endpwent | Henning Brauer | |
2009-05-31 | Remove redundant imsg_event_add calls; ok claudio@ | Jacek Masiulaniec | |
2009-05-31 | More libevent callback fixes. While there make n also ssize_t as in all | Claudio Jeker | |
other daemons. | |||
2009-05-20 | Whitespaces cleanup. | Michele Marchetto | |
2009-04-16 | Notify the rde when a neighbor goes down. | Michele Marchetto | |
When this happens we have to rebuild the list of downstream interfaces. ok claudio@ | |||
2009-04-16 | Update kernel forwarding informations when a neighbor reports we are | Michele Marchetto | |
its nexthop to a particular multicast source. ok claudio@ | |||
2009-04-14 | Route costs can be safely stored in one byte. | Michele Marchetto | |
While there re order structs fields a little bit. ok claudio@ | |||
2009-04-11 | When inserting a new route add as downstream interfaces just the ones with | Michele Marchetto | |
downstream neighbors or group members. ok claudio@ | |||
2009-04-11 | Show debug informations when a route is added and when a downstream router | Michele Marchetto | |
is added/deleted. Fix endianess issue in rt_match_origin(). ok claudio@ | |||
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-14 | Initial support for pruning. When every single interface is removed from the | Michele Marchetto | |
downstream list for a particular source send a prune to the upstream router. input and ok claudio@ | |||
2009-03-07 | Get rid of rde_nbr structure as it is no more needed in RDE to make | Michele Marchetto | |
routing decisions. ok claudio@ | |||
2009-03-06 | Make RDE aware of multicast group members per interface. This is needed to | Michele Marchetto | |
make unicast routing decisions. ok claudio@ | |||
2009-02-25 | Fix an invalid pointer dereference in control_close(). If control_connbyfd() | Claudio Jeker | |
fails -- which should never happen -- the function does not return and is accession the NULL set control pointer later on. Found by Matthew Haub. OK deraadt@ | |||
2009-02-03 | Correctly update kernel and mfc when change in routing table happens. | Michele Marchetto | |
ok norby@ | |||
2009-01-27 | Get rid of the 24h timer as it useless here. | Michele Marchetto | |
While there fix minor bugs. ok norby@ | |||
2009-01-25 | Add missing evtimer_set on route hold down timer. | Michele Marchetto | |
ok norby@ | |||
2009-01-24 | Fix an evil typo. | Michele Marchetto | |
ok norby@ | |||
2009-01-20 | revert earlier commit that broke the tree | Todd T. Fries | |
2009-01-19 | Cleanup the functions related to the election of the designated | Michele Marchetto | |
forwarder. ok norby@ |