Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-12-24 | no O_NONBLOCK for routing and tcp sockets, theo | Henning Brauer | |
2003-12-24 | connect bgpd to the build, ok deraadt@ | Henning Brauer | |
at this point in development, bgpd establishes connections to neighbors fine and does all the session handling as desired, processes the announcements it gets from its neighbors, runs the decision process and enters the routes to the kernel routing table. they are also updated as needed and cleaned up on exit. bgpd does not yet have the ability to announce anything, or send outgoing UPDATE messages in general, nor does it have a filter language yet. | |||
2003-12-24 | Fix bound checks for gecos field, taking into account it may contain | Otto Moerbeek | |
multiple '&'s. Resolves PR 3616. ok deraadt@ | |||
2003-12-24 | now that the main process can cleanup without RDE's help, we do not need the | Henning Brauer | |
somewhat fragile IMSG_SHUTDOWN_* stuff any more. speeds shutdown up enourmously. ok claudio@ | |||
2003-12-24 | now that we keep track of the routes we added to the kernel we can remove | Henning Brauer | |
them easily on shutdown without the RDE's help | |||
2003-12-24 | keep track of the routes we inserted to the kernel | Henning Brauer | |
do only ever delete those, and no others | |||
2003-12-24 | slightly more helpfull error msgs | Henning Brauer | |
2003-12-24 | add log_kroute() | Henning Brauer | |
2003-12-24 | local-addr, not local-address. | Henning Brauer | |
it's better when documentation and code agree on the keyword... | |||
2003-12-24 | add option to not touch the kernel routing table | Henning Brauer | |
2003-12-24 | handle write() returning 0 correctly, adjust the msgbuf API appropriately, | Henning Brauer | |
and make all callers cope. | |||
2003-12-24 | typos in comments, from jared | Henning Brauer | |
2003-12-24 | typos from jared | Henning Brauer | |
apparently these were already fixed in the diff jmc@ sent me and I somehow screwed up when getting it in - sorry. | |||
2003-12-24 | Handle mount entries without options. | Marc Espie | |
Found and tested by our ubiquitous afs user, Bob Beck. | |||
2003-12-23 | spacing | Theo de Raadt | |
2003-12-23 | kill a chunk of debug code that is not usefull any more | Henning Brauer | |
ok claudio@ | |||
2003-12-23 | In case of exit the RDE need to tell the parent to remove all still active | Claudio Jeker | |
prefixes from the kernel routing table. This is done with a simple table walk. OK henning@ | |||
2003-12-23 | play nice on exit (when he listening coket is closed) | Henning Brauer | |
2003-12-23 | send shutdown requests to the child processes and wait for a ackmessage from | Henning Brauer | |
them when shutting down. the rde needs the main process to clean up the routing table on exit so the parent process needs to be in service until the RDE is done. ok claudio@ | |||
2003-12-23 | use RTF_PROTO1 for now | Henning Brauer | |
2003-12-23 | .Xr the more or less shiny new bgpd.conf manpage | Henning Brauer | |
2003-12-23 | bloody attempt at the other manpage. | Henning Brauer | |
this time with (non-bloody) help from jmc@ | |||
2003-12-23 | no RTF_MASK | Henning Brauer | |
2003-12-23 | do send session_down imsgs to RDE even if we are quitting | Henning Brauer | |
2003-12-23 | don't panic on EEXIST. that's normal for a full-table router to get a route | Henning Brauer | |
for its own connected network(s) | |||
2003-12-23 | Send updates to the main process so they can be added to the kernel | Claudio Jeker | |
routing table. OK henning@ | |||
2003-12-23 | bzero, set sin_len, and fix an error message | Henning Brauer | |
from debugging session with claudio | |||
2003-12-23 | Remove unnecessary casts (char *). | Mike Pechkin | |
millert@ ok. | |||
2003-12-23 | better syntax for minimum accepted holdtime | Henning Brauer | |
2003-12-23 | jmc says -D before -d | Henning Brauer | |
2003-12-23 | allow the listening address to be specified, default to INADDR_ANY | Henning Brauer | |
should make jose@ happy | |||
2003-12-22 | Fix unbounded recursion and an unsigned/signed mixup. Resolves PR 3610. | Otto Moerbeek | |
ok deraadt@ millert@ | |||
2003-12-22 | delay setting up the signal handlers in the main process until after fork(), | Henning Brauer | |
pointed out by theo | |||
2003-12-22 | spacing | Theo de Raadt | |
2003-12-22 | fix indent | Theo de Raadt | |
2003-12-22 | ease grammar a lot. eleminate pstate and let yacc do the work for us instead. | Henning Brauer | |
nearly completely from theo with minor adjustment by me. | |||
2003-12-22 | - document -q; from Edward Paul Wehrwein; | Jason McIntyre | |
- sort options tweaks and ok krw@ | |||
2003-12-22 | o add low-level functions for adding/chaining/removing kernel routes | Henning Brauer | |
o define new imsg types for this o process these imsgs in the parent process now "only" debugging and the rde sending these messages is missing. ok claudio@ | |||
2003-12-22 | uid check later; configtest is useful as non-root | Henning Brauer | |
2003-12-22 | add a configtest mode | Henning Brauer | |
2003-12-22 | reload is used in signal handler, make it volatile sig_atomic_t | Henning Brauer | |
2003-12-22 | use .Fl for flag; | Jason McIntyre | |
from Franciszek Holop; | |||
2003-12-22 | No need to setup a signal handler for SIGKILL as you can't catch it anyway. | Miod Vallat | |
2003-12-22 | in the same vein we can plain errx() if the geteuid check fails. | Henning Brauer | |
2003-12-22 | when starting up and the configuration has errors, do not call fatal(). | Henning Brauer | |
plain exit() is enough. we have not yet forked and an error message is already printed by the parser. inspired by a theo request | |||
2003-12-22 | spelling | Theo de Raadt | |
2003-12-22 | my bloody attempt at a manpage. to be fleshed out. | Henning Brauer | |
2003-12-21 | sync comments with reality and shorten a bit where appropriate | Henning Brauer | |
2003-12-21 | rename get_imsg() to imsg_get(); that's more consistent | Henning Brauer | |
2003-12-21 | wrap read & write buffers for imsgs into a struct. | Henning Brauer | |
finally gives us read buffers per pipe instead of per process, eleminating a possible race. also gets us a real imsg_init() that does all the boring init work |