Age | Commit message (Collapse) | Author |
|
|
|
fix buglet in parsing libraries
|
|
support in inet_net_pton().
- in text_to_netaddr(), if we are handling an inet6 netmask AND we have
inet_net_pton() that failed with EAFNOSUPPORT, THEN we fallback to
this.
quick fix to unbreak setups that use inet6, a diff is floating to have
it supported at the right place.
|
|
|
|
OK henning@, sthen@
|
|
OK henning@ sthen@
|
|
|
|
people to run sysmerge, and is generally not a good hint things are out
of synch.
prompted by naddy@ and sthen@
|
|
|
|
|
|
|
|
|
|
|
|
redo a check based on the non-subst version, so we can:
- actually parse the library name
- check we depend upon the right variable
|
|
accordingly.
Make sure obsolete stuff ->add returns undef, unconfuses PkgCreate.
|
|
that we always include aliases as well, to make "user directories work"
tested by jasper@ and sthen@
|
|
Rafael Zalamena on tech@, I also applied it to ospfd. ok phessler@
|
|
ok joel@
|
|
|
|
|
|
Accept moderation in case of EMFILE/ENFILE.
In case of EMFILE/ENFILE returned from accept() we disable accept events,
and (in case of no accept mutex used) arm timer to re-enable them later.
With accept mutex we just drop it, and rely on normal accept mutex handling
to re-enable accept events once it's acquired again.
As we now handle errors in question, logging level was changed to "crit"
(instead of "alert" used for unknown errors).
|
|
"smtpctl show" output, and use errx rather than err for the unknown
message error.
ok gilles
|
|
|
|
but in ruleset.c and util.c instead.
- introduce the new map_compare() map API call to allow iterating over keys
and comparing them with provided key using provided function. this allows
checking a partial key in a key set, very useful for comparing an address
to a set of netmask.
- introduce new map kind K_NETADDR
- implement K_NETADDR for map_db and map_stdio
- teach ruleset checking how to use the map_compare() with K_NETADDR
we can now do the following:
map "srcaddr" source plain "/etc/mail/srcaddr.txt"
accept from map srcaddr for domain "openbsd.org" [...]
|
|
- continue simplification of parse.y
- remove "for network", if we ever need it we can reimport, probably no
one knows of that undocumented strange feature ;-)
- change syntax for virtual domains configuration:
accept for virtual vmap [...] <- wrong
accept for virtual map vmap [...] <- right
the reason for this change is that we will soon implement relay rules
through maps and that keeping that syntax would make it inconsistent
with the other rules.
- update man pages for makemap and smtpd.conf to reflect changes
ok eric@, looks ok chl@
|
|
after the initial ambitious implementation: byebye map type & map flags
- simplify a bit parse.y by removing assignations to these otherwise unused
fields
- remove the DNS map source, it may be a good idea, but we can just add it
when we plan to implement it (if we do)
- make the { } options in map declaration, it's been annoying me for a long
time now, this allows the following to work:
map "foobar" source plain "/etc/mail/foobar"
- update smtpd.conf.5 accordingly ;-)
|
|
list of messages to send to the remote smtp server over the same
connection. It's not currently used as the scheduler/runner is not
aware of this yet, and the imsg protocol would need to be updated.
ok gilles@
|
|
- log_warn() admin that a map that's needed by an envelope is no longer in
the configuration file
|
|
- rename all occurences of struct map_secret to map_credentials
- do not fatal if the credentials map has disappeared, instead make the
auth fail with a lookup failure. the mail will be temporary failed so
it stays in queue until admin fixes smtpd.conf, removes mail, or lets
it expires
|
|
ok gilles@
|
|
get rid of mta_envelope_log() and makes the code a little more
straightforward.
ok gilles@
|
|
closes pr system/6627
diff submitted by Martin Matuska, thanks
ok benno@
|
|
ok giovanni@, henning@
|
|
This was forgotten on the prior commit.
|
|
seems ok henning, ok mcbride
|
|
seems ok henning, ok mcbride
|
|
requested.
ok mcbride henning
|
|
(found by yus at iij)
ok mcbride henning
|
|
the option in proxied LCP.
ok mcbride henning
|
|
- fix styles, compile errors in some ifdef condition and compiler warnings.
- delete rtev* that was to work around routing socket overflows.
- delete is_ctrl argument from l2tp_ctrl_send_packet(). It's not used.
- tweak returning the exit status.
- use IPV6_IPSEC_POLICY for IPv6 socket.
(though npppd cannot set up a ipsec policy to the socket yet.)
ok mcbride henning
|
|
No binary changes.
ok mcbride henning
|
|
filtering now occurs before setting up ssl on smtps connections.
ok chl@ gilles@
|
|
|
|
|
|
very confused
|
|
|
|
that the bus node is open read-only.
ok mikeb@
|
|
ok sthen@ jmc@
|
|
the .libs* stuff.
|
|
(so don't copy FCONTENTS since it's automatically created)
|