Age | Commit message (Collapse) | Author |
|
new tls_read() and tls_write() calling semantics, adapt to
TLS_WANT_POLLIN and TLS_WANT_POLLOUT renaming.
OK beck@
|
|
ok jsing@
|
|
ok jsing@
|
|
ok beck@
|
|
as needed.
ok miod guenther
|
|
From Michael McConville
|
|
|
|
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@
|
|
|
|
|
|
the client has connected from a loopback interface.
ok millert@ eric@
|
|
uppercase the description of /var/run/iked.sock (found by jmc@);
add missing full stop.
ok jmc@
|
|
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@
|
|
|
|
it means we already processed all relevant files.
|
|
floating point exception just like -1 would do. Use INT_MAX, which is
already way too high to make sense anyway.
|
|
Also print actually helpful error messages when command line arguments
are invalid.
ok miod@
|
|
|
|
assignment and comparison.
ok deraadt@ looks correct millert@ jung@
|
|
These are the direct sources from NLnet Labs upstream, minus these:
compat contrib libunbound/python pythonmod testcode testdata winrc
ok deraadt@ jakob@
|
|
|
|
of syslogd(8) should be alike. syslogd: dropped 1 message
OK lteo@ millert@
|
|
use the global linebuf like the other libevent read callbacks.
OK jung@
|
|
using compact lists for FILES in the other manual pages. OK gilles@
|
|
config address passed through the boot parameter.
ok mlarkin
|
|
result of the < 0 test which would be 1.
ok gilles@
|
|
sessions being kicked if they generate too many consecutive errors.
remove the mechanism altogether until it is redesigned.
|
|
conflicts with other processes bound to a specific address with the
same port. Syslogd uses this socket basically for outgoing traffic
to remote UDP log servers, so increase the chance that it works.
OK jung@ benno@
|
|
ok beck millert miod
|
|
specific programm or host. It does not make sense to truncate the
string from the config at some character from a list. Just take
whatever the user specified as progname or hostname. If it contains
funky charactes it will not match and the action is not taken. This
fixes matching with IP addresses if syslogd is started with -n.
OK semarie@
|
|
|
|
pointed out by deraadt@
|
|
ok deraadt jung phessler
|
|
{Free,Net}BSD
- when a socket is closed with fds in its input, defer closing them to
a task to avoid recursing. This eliminates the complicated extra
reference taking which had a 37 line(!) comment explanation
- move flags, counts, and links only needed for this from struct file to
struct unpcb
- document the flow of the mark/sweep collector
much help from claudio@ who made me explain the GC to him until we trusted it
ok claudio@ mpi@ deraadt@
|
|
|
|
|
|
itself. For this it uses the original arguments of main(). The
function loghost_parse() modifies the optarg memory it is operating
on. To prevent that the exec arguments have been tampered, pass a
copy of optarg to loghost_parse().
OK deraadt@
|
|
address strings instead of strl{cpy,cat}(). Also make the function
return a valid string even in failure case.
input deraadt
ok deraadt
|
|
ok yasuoka@
|
|
we can use struct timespec throughout and avoid any conversion
issues which might cause jobs to fire prematurely. Secondly, it
eliminates a race condition that could delay us taking action on
SIGCHLD and SIGHUP. OK deraadt@ okan@ ratchov@
|
|
it is behind the size limit. As msg is not NUL-terminated in this
case, it depended on memory content wether syslogd will crash. So
using memcpy() and setting the NUL explicitly is the correct way.
OK deraadt@
|
|
Also use `return' instead of exit(3) in main().
Patch from Michael Reed
ok jmc
|
|
Patch from Michael Reed
|
|
Put /usr/share/sysmerge under XXX.
|
|
3 rotations so that we have history of modified files.
In batch mode, when a file cannot be handled automatically, remove it from
the checksum file so that the next interactive sysmerge(8) run will ask
to merge the changes.
ok rpe@
|
|
requested by several
discussed with deraadt@
|
|
variables to handle the "packed" binary format passed out to userland
when querying the prefix/router list. From NetBSD (Martin Husemann).
ok mpi@
|
|
drop the reply messages when "check icmp" is used with many hosts.
ok reyk benno
|
|
Found by deraadt@
OK blambert@
|
|
handling the HTTP methods in server_http.c which resulted in a 405
method not allowed error when trying to use it.
Fix by jaminh on github
|