Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Erik Ahlner" <whyz@home.se>
To: netfilter@lists.netfilter.org
Subject: Re: Should i be worried?
Date: Wed, 29 Jan 2003 01:45:04 +0100	[thread overview]
Message-ID: <003801c2c72f$aa18af50$0200a8c0@whyzpc> (raw)
In-Reply-To: 0B2759D401C1D211ACA500805FFE2C3F0860BE22@cmxserv3.hilton.com


----- Original Message -----
From: "Preston Wade" <Preston_Wade@hilton.com>
To: "'Erik Ahlner'" <whyz@home.se>; <netfilter@lists.netfilter.org>
Sent: Wednesday, January 29, 2003 12:30 AM
Subject: RE: Should i be worried?


> This rule would allow someone outside your firewall to route to your
> internal boxes.  I wouldn't accept all connection from the external
> interface to the internal interface.
>
> $IPTABLES -A FORWARD -i $EXTIF -o $INTIF -j ACCEPT

you're right.. you reccon this would be better?
$IPTABLES -A FORWARD -i $EXTIF -o $INTIF -m state --state
ESTABLISHED,RELATED -j ACCEPT


> Also I wouldn't have a default policy of ACCEPT for the INPUT chain
either.
> $IPTABLES -P INPUT ACCEPT
>
>
> Anyway.... the log entry below is interesting because it shows that the
> packet came in on eth0 and went out eth0, but given the source and
> destination addresses I would think it would have came in on one interface
> and gone out a different.  The first two look like DNS queries based on
the
> DPT, but the source port is that of a NetBIOS service.  The last entry
looks
> like potentially a legitimate web request.
>
> Which interface is your outside?
> Can you show us the output of a netstat -nr?
>

eth0 is the nic to the outside..
and sure, here comes the output from netstat -nr!

Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
130.236.146.0   0.0.0.0         255.255.255.0   U        40 0          0
eth0
192.168.0.0     0.0.0.0         255.255.255.0   U        40 0          0
eth1
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
0.0.0.0         130.236.146.1   0.0.0.0         UG       40 0          0
eth0

thanks



  reply	other threads:[~2003-01-29  0:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-28 23:30 Should i be worried? Preston Wade
2003-01-29  0:45 ` Erik Ahlner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-29  5:11 Preston Wade
2003-01-28 22:29 Erik Ahlner
2003-01-28 23:24 ` Athan
2003-01-29  1:17 ` Arnt Karlsen

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='003801c2c72f$aa18af50$0200a8c0@whyzpc' \
    --to=whyz@home.se \
    --cc=netfilter@lists.netfilter.org \
    /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