Missing checksum calculation for redirected fragmented IPv6 packets

2014-05-22 Thread Matthias Pitzl
Hi! If fragmented IPv6 packets are redirected by pf, the code in pf_refragment6() of pf_norm.c lacks a call to in6_proto_cksum_out() to calculate the checksum for the packet before it is broken into fragments again. The attached diff fixes this problem in OpenBSD 5.5. -- Matthias --- sys/net/pf_n

Re: OpenBSD 5.5: uvm_fault in sysctl_file() while running netstat

2014-05-18 Thread Matthias Pitzl
On 14.05.2014 - 15:48:27, Philip Guenther wrote: > On Wed, 14 May 2014, Matthias Pitzl wrote: > > On our server running with OpenBSD 5.5 calling netstat sometimes lead to > > an uvm_fault in sysctl_file(). I can trigger the problem by running some > > of our tests which c

OpenBSD 5.5: uvm_fault in sysctl_file() while running netstat

2014-05-14 Thread Matthias Pitzl
Hi, On our server running with OpenBSD 5.5 calling netstat sometimes lead to an uvm_fault in sysctl_file(). I can trigger the problem by running some of our tests which create/delete a lot of files, open/close sockets etc. and call netstat -anv. Attached file contains dmesg, trace and ps output.