gophercap
gophercap copied to clipboard
General Question About Replay Limitations
Just curious if gophercap is capable of manipulating packets while replaying a previously recorded pcap file, i.e. can it manipulate syn and ack packets in real time in order to complete a successful handshake with a server?
Hi. No, it does not currently support manipulating packets. Could you elaborate your use-case? It sounds like you want to implement some kind of "replay session timeout" in case there was packet loss over the wire?
In that case it would require building a basic session table to decide if flow has naturally timed out or not. Currently gopher works only per packet level, only inserting time.Sleep() between packets to maintain intervals.