FreeBSD 9.0 generates incorrect SEC/ACK numbers under load

2012-03-29 Thread Sergey Smitienko
traffic hits the wire. So it's not a NIC fault. Server is running nginx and serving static content 200-500 request per second. Any ideas ? -- Sergey Smitienko ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fre

Re: FreeBSD 9.0 generates incorrect SEC/ACK numbers under load

2012-03-30 Thread Sergey Smitienko
Here you go, two sessions, one with win set in Syn/Ack packet and other with separate "windows open" Ack packet. 16:59:47.629750 IP (tos 0x0, ttl 123, id 55648, offset 0, flags [DF], proto TCP (6), length 48) 195.64.148.12.61153 > 193.178.147.113.80: Flags [S], cksum 0x5721 (correct), seq 770

Re: FreeBSD 9.0 generates incorrect SEQ/ACK numbers under load

2012-03-30 Thread Sergey Smitienko
30.03.12 18:13, Andre Oppermann wrote: > On 30.03.2012 15:04, Sergey Smitienko wrote: >> Here you go, two sessions, one with win set in Syn/Ack packet and other >> with separate "windows open" Ack packet. > > Thanks for the tcpdumps. The window update issue seems to

pf with divert is not working properly. FreeBSD 9.1

2013-01-16 Thread Sergey Smitienko
quot;, inet_ntoa(ip->ip_dst)); printf ("TTL %d, PROTO %d, hlen %d, CSUM %x\n", ip->ip_ttl, ip->ip_p, ip->ip_hl, ip->ip_sum); udp = (struct udphdr*) (packet + ip->ip_hl*4); printf ("UDP src_port %d, dst_port %d\n"