Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Rafael Dreher <dreher@interage.com.br>
To: Royce Kemp <rkemp@ip3.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Unable to add rule on Chain with 28 characters.
Date: Mon, 11 Jul 2005 10:11:54 -0300	[thread overview]
Message-ID: <42D2701A.4030205@interage.com.br> (raw)
In-Reply-To: <6.0.1.1.2.20050708131029.01f2b9a8@insight.ip3.com>

So, that's a BUG.

Why iptbles let me add a chain with 30 characters, if I can't use this chain?

[root@ward] [10:07:54]
[~]#iptables -t nat -N 123456789012345678901234567890

[root@ward] [10:08:05]
[~]#iptables -t nat -A POSTROUTING -j 123456789012345678901234567890
iptables: No chain/target/match by that name

Hey, gurus, can anyone help me? :)

Thank's

Royce Kemp wrote:
> I have run into this problem as well. Learn to stick to 28 characters.
> 
> -r
> 
> At 01:01 PM 7/8/2005, 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. :)
>>
>> [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.
>>
>> Thank's
>>
>> -- 
>> Rafael Dreher
>>
>> -:: Red Hat Certified Engineer ::-
>> -:: Nr: 807303498507617 ::-
>> http://www.redhat.com/training/certification/verify
> 
> 
> 
> 


-- 
Rafael Dreher
-:: Interage Integradora ::-
-:: Pesquisa e Desenvolvimento ::-
-:: www.gatepro.com.br || www.interage.com.br ::-
-:: Red Hat Certified Engineer ::-
-:: Nr: 807303498507617 ::-
http://www.redhat.com/training/certification/verify


  reply	other threads:[~2005-07-11 13:11 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
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 [this message]
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=42D2701A.4030205@interage.com.br \
    --to=dreher@interage.com.br \
    --cc=netfilter@lists.netfilter.org \
    --cc=rkemp@ip3.com \
    /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