LampedWeb

Member
May 28, 2009
24
0
51
England
cPanel Access Level
Root Administrator
When trying to enable SMTP Tweak, I get an error. /var/log/messages contains:

Feb 26 17:59:30 server01 modprobe: FATAL: Module ip_tables not found.

iptables is clearly loaded and working because I have my own rules in place. lsmod includes xt_owner.

This is on a Xen VPS, CentOS 5.9.

If a fix isn't forthcoming in the near future, can you advise what rules this would implement, and I'll add it to my own firewall scripts.

If there's something I should tell my VPS hosts, please let me know.

Thanks
 

64u

Registered
Feb 26, 2013
1
0
1
cPanel Access Level
Root Administrator
Hi there,

What is your output for
#modprobe ip_tables

Have you recently updated your system? This can happen when certain updates are made to the kernel without a reboot as well.

can you also share which modules your system has loaded by running:
#ls /lib/modules/*/kernel/net/*/netfilter
 

LampedWeb

Member
May 28, 2009
24
0
51
England
cPanel Access Level
Root Administrator
Code:
# cd /etc/csf
-bash: cd: /etc/csf: No such file or directory

# modprobe ip_tables
FATAL: Module ip_tables not found.

# ls /lib/modules/*/kernel/net/*/netfilter
/lib/modules/2.6.24-25-xen/kernel/net/bridge/netfilter:
ebt_802_3.ko       ebtables.ko      ebt_dnat.ko   ebt_mark.ko      ebt_snat.ko
ebtable_broute.ko  ebt_among.ko     ebt_ip.ko     ebt_mark_m.ko    ebt_stp.ko
ebtable_filter.ko  ebt_arp.ko       ebt_limit.ko  ebt_pkttype.ko   ebt_ulog.ko
ebtable_nat.ko     ebt_arpreply.ko  ebt_log.ko    ebt_redirect.ko  ebt_vlan.ko

/lib/modules/2.6.24-25-xen/kernel/net/decnet/netfilter:
dn_rtmsg.ko

/lib/modules/2.6.24-25-xen/kernel/net/ipv4/netfilter:
arptable_filter.ko  ipt_ah.ko          ipt_REDIRECT.ko       nf_nat_ftp.ko
arp_tables.ko       ipt_CLUSTERIP.ko   ipt_REJECT.ko         nf_nat_h323.ko
arpt_mangle.ko      ipt_ecn.ko         ipt_SAME.ko           nf_nat_irc.ko
ip_queue.ko         ipt_ECN.ko         ipt_tos.ko            nf_nat.ko
iptable_filter.ko   ipt_iprange.ko     ipt_TOS.ko            nf_nat_pptp.ko
iptable_mangle.ko   ipt_LOG.ko         ipt_ttl.ko            nf_nat_proto_gre.ko
iptable_nat.ko      ipt_MASQUERADE.ko  ipt_TTL.ko            nf_nat_sip.ko
iptable_raw.ko      ipt_NETMAP.ko      ipt_ULOG.ko           nf_nat_snmp_basic.ko
ip_tables.ko        ipt_owner.ko       nf_conntrack_ipv4.ko  nf_nat_tftp.ko
ipt_addrtype.ko     ipt_recent.ko      nf_nat_amanda.ko

/lib/modules/2.6.24-25-xen/kernel/net/ipv6/netfilter:
ip6_queue.ko        ip6_tables.ko  ip6t_hbh.ko         ip6t_LOG.ko     ip6t_rt.ko
ip6table_filter.ko  ip6t_ah.ko     ip6t_hl.ko          ip6t_mh.ko      nf_conntrack_ipv6.ko
ip6table_mangle.ko  ip6t_eui64.ko  ip6t_HL.ko          ip6t_owner.ko
ip6table_raw.ko     ip6t_frag.ko   ip6t_ipv6header.ko  ip6t_REJECT.ko

/lib/modules/2.6.35.4/kernel/net/bridge/netfilter:
ebt_802_3.ko       ebt_among.ko     ebt_ip.ko      ebt_nflog.ko     ebt_ulog.ko
ebtable_broute.ko  ebt_arp.ko       ebt_limit.ko   ebt_pkttype.ko   ebt_vlan.ko
ebtable_filter.ko  ebt_arpreply.ko  ebt_log.ko     ebt_redirect.ko
ebtable_nat.ko     ebt_dnat.ko      ebt_mark.ko    ebt_snat.ko
ebtables.ko        ebt_ip6.ko       ebt_mark_m.ko  ebt_stp.ko

/lib/modules/2.6.35.4/kernel/net/ipv4/netfilter:
arptable_filter.ko   ipt_addrtype.ko    ipt_REDIRECT.ko   nf_nat_proto_dccp.ko
arp_tables.ko        ipt_ah.ko          ipt_ULOG.ko       nf_nat_proto_gre.ko
arpt_mangle.ko       ipt_CLUSTERIP.ko   nf_nat_amanda.ko  nf_nat_proto_sctp.ko
ip_queue.ko          ipt_ecn.ko         nf_nat_ftp.ko     nf_nat_proto_udplite.ko
iptable_mangle.ko    ipt_ECN.ko         nf_nat_h323.ko    nf_nat_sip.ko
iptable_nat.ko       ipt_LOG.ko         nf_nat_irc.ko     nf_nat_snmp_basic.ko
iptable_raw.ko       ipt_MASQUERADE.ko  nf_nat.ko         nf_nat_tftp.ko
iptable_security.ko  ipt_NETMAP.ko      nf_nat_pptp.ko

/lib/modules/2.6.35.4/kernel/net/ipv6/netfilter:
ip6_queue.ko        ip6table_security.ko  ip6t_frag.ko        ip6t_mh.ko
ip6table_filter.ko  ip6_tables.ko         ip6t_hbh.ko         ip6t_REJECT.ko
ip6table_mangle.ko  ip6t_ah.ko            ip6t_ipv6header.ko  ip6t_rt.ko
ip6table_raw.ko     ip6t_eui64.ko         ip6t_LOG.ko         nf_conntrack_ipv6.ko