pod2man --stderr

2013-03-30 Thread Stuart Henderson
Use --stderr to output pod2man problems at build time, rather than embed them into a POD ERRORS section in the produced manpages (see ExtUtils::Installed(3p) for an example of how it looks without this). OK? Index: Makefile.bsd-wrapper1

sdiff: buffer overflow in diffargv

2013-03-30 Thread Tobias Stoeckmann
Hi, sdiff makes a false assumption about diffargv: /* * Allocate memory for diff arguments and NULL. * Each flag has at most one argument, so doubling argc gives an * upper limit of how many diff args can be passed. argv[0], * file1, and file2 won't have arguments so doubling them will *

sdiff: memory leak in parsecmd

2013-03-30 Thread Tobias Stoeckmann
Hi, there is a memory leak in sdiff occurring while parsing ed commands in parsecmd (which is feeded basically by diff's output through a pipe). The function xfgets uses fparseln, which means that the return value should be freed. This is not the case for the variable line. Also, there is a

pf divert and ipsec

2013-03-30 Thread Alexander Bluhm
Hi, Do not transfer diverted packets into IPsec processing. They should reach the socket that the user has specified in pf.conf. ok? bluhm Index: netinet/ipsec_input.c === RCS file:

pflogd: move_log cleanup

2013-03-30 Thread Tobias Stoeckmann
Hi, the privileged part of pflogd is responsible to move bad log files out of the way, i.e. ones that cannot be parsed. The current code could end up in an endless loop if all possible files exist. Also, it doesn't clean up after a failed rename() attempt, leaving a dead file behind. I have

SO_BINDANY for raw IPv6 sockets

2013-03-30 Thread Alexander Bluhm
Hi, Make the SO_BINDANY socket option also work for raw IPv6 sockets. ok? bluhm Index: netinet6/raw_ip6.c === RCS file: /data/mirror/openbsd/cvs/src/sys/netinet6/raw_ip6.c,v retrieving revision 1.50 diff -u -p -r1.50 raw_ip6.c ---

tedu IPv6 default scope

2013-03-30 Thread Alexander Bluhm
Hi, There is no IPv6 default scope in OpenBSD. Remove leftovers. No binary change. ok? bluhm Index: netinet6/raw_ip6.c === RCS file: /data/mirror/openbsd/cvs/src/sys/netinet6/raw_ip6.c,v retrieving revision 1.50 diff -u -p -r1.50

raw IPv6 sockets for IPsec

2013-03-30 Thread Alexander Bluhm
Hi, Allow raw IPv6 sockets for IPsec protocols. ok? bluhm Index: netinet6/in6_proto.c === RCS file: /data/mirror/openbsd/cvs/src/sys/netinet6/in6_proto.c,v retrieving revision 1.65 diff -u -p -r1.65 in6_proto.c ---

poison shuffling

2013-03-30 Thread Ted Unangst
here's diff x/y. most of the big pieces in place, so now I want to rearrange the deckchairs just the way I like. A bunch of unreleated changes collected here instead of mailing out a pile of overlapping diffs you could never apply independently. This settles things down in prep for some more