summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2013-03-10This diff changes relayd to use the monotonic clock instead ofReyk Floeter
gettimeofday(). It was also bugging me for some time to have all these checks of gettimeofday()'s return value: it should not fail. So this diff introduces a void getmonotime(struct timeval *tv) that calls clock_gettime(CLOCK_MONOTONIC, &ts) and converts the output to a struct timeval that can be used with the existing code and the timeval-specific timer functions (timerclear, timersub, ...). It does not return a status but calls fatal() on error-that-should-not-happen. ok sthen@ chris@
2013-03-10reserve a filedescriptor on accept() for subsequent connect() call, asSebastian Benoit
done in relayd. ok sthen, deraadt
2013-03-09Enable TCP socket splicing for HTTP persistent connection and chunkedAlexander Bluhm
transfer encoding. This speeds up relayd for more protocol modes by zero-copy TCP forwarding. OK reyk@ benno@
2013-03-08Add missing $OpenBSD$ RCS tagsCharles Longeau
ok gilles@
2013-03-07Implement a bgpctl nei foo destroy that will remove the specified clonedClaudio Jeker
neighbor. The neighbor must be set down before calling this function. OK phessler
2013-03-07Implements a few missing bits for better templates support:Claudio Jeker
- on config reload also adjust the cloned neighbors so that they get the config changes as well. - clean up sessions that are 1h idle but in state active (instead of down) - add bits to allow bgpctl to destroy cloned neighbors Tested by sthen@ some time ago, OK phessler@
2013-03-07Allow a '+' in the MAILTO email adress; from Constantine A. MureninTodd C. Miller
2013-03-06as done in ospf{,6}d/relayd, sync yyerror in various other daemons withStuart Henderson
that from bgpd, so that it logs to syslog when daemonized.
2013-03-06sync yyerror() with version in bgpd so that it logs to syslog when daemonized.Stuart Henderson
ok florian@
2013-03-06When dumping config, just print "passive" for passive interfaces ratherStuart Henderson
than showing hello timers/keys. ok florian@
2013-03-04Fix compiler warnings about casts discarding const qualifiers andAlexander Bluhm
comparison between signed and unsigned. No binary change. OK reyk@ joel@ gerhard@
2013-03-04- check parser's return value and exit if parsing failedOtto Moerbeek
- a duplicate domain name is a syntax error tweaked diff from @jasper; ok kettenis@ jasper@
2013-03-04sync yyerror() with bgpd; use vlog() to log parser errors so they show inStuart Henderson
logs if they occur when reloading. ok benno@
2013-03-04When locking/unlocking an account, never touch passwords that are "*"Antoine Jacoutot
or 13*. Also make sure to never endup with an empty password. cluebat and ok miod@
2013-03-04typo in commentSebastian Benoit
ok deraadt
2013-03-02Always compare aliases(5) at the end of the sysmerge(8) run after allAntoine Jacoutot
files have already been merged. This is needed in the case where the syntax of smtpd.conf changed to prevent newaliases(8) from failing. issue reported by todd@ ok sthen@
2013-02-26Some firmware revisions provide a factory-default configuration that containsMark Kettenis
duplication arcs in the hvmd. Add a workaround for this problem. ok deraadt@
2013-02-21Fix a potential crash when connecting to a misbehaving smtp server.Eric Faurot
If a smtp session got bogus data from a remote server and has just issued an internal query, then defer the deletion of that session until it gets the reply. ok gilles@ deraadt@
2013-02-21do not send disconnect event to the mfa if connect event was not sent.Eric Faurot
ok gilles@
2013-02-19When opening a /dev/ldom-* device node fails, show its path in the errorStefan Sperling
message. Tweak error message wording while here for consistency. tweaks and ok kettenis@
2013-02-18Fix determination of endianness with *BSD OS's.Brad Smith
ok sthen@
2013-02-18re-apply:Okan Demirmen
use localbase for pkg-readmes ok espie@
2013-02-18revert previous; wrong time.Okan Demirmen
2013-02-18use localbase for pkg-readmesOkan Demirmen
ok espie@
2013-02-18missing comma in log messageEric Faurot
ok gilles@
2013-02-18resolve conflictsStuart Henderson
2013-02-18Update to NSD 3.2.15, ok brad@ phessler@ deraadt@ also tested by okan@Stuart Henderson
2013-02-17zap the surrounding whitespace and mark up for "=";Jason McIntyre
ok gilles
2013-02-17disable queue compression temporarily, we lack the smtpctl bitsGilles Chehade
2013-02-16only use local hostname in Received lines if listener has not overriden it,Gilles Chehade
otherwise use the listener hostname ok eric@
2013-02-16Fix unlocking on 32bits arch where it would fuck up the shell...Antoine Jacoutot
Do not try to (un)lock system users; people wanting to do so (???) will know what they do and use vipw(8). unlocking issue reported by Andre Stobe on tech@ cluesticks and ok miod@, ok deraadt@
2013-02-15add missing bits for lmtp support (from Ashish SHUKLA).Eric Faurot
ok gilles@
2013-02-15terminate session instead of fatal() if getsockname() fails.Eric Faurot
ok gilles@
2013-02-15Fix the toread check in the lateconnect case. This allowsAlexander Bluhm
Content-Length: 0 in HTTP GET request when a request filter is used. This was broken by my previous commit. OK reyk@ benno@
2013-02-15Add missing break, reported by Jared S. Candelaria.Martin Pieuchot
2013-02-14disable symbol visibility on vax in order to unbreak the buildRobert Nagy
2013-02-14Obey RFC 2131 and when the broadcast flag is set send reply backKenneth R Westerback
via udp broadcast and link-local broadcast. Not udp broadcast to link address of client. Fixes at least some switches who use the broadcast flag. Bug submitted by Andy via bugs@, and fix tested by same. Thanks! ok beck@
2013-02-14grow MAX_LOCALPART_SIZE and MAX_DOMAINPART_SIZE by 1 (for the '\0')Eric Faurot
ok gilles@
2013-02-14- document smtpctl trace expandGilles Chehade
2013-02-14- log smtpd version at startupGilles Chehade
ok eric@
2013-02-14- change => to = in documentationGilles Chehade
2013-02-14- smtpctl trace expand, enables tracing of aliases expansionGilles Chehade
- replace "users" keyword with "userbase" when providing alternate userbase - disambiguise expansion nodes when expanding across domains and userbases - allow use of '=' instead of '=>' when declaring a mapping ok eric@
2013-02-14simplify markup for the "table" keyword; ok gillesJason McIntyre
2013-02-13Pipex did panic when the 0 length mppe is given by ioctl. ReturnYASUOKA Masahiko
EINVAL instead of panic. Also npppd called ioctl with the invalid argument because of the bugs introduced by the config parser change commit. Fixed those bugs and make sure not to use 0 length keys for MPPE. reported by csszep at gmail and giovanni ok giovanni
2013-02-13- when declaring a static table for userinfo, do not make username part ofGilles Chehade
the value as it confuses users { gilles => gilles:10:100:/home } becomes { gilles => 10:100:/home } ok eric, we'll discuss changes under the hood post-release
2013-02-12Back out per-CPU kernel profiling, it shouldn't modify a public headerMartin Pieuchot
at this moment.
2013-02-11tweak previous;Jason McIntyre
2013-02-11Teach kgmon(8) to deal with per-CPU kernel profiling.Martin Pieuchot
ok mikeb@, haesbaert@
2013-02-10update the internal pcre to 8.32Robert Nagy
2013-02-10remove some unneeded Xo/Xc.Jason McIntyre