Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-04-15 | Fix memory leak in case aspath_snprint() returns an error (-1). | Claudio Jeker | |
OK henning@ | |||
2005-04-13 | filter_set cleanup. Plug some memleaks and fix an obvious bug in the | Claudio Jeker | |
network case. OK henning@ | |||
2005-04-13 | tweak to make this use similar format to ospfd.conf.5 and hostapd.conf.5; | Jason McIntyre | |
2005-04-12 | tweaks; | Jason McIntyre | |
ok claudio@ | |||
2005-04-12 | Introduce a per prefix weight. The weight is used to tip prefixes with equal | Claudio Jeker | |
long AS pathes in one or the other direction. It weights a prefix at a very late stage in the decision process. This is a nice bgpd feature to traffic engineer networks where most AS pathes are equally long. OK henning@ | |||
2005-04-12 | Fix some yyerror messages. Ja ja, INT_MAX is to small... OK henning@ | Claudio Jeker | |
2005-04-12 | set metric is an alias of set med since a long time. OK henning@ | Claudio Jeker | |
2005-04-08 | don't whine when we can't find interface with index 0 | Henning Brauer | |
(that is a rare corner case in that context, but still) | |||
2005-04-07 | nicer output | Henning Brauer | |
2005-04-05 | magic police, Jason Ackley <jason@ackley.net> | Henning Brauer | |
2005-03-31 | zap some includes we don't need, Alexander von Gernler <grunk@pestilenz.org> | Henning Brauer | |
2005-03-30 | bgpd used to open listeners in advance in the parent and the SE picked | Henning Brauer | |
those it needed, closing all the others. this has some nasty races. so let the parent keep the list of listeners so it knows when it has to open a new one claudio ok, also tested by jason ackley | |||
2005-03-30 | interface validation cleanup / fixes | Henning Brauer | |
there's some nastiness in the interface validation. clean up by centralizing the checks in kif_validate(). claudio ok | |||
2005-03-29 | explicitely check interface flags for IFF_UP in kroute_validate | Henning Brauer | |
2005-03-29 | walk & free network and filter lists after parse errors | Henning Brauer | |
ok claudio theo | |||
2005-03-28 | walk & free peer_l after failed config parsing attempts | Henning Brauer | |
2005-03-28 | ewps, this was not supposed to creep in | Henning Brauer | |
2005-03-28 | free rules_l if the initial config file parse fails | Henning Brauer | |
2005-03-28 | KNF | Henning Brauer | |
2005-03-28 | better diagnostics on bind() failure | Henning Brauer | |
2005-03-26 | inet_addr("127.0.0.1") -> htonl(INADDR_LOOPBACK) | Claudio Jeker | |
Use IN_CLASSA_NET instead of hard coded 0xff000000 OK henning@ | |||
2005-03-26 | proper check on log type. ok henning claudio | Ted Unangst | |
2005-03-26 | Move the path_empty()/path_destroy() check out of the inner for-loop. | Claudio Jeker | |
Makes the code more obvious. Idea from tedu@ OK henning@ | |||
2005-03-24 | soem fatal()s that should be fatalx()s, Alexander von Gernler | Henning Brauer | |
2005-03-24 | fix memory leak in error paths. found with coverity prevent. | Ted Unangst | |
ok claudio henning | |||
2005-03-23 | Move the neighbor checking code from merge_config() to neighbor_consistent() | Claudio Jeker | |
where it belongs. OK henning@ | |||
2005-03-23 | remove now osolete comment, from a mail exchange with | Henning Brauer | |
Alexander von Gernler <grunk@pestilenz.org> | |||
2005-03-23 | ssize_t -> size_t, from ntpd, there from Alexander von Gernler | Henning Brauer | |
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-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-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 | 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 | 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 | 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 | "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 | 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-11 | shutdown() directly before close() is useless, theo | Henning Brauer | |
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-09 | correctness: memmove instead of memcpy where we might have overlaps | Henning Brauer | |
2005-02-25 | unlink() control socket in error path. Spotted by Theo. | Claudio Jeker | |
2005-02-24 | Add two missing breaks and suddenly using filter has no strange side effects. | Claudio Jeker | |
Sometimes it is good to look at the rib output of a test box. | |||
2005-02-09 | need to send IMSG_NETWORK_DONE after sending networks and associated filter | Henning Brauer | |
sets, otherwise local netyworks get withdrawn after config reload; misbehaviour noticed by peter.galbavy@knowtion.net, claudio ok | |||
2005-02-07 | spelling fix | David Krause | |
2005-02-02 | usage() is __dead | Henning Brauer | |
pt out by Alexander v Gernler |