How to drop a packet? #41
-
There are some packets I want to drop entirely through a module. How would I accomplish this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, thanks for trying out my little tool. Dropping packets (as in, TCP packets) ist not possible. It's a TCP proxy and therefore works on streams of data. The proxy does not see packets, you are reading data through file descriptors. Dropping packets while mitm-ing a connection is quite involved, you would need to keep track of sequence numbers and modify every subsequent packet. This is beyond the scope of this tool. |
Beta Was this translation helpful? Give feedback.
-
Moved this to a discussion thread, in case I misunderstood what you want to do. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for trying out my little tool. Dropping packets (as in, TCP packets) ist not possible. It's a TCP proxy and therefore works on streams of data. The proxy does not see packets, you are reading data through file descriptors.
Dropping packets while mitm-ing a connection is quite involved, you would need to keep track of sequence numbers and modify every subsequent packet. This is beyond the scope of this tool.