Hi,
My moblock suddenly blocks all my internet traffic, and I've tried various workarounds mentioned in the Ubuntu Help page, and this thread, but still no luck:
My platform: Ubuntu 8.10
Kernel: Custom Kernel 2.6.27.10 (but used to work fine with moblock)
Firewall Settings : NONE (ufw is not loaded)
Moblock Version:
moblock_0.9~rc2-21+intrepid_i386
moblock-control_1.1-1+intrepid_i386
My /etc/defaults/moblock settings are as follows:
(My LAN ip is 192.168.0.x)
Code:
WHITE_TCP_OUT="80 443 1863 22"
WHITE_TCP_IN="22"
WHITE_IP_IN="192.168.0.0/24"
WHITE_IP_OUT="192.168.0.0/24"
My /etc/moblock/allow.p2p is as follows:
Code:
192.168.0.1-192.168.0.255
My p2p applications are running properly as I can see usual upload/download status, but my moblock doesn't seem to follow the rules given in the /etc/defaults/moblock.
If I ping www.google.com, it returns: unknown host www.google.com, it only responses after the moblock is turned off
I've even disabled *ALL the lists* written in the /etc/moblock/blocklists.list, and did a moblock-control update && moblock-control restart, still the same, all my internet traffic are still blocked.
Code:
sudo moblock-control test
Trying to ping 4.2.144.95 from /etc/moblock/guarding.p2p ...
* MoBlock marked the IP to be blocked and the IP did not answer. Test succeeded.
tail -f /var/log/moblock.log shows that moblock is still doing it's job, ie. :
Code:
Fri Jan 9 11:41:24| IN: Beijing Teletron Telecom Engineering Co., Ltd.,hits: 12,SRC: 124.207.144.194
Fri Jan 9 11:41:24| IN: China Digital Kingdom Technology Co.,Ltd,hits: 9,SRC: 60.247.1.87
Fri Jan 9 11:41:24| OUT: TELEFONICA DE ESPANA,hits: 12,DST: 88.5.247.177
However, /var/log/moblock-control.log seems to have some errors:
Code:
CST Begin: moblock-control restart
Deleting iptables ...iptables v1.4.0: Couldn't load target `moblock_in':/lib/iptables/libipt_moblock_in.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.0: Couldn't load target `moblock_out':/lib/iptables/libipt_moblock_out.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.0: Couldn't load target `moblock_fw':/lib/iptables/libipt_moblock_fw.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
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
[fail]
* There occured some errors during the deletion of the iptables rules.
* The most common reason for this is that they did not exist, because MoBlock
* was not running. In this case you don't have to worry.
* But if MoBlock was running there is some problem. Most probably you have
* installed another firewall application that did delete the iptables rules.
* A "moblock-control restart" will then fix the situation.
Executing /etc/moblock/iptables-custom-remove.sh ... [ OK ]
Stopping MoBlock ... [ OK ]
Inserting iptables ... [ OK ]
Executing /etc/moblock/iptables-custom-insert.sh ... [ OK ]
Starting MoBlock ... [ OK ]
Can anyone please help me?
Thanks!
---
SOLVED --- PUT MY DNS SERVER'S IP INTO /etc/moblock/allow.p2p AND IT STARTS TO WORK!
Perhaps the recent blocklist update from tbg.iblocklist.com have included my DNS IP for some reason....
Bookmarks