To test this bug, I use the following rule:
bimap zx0 0/0 -> 1.1.1.3
and put that in a file called "tcpfrag.nat", with this block of text:
[out,zx0]
4500 00a0 0000 0100 3f06 7555 0101 0101 0201 0101
0401 0019 0000 0000 0000 0000 5010 2000 86b7 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000

put that in a file (with trailing blank line) called "tcpfrag.pkt"
and then run ipftest;

$ ipftest -F hex -N tcpfrag.nat -i tcpfrag.pkt
Segmentation fault (core dumped)

I'll add this as a test case when I commit the fix for the bug.

Cheers,
Darren


Reply via email to