All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaroslav Knespl <jaroslav@knespl.cz>
To: netfilter@lists.samba.org
Subject: ACCEPT ESTABLISHED doesn't work
Date: Thu, 09 May 2002 14:44:11 +0200	[thread overview]
Message-ID: <3CDA6F1B.8020302@knespl.cz> (raw)

Hi all,

I use following rules (not only :-) in my fw script:


$IPTABLES -A INPUT -i $INTERNAL -m state --state INVALID -j DROP
$IPTABLES -A INPUT -i $INTERNAL -m state --state RELATED,ESTABLISHED -j 
ACCEPT

but when I try to connect to w98 using smbmount or smbclient it still 
drops returning packets. I think that they should be ESTABLISHED packets 
and should be accepted. Can you help me to find, where is a problem?

Relevant syslog message:

May  9 13:22:02 fw kernel: Rule21:IN=eth0 OUT= 
MAC=00:02:1b:f1:50:26:00:50:fc:50:24:6c:08:00 SRC=192.168.1.72 
DST=192.168.1.2 LEN=90 TOS=0x00 PREC=0x00 TTL=128 ID=39856 PROTO=UDP 
SPT=137 DPT=32784 LEN=70

where 192.168.1.2 is linuxbox from where I am trying to connect w98 
computer with ip 192.168.1.72 and Rule21 is the last rule in the INPUT 
table:

 $IPTABLES -A INPUT -j LOG --log-prefix="Rule21:"

Default policy of INPUT table is DROP

I am using Debian woody with 2.4.18 kernel and iptables v1.2.5

ucar






                 reply	other threads:[~2002-05-09 12:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3CDA6F1B.8020302@knespl.cz \
    --to=jaroslav@knespl.cz \
    --cc=netfilter@lists.samba.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.