summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2012-07-10accept address literal for the recipient domain.Charles Longeau
while there, change valid_{local,domain}part() prototypes to use const char *. with input from gilles@ and eric@ ok gilles@ eric@
2012-07-10- simplify the scheduler loop logic further, it is ridiculously simple nowGilles Chehade
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@
2012-07-10fix the last outstanding functionality difference i could find betweenDavid Gwynne
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.
2012-07-10libexec/tftpd handled the case where we'd get an ack for the previousDavid Gwynne
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@
2012-07-09According to miod, KERNBASE used as a userland symbol should dieTheo de Raadt
in a fire. Start by removing the definitions, before we clean the headers later.
2012-07-09resolve conflictsStuart Henderson
2012-07-09NSD v3.2.11, ok phessler@Stuart Henderson
2012-07-09- introduce log_trace(TRACE_SCHEDULER, ...)Gilles Chehade
- simplify a tiny tiny bit the scheduler loop - no functional change (yet)
2012-07-09Remove generated files.Stuart Henderson
2012-07-09move to the new resolver implementation, with temporary glue to useEric Faurot
the relevant files from asr directly. ok gilles@
2012-07-09Fix the handling of the message read buf with regard to MSG_PROCESS_LIMIT.Claudio Jeker
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@
2012-07-09- runner is the terminology we used back when we had runqueues, we noGilles Chehade
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@
2012-07-09Allow relayd to handle transactions > 2GB in sizeTheo de Raadt
tested by snapshot users and benno for a while ok benno
2012-07-09need a private copy of nitems()Theo de Raadt
2012-07-09Use size_t for the length variablePeter Hessler
reminded by Brad, and lteo@
2012-07-09first step of simplifying fsqueue:Gilles Chehade
- 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@
2012-07-08Add support for the "sha256digest" keyword to create/compareChristian Weisgerber
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@
2012-07-08remove enum queue_kind from queue_fsqueue.c.Charles Longeau
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@
2012-07-08New attempt to make the -P flag work with -ss, so that states can beLawrence Teo
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
2012-07-08avoid line splitting; also, one an -> aJason McIntyre
2012-07-08- plug text_to_relayhost() in parse.y to support relay URLs.Gilles Chehade
- 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
2012-07-08auth_bsd() is staticGilles Chehade
2012-07-08Increase maximum number of tun interfaces to 8.giovanni
ok yasuoka@
2012-07-08if you use nitems() in userland, you must define it yourselfTheo de Raadt
discussed with guenther
2012-07-08a -> an in a commentBret Lambert
ok phessler@
2012-07-08Add support for advertising dns servers and search paths in routerPeter Hessler
advertisements, according to RFC 6106. original diff from Stephane A. Sezer on tech@, many thanks! OK phessler@, todd@
2012-07-08new sentence, new line;Jason McIntyre
2012-07-08Add noifprefix, an option to send an RA with no prefix information.Peter Hessler
From Stephane A. Sezer, many thanks! OK phessler@, jasper@
2012-07-07allow httpd to build if sslv2 is disabled, ok guenther@Stuart Henderson
2012-07-07rename prio in struct pf_rule and related structs to set_prio so it isHenning Brauer
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
2012-07-07update to 1.2.2 and start using /var/www/cache instead of /var/www/tmpRobert Nagy
2012-07-07Fix file descriptor leak reported by someone on the mailing list long timeClaudio Jeker
ago. OK beck@
2012-07-07prefered -> preferred;Jason McIntyre
2012-07-07Explain the bgpd decision process in the man page. I'm tired of lookingClaudio Jeker
at the C code over and over again. With and OK sthen@, henning@, jmc@
2012-07-06a bit of cleanupMarc Espie
- remove description of INSTALL/DEINSTALL scripts, they've been dead for years. - explain upfront about interactive mode.
2012-07-06have -i be automatically on for ttys.Marc Espie
use -i/-I to force interactive/non interactive mode (-I for not running scripts has been dead for years)
2012-07-04Seems like I missed to adjust the route decision code to cover the thingsClaudio Jeker
that need to be checked because of route reflection. Do this now and reference the new RR RFC in the man page. OK henning@ sthen@
2012-07-03avoid what would be a leak if reused elsewhere but isn't in thisJonathan Gray
case as the memory is freed on exit. ok krw@ kettenis@
2012-07-02Lookup queue and scheduler backends by name, rather than enum.Eric Faurot
Add a command-line option to specify the backend to use at runtime. ok gilles@
2012-07-02make backend functions static.Eric Faurot
ok gilles@
2012-07-02Sleeping here is definitely not what we want to do. Use a cyclingEric Faurot
counter with some randomness to generate short-lived unique ids. ok gilles@
2012-07-01typo in comment, s/withdrawl/withdrawal/Stuart Henderson
2012-06-30strip trailing \r from rpsl route: lines for irrfilter, they have been seenStuart Henderson
in the wild and break parsing. ok henning@
2012-06-26tweak previous;Jason McIntyre
2012-06-26tweak column spacing to allow for larger numbersTed Unangst
2012-06-26There is a iscsi.conf man page now. Reminded by jmc@Claudio Jeker
2012-06-26Long overdue addition of the iscsi.conf man page.Claudio Jeker
Help and OK jmc@, OK dlg@
2012-06-26use /var/www/tmp/ for the temp directories even if not chrootedRobert Nagy
2012-06-25log all, not log-all; ok henningJason McIntyre
2012-06-24Make the default SSL file locations match the ssl(8) man page forLawrence Teo
consistency. ok robert haesbaert henning