Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-31 | Remove redundant imsg_event_add calls; ok claudio@ | Jacek Masiulaniec | |
2009-05-31 | The libevent callback function may be called with EV_READ and EV_WRITE | Claudio Jeker | |
set at the same time so using a switch to do read or write is a bad idea. Problem noticed by Eygene Ryabinkin on FreeBSD for some reasons it is not triggered on OpenBSD. Fix aggreed by a most other libevent hackers | |||
2009-05-15 | Do not ignore the route metric for "redistribute default". | Marco Pfatschbacher | |
Got broken in -r 1.62. Pointed out by bluhm@ OK bluhm@, claudio@ | |||
2009-04-26 | comment typos; no binary change | Stuart Henderson | |
2009-04-07 | allow to specify an alternate control socket instead of /var/run/ospfd.sock. | Reyk Floeter | |
this is required to run multiple instances of ospfd. ok claudio@ | |||
2009-03-31 | Fixed memory leaks which would occur if the second of two memory | Tobias Stoeckmann | |
allocations fails. looks right deraadt, krw ok henning | |||
2009-03-29 | Key-Id 0 is not only not available on Cisco devices but also on other devices. | Claudio Jeker | |
Make this a more general concern about using 0 as key id. After discussion with Tamas TEVESZ | |||
2009-03-27 | Allow the announcement of default route also via redistribute 0.0.0.0/0 | Michele Marchetto | |
and route labels. ok claudio@ | |||
2009-03-24 | Change the behaviour of redistribute default. | Michele Marchetto | |
Now a default route have to be present in the fib to be correctly advertised. Spotted and tested by Steven Surdok on ripd. ok claudio@ | |||
2009-03-13 | When commiting the buf_left() change adding len to the check was dropped and | Claudio Jeker | |
so a warning later on could be hit in some cases. Found by dlg@ OK dlg@ | |||
2009-03-04 | Introduce and use buf_size(buf) instead of buf->wpos -- at least in the non | Claudio Jeker | |
buf/imsg specific code. buf_close() will no force a truncation of the buffer to the wpos but actually add code in imsg.c to detect and report such silly behaviour. Makes the buf API a bit more sane. | |||
2009-03-01 | Print the correct function name in log_debug(). | Michele Marchetto | |
OK claudio@ stsp@ | |||
2009-02-25 | Fix an invalid pointer dereference in control_close(). If control_connbyfd() | Claudio Jeker | |
fails -- which should never happen -- the function does not return and is accession the NULL set control pointer later on. Found by Matthew Haub. OK deraadt@ | |||
2009-01-31 | write point-to-point in a consistent way. | Igor Sobrado | |
jmc@ has provided a complete list of manual pages to be fixed, and suggested using uppercase (i.e., Point-to-Point) when discussing the protocol, and lowercase (point-to-point) otherwise. ok jmc@ | |||
2009-01-31 | Implement buf_left() to make some some more buffer handling easier. | Claudio Jeker | |
buf_left() returns the bytes left in a buffer. This makes the check to keep MD5_DIGEST_LENGTH bytes unallocated in some messages easier. From the buf cleanup diff that was OK norby@ and henning@ | |||
2009-01-31 | Pass the buffer to send_packet() instead of spliting it up. This removes | Claudio Jeker | |
some direct access to struct buf internals in the rest of ospfe. Based on a larger buffer cleanup diff that was OK norby@ henning@ | |||
2009-01-27 | No need to check if neighbor exists before adding it | Michele Marchetto | |
as it is already done in rde_nbr_new(). ok claudio@ stsp@ | |||
2009-01-26 | We acutally use the lowest IP configured as router-id if none is specified. | Claudio Jeker | |
2009-01-26 | First convert IP addresses to host-byte-order before checking which one is | Claudio Jeker | |
smaller. Additionally fix the check to find the lowest configured IP as suggested by the RFC. Found with stsp@ | |||
2009-01-16 | fix last update | Joerg Goltermann | |
OK claudio@ henning@ | |||
2009-01-08 | Fix use after free of kr. Happend when the first loop removed the head | Claudio Jeker | |
element without updating the kr pointer which was later on used again. Found by david@. OK norby@ | |||
2009-01-08 | Include the neighbor ID in a debug output so that it is clear which router | Claudio Jeker | |
is sendingf the duplicate entries. OK norby@ | |||
2009-01-08 | tweak previous; feedback/ok claudio | Jason McIntyre | |
2009-01-07 | Full stub area support. This allows ABRs to announce a default network | Claudio Jeker | |
summary LSA into stub areas so that these routers are able to reach the outside of the area. OK norby@ | |||
2009-01-06 | Remove workaround added in rev 1.63. The real issue has been found and | Claudio Jeker | |
fixed and the bandaid is no longer needed. See rev. 1.26 of sys/net/radix.c | |||
2009-01-01 | Remove some other useless debug messages that just add unneeded noise. | Claudio Jeker | |
2009-01-01 | Call kr_shutdown() before exit even in config test mode and config parse | Claudio Jeker | |
error case. | |||
2009-01-01 | Move initialisation of krt into kif_init so that it is possible to call | Claudio Jeker | |
kr_shutdown() after kif_init(). | |||
2008-12-17 | Add a workaround for some crazyness that happens if a cloning route has a | Claudio Jeker | |
low priority gateway route below itself plus a carp interface on the same network. The result is that some arp entries can't be added. This is a bandaid that will give me time to figure out the real bug. | |||
2008-12-12 | Make the kroute code routing priority aware. This solves a few issues and | Claudio Jeker | |
makes to code simpler. While the routing table is somewhat simpler the redistribution code does not allow a much more radical approach. With some additional help of Mr. Kernel and his rtsock it should be possible to rip even more code out of kroute.c. Tested and OK sthen@, gollo@ | |||
2008-11-24 | Initial support for stub areas. The bit still missing is the redistribution | Claudio Jeker | |
of the default summary net lsa on ABRs but that is comming. OK norby@ | |||
2008-11-21 | Kill some old debug messages that are no longer needed. | Claudio Jeker | |
2008-11-21 | imsg_* returns ssize_t | Claudio Jeker | |
2008-10-17 | bring in the findeol() fix from pfctl. list of affected parsers by sthen | Henning Brauer | |
2008-10-03 | Unify code between the various flavors of imsg buffer.c. | Eric Faurot | |
Use unsigned int for msg_iovlen. ok henning@ claudio@ | |||
2008-09-29 | Refactor code that handles the kroute interfaces and make it possible to | Claudio Jeker | |
learn new interfaces during runtime. This should solve the issue with reloads failing when interfaces where created during runtime. OK norby@ | |||
2008-09-12 | Don't be to strict in find_iface() about what we accept on point-to-point | Claudio Jeker | |
links. If a packet arrived on a point-to-point interface we should accept it even if the source address of the packet is different to our iface destination address. OK norby@ | |||
2008-07-24 | Use memcpy() and memcmp() like everywhere else in ospfd. OK norby@ | Claudio Jeker | |
2008-06-13 | Simplify ROUNDUP() macro, it does not need the additional size argument. | Claudio Jeker | |
That will be sizeof(long) no matter what. | |||
2008-06-10 | Fix typo. | Joel Sing | |
2008-05-12 | Error out with usage line if additional arguments are given after the | Pierre-Yves Ritschard | |
option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@ | |||
2008-05-09 | insert/delete routes w/ prio RTP_OSPF | Henning Brauer | |
2008-05-07 | OSPF uses the highest IP address, not the lowest. | Joel Sing | |
hai norby@ | |||
2008-05-05 | Use rtm_hdrlen instead of the static header length. OK norby@ | Claudio Jeker | |
2008-03-24 | msg_controllen has to be CMSG_SPACE so that the kernel can account for | Theo de Raadt | |
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis | |||
2008-03-15 | Repair more msg_controllen dealing with structures or arrays of | Theo de Raadt | |
descriptors; ok hshoexer, also looked at by kettenis and henning | |||
2008-03-13 | Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to | Theo de Raadt | |
an extensive discussion with otto, kettenis, millert, and hshoexer | |||
2008-02-26 | Have popfile() also close the main config file, | Marco Pfatschbacher | |
but only do the final popfile call after yyparse() is done. This also fixes config reload on SIGHUP for some daemons. Spotted by otto@. OK deraadt@ | |||
2008-02-22 | remove comma from type list, add missing semicolon for consistency | Simon Bertrang | |
OK claudio@ | |||
2008-02-11 | Correct the output of several error and debug messages. | Esben Norby | |