Age | Commit message (Collapse) | Author |
|
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?
|
|
ok claudio@
|
|
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
|
|
Minor bump for libutil.
Previous versions of this diff and man page looked at by various people.
"you should just commit" deraadt
|
|
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.
ok henning gilles claudio jacekm deraadt
|
|
more readable, and fixes a spacing bug we had in smtpd.8;
|
|
way the memory is zeroed. This is equivalent to the relayd commit by reyk.
OK reyk, jsg
|
|
ok eric
|
|
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
|
|
in these cases, is useless anyway.
Found by and fixing the build with mandoc;
still fine with both old and new groff.
ok jmc@
|
|
From Christiano F. Haesbaert.
ok claudio@
|
|
(This was inherited from ospfd; claudio fixed it there some time ago)
Spotted in ripd by haesbaert <at> haesbaert.org
|
|
Markup syntax error found by mandoc(1), also required to fix the mandoc build.
ok jmc@ sobrado@
|
|
ok claudio@
|
|
|
|
`OK' claudio
|
|
log_debug(). ok michele, henning, sthen
|
|
few remaining ".Tn UNIX" macros with ".Ux" ones.
pointed out by ratchov@, thanks!
ok jmc@
|
|
ok jmc@
|
|
in an error path.
|
|
loop in the shutdown case. OK henning@
|
|
ok jmc@
|
|
ok claudio@
|
|
|
|
- RTF_PROTO3 is useless
- MPLS routes don't need special treatment anymore, so don't track them at all
ok claudio@
|
|
ok claudio@
|
|
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@
|
|
freeing the msgbuf.
While here also remove an unnecessary while loop.
ok eric pyr
|
|
Now the choioses are: none, simple, poisoned.
Also make poisoned reverse the default behaviour.
Based on a diff by Eugene Yunak, thanks.
ok claudio@
|
|
bytes that were filled, not the whole buffer.
ok pyr@ gilles@
|
|
ok claudio@
|
|
Make the imsg protocol network-safe.
it might be network safe, but half the imsg based daemons on my firewalls
dont run anymore.
|
|
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@
|
|
ok pyr@
|
|
add a flag field, use u_int32_t for pid_t and extend type to 32 bits
for padding.
ok pyr@
|
|
|
|
ok pyr@
|
|
ok claudio@, henning@
|
|
to be redistributed even though they point to 127.0.0.1. OK michele@
|
|
|
|
the same ospfd diff applied with some fuzz.
|
|
allocations fails.
looks right deraadt, krw
ok henning
|
|
running.
Issue spotted and diff tested by Steven Surdock.
ok claudio@
|
|
and route labels.
ok claudio@
|
|
with address belonging to that prefix. Don't skip it.
ok claudio@
|
|
Now a default route have to be present in the fib to be correctly advertised.
Spotted and tested by Steven Surdok on ripd.
ok claudio@
|
|
unknon -> unknown
|
|
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@
|
|
|
|
When interfaces go up/down the demotion counter of the
specified group is decreased/increased.
ok henning@
|