tomek32 Tux's lil' helper
Joined: 30 May 2004 Posts: 139
|
Posted: Sat Sep 04, 2004 6:57 pm Post subject: netfilter modules |
|
|
Right now, I'm compiling all netfilter modules as modules in the kernel. I'd like to only have to compile only the ones I use, but I'm not sure which ones those are.
Code: | # lsmod | grep ^ip
ipt_TOS 1920 12
ipt_REJECT 5376 4
ipt_pkttype 1312 4
ipt_LOG 5600 9
ipt_state 1504 9
ipt_multiport 1600 0
ipt_conntrack 2048 0
iptable_mangle 2080 1
ip_nat_irc 3280 0
ip_nat_tftp 2704 0
ip_nat_ftp 3952 0
iptable_nat 20908 3 ip_nat_irc,ip_nat_tftp,ip_nat_ftp
ip_conntrack_irc 70192 1 ip_nat_irc
ip_conntrack_tftp 2832 0
ip_conntrack_ftp 70960 1 ip_nat_ftp
ip_conntrack 28232 9 ipt_state,ipt_conntrack,ip_nat_irc,ip_nat_tftp,ip_nat_ftp,iptable_nat,ip_conntrack_irc,ip_conntrack_tftp,ip_conntrack_ftp
iptable_filter 2144 1
ip_tables 14912 10 ipt_TOS,ipt_REJECT,ipt_pkttype,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_mangle,iptable_nat,iptable_filter |
Now my question is, do I need the modules which are being used by 0 other modules? For example, I don't run a ftp server, so do I need the stuff related to ftp? |
|