From: Steve Turnbull <steve.turnbull@yhgfl.net>
To: netfilter@lists.netfilter.org
Subject: Re: No chain/target/match by that name
Date: Sun, 05 Sep 2004 19:32:48 +0100 [thread overview]
Message-ID: <413B5BD0.8070905@yhgfl.net> (raw)
In-Reply-To: <200409051351.03018.Alistair@nerdnet.ca>
Alistair Tonner wrote:
> On September 5, 2004 10:31 am, Steve Turnbull wrote:
>
>>Hi
>>
>>Our web server is configured;
>>Debian (Woody) (No X installed)
>>Kernel 2.4.23 - configured with iptables in mind
>>iptables v1.2.6a
>>
>>When we start the firewall script, we get this message;
>>'No chain/target/match by that name'
>
>
> urmm ... try rebuilding iptables code against this kernel?
>
> I'm not sure about Debian's packages, but is it possible that the iptables
> code is precompiled here?
I have just rebuilt the Kernel - I daren't reboot into it until I am on
site tomorrow - we will see what happens, I have added various
components along side the existing ones.
>
>
>>The firewall works however, but is constantly logging;
>>'Sep 5 16:00:52 www kernel: Input: IN=eth0 OUT=
>>MAC=00:e0:81:29:01:75:00:07:85:06:c2:e1:08:00 SRC=195.92.195.93
>>DST=195.92.38.54 LEN=302 TOS=0x00 PREC=0x00 TTL=61 ID=0 DF PROTO=UDP
>>SPT=53 DPT=32833 LEN=282'
>
>
> This looks like a reply to a DNS query. It the state rule below didn't get
> accepted this looks correct.
>
>
>>Something is ammis here, and we can't ping out from the server with the
>>firewall running, also, we can't use Lynx to browse. Turn the firewall
>>off and all is well for both of these.
>
>
> You haven't included any rules here that regard ICMP -- no pings.
I was meaning I couldn't ping out FROM the server. The rule for
outgoing traffic is accept all - "iptables -P OUTPUT ACCEPT", this is
why I was confused about the inability to ping or browse with Lynx outbound.
>
>
>>Has anybody got any ideas what is wrong? Our firewall rule is below.
>>
>>Regards
>>Steve
>>
>>
>>
>>#!/bin/sh
>>
>>
>>#
>># This is the firewall up script.
>>#
>>
>>#
>># Lets start by dropping all incoming traffic and allowing all
>># outbound traffic
>>#
>>
>>iptables -P INPUT DROP
>>iptables -P FORWARD DROP
>>iptables -P OUTPUT ACCEPT
>>
>>
>>
>># Flush any existing rules...
>>iptables -F
>>
>>
>># Allow any established connections to come on through...
>>iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
>>
>>
>># This is a web server. We only require access to http ports
>># 80,21,53 and 443. New ports to allow will be added here...
>>iptables -A INPUT -p tcp --dport 80 -j ACCEPT
>>iptables -A INPUT -p tcp --dport 443 -j ACCEPT
>>
>>#ssh
>>iptables -A INPUT -p tcp --dport 22 -j ACCEPT
>>
>>#ftp
>>iptables -A INPUT -p tcp --dport 21 -j ACCEPT
>>
>>#DNS
>>iptables -A INPUT -p tcp --dport 53 -j ACCEPT
>>iptables -A INPUT -p udp --dport 53 -j ACCEPT
>>
>>
>># Allow the loopback connection...
>>iptables -A INPUT -i lo -j ACCEPT
>>
>>
>># Log stuff that doesn't match above rules...
>>iptables -A INPUT -j LOG --log-prefix="Input: "
>
>
--
Steve Turnbull
Digital Content Developer
YHGfL Foundation
t 01724 275030
e steve.turnbull@yhgfl.net
next prev parent reply other threads:[~2004-09-05 18:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-05 14:31 No chain/target/match by that name Steve Turnbull
2004-09-05 14:54 ` Jason Opperisano
2004-09-05 15:52 ` Steve Turnbull
2004-09-05 15:55 ` Steve Turnbull
2004-09-05 16:41 ` Jose Maria Lopez
2004-09-05 17:51 ` Alistair Tonner
2004-09-05 18:32 ` Steve Turnbull [this message]
2004-09-06 23:38 ` Steve Turnbull
-- strict thread matches above, loose matches on Subject: below --
2009-03-17 10:19 Vlad
2009-03-17 10:20 ` Jan Engelhardt
[not found] ` <49BF7B71.2080801@gmx.net>
[not found] ` <alpine.LSU.2.00.0903171131220.18190@fbirervta.pbzchgretzou.qr>
[not found] ` <49BF7D72.7010401@gmx.net>
2009-03-17 10:44 ` Jan Engelhardt
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=413B5BD0.8070905@yhgfl.net \
--to=steve.turnbull@yhgfl.net \
--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 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.