summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2014-05-20destinct is spelled distinct.David Gwynne
ok henning@ jmc@
2014-05-20format string cleanup: change "%i" to "%d" and fix a few typosEric Faurot
2014-05-20Unify the SSL privsep key loading functions.Reyk Floeter
ok eric@
2014-05-20Deep down inside OpenSSL, err... LibreSSL, RSA_set_ex_data attempts toReyk Floeter
free() the external data when releasing the RSA object. The RSA_GET_EX_NEW_INDEX(3) manual page doesn't mention that this is the default behaviour - it just describes the possible free_func() callback - and the code path in libcrypto is hiding the fact behind layers of abstraction. Fix possible double free by allocating and copying the external data reference that is used for RSA privsep (pkiname in smtpd's case). ok eric@ gilles@
2014-05-20remove dead filesEric Faurot
2014-05-20yet more code that no longer makes any senseMarc Espie
2014-05-20makewhatis being now external, it no longer requires picky/test/check_dir.Marc Espie
It also can't handle too many manpages at once (shell limit) so hand-feed it (problem spotted by landry@). Some tests by schwarze@.
2014-05-20fix bogus extension: $code and $code2 belong in _system, so thatMarc Espie
both system and verbose_system will work properly.
2014-05-20Use errc/warnc to simplify code.Philip Guenther
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@
2014-05-18Correctly handle files smaller than an ELF header; reported by drahn@bitrigMiod Vallat
2014-05-18use reallocarray and friends. okay miod@Marc Espie
2014-05-18sync openssl(1) with changes already made in src/lib/libssl/doc, reminded byStuart Henderson
jmc: move from 1024 to 2048 bit key defaults; see genrsa.c 1.26 et al.
2014-05-18There is no need to compile nginx with -O1 on vax anymore.Jonathan Gray
Since the change in rev 1.5 vax has switched to gcc3, MAXDSIZ has increased and pcre_exec now builds with -O2. ok miod@
2014-05-18replace some (type *)0 to NULLCharles Longeau
ok krw@ millert@
2014-05-17remove unused variablesCharles Longeau
ok miod@
2014-05-17remove unused variableCharles Longeau
ok tedu@
2014-05-17add missing header needed by str* and mem* functionsCharles Longeau
ok gilles@
2014-05-16improve logging messages and style; requested by and ok reykMike Belopuhov
2014-05-15use <> for tables;Jason McIntyre
original report from creamy; diff from Frank Brodbeck, tweaked
2014-05-15Use log_warn() to include errno if write() fails.Reyk Floeter
From thib
2014-05-15Deal with - actually, ignore - route info messages on the listening side.Jeremie Courreges-Anglas
Issue reported by consus at gmx dot com on bugs@. ok bluhm@
2014-05-14Remove second arg in SetMouseSpeed(), it is always 1200.Alexandr Shadchin
ok miod@
2014-05-14Remove mouse.baudrate, it is always 1200.Alexandr Shadchin
ok miod@
2014-05-14Remove unused code.Alexandr Shadchin
ok miod@
2014-05-14Remove unused variables.Alexandr Shadchin
ok miod@
2014-05-14Sync ktable code with bgpd to fetch, store and perform lookups inMike Belopuhov
multiple routing tables. Currently it doesn't do anything useful but it's a prerequisite for any future work in this direction. ok sthen, reyk, blambert
2014-05-12Fix format strings involving time_t arguments, fixes `ntpd -d' on sparc (andMiod Vallat
probably more 32-bit platforms). Problem noticed by tobiasu@; ok tobiasu@ dtucker@ sthen@ benno@
2014-05-12fix a possible double free when tls is required but not advertised byEric Faurot
the server. ok gilles@
2014-05-12Fix a leak from a recent added mark/marked keywords check.Andre de Oliveira
ok reyk
2014-05-10fix typo in function prototypeCharles Longeau
ok gilles@
2014-05-10Fix SSL breakage that I accidentally introduced with my previous commit.Reyk Floeter
2014-05-10Allow -p prefix to override user home directory for chroot() (LikeChris Cappuccio
openbsd-apache ServerRoot behavior) Work continues to unify nginx behavior (Principle of Least Astonishment) ok henning@
2014-05-10Allow nginx to chroot to a directory other than /var/wwwChris Cappuccio
ok henning@
2014-05-10Extend the connection and session FSMs so that connection failure isClaudio Jeker
handled more gracefully. Losing the TCP connection no longer results in an unrecoverable stop requiring a restart of iscsid.
2014-05-10Move the task cleanup from the task fail callback to taskq_cleanup.Claudio Jeker
This makes the one failure callback a lot simpler.
2014-05-09stop casting sizeof to intTed Unangst
2014-05-09my previous attempt to fix the renaming of the inet(3) pages was wrong;Jason McIntyre
this fixes those by referencing the correct page, and cleans up the netintro/ inet entries; all this on the advice (and ok) of guenther!
2014-05-08fail for unsupported node action/type combinations. Also fail for theReyk Floeter
unsupported mark/marked combination in a single rule. ok andre@
2014-05-08remove debug prints that snuck in; found by reyk@Bret Lambert
2014-05-08Pretty print MIB_ipNetToMediaPhysAddress'es; ok blambertMike Belopuhov
2014-05-08match relayd proc.c infrastructure with snmpdBret Lambert
okay reyk@
2014-05-08inet(3) -> inet_net(3);Jason McIntyre
2014-05-08Bring back restricted sockets, inadvertantly removed inBret Lambert
previous proc.c update ok reyk@
2014-05-07Repair the termination condition of a write(2) loop.Ingo Schwarze
Since _PATH_MASTERPASSWD_LOCK is on a local file system in any sane setup and written to in blocking mode, i don't see how write(2) could return before having written everything, so this maybe wasn't an actual bug, but it should be repaired anyway, if only for clarity and extra safety. From Ben Cornett <ben at lantern dot is>; ok millert@.
2014-05-07back out the previous ICMP simplifying diff, it caused livelocks.Martin Pelikan
reported by Mikolaj Kucharski, thanks! ok krw
2014-05-07Initialize struct iface by zero. Without this, npppd had used randomYASUOKA Masahiko
configuration. from Anders Berggren.
2014-05-07use calloc. from peter maloneTed Unangst
2014-05-07calloc is simpler. suggested by Peter Malone and halexTed Unangst
2014-05-07use calloc. from Peter MaloneTed Unangst
2014-05-06Fix two memory leaks: EVP_PKEY_get1_RSA() returns a referenced keyReyk Floeter
that requires to call RSA_free() to dereference it after use. Also free a temporary key that was read by PEM_read_PrivateKey() and immediately written into a bio. ok markus@