Age | Commit message (Collapse) | Author |
|
ok deraadt@
|
|
is only valid for messages with an rt_msghdr. So move the check back
where it was before.
Problem found by jsg@
|
|
|
|
virtual AND secrets), adds a description in smtpd.conf.5 and removes a
mention to special map "aliases" which was removed a while ago.
to use plain maps: map "myaliases" { source plain "/etc/mail/aliases" }
code diff was okayd a while ago by jacekm@
|
|
- kill struct alias, struct expandnode is used instead
- introduce map_parse_alias() and map_parse_virtual()
- aliases and virtual code no longer assume db(3) but use the map API which
lets them become backend agnostic AND value-checked. this actually makes
the code simpler by removing all values parsing from aliases.c
- rename K_SECRETS -> K_SECRET, K_ALIASES -> K_ALIAS for consistency the
enum has singular names.
- aliases, virtual and forward now work with an expandtree and deal with
multiple levels of resolving by merging expandtree's
more coming soon ;)
|
|
other blocks in this function.
|
|
cleanup loop to parse.y where it belongs.
OK henning@
|
|
while there, print SIZE unconditonnally (prompted by gilles@)
ok gilles@
|
|
|
|
|
|
parsing the [host]:port syntax in resolv.conf was added.
Patch by Nathan Rickerby <rickerby () gmail ! com>.
Prodded by jmc, OK djm krw
|
|
- use double dispatch to match static libs
- prepare for less strict dependencies if need be
|
|
|
|
|
|
- rewrite the description of "size"
ok gilles jacekm
|
|
of forwarding it via queue.
|
|
- kill noisy log_debug
|
|
|
|
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).
|
|
The _AS4 types where reversed and the local types are missing even though
I'm not sure if bgpd will ever support them.
|
|
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.
|
|
beginning of the key (ie: "gilles: bleh" should not be stored as
key[gilles] val[ bleh])
|
|
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
|
|
an update to libevent that ships with evbuffer_readln(). beers for nicm@ !
|
|
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.
|
|
will be used to select the appropriate map parser. make sure every call
to map_lookup() is updated. map_lookup() currently ignores the value.
|
|
which will be used to perform stronger checks on map values. they are
unused yet ...
|
|
map_backend_lookup() function, no functionnal change, first of
many changes to come in map.c
|
|
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@
|
|
caused by realloc() abuse.
|
|
|
|
|
|
|
|
the message is being delivered.
|
|
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
|
|
|
|
|
|
type). Measured in Hz.
ok deraadt@
|
|
|
|
Reported by Rene Maroufi <info@maroufi.net>
|
|
|
|
ok oga
|
|
|
|
scan_scaled(3) to support the quantifiers rather than rolling my own code.
prompted by jacekm@
|
|
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.
|
|
daemons.
|
|
rev. 1.94.
|
|
|
|
- call _exit(2) instead of exit(3) in forked processes
|
|
|