udp fragmentation

Vadym Chepkov vchepkov at gmail.com
Mon Jun 4 21:11:07 UTC 2007


Max,

This is exactly the same problem I have experienced before and I wrote it in 
"Scrub problem" note on April, 14
I see amanda packets get lost after normalization and you are right, this is 
exactly what happening - bad checksum for reassembled UDP packets:


$ netstat -ssp udp
udp:
        14461468 datagrams received
        38 with bad checksum
        470 with no checksum
        56858 dropped due to no socket
        182267 broadcast/multicast datagrams dropped due to no socket
        14222305 delivered
        24009318 datagrams output

Jun  4 16:38:24 gateway kernel: pf_normalize_ip: reass frag 65286 @ 0-1480
Jun  4 16:38:24 gateway kernel: pf_normalize_ip: reass frag 65286 @ 
1480-2337
Jun  4 16:38:24 gateway kernel: pf_reassemble: 2337 < 2337?
Jun  4 16:38:24 gateway kernel: pf_reassemble: complete: 0xc4eb1300(2357)

$ netstat -ssp udp
udp:
        14461572 datagrams received
        39 with bad checksum
        470 with no checksum
        56858 dropped due to no socket
        182273 broadcast/multicast datagrams dropped due to no socket
        14222402 delivered
        24009422 datagrams output

Sincerely,
Vadym Chepkov



More information about the freebsd-pf mailing list