summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2003-12-24now that we keep track of the routes we added to the kernel we can removeHenning Brauer
them easily on shutdown without the RDE's help
2003-12-24keep track of the routes we inserted to the kernelHenning Brauer
do only ever delete those, and no others
2003-12-24slightly more helpfull error msgsHenning Brauer
2003-12-24add log_kroute()Henning Brauer
2003-12-24local-addr, not local-address.Henning Brauer
it's better when documentation and code agree on the keyword...
2003-12-24add option to not touch the kernel routing tableHenning Brauer
2003-12-24handle write() returning 0 correctly, adjust the msgbuf API appropriately,Henning Brauer
and make all callers cope.
2003-12-24typos in comments, from jaredHenning Brauer
2003-12-24typos from jaredHenning Brauer
apparently these were already fixed in the diff jmc@ sent me and I somehow screwed up when getting it in - sorry.
2003-12-24Handle mount entries without options.Marc Espie
Found and tested by our ubiquitous afs user, Bob Beck.
2003-12-23spacingTheo de Raadt
2003-12-23kill a chunk of debug code that is not usefull any moreHenning Brauer
ok claudio@
2003-12-23In case of exit the RDE need to tell the parent to remove all still activeClaudio Jeker
prefixes from the kernel routing table. This is done with a simple table walk. OK henning@
2003-12-23play nice on exit (when he listening coket is closed)Henning Brauer
2003-12-23send shutdown requests to the child processes and wait for a ackmessage fromHenning 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-23use RTF_PROTO1 for nowHenning Brauer
2003-12-23.Xr the more or less shiny new bgpd.conf manpageHenning Brauer
2003-12-23bloody attempt at the other manpage.Henning Brauer
this time with (non-bloody) help from jmc@
2003-12-23no RTF_MASKHenning Brauer
2003-12-23do send session_down imsgs to RDE even if we are quittingHenning Brauer
2003-12-23don't panic on EEXIST. that's normal for a full-table router to get a routeHenning Brauer
for its own connected network(s)
2003-12-23Send updates to the main process so they can be added to the kernelClaudio Jeker
routing table. OK henning@
2003-12-23bzero, set sin_len, and fix an error messageHenning Brauer
from debugging session with claudio
2003-12-23Remove unnecessary casts (char *).Mike Pechkin
millert@ ok.
2003-12-23better syntax for minimum accepted holdtimeHenning Brauer
2003-12-23jmc says -D before -dHenning Brauer
2003-12-23allow the listening address to be specified, default to INADDR_ANYHenning Brauer
should make jose@ happy
2003-12-22Fix unbounded recursion and an unsigned/signed mixup. Resolves PR 3610.Otto Moerbeek
ok deraadt@ millert@
2003-12-22delay setting up the signal handlers in the main process until after fork(),Henning Brauer
pointed out by theo
2003-12-22spacingTheo de Raadt
2003-12-22fix indentTheo de Raadt
2003-12-22ease 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-22o add low-level functions for adding/chaining/removing kernel routesHenning 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-22uid check later; configtest is useful as non-rootHenning Brauer
2003-12-22add a configtest modeHenning Brauer
2003-12-22reload is used in signal handler, make it volatile sig_atomic_tHenning Brauer
2003-12-22use .Fl for flag;Jason McIntyre
from Franciszek Holop;
2003-12-22No need to setup a signal handler for SIGKILL as you can't catch it anyway.Miod Vallat
2003-12-22in the same vein we can plain errx() if the geteuid check fails.Henning Brauer
2003-12-22when 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-22spellingTheo de Raadt
2003-12-22my bloody attempt at a manpage. to be fleshed out.Henning Brauer
2003-12-21sync comments with reality and shorten a bit where appropriateHenning Brauer
2003-12-21rename get_imsg() to imsg_get(); that's more consistentHenning Brauer
2003-12-21wrap 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
2003-12-21little KNF inbetweenHenning Brauer
2003-12-21overhaul the write buffering code.Henning Brauer
introduce msgbuf API and bundle all info needed for the write buffers in a struct msgbuf. also switch to a write queue per handled connection (each bgp session, each pipe) instead of one big one. fixes some subtle problems and is overall nicer. ok claudio@
2003-12-21Add virtual file system, so that pkg_add and pkg_delete can check forMarc Espie
read-only status, or size concerns, before even beginning to add/remove files. Allows pkg_add -n and pkg_delete -n to be more thorough as well. Some testing by Todd Millert, comments by Greg Steuck and Sam Smith.
2003-12-21queued_reads in struct peer was not ever used exept for an initialization to 0Henning Brauer