summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2005-03-26fix a little race on SIGCHLD where we must delay the claenup untilHenning Brauer
we invalidated all child pids in case both were killed in a very short time, spotted by and diff from Michael Knudsen <e@molioner.dk>, claudio ok
2005-03-26start sentence with capital letterPeter Valchev
2005-03-25all hail Theo and do as He wishes.Marc Espie
2005-03-25Use the return value from getopt() instead of optopt in non-errorJared Yanovich
cases since optopt is not set in these cases, and it is not required by POSIX that it should be. ok millert otto
2005-03-25use getopt() for argument list parsingRobert Nagy
ok otto@ henning@
2005-03-25whitespaceMoritz Jodeit
2005-03-25what is an ospfe engine?Henning Brauer
2005-03-25extra char in getopt string, Michael Knudsen <e@molioner.dk>Henning Brauer
2005-03-25whitespaceOtto Moerbeek
2005-03-24one more fatal/fatalx, alexanderHenning Brauer
2005-03-24fatal vs fatalx, Alexander von GernlerHenning Brauer
2005-03-24whitespace;Jason McIntyre
2005-03-24soem fatal()s that should be fatalx()s, Alexander von GernlerHenning Brauer
2005-03-24support blowfish encryption in the password files and use it by defaultHenning Brauer
From: Sergey Smitienko <hunter@comsys.com.ua>, markus ok
2005-03-24fix memory leak in error paths. found with coverity prevent.Ted Unangst
ok claudio henning
2005-03-23Move the neighbor checking code from merge_config() to neighbor_consistent()Claudio Jeker
where it belongs. OK henning@
2005-03-23mini KNFClaudio Jeker
2005-03-23The interface name in struct sockaddr_dl may not be nul terminated andClaudio Jeker
so the strlcpy() will copy to much. Use sa_nlen instead with some additional logic. This fixes a problem where interfaces where not found. OK norby@
2005-03-23Sync mask2prefixlen() with the kroute.c version of ospfd because they shareClaudio Jeker
the same prototype definition comming from ospfd.h. OK norby@
2005-03-23prefixlen2mask() should return a network byte order result as it does implyClaudio Jeker
by using an in_addr_t as return type. It simplyfies also the usage as in most cases the mask is used with a struct in_addr address which is also network byte order. Add prototypes of prefixlen2mask() and mask2prefixlen() to ospfd.h as it is used or will be used at different places. OK norby@
2005-03-23remove now osolete comment, from a mail exchange withHenning Brauer
Alexander von Gernler <grunk@pestilenz.org>
2005-03-23grow receive buffer on the routing socket, from bgpdHenning Brauer
2005-03-23explicitely initialize opt, from bgpdHenning Brauer
2005-03-23ssize_t -> size_t, from ntpd, there from Alexander von GernlerHenning Brauer
2005-03-23wpos in struct buf_read and datalen in imsg_get should be size_t and notHenning Brauer
ssize_t From: Alexander von Gernler <grunk@pestilenz.org>
2005-03-22Remove bool cruft.Esben Norby
ok claudio@
2005-03-22resolve conflictsJakob Schlyter
2005-03-22ISC BIND release 9.3.1. ok deraadt@Jakob Schlyter
2005-03-22ISC BIND release 9.3.1. ok deraadt@Jakob Schlyter
2005-03-17Fix fd passing. Bug introduced lately passed the first fd twice and an oldClaudio 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-17Handle the retransmission queues correctly. Mainly iface state DROTHERClaudio 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-17Fix an access after free. It is not allowed to use a RB_REMOVE inside of aClaudio Jeker
RB_FOREACH. OK norby@ deraadt@
2005-03-16don't try to merge the freshly parsed config into the running one ifHenning Brauer
we had parser failures... debugging session with claudio and jason ackley ok claudio norby deraadt
2005-03-16plug memory leak. Patrick LatifiJun-ichiro itojun Hagino
2005-03-15describe "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-15bgpctl parts for "show fib".Claudio Jeker
OK norby@ deraadt@
2005-03-15Add control messages for the show fib commands.Claudio Jeker
OK norby@ deraadt@
2005-03-15First close() than unlink().Claudio Jeker
2005-03-15remove listener if bind() fails. no point in having a defunct listenerHenning Brauer
in the list; causes issues with upcoming changes, spotted by Jason Ackley <jason@ackley.net>, claudio ok
2005-03-15grow the receive buffer on the routing socket, pointed out by markus,Henning Brauer
ok markus claudio
2005-03-15tweaks;Jason McIntyre
ok claudio@
2005-03-14Add "show summary" to ospfctl.Esben Norby
ok claudio@ henning@
2005-03-14Allow to modify the metrics in a relative way by prepending the number withClaudio 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-14unlink() control socket in error path. Spotted by Theo at FOSDEM.Claudio Jeker
Was way too long in one of my trees.
2005-03-14add IFT_/IFM_IEE80211 to ift2ifm so we can pretty-print link state andHenning Brauer
such for those as well, pointed out by claudio
2005-03-14print interface and some stuff about it with the nexthops so it is easierHenning Brauer
to see why a nexthop is treated invalid, claudio ok
2005-03-14send a kif structure describing the interface a route relies on alongHenning Brauer
with the "show nexthop" messages, claudio ok
2005-03-14when a buffer has a file descriptor to pass attached, we tried to sendHenning 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-14report/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 itHenning 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