Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2003-12-21 | little KNF inbetween | Henning Brauer | |
2003-12-21 | overhaul 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-21 | Add virtual file system, so that pkg_add and pkg_delete can check for | Marc 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-21 | queued_reads in struct peer was not ever used exept for an initialization to 0 | Henning Brauer | |
2003-12-21 | use pipe(2)s instead of socketpair(2)s. | Henning Brauer | |
suggested by tedu@ for a performance gain, ok claudio@ | |||
2003-12-21 | don't try to write out data immediately if there are queued writes. | Claudio Jeker | |
OK henning@ | |||
2003-12-21 | yet more from the castathon; most aspath functions where accessing non- | Claudio Jeker | |
aligned memory (u_int16_t) therefor crashed the RDE on my sparc64. All buffer specific functions use now void * instead of u_char * so most cast are now history. Tested on sparc64 and i386. OK henning@ | |||
2003-12-21 | document (lightly) openssl errstr; | Jason McIntyre | |
feedback from markus@ | |||
2003-12-20 | knf. OK henning@ | Claudio Jeker | |
2003-12-20 | session_notification can take void *data too instead of u_char *data, | Henning Brauer | |
quite a few casts lost their life due to that | |||
2003-12-20 | more from the castathon; imsg_compose takes void * now so get rid of the casts | Henning Brauer | |
2003-12-20 | more cast cleanup imsg_compose takes now a void * argument. OK henning@ | Claudio Jeker | |
2003-12-20 | typo, tedu | Henning Brauer | |
2003-12-20 | let buf_add take void *data instead of u_char *data and save a zillion | Henning Brauer | |
evil casts | |||
2003-12-20 | few missing break; in default: cases in switch; one noticed by tedu@ | Henning Brauer | |
2003-12-20 | zap -Werror and -Wcast-align | Henning Brauer | |
2003-12-20 | make imsg.data void *, theo | Henning Brauer | |
2003-12-20 | revert last | Henning Brauer | |
2003-12-20 | don't cast imsg.data to struct peer_config, memcpy instead, fixes 64bit | Henning Brauer | |
prodded by theo | |||
2003-12-20 | spacing | Theo de Raadt | |
2003-12-20 | parent: waitpid() for the child processes on exit | Henning Brauer | |
2003-12-20 | fatal() is a bit too much on 0 bytes read. imsg_get returns 0 in other | Henning Brauer | |
cases as well and all receivers cope | |||
2003-12-20 | keep track which process we are so fatal() can log in which proc the | Henning Brauer | |
condition happened. fatal()s from subsystems used by all 3 processes like the imsg subsystem were hard to track down without knowing in which process the condition happened. | |||
2003-12-20 | better set of warning opts | Henning Brauer | |
2003-12-20 | formulate two comparisons sligthly different to prevent the left side from | Henning Brauer | |
becoming negative. this was logically impossible already but this way gcc has the chance to notice that as well. together with the last commit this makes bgod -Wsign-compare clean |