summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2011-04-17cleanups, cosmethic changes, functions that should be static are now staticGilles Chehade
no functionnal change
2011-04-17remove unused IMSG_ definesGilles Chehade
2011-04-17a structure describing an envelope should be called struct envelope, notGilles Chehade
struct message ...
2011-04-17no functionnal change, getting rid of deprecated prototypesGilles Chehade
2011-04-16I accidentally changed group ownership of fsqueue to _smtpd, it used to beGilles Chehade
owned by wheel. This commit reverts to original behavior
2011-04-16remove trailing whitespace, no binary change.Igor Sobrado
2011-04-16rephrase argument to -g for consistency not only with useradd(8)Igor Sobrado
and usermod(8) but also with the notational conventions used in other manual pages. ok jmc@
2011-04-15whenever an envelope is reinserted into the ramqueue after a trip to mda orGilles Chehade
mta, call runner_reset_events() so runner starts reprocessing ramqueue
2011-04-15teach walk_queue() about the new disk-queue layoutGilles Chehade
2011-04-15valid_message_id() and valid_message_uid() are no longer neededGilles Chehade
2011-04-15kill message_id and message_uidGilles Chehade
smtpd now has an evpid associated to each delivery message, the evpid is an u_int64_t where the upper 32 bits are the msgid, and the 32 bits are the envelope unique identifier for that message. this results in lots of space saved in both disk-based and ram-based queues, but also simplifies a lot of code. change has been stressed on my desktop, and has ran on my MX for the entire afternoon without a regression.
2011-04-15temporarily add fsqueue_hash() prototype until runner is fully converted toGilles Chehade
queue_backend API
2011-04-15stop talking about make depend; ok guentherTheo de Raadt
2011-04-15do not need the run "make depend" reminder anymoreTheo de Raadt
2011-04-14bye bye queue_hash() you can now rest in peace.Gilles Chehade
2011-04-14- implement missing operations for fsqueue:Gilles Chehade
fsqueue_envelope_create(), fsqueue_message_purge() - kill deprecated functions in queue_shared.c At this point fsqueue backend is almost complete, all that is left to do is to move the qwalk() API inside the queue_backend API, then make sure smtpd is no longer calling anything queue related directly.
2011-04-14no functionnal changeGilles Chehade
2011-04-14- implement fsqueue_message_create() and fsqueue_message_commit()Gilles Chehade
- change a few prototypes to allow bounce messages to use the queue_backend API until it gets merged in - kill functions of the queue API that have been deprecated
2011-04-14remove annoying log_debug()Gilles Chehade
2011-04-14fsqueue now provides fsqueue_message_fd_r() and fsqueue_message_fd_rw() toGilles Chehade
obtain a read{-only,/write} descriptor to the message file. make sure smtpd uses the new API everywhere it needs a fd, and kill the many functions that were used until now.
2011-04-14fsqueue_message_delete() should use fsqueue_hash() not queue_hash() as i'mGilles Chehade
going to kill it with lots of violence soon.
2011-04-14fsqueue queue backend will implement a filesystem queue:Gilles Chehade
- fsqueue->setup() performs the queue initialization; - fsqueue->message() controls messages; - fsqueue->envelope() controls envelopes; This commit brings the following to fsbackend: fsqueue_setup(), fsqueue_message_delete(), fsqueue_envelope_load(), fsqueue_envelope_update(), fsqueue_envelope_delete(). It also makes smtpd use the queue_backend API for these operations.
2011-04-14smtpd makes too many assumptions about the structure and layout of itsGilles Chehade
disk-based queue, it makes it near impossible to make changes to it without editing twenty files... how am i going to implement mongodb support ? :-) bring a new queue_backend API which hides the details of the disk-based queue to smtpd. it is not "plugged in" yet and I'm filling the holes.
2011-04-13following an idea from jacekm@, smtpd now uses a ram-queue instead of doingGilles Chehade
a continuous walk on the disk-queue. the implementation differs from what jacekm@ commited (and I backed out) a while ago in that it uses a queue and a host tree required for upcoming features. code will be improved in tree, it requires changes to be done in queue and bounce API, I just wanted to commit a working version first ... tested by todd@ and I
2011-04-12Splicing is currently only supported for TCP relays, not for HTTP orReyk Floeter
others (HTTP will need a more complicated splicing mechanism to switch between headers and bodies in userland and kernel). Add the "no splice" flag for non-TCP relays by default to indicate it in the debug and status output.
2011-04-12update flags and printing of flags in debug mode, handle splicing flag.Reyk Floeter
2011-04-12Enable socket splicing for relayd. This allows zero-copy dataAlexander Bluhm
forwarding for plain tcp connections. feedback and ok reyk@
2011-04-10Correct the logic on when fib-update is set. Test the flag don'tJonathan Gray
bitwise or it.
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
that we've got name we want for the API we want "ZAP!" deraadt@
2011-04-08- avoid nasty line wrap in SYNOPSISJason McIntyre
- put -G in the right place
2011-04-07tweak previous;Jason McIntyre
2011-04-07Add support for divert-to which provides some benefits over rdr-to.Reyk Floeter
ok mikeb@
2011-04-06When specifying tos with -t, display a message if the returned packetStuart Henderson
has a different tos type. ok claudio@ phessler@
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2011-04-06Local variables storing integer values and printed with %d should beMiod Vallat
declared as integer types, not pointers, really.
2011-04-05Remove portalfs.Thordur I. Bjornsson
While it is a terribly cool idea, it's just awful and since noone has stepped up to the plate to keep it up with the current vop state, retire it to the attic. ok krw@, deraadt@, guenther@, miod@. comments from jmc@
2011-04-05Move session related code into session.c.Claudio Jeker
2011-04-05Log the SessionName so that it is possible to understand which sessionClaudio Jeker
caused the problem.
2011-04-04Remove unused variables; from Michael W. BombardieriTodd C. Miller
2011-04-04arla_warn -> arla_warnx if there is no errno to pass...Miod Vallat
2011-04-03Call setlocale() to avoid display glitches in UTF-8 locales.Stefan Sperling
ok phessler nicm mikeb
2011-04-02add stat counters for the lookup agentEric Faurot
ok gilles@
2011-04-02saner and hopefully correct implementation for dname_from_fqdn().Eric Faurot
especially, make sure to write the ending '\0'. ok gilles@
2011-04-02add support for pppx interfaces instead of tun interfaces.David Gwynne
pppx mode will create a pppx interface for each ppp session in the kernel, and will rely on the kernel to handle the routing rather than doing it itself. as a bonus it will configure the interfaces description with the username of the person connecting (which makes systat if pretty). ok claudio@ yasuoka@ as part of a larger diff from jonathan matthew weve been running all this in production for a month now..
2011-03-31cleanup and simplification following the asr update.Eric Faurot
- use a specific dispatch function for each type of query - make the host handler work on a list of hosts by default (single host queries are just a particular case) and use that to resolve the MX list - various other code cleanup - remove unused headers - remove orphaned prototypes - update copyright ok gilles@
2011-03-31remove dead code from pppoe(8).Igor Sobrado
found by Michael W. Bombardieri for tag_ntoh() and tag_show(), improved later by yasuoka@ to include tag_hton() which is called one time but never used. ok yasuoka@
2011-03-29remove unused code now that reverse lookups are done through asr.Eric Faurot
ok gilles@
2011-03-29make use the cname query interface from asr for reverse lookupsEric Faurot
ok gilles@
2011-03-28tweak previous;Jason McIntyre
2011-03-28Add a couple of examples on tcpflags and icmptype filtersgiovanni
ok claudio@