Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-03-17 | Fix fd passing. Bug introduced lately passed the first fd twice and an old | Claudio Jeker | |
bug passed a fd twice if only part of the buffers where written by sendmsg(). Lot of discussion and help deraadt@, additional testing norby@ OK deraadt@ | |||
2005-03-17 | Handle the retransmission queues correctly. Mainly iface state DROTHER | Claudio Jeker | |
needs to be handled specially because the backup DR does not send acks and so his retransmission queue fills up and does not get cleared. Also implement the retransmission timeout correctly. OK henning@ norby@ deraadt@ | |||
2005-03-17 | Fix an access after free. It is not allowed to use a RB_REMOVE inside of a | Claudio Jeker | |
RB_FOREACH. OK norby@ deraadt@ | |||
2005-03-16 | don't try to merge the freshly parsed config into the running one if | Henning Brauer | |
we had parser failures... debugging session with claudio and jason ackley ok claudio norby deraadt | |||
2005-03-16 | plug memory leak. Patrick Latifi | Jun-ichiro itojun Hagino | |
2005-03-15 | describe "depend on" | Henning Brauer | |
you wouldn't guess how hard it was to get that right... initial diffs and lots of input from Jason Ackley and jaredy, ok claudio jaredy jmc deraadt | |||
2005-03-15 | bgpctl parts for "show fib". | Claudio Jeker | |
OK norby@ deraadt@ | |||
2005-03-15 | Add control messages for the show fib commands. | Claudio Jeker | |
OK norby@ deraadt@ | |||
2005-03-15 | First close() than unlink(). | Claudio Jeker | |
2005-03-15 | remove listener if bind() fails. no point in having a defunct listener | Henning Brauer | |
in the list; causes issues with upcoming changes, spotted by Jason Ackley <jason@ackley.net>, claudio ok | |||
2005-03-15 | grow the receive buffer on the routing socket, pointed out by markus, | Henning Brauer | |
ok markus claudio | |||
2005-03-15 | tweaks; | Jason McIntyre | |
ok claudio@ | |||
2005-03-14 | Add "show summary" to ospfctl. | Esben Norby | |
ok claudio@ henning@ | |||
2005-03-14 | Allow to modify the metrics in a relative way by prepending the number with | Claudio Jeker | |
a '+' or '-'. e.g. set localpref +20. This is another gem from the FOSDEM lying around on my HD gathering dust. OK henning@ | |||
2005-03-14 | unlink() control socket in error path. Spotted by Theo at FOSDEM. | Claudio Jeker | |
Was way too long in one of my trees. | |||
2005-03-14 | add IFT_/IFM_IEE80211 to ift2ifm so we can pretty-print link state and | Henning Brauer | |
such for those as well, pointed out by claudio | |||
2005-03-14 | print interface and some stuff about it with the nexthops so it is easier | Henning Brauer | |
to see why a nexthop is treated invalid, claudio ok | |||
2005-03-14 | send a kif structure describing the interface a route relies on along | Henning Brauer | |
with the "show nexthop" messages, claudio ok | |||
2005-03-14 | when a buffer has a file descriptor to pass attached, we tried to send | Henning Brauer | |
out all pending buffers up to and including the one with the fd attached. the fd is sent with the data and closed after all data is sent. when this amount of data exceeds what we can get rid of with a single sendmsg() on our nonblocking sockets we might send the fd more than once, leaving unused fds around. when we see a buffer with an fd attached, send out everything up to, but EXcluding that buffer, so that in the next round a seperate message with just the one buffer and the associated fd is sent. if anything got written in that sendmsg() call consider the fd sent and close it. from a debugging session with theo hunting something else, claudio ok | |||
2005-03-14 | report/ignore broken packing-lists. | Marc Espie | |
Happens only to guys who don't run fsck after panics, but hey ! ;-) okay pval@ | |||
2005-03-14 | "we notice when you plug the cable" - yeah, but we didn't notice when it | Henning Brauer | |
was unplugged from the beginning on... correctly take interfaces' link state into account for nexthop verification in all cases. add a new function kroute_validate() that looks up the interface for a given kroute via the ifindex and check its link state. use it in all cases instead of hand-rolling the test. claudio ok | |||
2005-03-13 | Missing return value and fd leak in fork()'s error path. Spotted by mpech@ | Otto Moerbeek | |
2005-03-13 | when fetching the initial table, inherit the ifindex regardless of af, not | Henning Brauer | |
just for AF_LINK | |||
2005-03-13 | explicitely initialize opt | Henning Brauer | |
2005-03-13 | s/to many/too many/, from jmc | Henning Brauer | |
2005-03-13 | Fixes in ntpd_settime (ie ntpd -s): | Darren Tucker | |
- Handle errors from syscalls better - Prevent curtime.tv_usec from being negative for negative offsets. - Don't claim to have done settimeofday if it fails. ok henning@ | |||
2005-03-13 | document some common usage of pkg_info to make us look cool. | Marc Espie | |
okay jmc@, prod by theo. | |||
2005-03-12 | remove useless sentence; | Jason McIntyre | |
ok beck@ | |||
2005-03-12 | Do not leak mem or fd in error paths. From Andrey Matveev (thanks!). | Chad Loder | |
OK niallo@ deraadt@: "stop polishing turds and commit already" | |||
2005-03-12 | Add "show rib" and "show rib detail" to ospfctl. | Esben Norby | |
ok henning@ | |||
2005-03-12 | Small K&F. | Esben Norby | |
ok henning@ | |||
2005-03-12 | shutdown the inetd socket for reading if secure; ok deraadt | Markus Friedl | |
2005-03-11 | freeaddrinfo() isn't needed on the error path from getaddrinfo(). | Bob Beck | |
ok claudio@ | |||
2005-03-11 | Fix typo. | Esben Norby | |
ok claudio@ | |||
2005-03-11 | fix usage to reflect new reality, ok jmc@ | Bob Beck | |
2005-03-11 | "Greytrapping" for spamd - allow for spamd greylisting to maintain | Bob Beck | |
a list of spamtrap destination addresses in the spamd database. When a spamtrap address gets an attempted greylist delivery, blacklist the offending host for a day. Does not affect hosts already whitelisted. ok deraadt@, jmc@, dhartmei@ to get it in so it can be whacked on | |||
2005-03-11 | shutdown() directly before close() is useless, theo | Henning Brauer | |
2005-03-11 | clean up printing of rule numbers. omit ruleset name and sub-rule number | Daniel Hartmeier | |
when irrelevant. print 'def' for default rule. omit numerical reason if description is printed. ok henning@, deraadt@ | |||
2005-03-11 | move umask() song and dance closer around the bind, being more careful about ↵ | Theo de Raadt | |
errors; ok claudio | |||
2005-03-11 | Finally commit the transparent-as and nexthop no-modify stuff I wrote on the | Claudio Jeker | |
way to FOSDEM. With transparent-as set to ye bgpd will not prepend his own AS for sent updates. NB the neighbor needs to set "enforce neighbor-as no" or it will not like the received AS paths. With set nexthop no-modify bgpd will change the nexthop as done normaly. OK henning@ man page update with help of jmc@ | |||
2005-03-11 | KNF | Henning Brauer | |
2005-03-10 | only play with umask() for a moment -- restore after | Theo de Raadt | |
2005-03-10 | put umask restores in right place; millert ok | Theo de Raadt | |
2005-03-10 | Write this in real C, not some bullshit GNU extension that other compilers | Theo de Raadt | |
do no understand. | |||
2005-03-10 | the section is named "LOGGING FACILITY", not "Logging Facility"; | Jason McIntyre | |
also mention that it is "above", as this is one large page; | |||
2005-03-09 | Do not leak Keynote sessions on failure. Also check snprintf return | Chad Loder | |
value for truncation and failure. OK hshoexer | |||
2005-03-09 | nasty: host_dns used to run before forking and chrooting etc, so it was | Henning Brauer | |
guaranteed that its res_init() call was done once before fork etc... that is no longer the case. call res_init() in main() early. | |||
2005-03-09 | Check kn_init for failure. | Chad Loder | |
OK hshoexer@, henning@ | |||
2005-03-09 | Preliminary support for the floppy drive on Ultrasparcs. Only tested on | Miod Vallat | |
SBus machines so far, although EBus attachment glue is provided but not enabled by default. Also, fdformat(8) does not work correctly yet, although reading and writing is safe; this will hopefully be fixed in the near future. ok deraadt@ | |||
2005-03-09 | memcpy/memmove correctness here as well | Henning Brauer | |