Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Roger <roger@efn.org>
To: netfilter@lists.netfilter.org
Subject: whois
Date: Thu, 26 Sep 2002 18:37:43 -0700	[thread overview]
Message-ID: <20020926183743.A2461@efn.org> (raw)


I'm having problems setting a rule to allow 'whois' queries.
With the following:
iptables -A OUTPUT  -o eth+ -p tcp --dport 43 -m state --state 
NEW,ESTABLISHED -j ACCEPT

iptables -A INPUT -i eth+ -p tcp --sport 43 -m state --state ESTABLISHED 
-j ACCEPT

with any unmatching being logged, there is a log entry for inbound tcp to 
port 43

I was under the impression that since I'm originating the request, then 
the input should come through since it is an established connection.  If I 
modify the INPUT rule to allow NEW,ESTABLISHED then it works.

other services that I have set up in a similar fashion seem to work.

Any idea what's going on?

tia.
Roger

-- 


             reply	other threads:[~2002-09-27  1:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-27  1:37 Roger [this message]
2002-09-27  5:56 ` whois Rasmus Bøg Hansen

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=20020926183743.A2461@efn.org \
    --to=roger@efn.org \
    --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