summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-27correct the description of VLAN_MTU; from brad smithJason McIntyre
ok sthen haesbaert while here, knock out a useless .Pp, and provide a section number for an Xr;
2012-08-27don't call ckdir() on each mktmpfile() call.Charles Longeau
ok gilles@
2012-08-27let regen_headers also take care of sqlite3.pc.in => sqlite3.pcMarc Espie
"moui" landry@
2012-08-27a few libtool users are bogus, they confuse --export-symbols with theMarc Espie
real option -export-symbols. Instead of blindly passing that one to the linker, error out beforehand, so that people know the problem IS libtool usage and not our program. (as exemplified by Todd Fries on ldns).
2012-08-27vax does not get -rpath-link, but it also does not really need it.Marc Espie
as found out by sebastia@ and used during 5.2 vax package build... no ill side-effects so far, so do this as a stopgap measure (matthieu@ reports that our libtool is not yet very good for static-only arches).
2012-08-26Junk global cur_time, and use time(NULL) or local variables whereKenneth R Westerback
time is checked multiple times. Add a set_timeout_interval() function to allow setting a timeout based on an interval from current time. Fixes issues with initial startup where the global cur_time was always old and caused initial DHCPDISCOVER or DHCPREQUEST packets to be sent multiple times. And probably other timeout related oddities. Tested by naddy@
2012-08-26oops, i added a stray character. spotted by jmcTed Unangst
2012-08-26Hook up nginx to rc(8).Antoine Jacoutot
ok deraadt@ robert@
2012-08-26missing DPADD ... sorryGilles Chehade
2012-08-26sane rewrite of the disk-queue traversal code, and log bogus files foundEric Faurot
in there. fixes issues reported by many. ok gilles@
2012-08-26correctly check compress_backend_lookup() to avoid a NULL derefGilles Chehade
2012-08-26- document queue compressionGilles Chehade
2012-08-26- use the same compression algorithm, gzip, for message file and envelopesGilles Chehade
- rename compress_zlib.c to compress_gzip.c with this commit it is possible to inspect a compressed queue with gzcat :)
2012-08-26- define ZLIB_BUFFER_SIZE instead of hardcoding 8192Gilles Chehade
- check gzdopen() failure - call gzclose() whenever a failure occurs after gzdopen() - simplify slightly some checks in compress/uncompress - create PATH_TEMPORARY in /var/spool/smtpd, chmod 700, owned by _smtpd - compress_zlib should use PATH_TEMPORARY instread of /tmp as we're chrooted and this will otherwise lead to a fatal() ok chl@
2012-08-26htole64 works as good as htole32 twice for dma virtual addresses.David Gwynne
2012-08-26- remove unused variableGilles Chehade
- comment variables unused at this time
2012-08-26Add missing RCS Id.Charles Longeau
Reminded by jasper@ ok gilles@ eric@
2012-08-26Make a few ftp(1) usage/man page changes related to BasicLawrence Teo
authentication: - Combine the http and https usage formats into a single http[s] format to make it more concise. - In the AUTO-FETCHING FILES section of the ftp(1) man page, mention that specifying "user" and "password" with HTTP and HTTPS URLs will log in using Basic authentication (if http_proxy is not defined). - When compiled with -DSMALL, fix ftp(1) usage so that "[user:password@]" is not shown for http[s] since Basic authentication is not supported with -DSMALL. Done with a lot of discussion with and help from jmc@ (thank you!). ok deraadt haesbaert jmc
2012-08-25Add compress_backend, allowing compression of messages and envelopes in the ↵Charles Longeau
queue. To use it, just add "queue compress" in smtpd.conf. For now, only zlib is used. lots of feedback from eric@ and gilles@ ok eric@ gilles@
2012-08-25lka must not start servicing requests until it has received its full configEric Faurot
from parent. Disable imsg from other processes until then. Fix some races when the mta tries to lookup an auth map too early, for example. ok gilles@ chl@
2012-08-25Another missed PIC -> __PIC__ conversion.Mark Kettenis
ok deraadt@
2012-08-25- add myself to the copyright in control.c, i've done quite a few changesGilles Chehade
there in the last few years ;-) - get rid of availdesc(): getdtablecount() is so much more reliable - get rid of env->sc_maxconn, we can be much smarter with getdtablecount() and getdtablesize() - disable accept when we hit the control process fd reserve - disable accept when we fail - enable accept when we're back below the limit this is not the full fd exhaustion diff, i'll merge changes from relayd tomorrow, this was only required to get rid of the env->sc_maxconn and availdesc() mess "reads alright" eric@
2012-08-25- stop accepting clients if we hit our fd reserve limit (or if we fail)Gilles Chehade
- resume if we go below the fd reserve with feedback and ok eric@
2012-08-25Better detection of the st16650 v1 (with the broken fifo). Gets rid ofMark Kettenis
false positives like the DUART on the MPC8347 as found on socppc. ok deraadt@
2012-08-25Turns out the v445 isn't happy at all if we touch the registers that dealMark Kettenis
with sleep mode. So skip the wakeup code as well if we are a serial console. The port on the v445 almost certainly isn't a real st16650 and probably doesn't implement sleep mode (perhaps someone cut the soft core down a bit too much?). But it is indistinguishable from it, so we have to deal with it. ok deraadt@
2012-08-25It's ok to try to rollback an update we don't know about. It mightEric Faurot
happen if the message is aborted before an envelope is sent to the scheduler. In this case, just ignore it. ok gilles@ chl@
2012-08-25- offline enqueue does not need to use the user_backend API, it relies onGilles Chehade
system users ... use getpwuid() instead of ub->getbyuid() - since that was the only caller, get rid of user_backend->getbyuid() this is the first step towards removing the user_backend API and making user lookups available through the maps API (yes, virtual user support ;) ok eric@, ok chl@
2012-08-25Add support for power saving in Host AP mode.Mark Kettenis
ok stsp@, deraadt@
2012-08-25- introduce TRACE_PROFILINGGilles Chehade
- when smtpd starts with -T profiling it will log_trace() some prof. info - when smtpd starts with -T profstat, it will push them to stats API with type STAT_TIMESPEC under key profiling.imsg.* with this diff we can get live profiling of events with a very minimal overhead :-) ok chl@, ok eric@
2012-08-25Set up ni_savedq for the initial BSS node such that it can actually be usedMark Kettenis
to store multicast frames when one of the associated stations is in power saving mode. ok stsp@
2012-08-25- introduce struct stat_valueGilles Chehade
- statistics can now have a type (counter, timestamp, timeval, timespec and possibly others in the future) - stat_increment() / stat_decrement() now take an increment/decrement value and are at the moment only of type counter - stat_set() now takes a stat_value - provide helpers to convert raw values to stat_value ok eric@, ok chl@ while at it fix a rq_queue_dump() call using a bogus timestamp in scheduler ramqueue.
2012-08-25use duration_to_text() when logging delay, for consistency.Eric Faurot
ok gilles@ chl@
2012-08-25log pause/resume from the administrator to maillog.Eric Faurot
suggested by Jan Stary. ok gilles@ chl@
2012-08-25- make wrong variable specs (unterminated) parse errors.Marc Espie
- add info to be able to pinpoint parse errors at runtime. - let job runners abort when a parse error happens while expanding a variable during execution - fix an infinite loop when compiling without FEATURE_RECVARS. okay millert@, krw@ the very few errors found out by this (less than 10 over src/X/ports) fixed trivially beforehand, as requested by deraadt@
2012-08-25Mention Supermicro SMC2208.Christiano F. Haesbaert
ok dlg@.
2012-08-25Make sure we disable interrupts on attachment before re-enabling.Christiano F. Haesbaert
ok dlg@.
2012-08-25Small cleanup.Christiano F. Haesbaert
ok dlg@.
2012-08-25some endian fixes.David Gwynne
2012-08-24log forced removal and expiration of envelopes to maillog.Eric Faurot
suggested by Jan Stary. move queue loading notification to log_debug() while there. ok gilles@
2012-08-24- rfc 5082 replaces rfc 3682; ok claudioJason McIntyre
- flesh out SEE ALSO in bgpd.8 - fix a formatting warning in relayd.conf.5
2012-08-24envelope_validate() don't take the evpid anymore.Eric Faurot
2012-08-24comment about bsd.own.mk is now false; ok markusTheo de Raadt
2012-08-24Back out the bit that links all shared libraries against -lc from the previousMark Kettenis
commit. It breaks make build on arm and generally causes more grief than the the (small) benefit it is supposed to bring. ok matthew@
2012-08-24When an smtp session fails and IMSG_QUEUE_REMOVE_MESSAGE is sent to theEric Faurot
queue, also notify the scheduler so it can rollback the current update. Send only the msgid while there. ok gilles@
2012-08-24Error out if queue_envelope_load() failed, rather than sending crap toEric Faurot
the mta/mda. ok gilles@
2012-08-24add stat counter for the number of envelopes inflight.Eric Faurot
ok gilles@
2012-08-24rfc 4456 replaces rfc 2796; ok claudioJason McIntyre
2012-08-24ikev2 is described in rfc 5996 now;Jason McIntyre
2012-08-24update SEE ALSO;Jason McIntyre
2012-08-24In envelope ascii dump/load:Charles Longeau
- remove loading of evpid. - don't dump the msgid - ignore msgid at load - remove now unused functions ascii_{dump,load}_uint{32,64}_hex() With inputs from eric@ and gilles@ ok gilles@ eric@