Unable to add rule on Chain with 30 characters.
Rafael Dreher
dreher at interage.com.br
Fri Jul 8 22:10:05 CEST 2005
Hi,
I'm trying do add a rule on a user-defined chain, on the NAT table, with exactly 30 characters.
The chain have bee added without any problem, but when I add the rule, iptables says that it's unable do find the chain.
See bellow:
-----------------------------------------------------------------------
[root at ward] [16:55:58]
[~]#iptables -t nat -N ecommerce-internet at POSTROUTING
[root at ward] [16:56:01]
[~]#iptables -t nat -A POSTROUTING -j ecommerce-internet at POSTROUTING
iptables: No chain/target/match by that name
[root at ward] [16:56:19]
[~]#iptables -t nat -N 123456789012345678901234567890
[root at ward] [17:04:15]
[~]#iptables -t nat -A POSTROUTING -j 123456789012345678901234567890
iptables: No chain/target/match by that name
[root at ward] [17:04:23]
[~]#
-------------------------------------------------------------------------
If I reduce the chain to 28 characters, it works. I'm trying to migrate a set of rules form iptables-1.2.11 to 1.3.1,
and I don't want to rewrite the rules.
Someone can help me?
My iptables version: 1.3.1
My kernel version: 2.4.31
POM-Patches:
CLASSIFY
SAME
comment
NETMAP
iprange
quota
time
IPMARK
ROUTE
account
h323-conntrack-nat
ipp2p
l7-filter-pom-1.4
mms-conntrack-nat
msnp-conntrack-nat
pptp-conntrack-nat
quake3-conntrack-nat
string
mport
Thanks in advance.
--
Rafael Dreher
-:: Red Hat Certified Engineer ::-
-:: Nr: 807303498507617 ::-
http://www.redhat.com/training/certification/verify
More information about the netfilter-devel
mailing list