← Back to team overview

rohc team mailing list archive

[Question #266555]: Outer IP packet structure not recognized

 

New question #266555 on rohc:
https://answers.launchpad.net/rohc/+question/266555

Hi Didier,
                  When I am trying to compress the stream of TCP/IP packets that are read using raw socket it gave me  "the outer IP packet is not correct (bad checksum)" trace on the console leading my packet to go uncompressed. How could I make this TCP packet recognizable.




#05:19:27:922729#SH: IP packet <DestAddr=192.168.0.30, SourceAddr=172.16.0.25, SourcePort=2425, DestPort=1256, 
PN=6 ToS=0, Size=1500>

#05:19:27:923309#CE: Compressing the IP packet...
[net_pkt.c:75 net_pkt_parse()] outer IP header: 1500 bytes
[net_pkt.c:77 net_pkt_parse()] outer IP header: version 4
[net_pkt.c:82 net_pkt_parse()] outer IP header: next header is of type 6
[net_pkt.c:87 net_pkt_parse()] outer IP header: next layer is of type 6
[rohc_comp.c:4608 c_get_profile_from_packet()] try to find the best profile for packet with transport protocol 6
[rohc_comp.c:4621 c_get_profile_from_packet()] skip disabled profile 'IP/UDP/RTP' (0x0001)
[c_generic.c:715 c_generic_check_profile()] the outer IP packet is not correct (bad checksum)
[rohc_comp.c:4632 c_get_profile_from_packet()] skip profile 'IP/UDP' (0x0002) because it does not match packet
[rohc_comp.c:4621 c_get_profile_from_packet()] skip disabled profile 'IP/UDP-Lite' (0x0008)
[rohc_comp.c:4621 c_get_profile_from_packet()] skip disabled profile 'IP/ESP' (0x0003)
[c_generic.c:715 c_generic_check_profile()] the outer IP packet is not correct (bad checksum)
[rohc_comp.c:4632 c_get_profile_from_packet()] skip profile 'IP/TCP' (0x0006) because it does not match packet
[c_generic.c:715 c_generic_check_profile()] the outer IP packet is not correct (bad checksum)
[rohc_comp.c:4632 c_get_profile_from_packet()] skip profile 'IP-only' (0x0004) because it does not match packet
[rohc_comp.c:4813 rohc_comp_find_ctxt()] using profile 'Uncompressed' (0x0000)
[rohc_comp.c:4843 rohc_comp_find_ctxt()] using context CID = 0
[rohc_comp.c:1435 rohc_compress4()] compress the packet #6
[c_uncompressed.c:643 uncompressed_code_packet()] build normal packet
[c_uncompressed.c:807 uncompressed_code_normal_packet()] code normal packet (CID = 0)
[c_uncompressed.c:826 uncompressed_code_normal_packet()] small CID 0 encoded on 0 byte(s)
[c_uncompressed.c:832 uncompressed_code_normal_packet()] header length = 0, payload length = 1500
[rohc_comp.c:1563 rohc_compress4()] copy full 1499-byte payload
[rohc_comp.c:1573 rohc_compress4()] ROHC size = 1500 bytes (header = 1, payload = 1499), output buffer size = 2500
#05:19:27:924377#luchar_ComStatus=0
#05:19:27:924438#CE: ROHC packet after compression: 1500


-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.