Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-22 | - sort the keyword list | Jason McIntyre | |
- rewrite the description of "size" ok gilles jacekm | |||
2010-04-22 | Fix a case of runner trying to send imsg directly to smtp process instead | Jacek Masiulaniec | |
of forwarding it via queue. | |||
2010-04-22 | - kill the runner_imsg_compose wrapper to reduce indirection | Jacek Masiulaniec | |
- kill noisy log_debug | |||
2010-04-22 | Including bgpd.h in mrt.h is dumb. | Claudio Jeker | |
2010-04-22 | Depending on capa.neg.as4byte (bgp session is using 4-byte AS number | Claudio Jeker | |
extension) we need to switch between _AS4 and non _AS4 types. The non _AS4 mrt types are totaly confused by 4-byte AS_PATH attributes since they expect 2-byte ones (and vice versa). Problem found and fix tested by Xiaoliang Zhao (xzhao at cernet edu cn). | |||
2010-04-22 | Correct the BGP4MP subtypes according to draft-ietf-grow-mrt-11. | Claudio Jeker | |
The _AS4 types where reversed and the local types are missing even though I'm not sure if bgpd will ever support them. | |||
2010-04-21 | introduce first map parser for maps of kind K_SECRETS ! | Gilles Chehade | |
map_parse_secret() converts a map value into a struct map_secret. lka no longer needs to do any parsing, it simply calls map_lookup() with kind K_SECRETS, checks if it returned a !NULL value, and call lka_encode_secret to safely do the base64 encoding. | |||
2010-04-21 | when creating a map, make sure we do not store a key/val separator at the | Gilles Chehade | |
beginning of the key (ie: "gilles: bleh" should not be stored as key[gilles] val[ bleh]) | |||
2010-04-21 | map.c is growing big, split it into three different files: | Gilles Chehade | |
map.c contains the map API calls as usable by smtpd processes, map_backend.c contains backend implementations and map_parser.c contains parser implementations used internally by the map API | |||
2010-04-21 | my evbuffer_readln_crlf() hack can be killed now that nicm@ has brought us | Gilles Chehade | |
an update to libevent that ships with evbuffer_readln(). beers for nicm@ ! | |||
2010-04-21 | change prototypes for map_*_get() functions, we need the get-er function | Gilles Chehade | |
to fill the size of value for the caller. have map_lookup() actually lookup the parser in map_parsers table and call it if it is set, otherwise return raw value which is similar to current behavior. currently, no map kind has a parser set, so this is essentially no functionnal change. fix map_stdio_get(), it was not used yet in -current but i spotted a bug while enabling it in my sandbox. it returns key and value instead of key. | |||
2010-04-21 | map_lookup() takes an additionnal parameter of type enum map_kind which | Gilles Chehade | |
will be used to select the appropriate map parser. make sure every call to map_lookup() is updated. map_lookup() currently ignores the value. | |||
2010-04-21 | introduce enum map_kind, the map_parsers array and map_parser_lookup() | Gilles Chehade | |
which will be used to perform stronger checks on map values. they are unused yet ... | |||
2010-04-21 | simplify map_lookup() by having the backend lookup done in new | Gilles Chehade | |
map_backend_lookup() function, no functionnal change, first of many changes to come in map.c | |||
2010-04-21 | Runner process is just a helper for queue, so tear down its imsg | Jacek Masiulaniec | |
channels to parent, mda, mta, lka, smtp, and control. This leaves just the channel to queue, which forwards imsgs on runner's behalf and redirects any replies back to it. OK gilles@ | |||
2010-04-21 | Fix pathetic performance when submitting large mails via /usr/sbin/sendmail, | Jacek Masiulaniec | |
caused by realloc() abuse. | |||
2010-04-21 | Remove unusable ifdef DEBUG code. | Jacek Masiulaniec | |
2010-04-21 | Add the "angle" sensor, measured in degrees; from Luis Pinto | Theo de Raadt | |
2010-04-21 | Fix logic error just like the one in previous revision. | Jacek Masiulaniec | |
2010-04-20 | Fix crash that could happen when attempting ``smtpctl remove'' while | Jacek Masiulaniec | |
the message is being delivered. | |||
2010-04-20 | Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handled | Theo de Raadt | |
by returning ENXIO instead of ENOENT, to essentially indicate hotplug sensor that has gone away. Accessing beyond the end of the sensordev list still returns ENOENT, so that you can see there are no further devices. ok kettenis oga | |||
2010-04-20 | Correct map definition syntax. Reported by Rene Maroufi <info@maroufi.net>. | Jacek Masiulaniec | |
2010-04-20 | Document the ``alias <map>'' parameter. | Jacek Masiulaniec | |
2010-04-20 | Add "frequency" type for sensors. (and teach userland how to print that | Owain Ainsworth | |
type). Measured in Hz. ok deraadt@ | |||
2010-04-20 | Document ``size'' setting; OK gilles@ | Jacek Masiulaniec | |
2010-04-20 | Support "accept from local ..." as documented in the man page. | Jacek Masiulaniec | |
Reported by Rene Maroufi <info@maroufi.net> | |||
2010-04-20 | Use correct type for ``mda_id'', ie. match with type used in imsg header. | Jacek Masiulaniec | |
2010-04-20 | 0x0 is a valid base address. | Marco Peereboom | |
ok oga | |||
2010-04-20 | Kill *2400* lines of code by abstracting common bits of the imsg handlers. | Jacek Masiulaniec | |
2010-04-20 | when a size is declared with a quantifier in smtpd.conf, have parse.y use | Gilles Chehade | |
scan_scaled(3) to support the quantifiers rather than rolling my own code. prompted by jacekm@ | |||
2010-04-20 | prefix_unlink() must remove the rib entry. Currently this was only done | Claudio Jeker | |
in prefix_destroy() but there is another caller of prefix_unlink() which missed the rib_remove() resulting in tree corruption and possible crashes. Doing the remove in prefix_unlink() is better since we do the same with the prefix and rib & prefix are linked. Fix some comments to match code and remove double call to pt_empty()/pt_remove(). Found while hacking on something else. | |||
2010-04-20 | setproctitle(3) the parent process to "[priv]" to match other OpenBSD | Jacek Masiulaniec | |
daemons. | |||
2010-04-20 | Make smtpd -d produce verbose output, ie. restore behaviour from before | Jacek Masiulaniec | |
rev. 1.94. | |||
2010-04-19 | Use larger buffer for mda output. | Jacek Masiulaniec | |
2010-04-19 | - use perror(3) | Jacek Masiulaniec | |
- call _exit(2) instead of exit(3) in forked processes | |||
2010-04-19 | two lines were missing from previous commit | Gilles Chehade | |
2010-04-19 | If interfaces are specified, get their rdomain and bind dhcpd into the same | Claudio Jeker | |
domain with setrdomain(). This allows to run dhcpd on multiple rdomains. OK krw@ | |||
2010-04-19 | initial support for ENHANCEDSTATUSCODES, has been sitting in my tree for | Gilles Chehade | |
a month or so | |||
2010-04-19 | move Composite pattern (auto-visitor) into its own subclass | Marc Espie | |
2010-04-19 | basic support for SIZE extension, has been sitting in my tree for a month | Gilles Chehade | |
or so ... okayd by jacekm@ a while ago | |||
2010-04-19 | Simplify local delivery codepath: | Jacek Masiulaniec | |
- replace uses of struct batch in the parent with simpler struct delivery. - replace IMSG_BATCH_* dance with single IMSG_MDA_SESS_NEW. - make mda assume it delivers to external program over a pipe. - fork helper process when delivering to maildir or a file. New feature: upon external mda failure use last line of its output as an error message. With input and tests from nicm@. OK nicm@ gilles@ | |||
2010-04-17 | work-around !found error. | Marc Espie | |
2010-04-16 | Memory allocated with calloc() is initialized to zero, no need to do that | Claudio Jeker | |
explicitly. | |||
2010-04-16 | Move a function to a place that is a bit more logical. No functional change. | Claudio Jeker | |
2010-04-15 | resolve conflicts from import of v3.2.5 | Jakob Schlyter | |
2010-04-15 | NSD v3.2.5 | Jakob Schlyter | |
2010-04-15 | Log recieved notifications in a human understanable way. Makes debugging | Claudio Jeker | |
a bit easier. OK michele@ | |||
2010-04-15 | Cleanup the interface FSM by removing most of the ospfd specific states | Claudio Jeker | |
that have nothing to do with LDP. OK michele@ | |||
2010-04-15 | session_shutdown() issues a NBR_EVT_CLOSE_SESSION and therefore a | Claudio Jeker | |
session_close() which does the event_del(&nbr->rev) so no need to do it twice. There is also no need to send two S_SHUTDOWN messages. OK michele@ | |||
2010-04-15 | Fix fd leak in error case. | Claudio Jeker | |
OK michele@ |