Mathew_Loesch
Jun 13, 2014Nimbostratus
Insert client IP into tcp payload
I have been searching the boards for weeks. I have communicated with about a dozen peers. None of us can figure out how to insert the client IP address into the tcp payload. My customer wants the following format of data inserted into the head of the packet payload. !IP=w.x.y.z! is there an easy way to accomplish this. All I can think of is to use the TCP::payload option to load the entire packet into memory, then re-create it with the relevant commands, and re-write it. I've tried this method but cannot get it to work. Please help with code sample if possible.