On Tue, Jan 28, 2003 at 10:45:36AM -0500, Dave Pochopsky wrote: >Hi, > >I?m trying to build a linux application with >similarities to a bridge (transparent, relay data >between networks). The difference being is that I >want to process all incoming packets and possibly >modify them and then send them out from the >application. I am new to this area and any help you >can provide would be greatly appreciated. Are their >drivers which already exist that I can use or do I >have to implement my own. I have some bridge software >but it will take me a while to figure out what needs >to be modified (not familiar with most functions >used).
Never tried that, but here's a guess. setup your bridge run your program listening to 127.0.0.1:666 on the input chain nat the ip/port you want to change to 127.0.0.1:666 have your program output to the initial ip/port (or it might be easier to nat back responses) You may need to '-i ! lo' on the nat. // George -- GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229 Security Services, Web, Mail, mailto:[EMAIL PROTECTED] Multimedia, DB, DNS and Metrics. http://www.galis.org/george _______________________________________________ Bridge mailing list [EMAIL PROTECTED] http://www.math.leidenuniv.nl/mailman/listinfo/bridge
