seclab-ucr / INTANG

GNU General Public License v3.0
2.85k stars 566 forks source link

intang daemon exited (because of iptables error?) #6

Open Felix-ZJU opened 7 years ago

Felix-ZJU commented 7 years ago

dear developpers,

i am in mainland China. thank you very much for providing such a tool.

however i am afraid that i need your help.

i tried to install INTANG on Ubuntu 16.04 x64. i followed the instructions in README, and the compilation and run seems simple enough. when i run the script, information is printed as follows:

felix@ubuntu:~/INTANG-master$ ./run.sh
Daemon has started.
The logs can be found in /var/log/intangd.log
felix@ubuntu:~/INTANG-master$ iptables: Bad rule (does a matching rule exist in that chain?).
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.

felix@ubuntu:~/INTANG-master$

and the log file is as follows:

felix@ubuntu:~/INTANG-master$ cat /var/log/intangd.log
1509716127.002127 [INFO] Current version: 7
1509716127.002374 [INFO] Starting redis server.
1509716127.212800 [INFO] Saving TTL to redis
1509716127.228370 [INFO] Killing redis server (pid 42007).
1509716127.228454 [INFO] Daemon exited.

i have no idea what caused the daemon stopping. can you please give me some hint on what to do? thanks for your time

Felix-ZJU commented 7 years ago

p.s. the ubuntu 16.04 runs in a VM. the net is NAT mode rather than bridge mode. The WLAN interface on the host has access to the internet while the LAN is not connected. i tried to switch to Bridge mode, but the network seems not working. i'll explain more if needed.

felix@ubuntu:~/INTANG-master$ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination

Chain FORWARD (policy ACCEPT) target prot opt source destination

Chain OUTPUT (policy ACCEPT) target prot opt source destination

D0048 commented 7 years ago

Experiencing the same here under ubuntu 16.04 in a physical machine.

yalong1221 commented 7 years ago

[aaron@localhost INTANG]$ sudo cat /var/log/intangd.log
1510406002.774565 [INFO] Previous version 0, current version 7
1510406002.774604 [INFO] Deleting redis DB due to version update.
1510406002.774628 [WARNING] Failed to delete redis db. errno: 2
1510406002.774724 [INFO] Starting redis server.
1510406003.342409 [INFO] Building sync connection with redis server.
1510406003.342603 [INFO] Sync connection built successfully.
1510406003.342705 [INFO] Loading historical results from redis.
1510406003.342755 [INFO] Connecting to TCP DNS server.
1510406003.342806 [INFO] Loading TTL from redis.
1510406003.342871 [INFO] Async connection built successfully.
1510406003.489426 [INFO] Connected to TCP DNS server.
1510406019.506883 [ERROR] Send keep alive packet failed. errno: 32
1510406019.507079 [INFO] Connecting to TCP DNS server.
1510406019.574953 [INFO] Connected to TCP DNS server.
[aaron@localhost INTANG]$ sudo cat /var/log/intangd.log
1510406002.774565 [INFO] Previous version 0, current version 7
1510406002.774604 [INFO] Deleting redis DB due to version update.
1510406002.774628 [WARNING] Failed to delete redis db. errno: 2
1510406002.774724 [INFO] Starting redis server.
1510406003.342409 [INFO] Building sync connection with redis server.
1510406003.342603 [INFO] Sync connection built successfully.
1510406003.342705 [INFO] Loading historical results from redis.
1510406003.342755 [INFO] Connecting to TCP DNS server.
1510406003.342806 [INFO] Loading TTL from redis.
1510406003.342871 [INFO] Async connection built successfully.
1510406003.489426 [INFO] Connected to TCP DNS server.
1510406019.506883 [ERROR] Send keep alive packet failed. errno: 32
1510406019.507079 [INFO] Connecting to TCP DNS server.
1510406019.574953 [INFO] Connected to TCP DNS server.
1510406066.963934 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 1845602496_17066_25480141_20480_17
1510406067.198777 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 1845602496_52361_2514420878_20480_6
[aaron@localhost INTANG]$ sudo cat /var/log/intangd.log
1510406002.774565 [INFO] Previous version 0, current version 7
1510406002.774604 [INFO] Deleting redis DB due to version update.
1510406002.774628 [WARNING] Failed to delete redis db. errno: 2
1510406002.774724 [INFO] Starting redis server.
1510406003.342409 [INFO] Building sync connection with redis server.
1510406003.342603 [INFO] Sync connection built successfully.
1510406003.342705 [INFO] Loading historical results from redis.
1510406003.342755 [INFO] Connecting to TCP DNS server.
1510406003.342806 [INFO] Loading TTL from redis.
1510406003.342871 [INFO] Async connection built successfully.
1510406003.489426 [INFO] Connected to TCP DNS server.
1510406019.506883 [ERROR] Send keep alive packet failed. errno: 32
1510406019.507079 [INFO] Connecting to TCP DNS server.
1510406019.574953 [INFO] Connected to TCP DNS server.
1510406066.963934 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 1845602496_17066_25480141_20480_17
1510406067.198777 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 1845602496_52361_2514420878_20480_6
[aaron@localhost INTANG]$ sudo cat /var/log/intangd.log
1510406002.774565 [INFO] Previous version 0, current version 7
1510406002.774604 [INFO] Deleting redis DB due to version update.
1510406002.774628 [WARNING] Failed to delete redis db. errno: 2
1510406002.774724 [INFO] Starting redis server.
1510406003.342409 [INFO] Building sync connection with redis server.
1510406003.342603 [INFO] Sync connection built successfully.
1510406003.342705 [INFO] Loading historical results from redis.
1510406003.342755 [INFO] Connecting to TCP DNS server.
1510406003.342806 [INFO] Loading TTL from redis.
1510406003.342871 [INFO] Async connection built successfully.
1510406003.489426 [INFO] Connected to TCP DNS server.
1510406019.506883 [ERROR] Send keep alive packet failed. errno: 32
1510406019.507079 [INFO] Connecting to TCP DNS server.
1510406019.574953 [INFO] Connected to TCP DNS server.
1510406066.963934 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 1845602496_17066_25480141_20480_17
1510406067.198777 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 1845602496_52361_2514420878_20480_6
[aaron@localhost INTANG]$ Daemon exited unexpectedly. Signal 11 recved.`
yalong1221 commented 7 years ago

centos 7 not work