Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-26 | Getting the higest IP only works if the compare is done in host byte order. | Claudio Jeker | |
Same bug as in ospfd and ospf6d. *gulp* | |||
2007-10-13 | in all these programs using the same pfctl-derived parse.y, re-unify the | Theo de Raadt | |
yylex implementation and the code which interacts with yylex. this also brings the future potential for include support to all of the parsers. in the future please do not silly modifications to one of these files without checking if you are de-unifying the code. checked by developers in all these areas. | |||
2007-01-31 | Replace another strtol() with strtonum() making the error checking easier | Claudio Jeker | |
to understand. This is modeled after bgpctl's parse_prefix function. OK henning@ | |||
2006-03-15 | Allow the control socket to be changed on the command line. Useful if you | Claudio Jeker | |
need to run multiple bgpds on a single box to simulate a IX. This helped me massivly debugging error reports. OK henning@ | |||
2006-01-24 | introduce a second control socket, which is restricted to certain messages, | Henning Brauer | |
nameley the show ones. needed for looking glass style applications, monitoring etc. claudio ok | |||
2005-07-14 | free commitz from pascoes kitchen. fix an error message | David Gwynne | |
ok henning@ | |||
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-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-23 | Move the neighbor checking code from merge_config() to neighbor_consistent() | Claudio Jeker | |
where it belongs. OK henning@ | |||
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 | |||
2004-10-01 | if we're opening a socket for a default listener because no "listen on" | Henning Brauer | |
stetements were found in the config file, and one fails with EPROTONOSUPPORT (this is the case for the default ::1 listener on machines without INET6), remove that listener and move on instead of bailing out. ok claudio | |||
2004-06-20 | implement file descriptor passing in the imsg/msgbuf framework, and use | Henning Brauer | |
it to let the main process to prepare new listening sockets (socket() and bind()) on behalf of the session engine, which of course cannot bind() to ports < 1024 any more once it dropped privileges. with some help from theo, claudio ok | |||
2004-06-06 | rework bgpd's handling of listening sockets. instead of one for each | Henning Brauer | |
supported address familiy, keep a tailq of an arbitary number of them. the new struct listen_addr contains the sockaddr and the fd. this fixes quite some nasty behaviour which was a consequence of the previous model. looks right deraadt@, and discussed with claudio | |||
2004-05-21 | RFC 2796 bgp route reflector support. This is very useful in conjunction | Claudio Jeker | |
with templates. looks good, go for it henning@ | |||
2004-05-04 | remove unused var; henning ok | Theo de Raadt | |
2004-04-27 | do the errno ERANGE dance around a strtol; henning ok | Theo de Raadt | |
2004-03-31 | it is no longer required to have local-address set with tcp md5sig, | Henning Brauer | |
so remove the check. | |||
2004-03-17 | consistency | Henning Brauer | |
2004-03-16 | tcp md5sig requires that local-address is specified as well for now, so | Henning Brauer | |
enforce it. | |||
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 | flesh out the address and prefix parsing, include v6 code, but reject v6 | Henning Brauer | |
upwards, claudio ok | |||
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@ | |||
2004-02-10 | enforce config file secrecy (correct owner, no rights for group/world) | Henning Brauer | |
help and ok theo | |||
2004-02-03 | replace the previous hack for the internal peer id allocator (which just used | Henning Brauer | |
the peer's ip address as u_int32_t) by a real id allocator that tries to keep locality high. claudio ok | |||
2004-02-01 | Set sane default announce types according to the peer type. For IBGP use | Claudio Jeker | |
announce all and for EBGP use announce self. OK henning@ | |||
2004-01-30 | in the parse_config() -> merge_config() chain, you shall not null | Henning Brauer | |
conf->opts that holds some of the command line opts. repairs -n. | |||
2004-01-28 | don't pfkey_setkey() from here, claudio markus ok | Henning Brauer | |
2004-01-28 | pfkey_setkey: sockaddr -> bgpd_addr; ok claudio | Markus Friedl | |
2004-01-27 | use a struct bgpd_addr instead of sockaddr_in for peer_config->local_addr and | Henning Brauer | |
->remote_addr for easier multiprotocol support ok claudio@ | |||
2004-01-27 | use SADB_GETSPI/UPDATE for setting tcpmd5 keys; ok henning | Markus Friedl | |
2004-01-26 | first cut at tcpmd5 setup seupport from within bgpd. works so far. | Henning Brauer | |
with help from hshoexer@ and markus@ ok claudio@ hshoexer@ markus@ | |||
2004-01-24 | we can use memcpy for the whole thing in merge_config now instead of | Henning Brauer | |
copying each and every thing on its own yes, there was a reason to do it this way once, but it vanished ok claudio@ | |||
2004-01-22 | use log_warnx and log_info. reclassify a few messages in the process and fix | Henning Brauer | |
a few messages. ok claudio@ | |||
2004-01-07 | don't try to be smart after config reloads and try to detect wether | Henning Brauer | |
a session needs a reinit for the new conf to kick in. the logic is condemned to fail, and implicitly taking sessions down is BAD. after discussion with mickey@, ok claudio@ | |||
2004-01-06 | 2004 | Henning Brauer | |
2004-01-03 | move some session specific stuff to session.h and make the few files | Henning Brauer | |
that need it include that | |||
2004-01-03 | decouple the peer list from bgpd_config. | Henning Brauer | |
so many parts of bgpd are not at all interested in the session specific peer structs... allows for some further cleaning | |||
2004-01-02 | whitespace | Jun-ichiro itojun Hagino | |
2003-12-30 | typos from david | Henning Brauer | |
2003-12-27 | style | Henning Brauer | |
2003-12-27 | move the fib couple/decouple to the config merge where it belongs | Henning Brauer | |
2003-12-26 | add option 'log updates' to log updates. ok henning@ | Jakob Schlyter | |
2003-12-26 | when this project started and i added the fatal() function, I made it take | Henning Brauer | |
the error number as parameter instead of accessing errno, because in one place the error number was not in errno but fetched from a socket. now, of course it makes much more sense to just set errno to the error number just fecthed in this one place instead of having hundreds of fatal() calls all transfer the errno round and round and round... fix this, and also provide a fatalx, which does not care for errno and doesn't invoke strerror. oh, btw, in the place where we fetch the err # from the socket, we don't call fatal anymore anyway... | |||
2003-12-25 | free where it was allocated; much easier to verify | Henning Brauer | |
2003-12-25 | don't leak memory THAT obvious on reconfigure | Henning Brauer | |
2003-12-24 | syscalls return -1 on err so test for == -1 instead of the < 0 found in very | Henning Brauer | |
few places, requested by theo | |||
2003-12-24 | add option to not touch the kernel routing table | Henning Brauer | |
2003-12-23 | allow the listening address to be specified, default to INADDR_ANY | Henning Brauer | |
should make jose@ happy | |||
2003-12-19 | for our internal peer ID just use the peer's IP address for now. | Henning Brauer | |
this collides with multiviews (which we don't have yet) and will have to be changed then, but allows us to progress much faster now. ok claudio@ |