I have written a module which captures the packets from a HTTP client and it enriches some more information on the fly in HTTP GET request packet before forwarding it to the actual server. As I am increasing the total packet size by inserting more information in the actual TCP packet, so I have taken care of re-calculating the IP/TCP checksum, TCP Seq no./Ack no., IP length, thus my TCP/HTTP server is able to receive the enriched uplink packets but when my server replies back with the ACK or HTTP response packet, I never receive those downlink packets on my module. Seems they are getting dropped somewhere. I also validated that MSS during TCP connection establishment is large enough to accept my enriched packet at receiver.Please let me know if I need to take care of any other TCP parameter to make this enrichment work? Is there anything in window size that I need to change as well to make it work?Thanks
TCP downlink packets not reaching client
tcp;http