summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2012-11-15If max-prefix/restart are used, display the values in "bgpctl sh nei" output.Stuart Henderson
ok henning claudio benno
2012-11-15buf_* -> ibuf_* in various log entries to reflect correct function names.Kenneth R Westerback
ok claudio@
2012-11-14update to 1.2.5Robert Nagy
2012-11-14In the unlikely event that a NULL device is passed to priv_pcap_live(),Lawrence Teo
ensure that the function will stop and return NULL instead of continuing (which could lead to a segfault). ok benno deraadt otto
2012-11-13pasto in log messageFlorian Obser
ok henning
2012-11-13pasto in log messageFlorian Obser
ok henning
2012-11-13Add accept.c from ldpd and use it to handle file descriptor exhaustionYASUOKA Masahiko
in accept() case. "go for it" deraadt
2012-11-13macro tweaking;Jason McIntyre
2012-11-13do not miss the last envelopeEric Faurot
ok gilles@
2012-11-13Allow filtering based on the NEXTHOP attribute. This allows to build rulesClaudio Jeker
like: allow from any nexthop neighbor (to allow only prefixes that use the routers IP address as nexthop). Lots of testing, input and OK florian@
2012-11-13Simplify the smtpctl code: add a try_connect() function to test ifEric Faurot
the server is running, and flush()/next_message() helpers to make imsg request/response loops easier. ok gilles@
2012-11-13Constify arguments to sendto_nat_t and add missingYASUOKA Masahiko
#include "recvfromto.h" to l2tp_ctrl.c. no binary changes.
2012-11-12Cleanups and improvements:Eric Faurot
* Log more events (especially client session) and use a better scheme for that: each messages is prefixed with a token to easily identify its class: - info/warn/debug: general server messages - smtp-in: smtp client connections - relay: status update for relayed messages - delivery: status update for local deliveries * Implement "smtpctl monitor" to display updates of selected internal counters. * When reloading the on-disk queue at startup do not commit a message if no envelope was submitted for that message. * Remove unused stuff in the config parser. ok gilles@
2012-11-12fix a potential memory leak; OK martinh@ sthen@Gleydson Soares
2012-11-10consistently use [ -n "${var}" ] instead of [ "${var}" ]Robert Peichaer
no functional change discussed and ok ajacoutot
2012-11-10turn single-command if-then-fi blocks into "[ expr ] && command"Robert Peichaer
style lines. no change of functionality. discussed with and ok ajacoutot
2012-11-10enhance error_rm_wrkdir() to print an error message if one is passedRobert Peichaer
as argument to replace some error "message" error_rm_workdir lines by a single error_rm_workdir "message" line. ok ajacoutot
2012-11-08When running route -Tx exec arp -an, arp would always use the defaultPeter Hessler
routing domain. Fix it so we use the process rdomain, but still allow command line overrides. noticed by, and OK, mikeb@
2012-11-08mark some more variables as localRobert Peichaer
ok ajacoutot
2012-11-06Advertising SSLv2 in the example config doesn't make much sense now that it'sPascal Stumpf
disabled. ok robert@
2012-11-06sort options; ok espieJason McIntyre
2012-11-06Remove the "is_reading" hack and simplify the read/write logic:Eric Faurot
set to write as soon as a response is read. ok gilles@
2012-11-06document auto -i.Marc Espie
2012-11-06work-around python compile issue: don't tie python files for now, soMarc Espie
that timestamps don't trigger recompile.
2012-11-06do interactivity like for the others.Marc Espie
force pkglocatedb-- when auto-installing (reported by aja)
2012-11-05Better code to download configurations onto the SP.Mark Kettenis
2012-11-04A bit more SP configuration code.Mark Kettenis
2012-11-04Consume ACKs when doing large sends.Mark Kettenis
2012-11-04Add support for selecting a configuration stored on the SP.Mark Kettenis
2012-11-04tweak previous;Jason McIntyre
2012-11-04Support for listing configurations store on the SP.Mark Kettenis
2012-11-04Switch over to using the ds.[ch] from ldomd(8).Mark Kettenis
2012-11-04Switch over to using the ds.[ch] from ldomd(8).Mark Kettenis
2012-11-04Call service start function if a particular domain service has beenMark Kettenis
successfully registered. Export ds_conn_handle().
2012-11-04Factor out some code. Use the "hvctl.h" header from ldomd. Add man page.Mark Kettenis
2012-11-04Split out hvctl protocol definitions in a seperate header file.Mark Kettenis
2012-11-02Remove 13 years old compiler bug workaround on m68k. Apparently fixed or sweptMiod Vallat
under the rug as part of the bunch of compiler fixes in the last 10+ years. No objection from espie@ (who doesn't remember exactly what the issue used to be)
2012-11-02Add a "kick counter" that gets incremented on each command, to detectEric Faurot
clients that don't do their best to do something useful, and just hog the session. When that kick counter reaches the limit, the client is disconnected. The counter is reset after the first HELO/EHLO command, after tls is established, after a succesful authentication, and after a message is accepted. It is decremented when a RCPT is accepted. ok gilles@
2012-11-02Unstick bgpctl reload after reloading a bgpd.conf with errors.Florian Obser
ok claudio, benno
2012-11-02Consistency and robustness improvements in mda:Eric Faurot
- Introduce a mda_getlastline function(); improve the code to avoid useless allocations and string formatting; make it return the last line with content (skip trailing empty lines if found). - Add a mechanism by which the mda can request the parent to abort a local delivery by killing the process. - Use ioev/iobuf for draining data to the delivery process. - Make sure to catch all transient errors and make them result in a tempfail rather than calling fatal(). - Make sure that the envelope status is properly set for all failures. - Stop using SMTP response codes; it makes no sense in this context. ok gilles@
2012-11-02Make counters more informative in the scheduler:Eric Faurot
- Change the scheduler backend API a bit: commit() and rollback() API calls return the number of envelopes added or canceled; put the number of envelopes in the structure returned by batch(). - Properly report the number of incoming, registered, removed and expired envelopes, as well as the outcome of deliveries. ok gilles@
2012-11-01Remove dead code that was a leftover from the initial code which wasReyk Floeter
based on snmpctl. Found and committed from the plane in 10km (35.000 feet). No functional change and this diff doesn't touch any crypto code so the current country below me cannot blame me for importing / exporting any crypto. ok benno@
2012-10-30Add RCS ids to the config files.Antoine Jacoutot
2012-10-28use the default SYSLOG_FACILITY definition which is LOCAL5Robert Nagy
noted by ajacoutot@
2012-10-28rework the default config a bit to work with php-fpm out of the boxRobert Nagy
2012-10-28strip the chroot path from auth_basic_user_file if necessaryRobert Nagy
2012-10-28Change email address in copyright to one that is valid.Claudio Jeker
2012-10-28unbreak build on vax by initializing a variableRobert Nagy
2012-10-28Limit the number of messages that can be enqueued on a single SMTPEric Faurot
connection, and the number of recipients in each of them. ok gilles@ chl@
2012-10-27Close hvctl channel after initial setup and reopen it whenever we need toMark Kettenis
reconfigure. Makes it possible to use ldomctl(8) when ldomd(8) is running.