forge_socket
forge_socket copied to clipboard
TCP_REPAIR?
Hi,
I believe that most (if not all) options that can be queried and set using the interface provided by forge_socket
are exposed by the TCP_REPAIR feature that was introduced in Linux 3.5 and extended to support inspecting/setting window parameters in Linux 4.8. Documentation is sparse, but there is a good overview of the feature in https://lwn.net/Articles/495304/. I have successfully used TCP_REPAIR for handing off TCP connections from zmap to a custom scan process.
Cheers, -Hilko