From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: Unable to add rule on Chain with 28 characters.
Date: Fri, 8 Jul 2005 16:09:38 -0400 [thread overview]
Message-ID: <20050708200937.GA7325@bender.817west.com> (raw)
In-Reply-To: <42CEDB7F.3060609@interage.com.br>
On Fri, Jul 08, 2005 at 05:01:03PM -0300, Rafael Dreher wrote:
> >>Hi,
> >>
> >>I'm trying do add a rule on a user-defined chain, on the NAT table, with
> >>28 characters.
> >
> >
> >my guess is you're leaving out the '-t nat' as custom chains only exist
> >in the table they're created in:
> >
>
> Hi, again.
>
> I guess no. :)
provide more info next time and i won't have to guess. :-D
> [root@ward] [16:55:58]
> [~]#iptables -t nat -N ecommerce-internet@POSTROUTING
>
> [root@ward] [16:56:01]
> [~]#iptables -t nat -A POSTROUTING -j ecommerce-internet@POSTROUTING
> iptables: No chain/target/match by that name
>
> [root@ward] [16:56:19]
> [~]#
>
> Am I crazy? :)
>
> This chain has 30 characters... the max.. if I reduce it to 28, it's added
> wihtout any problem.
(note: your OP said the error was with the 28 char chain)
it looks like 29 characters is the max:
30 char chain name:
# iptables -t nat -N PubABFZhrRJgwChbszxazNssqWKWB
# iptables -t nat -A PREROUTING -j PubABFZhrRJgwChbszxazNssqWKWB
iptables: No chain/target/match by that name
29 char chain name:
# iptables -t nat -N PubABFZhrRJgwChbszxazNssqWKW
# iptables -t nat -A PREROUTING -j PubABFZhrRJgwChbszxazNssqWKW
#
-j
--
"Peter: This party couldn't be better if Jesus was here.
Jesus: For my next miracle, I will turn water... into FUNK."
--Family Guy
next prev parent reply other threads:[~2005-07-08 20:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-08 19:00 Unable to add rule on Chain with 28 characters Rafael Dreher
2005-07-08 19:50 ` Jason Opperisano
2005-07-08 20:01 ` Rafael Dreher
2005-07-08 20:09 ` Jason Opperisano [this message]
2005-07-08 20:11 ` Jason Opperisano
2005-07-09 10:23 ` Jan Engelhardt
2005-07-08 20:10 ` Royce Kemp
2005-07-11 13:11 ` Rafael Dreher
2005-07-11 13:15 ` Jan Engelhardt
2005-07-11 13:22 ` Rafael Dreher
-- strict thread matches above, loose matches on Subject: below --
2005-07-08 18:53 Rafael Dreher
2005-07-11 10:57 ` John A. Sullivan III
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=20050708200937.GA7325@bender.817west.com \
--to=opie@817west.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 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.