* change TTL value
@ 2004-04-08 16:13 Roeland Moors
2004-04-09 7:06 ` Rob Sterenborg
0 siblings, 1 reply; 3+ messages in thread
From: Roeland Moors @ 2004-04-08 16:13 UTC (permalink / raw)
To: netfilter
I'm trying to change the value of the TTL field with this line:
$IPTABLES -t mangle -A PREROUTING -i $INET_IFACE -p igmp -j TTL --ttl-inc 1
But when I try to execute this I have this error:
iptables: No chain/target/match by that name
This seems to be the problem: -j TTL --ttl-inc 1
But I found it in the manpage:
iptables -j TTL --help:
...
--ttl-inc value Increment TTL by <value>
...
What am I doing wrong?
uname -a:
Linux server 2.6.2 #1 Thu Apr 8 12:02:31 CEST 2004 i686 GNU/Linux
modprobe -l:
/lib/modules/2.6.2/kernel/net/ipv4/ipip.ko
/lib/modules/2.6.2/kernel/net/ipv4/ip_gre.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/iptable_nat.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/iptable_mangle.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/iptable_filter.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_ttl.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_tos.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_tcpmss.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_state.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_recent.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_pkttype.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_owner.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_multiport.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_mark.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_mac.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_limit.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_length.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_iprange.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_helper.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_esp.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_ecn.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_dscp.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_conntrack.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_ah.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_ULOG.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_TOS.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_TCPMSS.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_SAME.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_REJECT.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_REDIRECT.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_NETMAP.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_MASQUERADE.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_MARK.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_LOG.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_ECN.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_DSCP.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_CLASSIFY.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ip_tables.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ip_nat_irc.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ip_nat_ftp.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ip_conntrack_irc.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ip_conntrack.ko
/lib/modules/2.6.2/kernel/net/ipv4/netfilter/ip_conntrack_ftp.ko
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: change TTL value
2004-04-08 16:13 change TTL value Roeland Moors
@ 2004-04-09 7:06 ` Rob Sterenborg
[not found] ` <407669BA.8040203@pandora.be>
0 siblings, 1 reply; 3+ messages in thread
From: Rob Sterenborg @ 2004-04-09 7:06 UTC (permalink / raw)
To: Roeland Moors, netfilter
> I'm trying to change the value of the TTL field with this line:
> $IPTABLES -t mangle -A PREROUTING -i $INET_IFACE -p igmp -j TTL --ttl-inc
1
>
> But when I try to execute this I have this error:
> iptables: No chain/target/match by that name
Did you compile TTL target support as a module ?
I don't see it in the module list (non-targets deleted), which means you
don't have TTL target support, unless you compiled it into the kernel (but I
don't think so).
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_ULOG.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_TOS.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_TCPMSS.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_SAME.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_REJECT.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_REDIRECT.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_NETMAP.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_MASQUERADE.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_MARK.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_LOG.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_ECN.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_DSCP.ko
> /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_CLASSIFY.ko
Gr,
Rob
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: change TTL value
[not found] ` <004901c41e1a$7ee2c3f0$1202a8c0@admin>
@ 2004-04-09 11:16 ` Roeland Moors
0 siblings, 0 replies; 3+ messages in thread
From: Roeland Moors @ 2004-04-09 11:16 UTC (permalink / raw)
To: netfilter
On Fri, Apr 09, 2004 at 12:07:41PM +0200, Rob Sterenborg wrote:
> > >>I'm trying to change the value of the TTL field with this line:
> > >>$IPTABLES -t mangle -A PREROUTING -i $INET_IFACE -p igmp
> > >> -j TTL --ttl-inc 1
> > >
> > >>But when I try to execute this I have this error:
> > >>iptables: No chain/target/match by that name
> > >
> > >
> > > Did you compile TTL target support as a module ?
> > > I don't see it in the module list (non-targets deleted), which means you
> > > don't have TTL target support, unless you compiled it into the kernel
> (but I
> > > don't think so).
> > >
> >
> > /lib/modules/2.6.2/kernel/net/ipv4/netfilter/ipt_ttl.ko
> > Isn't this the TTL target module?
>
> AFAIK target modules have uppercase chars, match modules have all lowercase
> chars.
>
Thanks, this is probably the problem, I think I have to install
patch-o-matic for this module.
--
Roeland
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-09 11:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-08 16:13 change TTL value Roeland Moors
2004-04-09 7:06 ` Rob Sterenborg
[not found] ` <407669BA.8040203@pandora.be>
[not found] ` <004901c41e1a$7ee2c3f0$1202a8c0@admin>
2004-04-09 11:16 ` Roeland Moors
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.