Open GoogleCodeExporter opened 9 years ago
路由器是routeros 3.30,内核版本是2.6.27。
因为不能修改内核源码,是直接修改的二进制的ipv6.ko模块。
使用routeros自带的radvd。
估计是natpt66没有正常工作。
Original comment by wsgtr...@gmail.com
on 1 Aug 2011 at 3:07
我在2.6.27下编译时,出现一点小错误:
/root/napt66-read-only/napt66_ftp_alg.c: In function 'analysis_eprt':
/root/napt66-read-only/napt66_ftp_alg.c:334:20: error: 'IPPROTO_TCP' undeclared
(first use in this function)
/root/napt66-read-only/napt66_ftp_alg.c:334:20: note: each undeclared
identifier is reported only once for each function it appears in
make[2]: *** [/root/napt66-read-only/napt66_ftp_alg.o] Error 1
需要在napt66_ftp_alg.h引用头文件in.h
#include <linux/in6.h>
+#include <linux/in.h>
#include <net/ipv6.h>
Original comment by wsgtr...@gmail.com
on 1 Aug 2011 at 4:40
Original issue reported on code.google.com by
wsgtr...@gmail.com
on 1 Aug 2011 at 3:04