Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-12-26 | let imsg_get and imsg_compose not fatal() but return errors upstream. | Henning Brauer | |
make the callers cope. | |||
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-26 | by making kroute_dispatch_msg() and kroute_nexthop_add() return int instead | Henning Brauer | |
of void they can now report errors upstream and do not need to panic any more. so do that and handle the errors in bgpd.c in the vein that we at least can clean up before exit. there are no direct fatal() call in kroute.c now any more, nor any in bgpd.c after forking. | |||
2003-12-26 | report as many errors upstream as possible instead of fatal() so they | Henning Brauer | |
can be handled better | |||
2003-12-26 | overhaul error handling | Henning Brauer | |
try to handle as much as possbile in a graceful way so taht we don't leave the kernel routing table full of our routes, for example. | |||
2003-12-26 | need to clean errno before returning error in the custom case | Henning Brauer | |
2003-12-26 | handle kroute_init failures nicer | Henning Brauer | |
2003-12-26 | provide a real log_err | Henning Brauer | |
2003-12-26 | Allow storing of `arch' annotations inside packages. | Marc Espie | |
Factor common method code in write, keep variations in stringize. | |||
2003-12-26 | log_err -> log_peer_err | Henning Brauer | |
log_errx -> log_peer_errx because that is what they really are, peer specific. | |||
2003-12-26 | pkg_add reports size taken on each fs. | Marc Espie | |
Reorg and clean Vstat a bit. okay naddy@ | |||
2003-12-26 | 127/8 is special, and thus needs special protection. | Henning Brauer | |
on startup, insert a fake route for it to our private view of the kernel routing table, and flag it as kernel and connected route. we never allow a bgp route to overwrite a kernel route. prodded by theo | |||
2003-12-26 | o improve logging dramatically | Henning Brauer | |
o handle more errors gracefullt instead of panic o don't leak mem on RB_INSERT failues (not a common case anyway, but...) o zap a few unneeded variables | |||
2003-12-26 | improve log message | Henning Brauer | |
2003-12-26 | log nexthop status changes | Henning Brauer | |
2003-12-26 | + log_ntoa, a simple helper funtion that doesn't require a struct in_addr... | Henning Brauer | |
2003-12-26 | remove he pathetic log_kroute() | Henning Brauer | |
not used anywhere anyway | |||
2003-12-26 | Do not run the ld.so regression test on static arches. | Miod Vallat | |
2003-12-26 | Merge the attachment part and the real work part of the SCSI drivers in | Miod Vallat | |
one file per driver. | |||
2003-12-26 | - use 1/2 space for rijndael context in ipsec | Markus Friedl | |
- rijndael_set_key_enc_only() sets up context for encryption only - rijndael_set_key() always sets up full context - rijndaelKeySetupDec() gets back original protoype - uvm: use _enc_only() interface with hshoexer@, ok deraadt@ | |||
2003-12-26 | add libiberty.info to CLEANFILES | Brad Smith | |
ok espie@ | |||
2003-12-26 | handle IMSG_NEXTHOP_DELETE as well | Henning Brauer | |
2003-12-26 | In the mrt state machine one state was forgotten. This caused the parent | Claudio Jeker | |
process to quit it a fatal buf_close error message. Noticed and reported by jakob@ OK henning@ | |||
2003-12-26 | Put this again, but this time make sure the compiler really does not frob the | Miod Vallat | |
stack frame before we get a chance to tinker with it. | |||
2003-12-26 | kroute_nexthop_check -> kroute_nexthop_add | Henning Brauer | |
kroute_validate_nexthop -> kroute_nexthop_insert | |||
2003-12-26 | kroute_validate_nexthop is a private function | Henning Brauer | |
2003-12-26 | finally marry rde and kroute parts of the nexthop verification: | Henning Brauer | |
handle IMSG_NEXTHOP_ADD and send IMSG_NEXTHOP_UPDATE when appropriate | |||
2003-12-26 | o in struct nexthop_node, we don't need the full kroute_nexthop struct, | Henning Brauer | |
| the nexthop address itself is enough o RB_INIT the nexthop table o don't forget to set the key field before RB_INSERT... | |||
2003-12-26 | Revert - this was a bit premature. | Miod Vallat | |
2003-12-25 | Turn the nexthop verification on. At least in the RDE. | Claudio Jeker | |
ok henning@ | |||
2003-12-25 | A much simpler and more readable start() routine... | Miod Vallat | |
2003-12-25 | style | Henning Brauer | |
2003-12-25 | RDE part of the nexthop verification puzzle. | Claudio Jeker | |
The RDE just tracks the nexthop IPs and reacts on nexthop messages from the parent. ok henning@ | |||
2003-12-25 | nothing uses the special return value kroute_msg used to set for EEXIST any | Henning Brauer | |
more, so zap the special treatment for EEXIST | |||
2003-12-25 | bring us closer to a complete nexthop verification that does NOT need | Henning Brauer | |
periodic scans: -keep a tree of nexthops with valid/invalid flags -provide kroute_match, which takes an IP address and gives the kernel route for that -find the kernel route for a given nexthop with that -keep a marker on the kernel route that a nexthop depends on it -on removal of the kernel route, re-evaluate the affected nexthops for validity. ok claudio@ | |||
2003-12-25 | sync | Theo de Raadt | |
2003-12-25 | Enable vx(4) again - while it still awaits more tests, it can attach without | Miod Vallat | |
affecting a multiuser boot. | |||
2003-12-25 | Provide common D16 vmespace block access functions, instead of vs and vx each | Miod Vallat | |
rolling their own. Use them more cleverly in vx, in order to get the driver to at least attach and frob chips. Not tested besides multiuser boot (hence ttyflags -a), and checking cu(1) connects. More testing to come once I remember where I have hidden the 332XT transition module... | |||
2003-12-25 | detect connected routes and flag them as such | Henning Brauer | |
2003-12-25 | bootparams is right name | Theo de Raadt | |
2003-12-25 | Test a large negative malloc value as well. | Miod Vallat | |
2003-12-25 | Use an unsigned comparison against minbrk. | Miod Vallat | |
ok deraadt@ | |||
2003-12-25 | must not remove macros vis cmdline after parsinf is done, we will need them | Henning Brauer | |
again on reload | |||
2003-12-25 | Boy, this has grown. 600MB in 2.7 to almost 3GB today. | Marc Espie | |
2003-12-25 | Manual merge of ChangeLog entries. | Marc Espie | |
A bit icky, but binutils includes contain both libiberty stuff and its own stuff... | |||
2003-12-25 | bye-bye. Merge should basically be finished | Marc Espie | |
2003-12-25 | typo in demangler | Marc Espie | |
2003-12-25 | restore #ifdef __cplusplus around demangler prototypes. | Marc Espie | |
Restore comment that was lost. | |||
2003-12-25 | Compile the right files, bump minor number. | Marc Espie | |
2003-12-25 | revert to versions in gcc 3.3.2, those are more recent | Marc Espie | |