iptstate 설치 문제 요청드립니다.
작성자 정보
- 홍석범 작성
- 작성일
컨텐츠 정보
- 3,495 조회
- 0 추천
- 목록
본문
안녕하십니까? 홍석범입니다.
일단 메시지로는 해당 경로에서 헤더파일을 찾지 못해 발생하는 것 같은데요..
가능하면 아래 경로에서 rpm binary를 설치하는 것도 좋은 생각인 것 같습니다...
http://rpmfind.net/linux/rpm2html/search.php?query=iptstate
감사합니다.
이경진 님의 글
make시 아래와 같은 오류가 나오는데 libnetfilter_conntrack오류가 왜 발생하는지 모르겠습니다.
커널에서 ipt_conntrack 모듈로 컴파일해서 올렸습니다.
lsmod하면 ipt_conntrack 모듈로 올라와 있습니다.
- iptables에서 -m state를 쓰는데 에러 메시지는 나오지 않습니다.
- iptraf는 잘 컴파일되고 작동됩니다.
- README에 있는 ncurses , ncurses-devel 패키지도 설치되어 있습니다.
- P-O-M 패치에서 base로 했습니다.
- 2.4.35커널에서 make 했습니다.
- iptstate 2.2.1 버전 설치했습니다.
[iptstate-2.2.1]# make
+------------------------------------------------------------+
| Welcome to IP Tables State by Phil Dibowitz |
| |
| PLEASE read the LICENSE and the README for important info. |
| |
| You may also wish to read the README for install info, |
| the WISHLIST for upcoming features, BUGS for known bugs |
| and info on bug reports, and the Changelog to find out |
| what's new. |
| |
| Let's compile... |
+------------------------------------------------------------+
g++ -g -Wall -O2 iptstate.cc -o iptstate -lncurses -lnetfilter_conntrack
iptstate.cc:60:67: libnetfilter_conntrack/libnetfilter_conntrack.h: 그런 파일이나 디렉토리가 없음
iptstate.cc:192: use of enum `nf_conntrack_msg_type' without previous
declaration
iptstate.cc: In function `void build_table(flags_t&, const filters_t&,
std::vector >&, counters_t&, max_t&)':
iptstate.cc:1022: `CONNTRACK' undeclared (first use this function)
iptstate.cc:1022: (Each undeclared identifier is reported only once for each
function it appears in.)
iptstate.cc:1022: `nfct_open' undeclared (first use this function)
iptstate.cc:1028: `NFCT_T_ALL' undeclared (first use this function)
iptstate.cc:1028: `nfct_callback_register' undeclared (first use this function)
iptstate.cc:1029: `NFCT_Q_DUMP' undeclared (first use this function)
iptstate.cc:1029: `nfct_query' undeclared (first use this function)
iptstate.cc:1036: `nfct_close' undeclared (first use this function)
iptstate.cc: In function `int conntrack_hook(nf_conntrack_msg_type,
nf_conntrack*, void*)':
iptstate.cc:1042: `nf_type' has incomplete type
iptstate.cc:192: forward declaration of `enum nf_conntrack_msg_type'
iptstate.cc: In function `int conntrack_hook(nf_conntrack_msg_type,
nf_conntrack*, void*)':
iptstate.cc:1084: `ATTR_ORIG_L4PROTO' undeclared (first use this function)
iptstate.cc:1084: `nfct_get_attr_u8' undeclared (first use this function)
iptstate.cc:1092: `ATTR_TIMEOUT' undeclared (first use this function)
iptstate.cc:1092: `nfct_get_attr_u32' undeclared (first use this function)
iptstate.cc:1102: `ATTR_ORIG_IPV4_SRC' undeclared (first use this function)
iptstate.cc:1103: `ATTR_ORIG_IPV4_DST' undeclared (first use this function)
iptstate.cc:1106: `ATTR_ORIG_COUNTER_BYTES' undeclared (first use this
function)
iptstate.cc:1108: `ATTR_ORIG_COUNTER_PACKETS' undeclared (first use this
function)
iptstate.cc:1120: `ATTR_ORIG_PORT_SRC' undeclared (first use this function)
iptstate.cc:1120: `nfct_get_attr_u16' undeclared (first use this function)
iptstate.cc:1122: `ATTR_ORIG_PORT_DST' undeclared (first use this function)
iptstate.cc:1128: `ATTR_TCP_STATE' undeclared (first use this function)
iptstate.cc:1139: `ATTR_ICMP_TYPE' undeclared (first use this function)
iptstate.cc:1140: `ATTR_ICMP_CODE' undeclared (first use this function)
iptstate.cc:1141: `ATTR_ICMP_ID' undeclared (first use this function)
iptstate.cc:1179: `NFCT_CB_CONTINUE' undeclared (first use this function)
iptstate.cc: In function `void delete_state(WINDOW*&, const table_t&, const
flags_t&)':
iptstate.cc:3020: `nfct_new' undeclared (first use this function)
iptstate.cc:3044: `ATTR_ORIG_L3PROTO' undeclared (first use this function)
iptstate.cc:3044: `nfct_set_attr_u8' undeclared (first use this function)
iptstate.cc:3046: `nfct_set_attr_u32' undeclared (first use this function)
iptstate.cc:3054: `nfct_set_attr_u16' undeclared (first use this function)
iptstate.cc:3069: `NFCT_Q_DESTROY' undeclared (first use this function)
make: *** [iptstate] 오류 1
관련자료
-
이전
-
다음