Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Alistair Tonner <Alistair@nerdnet.ca>
To: Craig <elitesyntax@yahoo.com>, netfilter@lists.netfilter.org
Subject: Re: iptable question
Date: Wed, 18 Jun 2003 11:20:35 -0400	[thread overview]
Message-ID: <200306181120.35468.Alistair@nerdnet.ca> (raw)
In-Reply-To: <20030618134048.90305.qmail@web14708.mail.yahoo.com>

On June 18, 2003 09:40 am, Craig wrote:
> How can i debug my iptables script?
>
>
>
> #!/bin/sh
> #
> # The location of the IPTables binary file on your
> system.

<<SNIPPED FOR BREVITY >>

> $IPT -A INPUT -p icmp --icmp-type 11 -j ACCEPT
> $IPT -A INPUT -p icmp --icmp-type 8 -m limit --limit
> 1/second -j ACCEPT
> $IPT -A INPUT -p icmp -j DROP
>
>
> =====
> EliteSyntax  www.linuxnewbie.org
>
>
>

	Depends on what your trying to find, but I've been inclined to put
	"echo" statements between groups of rules to catch where the 
	errors are occurring and then narrow the search from there.
	
	?? 40 character line wrap on your MTA?  or b0rked script?
	if the line wraps are like that in the script ... you need to fix that 
	before anything else.   If the wraps are from your MTA ... thats okay.

	Alistair Tonner
	nerdnet.ca
	Senior Systems Analyst - RSS
	
     Any sufficiently advanced technology will have the appearance of magic.
	Lets get magical!


  reply	other threads:[~2003-06-18 15:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18 13:40 iptable question Craig
2003-06-18 15:20 ` Alistair Tonner [this message]
2003-06-18 15:37   ` Elitesyntax
2003-06-18 17:26 ` Geffrey Velasquez
2003-06-18 18:32 ` Pascal Italiaander
2003-06-19  3:42   ` Elitesyntax

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=200306181120.35468.Alistair@nerdnet.ca \
    --to=alistair@nerdnet.ca \
    --cc=elitesyntax@yahoo.com \
    --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