Libcrafter generates bad Checksum with IP OPTION length of 40 bytes
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1.Set IP option, and generate 38 byte payload
unsigned char opt_arr[40];
ip_opt_h.SetOption(8);
ip_opt_h.SetPayload(opt_arr,38);
here is the IP header of the pkt with bad Checksum,
# 4f 00 02 fe 00 00 40 00 40 06 5c 20 be 6b d2 d3
# 41 94 2d 2c 88 28 d8 54 c4 05 b4 67 ea 22 b5 b3
# 2b ac 3e 11 5e 2a 6c 63 69 8e e2 c1 ac db b2 91
# 73 f3 38 aa 6b 10 fe 30 15 b3 97 ff
Original issue reported on code.google.com by mmuthuco...@gmail.com
on 6 Nov 2014 at 7:39
GoogleCodeExporter commented
[deleted comment]
GoogleCodeExporter commented
pushed a fix on master :
https://github.com/pellegre/libcrafter/commit/b88f825feae5e4c39b87679c26b6cd2c05
8af133
please let me know if is working on your side.
Original comment by pellegre...@gmail.com
on 9 Nov 2014 at 5:37
- Changed state: Fixed