Age | Commit message (Collapse) | Author |
|
ok gilles@
|
|
ok robert@
|
|
|
|
ok gilles@
ok eric@ on previous versions of this patch
|
|
lists.
ok gilles@ eric@
|
|
localpart, domainpart and text line.
The sizeof struct envelope goes from 8k to 6k.
ok gilles@ eric@
|
|
localpart, like !#$&'*/=?^`{|}~ ... and all the other ones that
can be double quoted, just refuse them.
ok gilles@ eric@
|
|
|
|
|
|
|
|
|
|
|
|
one run out of inetd.
the libexec tftp-proxy had the same problems as the libexec tftpd, in that
it didnt scale as well as we needed. it also had a bunch of interesting
races with states and addresses on sockets.
manpage is coming.
ok deraadt@ sthen@ henning@ matthew@
|
|
Brad, jasper and naddy helped with test builds, fixing ports, etc.
|
|
Instead of having no limit for some arrays, limit them to the number of
acceptable options.
pointed out by miod@
|
|
ok theo
|
|
running away if the setsockopt call fails, as may happen if a peer bounces
at the wrong time.
OK claudio@ after tweaks to an earlier version which was OK phessler@.
|
|
Also, cast to long to make printf formatting portable
with help from matthew; ok deraadt@
|
|
- remove the /envelopes subdirectory, envelopes are at the same level than
the message file
- kill PATH_ENVELOPES define
but keep the:
- reduce the number of buckets from 0xfff to 0xff, this avoid performances
of the queue to decrease when we start having tons of buckets
ok eric@ gilles@
|
|
|
|
while there, change valid_{local,domain}part() prototypes to use const char *.
with input from gilles@ and eric@
ok gilles@ eric@
|
|
and I don't think we can do much better (at that level) :-p
- always break out of the handler after processing an envelope, this will
avoid a busy scheduler from not getting a chance to handle SIGTERM/SIGINT
YES we can now ctrl-c a maaaaad scheduler !
ok eric@, ok chl@
|
|
libexec and usr.sbin tftpd.
libexec waitied around after finishing a wrq in case our ack for the last
write from a client got lost. this does the same dance, or an arguably
better version of it compared to libexec tftpd.
|
|
block by flushing the data on the socket and waiting for a retransmit
by timeout to occur.
my stuff (usr.sbin/tftpd) had XXXs and failure in those places.
this diff fixes that.
this should address the problems that sthen and jcs have been having
(and which i was finally able to reproduce here).
it also avoids reusing the clients buffer to both send and recv
frames. we recv onto the stack now so retry always sends what we
originally built for the peer.
tested by and ok jcs@ sthen@
|
|
in a fire. Start by removing the definitions, before we clean the
headers later.
|
|
|
|
|
|
- simplify a tiny tiny bit the scheduler loop
- no functional change (yet)
|
|
|
|
the relevant files from asr directly.
ok gilles@
|
|
The read buffer was only processed when new data came in. So on quiet
sessions it could take minutes until the read buffer was processed at the
end of a load. Nobody realized this in the last 7.5 years.
Tested by sthen@ OK henning@
|
|
longer have them and runner is actually a scheduler so rename.
- introduce scheduler_backend which does the same to scheduler than
queue_backend does to queue and map_backend does to maps
- remove all occurences of RUNNER and runner, replace them with SCHEDULER
and scheduler
ok eric@, ok chl@
|
|
tested by snapshot users and benno for a while
ok benno
|
|
|
|
reminded by Brad, and lteo@
|
|
- remove the /envelopes subdirectory, envelopes are at the same level than
the message file
- kill PATH_ENVELOPES define
- reduce the number of buckets from 0xfff to 0xff, this avoid performances
of the queue to decrease when we start having tons of buckets
this diff introduces a change to the queue layout, you will want to empty
your queue before updating. more cleanup to come
ok eric@, ok chl@
|
|
SHA-256 digests of files. In the man page, also replace SHA-1
with SHA-256 in the examples section.
Man page formatting tweak and ok schwarze@
|
|
incoming messages are now always stored in /incoming, whatever the queue_backend is.
remove QOP_FD_RW and fsqueue_message_fd_rw().
while there check return value of generated paths before calling rmtree()
with advice from gilles@ and eric@
ok gilles@ eric@
|
|
printed with port names if desired.
tcpdump's pf_print_state.c has diverged significantly from pfctl's, so
the change to tcpdump's pf_print_state.c is not exactly the same as
pfctl's.
ok henning sthen
|
|
|
|
- document the new URL syntax in smtpd.conf.5
- replace starttls:// schema with tls://
Beware, "relay via" rules should now be expressed with a relay URL:
accept [...] relay via "mx1.example.org" smtps port 465
becomes accept [...] relay via "smtps://mx1.example.org"
This will allow using mappings of relays with different protocols and
options.
Make sure to update your smtpd.conf if you relay via !
ok eric, ok chl
|
|
|
|
ok yasuoka@
|
|
discussed with guenther
|
|
ok phessler@
|
|
advertisements, according to RFC 6106.
original diff from Stephane A. Sezer on tech@, many thanks!
OK phessler@, todd@
|
|
|
|
From Stephane A. Sezer, many thanks!
OK phessler@, jasper@
|
|
|
|
utterly clear this is not a filter criteria but a packet modification thing.
also preparation for upcoming changes, including one to unscrew this mess
(I should not have to touch half the tree for this - ifixitlater)
not user visible, ok gcc
|