Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-03-11 | fflush(stderr) in vlog if in debug mode, from discussion with and ok claudio | Henning Brauer | |
2004-03-11 | Type in Makefile. CLFAGS != CFLAGS and we don't want -Wredundant-decls the | Claudio Jeker | |
standard include files are full of redundant declarations. OK henning@ | |||
2004-03-10 | pass a pointer to the network list as well to session_main so we can free() | Henning Brauer | |
the members after fork | |||
2004-03-10 | while walking the peer list on shutdown free the peer structs | Henning Brauer | |
2004-03-10 | pass a pointer to the filter rule list to session_main() so we can free() | Henning Brauer | |
the list entries and the head there after forking | |||
2004-03-10 | when we exit try to write out what is left in the msg buffers for the imsg | Henning Brauer | |
pipes and clear buffers afterwards | |||
2004-03-10 | free peer list on exit, claudio ok | Henning Brauer | |
2004-03-10 | remove unused function | Henning Brauer | |
2004-03-10 | on shutdown, explicitely clear the knexthop, kroute and kif tables, claudio ok | Henning Brauer | |
2004-03-10 | in kif_kr_insert and _remove, don't whine when we do not find an interface | Henning Brauer | |
whom's index is 0. this means no interface and our faked route that protects the loopback network uses ifindex 0. claudio ok | |||
2004-03-10 | remove an ugly hack from the time when we had no RTM_IFANNOUNCE messages: | Henning Brauer | |
if kif_find() did not find a matchnit re-fetched the complete table from the kernel and retried. this is obsolete now, claudio ok | |||
2004-03-10 | oups | Henning Brauer | |
2004-03-10 | implement framework to announce capabilities in the open messages we send. | Henning Brauer | |
this includes handling "unsupported optional parameter" notifications from the peer and retrying without capability announcement. claudio ok | |||
2004-03-09 | When a new prefix is filtered it is necessary to remove the old prefix. | Claudio Jeker | |
This is done by a recursive call that does the withdraw. OK henning@ | |||
2004-03-08 | mem leaks in error pathes, mostly from Patrick Latifi | Henning Brauer | |
2004-03-08 | typo in format strin (ugh!) and few missing free()s, partitially from | Henning Brauer | |
Patrick Latifi | |||
2004-03-06 | plug a memory leak in the lexer. | Henning Brauer | |
the issue is this code fragement from yylex(): . token = lookup(buf); . yylval.v.string = strdup(buf); . if (yylval.v.string == NULL) . fatal("yylex: strdup"); . return (token); lookup() tries to match buf against a list of keywords, and returns the associated token if it has a match, or the token STRING otherwise. STRING is the only token that needs (and free()s) yylval.v.string. however, we assigned memory for it with the strdup in yylex for each and every token. the fix is obviously only setting yylval.v.string when lookup() returns STRING. Patrick Latifi noticed that something was leaking with token handling, analysis and fix by me. ok deraadt@ | |||
2004-03-05 | Plug some memory leaks in rde. Based on a patch by Patrick Latifi. | Claudio Jeker | |
Added attr_move() so that we can copy the attribute before calling the filter. path_update() will now use the passed attribute so it can't be simply reused. OK henning@ | |||
2004-03-05 | plug a couple of memory leaks, Patrick Latifi | Henning Brauer | |
2004-03-05 | huch, remove a debug message | Henning Brauer | |
2004-03-05 | new error code "unsupported capability" from RFC 3392 | Henning Brauer | |
2004-03-05 | add a parser for the capability announcements using the OPEN message as per | Henning Brauer | |
RFC 3392. we don't support any capability yet but this at least avoids one session teardown and reestablishment when talking to peers which do support capability announcement (as in: basically any) and we'll start supporting some soon. | |||
2004-03-05 | improve logging when we are unhappy with an OPEN message, claudio ok | Henning Brauer | |
2004-03-05 | let parse_open() call change_state() on error itself, so that after sending | Henning Brauer | |
a notification about disagreement on optional parameters we do not punish the peer by keeping him in Idle state for IdleHoldTime, rather let him proceed to Connect immediately again. the "punishment" is of course a flap protection in the first place. claudio ok | |||
2004-03-05 | implement a parser for the optional attributes in OPEN messages and properly | Henning Brauer | |
refuse any if we find them. not refusing means agreement - so we agreed with our peers on stuff we don't support. oups. claudio ok | |||
2004-03-05 | when a session that had a tcp connection established is pushed back to IDLE, | Henning Brauer | |
try to write out what is left in the rite buffers. now notifications do reach the peer... | |||
2004-03-04 | no ; after RB_PROTOTYPE / RB_GENERATE | Henning Brauer | |
From: Andrey Matveev <andrushock@korovino.net> | |||
2004-03-03 | plug a couple of little memory leaks in error paths that we hopefully never | Henning Brauer | |
reach - except for one missing free which was not in an error path. oups. at least in a function that is only called once ever in bgpd's lifetime. From: Patrick Latifi <pat at eyeo dot org>, thanks! | |||
2004-03-03 | missing freeaddrinfo() | Henning Brauer | |
From: Patrick Latifi <pat@eyeo.org> Patrick is doing an _excellent_ job in finding all these little omissions, thank you very very much! | |||
2004-03-02 | KNF | Henning Brauer | |
2004-03-02 | flesh out the address and prefix parsing, include v6 code, but reject v6 | Henning Brauer | |
upwards, claudio ok | |||
2004-03-02 | Framework for rib lookups by prefix. OK henning@ | Claudio Jeker | |
2004-03-02 | Use ntohl() to compare in_addr_t so the tree is nicely sorted. | Claudio Jeker | |
2004-03-01 | spelling | Theo de Raadt | |
2004-03-01 | don't print empty descr | Henning Brauer | |
2004-03-01 | make sure AS doesn't exceed upper bound, issue pointed out by | Henning Brauer | |
Brent Graveland <brent@graveland.net> | |||
2004-03-01 | KNF | Henning Brauer | |
2004-03-01 | Arrrg. Not my day. Sync printconfig with parser here too. | Claudio Jeker | |
2004-03-01 | Forgotten in the last commit. Sync printconfig and parser. | Claudio Jeker | |
2004-03-01 | Sync printconfig.c with parse.y. OK henning@ | Claudio Jeker | |
2004-03-01 | Make it possible to diable the decision process. This is a feature only useful | Claudio Jeker | |
for route-collectors. OK henning@ | |||
2004-02-29 | plug memory leak: when a control connection is closed we need to clear | Henning Brauer | |
its write buffers, noticed by claudio | |||
2004-02-29 | of course the control socket needs to be nonblocking as well, i could have | Henning Brauer | |
sworn it was... noticed by & fixed with claudio | |||
2004-02-29 | Make sure that the fib output is nicely sorted. Use ntohl to compare | Claudio Jeker | |
IP addresses so the tree gets correctly populated. OK henning@ | |||
2004-02-27 | remove unneded peer pointer in struct prefix and change a in_addr_t to | Claudio Jeker | |
struct in_addr. OK henning@ | |||
2004-02-27 | Cleanup no functional changes. OK henning@ | Claudio Jeker | |
2004-02-27 | It is possible to end up in prefix_add with a prefix that needs to be moved. | Claudio Jeker | |
This caused troubles with show rib because of an ENSURE. OK henning@ | |||
2004-02-26 | show rib infrastructure. At least full dumps and per as dumps. Per prefix | Claudio Jeker | |
dump need some more work. OK henning@ | |||
2004-02-26 | Clean up comments and replace a if with a ENSURE because NULL nexthops are | Claudio Jeker | |
illegal. OK henning@ | |||
2004-02-26 | Implement "enforce neighbor-as yes|no" which is by default on for ebgp | Claudio Jeker | |
neighbors. While doing that check also that the nexthop is valid (not class D or E and not in 127/8 range). Kill some TODO and XXX and rename the british neighbour to neighbor as used everywhere else. OK henning@ |