summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-09-22React putting the interface in state 'down' when dvmrpd detects thatMichele Marchetto
the link went down. ok claudio@
2009-09-22Whitespaces fix.Michele Marchetto
2009-09-22Make the error messages for failures at EHLO more precise byJacek Masiulaniec
distinguishing between unavailable extensions and those that are available but have failed.
2009-09-22Update capability code to follow RFC 5492. Unlike before multipleClaudio Jeker
capabilities are now encoded in a single capability option. RFC conforming BGP implementations must be able to parse both the old and the new way of the encoding (most still seem to use the old one). bgpd still accepts both ways on reception. OK henning, sthen
2009-09-22- move the map stuff to makemap.8Jason McIntyre
- use a single list for smtpd.conf keywords ok jacekm gilles
2009-09-22When at MAIL FROM stage, handle the case when STARTTLS is required but notJacek Masiulaniec
available. Also, make the client_next_state() calls across the code more idiomatic.
2009-09-22fix handling of certificates to unbreak DSA; allows starttls(8) instructions ↵Janne Johansson
to work with smtpd; ok jacekm@, on behalf of gilles@ who doesnt have access to a safe machine
2009-09-21Expand "&" in the name part of gecos similarly to how sendmail and fingerJacek Masiulaniec
expand it. Based on a diff from landry@, thanks!
2009-09-21- some tweaks for the global sectionJason McIntyre
- syntax fix from gilles ok gilles
2009-09-21merge EXPANSION into DESCRIPTION, since it is really part ofJason McIntyre
describing the file format; ok jacekm
2009-09-20if_new() would treat the new interface as a virtual link if the ifnameStefan Sperling
parameter was NULL. But it's easy enough to make ifname != NULL by accident, e.g. by passing a zeroed or even uninitialised array. This function should accept a 'virtual' flag of some kind instead. Since we don't even support virtual links yet, change the check to "if (virtual)", #if 0 the check, and code that depends on it (including a file-scope variable), and add comments marking this as TODO. ok claudio, who requested #if 0 instead of deletion.
2009-09-20In kif_update(), the ifname array could be used uninitialised if theStefan Sperling
caller passed NULL for the sdl parameter. ok claudio@
2009-09-20Fix typo, noticed by Nava Carson, thanks!Jacek Masiulaniec
2009-09-19KNF indentation; no binary changeStuart Henderson
2009-09-19some minor improvements for this page, as well as an expanded examplesJason McIntyre
section to get things running; help/ok jacekm gilles
2009-09-19- "stub redistribute default" does not take a "no" option, remove itStuart Henderson
- remove some unnecessary \& escapes ok claudio, jmc
2009-09-18Make kroute code routing priority aware.Michele Marchetto
ok claudio@
2009-09-18Remove useless Received line added at the /usr/sbin/sendmail stage, itJacek Masiulaniec
was not correctly formatted anyway. Recording of sender uid has been moved to the server process (getpeereid), which means it is not subject to forgery. Based on problem report by Michael Lechtermann <michael@lechtermann.net>
2009-09-17The client API is meant to require STARTTLS by default, a behaviour whichJacek Masiulaniec
can be altered using client_ssl_optional(). Reported by Michael Lechtermann <michael@lechtermann.net>
2009-09-17tweak previous; ok jacekmJason McIntyre
2009-09-17Add instructions for enabling smtpd to the EXAMPLES section.Jacek Masiulaniec
Suggested by sthen@
2009-09-16Do not print "could not load cert" warning at startup if certificate is notJacek Masiulaniec
required. Requested by jmc@, gilles@ ok.
2009-09-16+.Xr mailer.conf 5 ,Jason McIntyre
ok jacekm
2009-09-16Free resources when bounce enqueue fails due to a timeout.Jacek Masiulaniec
2009-09-16Ignore sendmail's -L, -A, and -q switches: makes clientmqueue cronJacek Masiulaniec
job exit silently.
2009-09-15Extend SMTP client_* API to support SSL+AUTH, and use it in the mtaJacek Masiulaniec
process to relay mails. ok gilles@
2009-09-15Enclose repeated buffer draining code in a new msgbuf_drain()Jacek Masiulaniec
function, which is additionally exported for use by others. It will be needed by smtpd's SSL module when the SMTP client code is changed to replace libevent's evbuffers with our msgbuf_* API. ok gilles@ henning@ guenther@ eric@
2009-09-15In bgpctl sh nei, display whether a neighbour is set to use passiveStuart Henderson
mode and/or E-BGP multihop. Ok and suggestions from claudio@
2009-09-15Fix a small merge error from august 2003. ok jmc@, jj@.Matthieu Herrb
2009-09-14Switch the various link state printing codes to use the new if_mediaClaudio Jeker
independent LINK_STATE_DESCRIPTIONS. Code is now more or less a one to one copy of get_linkstate() in route/route.c. OK henning, michele, sthen, deraadt
2009-09-14fix typo; ok jmc@Ingo Schwarze
also reported upstream to dhcp dash bugs at isc dot org
2009-09-12Simplify line len checking: use one limit for all SMTP exchanges.Jacek Masiulaniec
This is not as strict as various RFCs want it, but we can make it more granular later. For now, let all mails flow by using the maximum of all limits found in the RFCs. ok gilles@
2009-09-12fix a wrong computation in session_readline() where the length of line wasGilles Chehade
deduced from the buffer size prior and after evbuffer_readline() call. the problem is that this accounts for the characters which evbuffer_readline() removed and we do not know how many they were (\n, \r\n ..). fix just does a strlen() call of line which is a bit slower but way safer. This could very well fix the broken headers issue some people reported
2009-09-12cmdlinetoolong stat was incremented at the wrong place, fixGilles Chehade
2009-09-12- fix a compile time warningGilles Chehade
- add a new stats counter to distinguish between command lines which exceeded the limit and data lines which exceeded the limits
2009-09-12replace a fwrite || fwrite construct with a fprintf which achieves the sameGilles Chehade
while being less error prone
2009-09-09Palm: Integration into the treeMarek Vasut
OK deraadt@
2009-09-08Add -4 and -6 flags to irrfilter mode, allowing you to only fetch (youStuart Henderson
guessed it) v4 or v6 from the IRR. Reduces size of the filter file (and thus router resource use) when you only speak IPv4 but you want to filter peers who announce lots of v6 space. ok claudio@
2009-09-08Make the BGP OPEN capability parser RFC 5492 compliant. While there addClaudio Jeker
additional checks to make sure the known capabilities are correctly encoded and not truncated. Help and OK sthen@
2009-09-08Update irrfilter to support IPv6 and 4-byte AS numbers. IPv6 support basedClaudio Jeker
on work by Tonnerre Lombard I just cleaned it up. OK henning, sthen
2009-09-08Cope with remote host sending '452 Insufficient system storage'.Landry Breuil
Committing on behalf of gilles@ who doesn't have access to a safe box.
2009-09-08Replace remaining occurrence of old PF syntax with "match...nat-to",Stuart Henderson
and just talk about "rules" rather than "filter and translation rules". Spotted by/ok jmc@
2009-09-08Remove some nat-anchor, binat-anchor, rdr-anchor. Noticed by jmc@.Stuart Henderson
ok henning@
2009-09-07Don't print package comment when -q is given, and no other option isLandry Breuil
used. This way, pkg_info -q only shows installed pkgnames.. and can replace `ls /var/db/pkg` in scripts. ok espie@
2009-09-07Teach the printer about capabilities, new cease codes, end-of-rib marker,Stuart Henderson
and handle 32-bit ASN. ok claudio@
2009-09-07rdr -> rdr-toJason McIntyre
from Karl-Heinz Wild
2009-09-06When dvmrpd receives a prune, it must checks if every downstream memberMichele Marchetto
on that interfaces has already sent prunes. If so (and there are no local groups) removes the interface from the downstream list. ok claudio@
2009-09-04Fix scheduling of bounces that could not be delivered.Jacek Masiulaniec
ok gilles@
2009-09-04Fix scheduling of bounces that could not be delivered.Jacek Masiulaniec
ok gilles@
2009-09-04Prepend Return-Path.Jacek Masiulaniec