Interesting ipchains Challenge

From: Linux-Mike (mbaysek_at_yahoo.com)
Date: 12/30/04

  • Next message: paul_at_atom.sbrk.co.uk: "Re: Interesting ipchains Challenge"
    Date: 29 Dec 2004 23:13:47 -0800
    
    

    I'm trying to setup a test environment for two mail servers to receive
    the exact same email in order to compare the two for spam detection
    accuracy. I thought that a novel way to do this would be to implement
    the following ipchains rules, but I don't know if ipchains can do what
    I need it to...

    For traffic coming in on port 25, accept the packet locally, untouched,
    and deliver it to the SMTP Daemon. Additionally, take all data coming
    in on Port 25 to my IP address (10.1.1.1) and send a copy of it out,
    changing the destination IP address from 10.1.1.1 to 10.1.1.2 (the test
    server).

    The desired result is:

    1) Not change the live mail server in any way that affects processing
    of mail.
    2) Final result to have two mail servers, one for users, and one for me
    to play mad scientist with. Both servers receive the exact same email,
    without passing through local MTA's and contaminating the headers.
    Can I use ipchains to accomplish this?


  • Next message: paul_at_atom.sbrk.co.uk: "Re: Interesting ipchains Challenge"