summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-07- specifically match carp+([0-9]):, not just carp*:. avoids spuriousStuart Henderson
attempts to "ifconfig carp down" noticed by david@. - use non-descriptive variables names rather than $if/$junk to encourage people reading the code to think what it's doing; many of the output lines are not interface names. ok david@
2009-08-07smtp_session: ssl/ssl.h -> openssl/ssl.hGilles Chehade
2009-08-07in mta: ssl/ssl.h -> openssl/ssl.h, consistent with other filesGilles Chehade
2009-08-07we were linking to libkeynote to use kn_base64_encode/decode, but honestlyGilles Chehade
this was a ugly hack, and i'd rather include resolv.h and use __b64_encode and __b64_decode as openssh does. this commit kills all references to libkeynote in smtpd, should help a bit with porting ... no functionnal change.
2009-08-07sets modes for dirs; too. ok sobrado@ & jmc@.Martynas Venckus
2009-08-07wrap auth_userokay in a new function authenticate_user() and make sureGilles Chehade
that only authenticate.c knows about bsd_auth, no functionnal change.
2009-08-07Add ``Digitus DN-7001G'' to the supported device list.Marcus Glocker
Reported by d-ra.
2009-08-07If there is an error in the configuration file, don't just exit(1) as this canNicholas Marriott
cause the client to hang. Instead, send the error message, then mark the client as bad and start a normal shutdown so the server exits once the error is written. This also allows some code duplicating daemon(3) to be trimmed and logging to begin earlier. Prompted by Theo noticing the behaviour on error wasn't documented.
2009-08-07Move introduction section up into description. From jmc.Nicholas Marriott
2009-08-07get the default ttl via sysctl instead of using IPDEFTTLReyk Floeter
2009-08-07rename 'struct session' to 'struct rsession' because it conflicts withReyk Floeter
another 'struct session' in sys/sysctl.h.
2009-08-07allow to modify the IP TTL value for host checks. this can be used toReyk Floeter
check if the host is only n hops away and not re-routed over a longer path.
2009-08-07add missing lineReyk Floeter
2009-08-07if buffers overlap; result will be undefined. ok claudio@, michele@Martynas Venckus
2009-08-07fix ksh ftp wrapper so argvs aren't split before passing; makingMartynas Venckus
urls with spaces work. ok sthen@
2009-08-07allow to specify host attributes in an arbitrary order (parent, retry) byReyk Floeter
making the grammar a bit more flexible.
2009-08-07cosmetic change - move address into an own elementReyk Floeter
2009-08-07tweak previous;Jason McIntyre
2009-08-07add -E flag to compile regular expressions using the extended POSIXDamien Miller
syntax. The -E flag is compatible with the other BSDs and OSX. -r is also provided as an alias for compatibility with GNU sed. feedback from jmc@ and millert@ ok millert@ pyr@ henning@ marco@
2009-08-07all of the ale(4) chipsets are Gigabit.Kevin Lo
From Brad
2009-08-07move editor_allocspace & mpsave out to extern.h so that disklabel.cMartynas Venckus
gets the declarations it uses. ok krw@
2009-08-07define substitution in some cases might happen after prototypes areMartynas Venckus
already pulled; so manually substitute protos ensuring they will always be right; ok millert@
2009-08-07Using the alternative screen (smcup/rmcup) should also preserve the currentNicholas Marriott
colours and attributes. Found thanks to a report from Taylor Venable. While here also nuke a couple of extra blank lines.
2009-08-07pull some more missing; for err&errx, printf, write, bzopy&bzeroMartynas Venckus
ok jsg@
2009-08-07pull string for memcpy; ok hshoexer@Martynas Venckus
2009-08-07pull aml/aml_parse.h; otherwise it would take aml_parse_objectlistMartynas Venckus
as an int; and not a pointer; which would be wrong on 64-bit archs oki marco@
2009-08-06encode special or unsafe characters defined by rfc1738. as a result,Martynas Venckus
- urls passed to ftp containing special characters or unsafe characters (like, spaces, <>"#{}|\^~[]`%) work - redirects containing special characters or unsafe characters (like, spaces, <>"#{}|\^~[]`%) work reported & tested by ian@ (can fetch a distfile from sourceforge now) feedback + ok tedu@ & sthen@
2009-08-06fix typo in argument name for a recently added option.Igor Sobrado
2009-08-06Handle failed disk I/O for RAID6Jordan Hargrave
RAID6 still disabled in softraid.c
2009-08-06Make sure <machine/cpu.h> includes <machine/intr.h> when included with _LOCOREMiod Vallat
defined; cp0access.S relies on this.
2009-08-06Work in progress support for Loongson2E/2F processors; need option CPU_LOONGSON2Miod Vallat
in the kernel to be brought in, due to invasive differences in tlb operation. Comes with a separate cache operations file due to the cache being R5k-style with R10k-style way number encoding.
2009-08-06R4k-style coprocessor 0 config register uses 3 bits wide fields to tellMiod Vallat
L1 caches sizes; fix the masking accordingly.
2009-08-06tweak INTRODUCTION; from nicm and myselfJason McIntyre
2009-08-06Remove _InvalidateICachePage cache op, it isn't used by anything.Miod Vallat
2009-08-06Only compile RM7000 performance counter support if defined(RM7K_PERFCNTR).Miod Vallat
This code needs to be cleaned up, and made more generic to work with other processors counters as well.
2009-08-06By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-08-06Add device id for BCM5716S, tidy whitespace. From Brad.Stuart Henderson
2009-08-06fix a crash in mta when forwarding a bounce, caused by a null derefGilles Chehade
2009-08-06in smtp_session, fix logging so that when we accepted an empty envelope forGilles Chehade
the sender, we dont log 'from=<@>' but from=<> instead
2009-08-06- change all occurences of T_DAEMON_BATCH,MESSAGE to T_BOUNCE_BATCH/MESSAGEGilles Chehade
- make sure T_BOUNCE_MESSAGE is no longer OR-ed to T_MDA/MTA_MESSAGE - define F_MESSAGE_BOUNCE flag and make sure bounce sessions set it - teach smtpctl show queue how to recognize a bounce message
2009-08-06replace X-OpenSMPTD-Loop with Delivered-ToGilles Chehade
idea by jacekm@ a few weeks ago, discussed with pyr
2009-08-06when writing a bounce, follow the same rule as for mta sessions and prependGilles Chehade
with a dot lines starting with a dot
2009-08-06reintroduce the uvm_tree commit.Owain Ainsworth
Now instead of the global object hashtable, we have a per object tree. Testing shows no performance difference and a slight code shrink. OTOH when locking is more fine grained this should be faster due to lock contention on uvm.hashlock. ok thib@, art@.
2009-08-06when a message in queue expires, generate a bounce before we remove itGilles Chehade
2009-08-06factorize file_copy_session() and file_copy() so file_copy() can handleGilles Chehade
both deliveries to mailboxes (mbox/maildir) and copying to a session.
2009-08-06fix a typo in bounce message t -> toGilles Chehade
2009-08-06- introduce message_set_errormsg() to set the error description that willGilles Chehade
appear in a bounce message, and message_get_errormsg() to retrieve that message. - when loop is detected, call message_set_errormsg() - in mta, call message_set_errormsg() for each recipient failure - in mta, call message_set_errormsg() to copy batch errors to recipients if we failed to deliver for a session related error - when bouncing, add the recipient and error reason to the bounce message
2009-08-06swap the postfix example for an smtpd one;Jason McIntyre
based on a diff from Peter J. Philipp, documentation/6205 ok gilles, millert while here, add missing makemap entry to the sendmail example
2009-08-06This commit reworks the entire mailer daemon support to actually make itGilles Chehade
work for real. As an added bonus, it simplifies it, makes it follow the same code path as regular messages and kills quite some code from mta, mda and store. There's still some work needed but the most painful part is behind us now ;) ok jacekm@
2009-08-06Backout r1.274, william@ has tracked down watchdog timeouts withStuart Henderson
his BCM5703 A2 to this commit. Original commit message was: "Set the DMA read watermark to 4 on the BCM5703 chipset in PCI-X mode. This is needed to prevent some TX timeouts. From Brad. Tested by myself on BCM5703 B0 on PCI-X 64/66".