Networking Forums

Networking Forums > Computer Networking > Linux Networking > Interesting ipchains Challenge

Reply
Thread Tools Display Modes

Interesting ipchains Challenge

 
 
Linux-Mike
Guest
Posts: n/a

 
      12-30-2004, 06:13 AM
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?

 
Reply With Quote
 
 
 
 
paul@atom.sbrk.co.uk
Guest
Posts: n/a

 
      12-30-2004, 08:45 AM
In article <(E-Mail Removed) om>, Linux-Mike wrote:
> 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).


TCP utilises handshaking, acknowledgments, retransmission, window sizing and
all sorts of things that are not going to make any implementation of this
reliable.

Maybe you could either use a proxy that receives the mail and distributes
it to multiple servers, or just use something like rsync to keep the mail
spools on both systems identical.

Paul
 
Reply With Quote
 
7
Guest
Posts: n/a

 
      01-01-2005, 01:39 AM
(E-Mail Removed) wrote:

> In article <(E-Mail Removed) om>,
> Linux-Mike wrote:
>> 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).

>
> TCP utilises handshaking, acknowledgments, retransmission, window sizing
> and all sorts of things that are not going to make any implementation of
> this reliable.
>
> Maybe you could either use a proxy that receives the mail and distributes
> it to multiple servers, or just use something like rsync to keep the mail
> spools on both systems identical.
>
> Paul


Also I would think that two separate servers are not going
get identical e-mail. The way spammers foil this type of
detection is to add random characters inside the mail and/or subject
headings etc when sening to different recipients.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network challenge Mervin Williams Windows Networking 9 08-03-2006 12:44 PM
Password Challenge Henry Lifton Windows Networking 3 11-15-2004 08:58 PM
FreeSwan Challenge John Smith Linux Networking 0 09-02-2004 08:08 AM
Generating ipchains command from ipchains -L output. Vitto Linux Networking 4 03-06-2004 06:09 PM
Basic IP challenge :-) Dev_Prog Windows Networking 4 01-20-2004 08:52 AM



1 2 3 4 5 6 7 8 9 10 11