Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-13 | More FNDELAY/FIONBIO --> SOCK_NONBLOCK conversions | Philip Guenther | |
ok millert@ | |||
2015-09-13 | Rename the routines used for packing/unpacking rmtcall RPCs so they don't | Philip Guenther | |
conflict with those in libc. They're already static, but best to be clear that they're different in functionality, supporting operations that libc's don't need or have. with deraadt@ | |||
2015-09-13 | match a few if_media uint64_t conversions; ok miod | Theo de Raadt | |
2015-09-13 | explicit_bzero() from Michael McConville, thanks! | Florian Obser | |
OK claudio | |||
2015-09-13 | Set the index of the interface in handroller link_addr(3) like code. | Martin Pieuchot | |
This is now necessary on OpenBSD because our routing interface no longer use ifunit() to find the corresponding interface. ok yasuoka@, dlg@ | |||
2015-09-12 | mark up arguments individually and drop redundant .Bk | Ingo Schwarze | |
2015-09-12 | add missing .Ar macros | Ingo Schwarze | |
2015-09-12 | use .Cm for fixed string arguments | Ingo Schwarze | |
2015-09-12 | It is not necessary to reset errno to 0 since we use logerrorx(). | Alexander Bluhm | |
Spotted by jung@ | |||
2015-09-12 | Remove dead get_host_seed() function; Martin Natano | Miod Vallat | |
2015-09-11 | Instead of printing errno strings here and there, add a logerrorx() | Alexander Bluhm | |
to syslogd that does not do that. Use it for anything that does not look like a system call or library call around it. Also add logerrorctx() that prints the TLS error instead. Reduce the maximum CAfile limit to 50MB, requested by Bob. OK beck@ | |||
2015-09-11 | consistency: .Ic -> .Cm; and drop redundant .Bk | Ingo Schwarze | |
2015-09-11 | add some missing .Cm macros and drop some redundant .Bk while here | Ingo Schwarze | |
2015-09-11 | kill strcpy dead | Bob Beck | |
ok deraadt@ | |||
2015-09-11 | RTF_XRESOLVE is gone. | Martin Pieuchot | |
2015-09-11 | Since immediate_abort is modified by a signal handler it must be | Todd C. Miller | |
volatile sig_atomic_t. | |||
2015-09-11 | Fix server_handshake_tls() - we should only call server_input() in the case | Joel Sing | |
where the handshake has successfully completed. ok beck@ | |||
2015-09-11 | Put a private copy of the ypresp_allfn/ypresp_data interface into ypserv | Theo de Raadt | |
(which uses it in a strange way..) thereby making it possible to static the interface in libc. ok guenther | |||
2015-09-11 | Syslog does not need the global list of TCP clients, libevent handles | Alexander Bluhm | |
everything. OK benno@ | |||
2015-09-11 | Change device locators type from int to long, for the sake of 64-bit ports | Miod Vallat | |
without proper device trees. Be sure to build and install config(8) and rerun it before attempting to build a kernel. ok kettenis@ deraadt@ jasper@ visa@ | |||
2015-09-10 | Instead of having global variables containing the libevent structures, | Alexander Bluhm | |
allocate them with malloc. This makes the address space layout more random. OK deraadt@ benno@ | |||
2015-09-10 | Hide netgroup internals inside libc. The parts that netgroup_mkdb | Theo de Raadt | |
wants to use, well.... copy them there. ok guenther | |||
2015-09-10 | Convert syslogd TLS connect to use handshake callback. The bt_hostname | Alexander Bluhm | |
can go away as the callback does not need the hostname anymore. Call tls_handshake() until successful. Remove the function tls_socket() as it has a bad prefix. Just call tls_client(), tls_configure() and tls_connect_socket() after the TCP socket has been created. There is no need to wait until TCP connect has finished. OK beck@ jsing@ | |||
2015-09-10 | delete obsolete .Bk from the SYNOPSIS | Ingo Schwarze | |
and delete some useless .No while here | |||
2015-09-10 | Assign the return value of getopt() to an int, not a char, so that options | Miod Vallat | |
actually work on unsigned char platforms. | |||
2015-09-10 | regen configure, reported by deraadt@ | Stuart Henderson | |
2015-09-10 | reduce .Nd to one line and kill .Tn while here | Ingo Schwarze | |
2015-09-10 | Remove compat files no longer required. | Stuart Henderson | |
2015-09-10 | Fix handling of compat/b64_{ntop,pton} by using __-prefixed versions directly, | Stuart Henderson | |
similar to what ssh does. Otherwise they need resolv.h including, which causes problems on OS with newer resolv.h/nameser.h headers which cause conflicts with NSD's T_xxx resource record #defines. autoconf bits adapted from tmux portable. ok florian@ | |||
2015-09-10 | fix return type for tls_read/write | Bob Beck | |
jointly with jsing@ | |||
2015-09-10 | fix type and return check for tls_read/write. | Bob Beck | |
jontly with jsing@ | |||
2010-01-15 | NSD v3.2.4 | Jakob Schlyter | |
2015-09-10 | Make syslogd compile again after recent libtls changes. Adapt to | Alexander Bluhm | |
new tls_read() and tls_write() calling semantics, adapt to TLS_WANT_POLLIN and TLS_WANT_POLLOUT renaming. OK beck@ | |||
2015-09-10 | fix after libtls api changes | Bob Beck | |
ok jsing@ | |||
2015-09-10 | fix after libtls api changes | Bob Beck | |
ok jsing@ | |||
2015-09-10 | Update httpd to call tls_handshake() after tls_accept_socket(). | Joel Sing | |
ok beck@ | |||
2015-09-09 | Hide YP-specific xdr_* functions, and have the YP tools link -lrpcsvc | Theo de Raadt | |
as needed. ok miod guenther | |||
2015-09-09 | Fix memory leak in error path when max length exceeded. | Todd C. Miller | |
From Michael McConville | |||
2015-09-09 | Remove more dead code. | Antoine Jacoutot | |
2015-09-09 | To double the receive buffer of a socketpair does not help as sending | Alexander Bluhm | |
checks the send buffer size. So double both buffer sizes. Moreover the default for sending is 2048 and for receiving is 4096. This makes the existing double buffer algorithm inconsistent. It is better to make the buffers large enough to hold 8 full length messages. Just make sure that it does not shrink. Keep the approach that doubles the buffer sizes. When we are low on buffers and cannot reach the full size, increase it as much as possible. While there, add consistent error messages. OK benno@ | |||
2015-09-09 | Remove unused code. | Antoine Jacoutot | |
2015-09-09 | Move and tweak a comment. | Antoine Jacoutot | |
2015-09-07 | when bypassing the enqueuer, insert Message-Id header if none was found and | Gilles Chehade | |
the client has connected from a loopback interface. ok millert@ eric@ | |||
2015-09-07 | append a slash immediately after a file system path that is a directory; | Igor Sobrado | |
uppercase the description of /var/run/iked.sock (found by jmc@); add missing full stop. ok jmc@ | |||
2015-09-07 | Fix a regression that was introduced with server.c r1.64: Do NOT free | Reyk Floeter | |
srv_conf->auth in serverconfig_free() because it was not allocated in config_getserver() but assigned as a reference by id from a global list that is maintained independently. This fixes a potential double-free. This fix also makes srv_conf->auth "const" to emphasize that the read-only auth pointer was not allocated here. OK jsing@ | |||
2015-09-07 | Simplify handling of sum files. | Antoine Jacoutot | |
2015-09-07 | No need to restore backup of sum files; once the new ones are installed, | Antoine Jacoutot | |
it means we already processed all relevant files. | |||
2015-09-06 | UINT_MAX would overflow the integer calculation later on, leading to | Tobias Stoeckmann | |
floating point exception just like -1 would do. Use INT_MAX, which is already way too high to make sense anyway. | |||
2015-09-06 | Avoid floating point exception when an invalid font width was specified. | Tobias Stoeckmann | |
Also print actually helpful error messages when command line arguments are invalid. ok miod@ | |||
2015-09-06 | hex array of bytes should be printed fixed-form; from Jihyun Yu | Theo de Raadt | |