mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joshua Kwan <joshk@triplehelix.org>
To: "Richard B. Johnson" <root@chaos.analogic.com>
Cc: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: Everything gone!
Date: Wed, 19 Mar 2003 18:04:48 -0800	[thread overview]
Message-ID: <20030320020448.GC4821@triplehelix.org> (raw)
In-Reply-To: <Pine.LNX.4.53.0303191310570.32397@chaos>

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

On Wed, Mar 19, 2003 at 01:12:49PM -0500, Richard B. Johnson wrote:
> > > Perhaps:
> > >
> > > telnet target.system 25
> > > enter SMTP commands
> > > quit
> >
> > Normaly that would record the IP of the host doing the telnet.
> > (the first "Recieved: from" line in the log list where the original says
> > "Received: from localhost"....)
> 
> Yes. I just looked at maillog on that machine and all I had was
> the 'evidence' of me screwing with it to see. Apparently it wasn't
> used for forwarding mail as I thought.

Well, a nice way to do this is: (probably not syntactically correct..)

router# iptables -t nat -A PREROUTING -i lan0 -p tcp ! -s 
local.netework/12 -d ip.of.lan0 --dport 25 -j DROP

Depending on how your network is set up, this may or may not work... my 
server box itself is masq'd so this works nicely on my network.

Regards,
Josh

-- 
New PGP public key: 0x27AFC3EE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-03-20  1:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-19 15:46 Richard B. Johnson
2003-03-19 16:02 ` Richard B. Johnson
2003-03-19 17:33   ` John Jasen
2003-03-19 17:50     ` Richard B. Johnson
2003-03-19 17:55     ` Jesse Pollard
2003-03-19 18:12       ` Richard B. Johnson
2003-03-20  2:04         ` Joshua Kwan [this message]
2003-03-19 21:18   ` James H. Cloos Jr.
2003-03-19 16:04 ` Matthias Schniedermeyer
2003-03-19 16:21   ` Richard B. Johnson
2003-03-19 16:37   ` Xavier Bestel
2003-03-19 16:51     ` Eli Carter
2003-03-19 17:12       ` Xavier Bestel
2003-03-19 17:01     ` Richard B. Johnson
2003-03-19 18:23       ` Eric Weigle
2003-03-19 18:32         ` Matthias Schniedermeyer
2003-03-20  8:57       ` Sean Neakums

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030320020448.GC4821@triplehelix.org \
    --to=joshk@triplehelix.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®