Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Slackware 10 w/ ip_nat_ftp and ip_conntrack_ftp modules?

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux Networking
Author Message
shunchu



Joined: 18 Apr 2004
Posts: 19

Posted: Wed Jul 21, 2004 5:47 pm    Post subject: Slackware 10 w/ ip_nat_ftp and ip_conntrack_ftp modules?  

Hi,

I got Slackware 10 (small) up and running w/ everything working just great. However, when I tried getting iptables to work, I can't seem to find the following modules to load:

ip_nat_ftp
ip_conntrack_ftp

When issued
Code: modprobe ip_nat_ftp
I get
Code: FATAL: Could not load /lib/modules/2.4.26-linode31-1um/modules.dep: No such file or directory
The same thing for
Code: modprobe ip_conntrack_ftp
I get
Code: FATAL: Could not load /lib/modules/2.4.26-linode31-1um/modules.dep: No such file or directory
When I ls "/lib/modules", the dir is empty. Doing a "locate ip_conntrack_ftp" does give me this:
Code: /usr/include/linux/netfilter_ipv4/ip_conntrack_ftp.h
Being somewhat new to the Linux OS, where/how do I get the modules for Slackware?

On a minor but separate issue... "man" command also isn't installed in Slackware 10 (small). Issuing "man" gets me
Code: -bash: man: command not found
After issuing "swaret --install man", I installed man-1.5l-i386-1 and man-pages-1.60-noarch-1. Then doing a "man ls" gets me this error:
Code: sh: line 1: /usr/bin/gtbl: No such file or directory
sh: line 1: /usr/bin/nroff: No such file or directory
lines ?-?/? (END)
Any idea how to get "man" to work?

Thank you...
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Wed Jul 21, 2004 5:56 pm    Post subject:  

Modules are disabled in the Linode kernels since they would present a security problem (insmod gimmie_host_shell, or insmod hack_me_to_host, or something). However, everything you need should already be compiled into the kernel:

http://www.linode.com/forums/viewtopic.php?t=1006

CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_CONNTRACK=y

As far as your "man" problem (no pun intended), it looks to me like man has dependencies on gtbl and nroff.

-Chris
Back to top  
shunchu



Joined: 18 Apr 2004
Posts: 19

Posted: Wed Jul 21, 2004 6:10 pm    Post subject:  

caker wrote: Modules are disabled in the Linode kernels since they would present a security problem (insmod gimmie_host_shell, or insmod hack_me_to_host, or something). However, everything you need should already be compiled into the kernel:

http://www.linode.com/forums/viewtopic.php?t=1006

CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_CONNTRACK=y
So w/o having to load the modules physically, everything should just "automagically" work, eh? I'll give that a shot... Thanks..

Quote: As far as your "man" problem (no pun intended), it looks to me like man has dependencies on gtbl and nroff.
Hah! Let me see what i need to do to resolve that... Thanks again...
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Wed Jul 21, 2004 6:12 pm    Post subject:  

shunchu wrote: So w/o having to load the modules physically, everything should just "automagically" work, eh?
Yes.

-Chris
Back to top  
shunchu



Joined: 18 Apr 2004
Posts: 19

Posted: Thu Jul 22, 2004 2:16 am    Post subject:  

caker wrote: shunchu wrote: So w/o having to load the modules physically, everything should just "automagically" work, eh?
Yes.

-Chris
This is simply incredible... Works as advertised!

And for future newbies... to get "gtbl" and "nroff", install "groff" and all problems are solved....

Cheers!
Back to top  
 
       Linode.com Forum Forum Index -> Linux Networking
Page 1 of 1