Results 1 to 2 of 2
We're trying to redirect a streaming video protocol. We have no access to the source of the client or server. White hat MITM-ish.
The client and server are expecting the ...
- 07-14-2011 #1Just Joined!
- Join Date
- Jul 2011
- Posts
- 1
Many TCP connections through one port (iptables or C?)
We're trying to redirect a streaming video protocol. We have no access to the source of the client or server. White hat MITM-ish.
The client and server are expecting the commands (play, pause, etc) via a TCP connection. If this session is broken, the client and server both reset (don't want this).
Can only have a single TCP bind on a port right? We were thinking of having a listener on the port required. This listener could exec iptable commands. Is it possible to use iptables to redirect incoming traffic from one port to another based on mac address? (each client can only play one video at once, as a spec).
What is the best iptables tutorial out there? (if you can redirect based on MAC)
** I noticed the media server we're using (runs in java in linux) can maintain two TCP connections on the same port. Can play two different videos with the same port speced in the URL. Any idea how they'd do this?
THANK YOU!
- 07-15-2011 #2
You can use IPTABLES to redirect. Take a look at this TUTORIAL.


Reply With Quote