QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 646|回复: 3

关于iptables

[复制链接]
发表于 2003-12-21 11:53:05 | 显示全部楼层 |阅读模式
我的系统原来没有防火墙,所以就在网上下载一个,可是却安装不了,知道的请帮我一下,谢谢
如下

[fy@localhost iptables-1.2.9]$ ls
COPYING              ip6tables-save.8        iptables-save.8
extensions           ip6tables-save.c        iptables-save.c
include              ip6tables-standalone.c  iptables-standalone.c
INCOMPATIBILITIES    ippool                  iptables-standalone.d
INSTALL              iptables.8              libipq
ip6tables.8          iptables.c              libiptc
ip6tables.c          iptables.d              libiptc2
ip6tables-restore.8  iptables-restore.8      Makefile
ip6tables-restore.c  iptables-restore.c      Rules.make
[fy@localhost iptables-1.2.9]$ su   
Password:
[root@localhost iptables-1.2.9]# make
Extensions found:
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.9\"  -fPIC -o extensions/libipt_conntrack_sh.o -c extensions/libipt_conntrack.c
In file included from extensions/libipt_conntrack.c:14:
include/linux/netfilter_ipv4/ipt_conntrack.h:28: `IP_CT_DIR_MAX' undeclared here (not in a function)
include/linux/netfilter_ipv4/ipt_conntrack.h:29: `IP_CT_DIR_MAX' undeclared here (not in a function)
include/linux/netfilter_ipv4/ipt_conntrack.h:29: `IP_CT_DIR_MAX' undeclared here (not in a function)
extensions/libipt_conntrack.c: In function `parse_status':
extensions/libipt_conntrack.c:109: `IPS_EXPECTED' undeclared (first use in this function)
extensions/libipt_conntrack.c:109: (Each undeclared identifier is reported only once
extensions/libipt_conntrack.c:109: for each function it appears in.)
extensions/libipt_conntrack.c:111: `IPS_SEEN_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c:113: `IPS_ASSURED' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `parse':
extensions/libipt_conntrack.c:212: `IP_CT_DIR_ORIGINAL' undeclared (first use in this function)
extensions/libipt_conntrack.c:269: `IP_CT_DIR_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `print_status':
extensions/libipt_conntrack.c:378: `IPS_EXPECTED' undeclared (first use in this function)
extensions/libipt_conntrack.c:382: `IPS_SEEN_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c:386: `IPS_ASSURED' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `matchinfo_print':
extensions/libipt_conntrack.c:440: `IP_CT_DIR_ORIGINAL' undeclared (first use in this function)
extensions/libipt_conntrack.c:460: `IP_CT_DIR_REPLY' undeclared (first use in this function)
make: *** [extensions/libipt_conntrack_sh.o] Error 1
 楼主| 发表于 2003-12-21 23:36:58 | 显示全部楼层
顶一下,帮帮忙呀
回复

使用道具 举报

发表于 2003-12-23 20:02:00 | 显示全部楼层
如果你的系统中又iptables,你可以下载个脚本,然后修改之。而没有必要去编译上面的什么程序。
回复

使用道具 举报

 楼主| 发表于 2003-12-23 21:10:13 | 显示全部楼层
可是我的系统中好象没有IPTABLES呀输入whereis iptables则显示iptables:输入iptables也不行
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 10:07 , Processed in 0.042688 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表