I have a linux box with 2 nics. I'd like to run Ettercap as MiTM to apply a filter to change HTTP traffic passing through. Besided HTTP traffic, loads of multicast UDP traffic (software distribution) is passing through, so Ettercap's performance is really slow. Too slow to make it work this way..
- creating my own bridge on the linux machine (using brctl). Ettercap can sniff the traffic on the bridge but not change it.
- apply a tcpdump-style filter to only let TCP (http) traffic run through ettercap. This does not work because ettercap needs IP's assigned to both nics, which is not the case when bridging..
Can anyone help me out how to do this? Maybe it is possible to seperate TCP from UDP traffic and only let TCP trafic run through ettercap and let UDP traffic pass through BR0(my brctl bridge). I don't know how to do this..