I have a research work which requires tcp modification
and I want to implement my version of TCP listen() function
my idea is to use libpcap to capture all TCP SYN
packet from a specific port
and then use raw socket to create/send SYN/ACK and the following ACK packets
my questions are
- how is the traditional/regular TCP stack listen() implemented, can anyone briefly describe the mechanism?
- is my idea implementable? are there any tricks/barriers?
- are there any other libraries/source snippets which I can utilize to realize what I need?
thanks!