RE: Network routing issue

From: Luesley, William
Date: Tue Aug 10 2004 - 14:44:02 EST




>> In order to help testing, I have been asked to place a third machine
between
>> these two which will be capable of intercepting and modifying any
messages.

>> My initial plan was to have a device which could mimic both ends of the
>> connection (as I already have code to do this); with each connection
being
>> on a separate NIC, leading to a setup as shown below:
>>
>> A ------------ C C ---------- B
>> 192.168.1.1 192.168.1.2 192.168.1.1 192.168.1.2
>> (eth0) (eth1)

>> Can I use IP Tables, how?
>>
>> Or, am I on totally the wrong track?

>You're on the wrong track. C doesnt even need IP addresses, two
>choices:

>- C as bridge and use ebtables (C doesnt even need addresses
>theoretically)

>- C as router, use iptables. C needs one or more addresses which must
>be different.

My problem is I need to modify the messages before passing them on. As far
as I'm aware, bridges don't do that - but then I'm a newbie when it comes to
bridging!

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/