SCIENTIFIC-LINUX-USERS Archives

April 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Connie Sieh <[log in to unmask]>
Reply To:
Connie Sieh <[log in to unmask]>
Date:
Thu, 6 Apr 2006 14:47:17 -0500
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (46 lines)
On Thu, 6 Apr 2006, Angel Tsankov wrote:

> >> >> > How can I setup an SL 4.2 to write 1 to /proc/sys/net/ipv4/ip_forward instead of 0 at boot time?
> >> >>
> >> >> It turns out that I need to apply patch-o-matic to the kernel source and recompile.
> >> >> Where can I find SL sources?
> >> >>
> >> >
> >> > I do not think you need to do patch-o-matic to do ip_forward.  If you need
> >> > the kernel sources they are at
> >> >
> >> > ftp://ftp.scientificlinux.org/linux/scientific/4.x/SRPMS/vendor/errata/
> >>
> >> In fact, the URL is
> >>
> >> ftp://ftp.scientificlinux.org/linux/scientific/42/SRPMS/vendor/errata/
> >>
> >> I downloaded the kernel sources and I'm going to patch and recompile them to fix the bug with "iptables -t mangle -j TTL" 
> >> producing
> >> "No chain/target/match by that name".
> >
> > What are you expecting to change?
> 
> Well, this is what I get:
> 
> [root@VM2 ~]# iptables -t mangle -A POSTROUTING -j TTL --ttl-set 1
> iptables: No chain/target/match by that name
> [root@VM2 ~]#
> 
> Do you think this is what I should get? 
> 

Did you check to see if the ttl kernel module is loaded with lsmod?
If it is not there then you need to load it.  You can just test it with

  modprobe /lib/modules/2.6.9-34.EL/kernel/net/ipv4/netfilter/ipt_ttl.ko

Substitute 2.6.9-34.EL with your kernel version.

If that works then put it in 

  /etc/sysconfig/iptables-config


-Connie Sieh

ATOM RSS1 RSS2