aniketpanjwani / chomper

Internet blocker for the Linux desktop.
https://addictedto.tech/chomper/
GNU General Public License v3.0
356 stars 43 forks source link

Bug: Error whon running block #53

Open MaltheMM opened 5 years ago

MaltheMM commented 5 years ago

I've done my best to install on ArcoLinux (arch) I went through the install script for debian and converted all commands that didn't for me and located the proper places to put files and the proper files to modify.

I am however getting an error when i run "chomper coding 30" (just trying to test if it worked)

iptables v1.8.3 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?) 
Perhaps iptables or your kernel needs to be upgraded.
modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/5.2.7-arch1-1-ARCH
ip6tables v1.8.3 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): Couldn't load match `owner':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.3 (legacy): Couldn't load match `owner':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/5.2.7-arch1-1-ARCH
ip6tables v1.8.3 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/5.2.7-arch1-1-ARCH
ip6tables v1.8.3 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
Did not enact new block. Old block still in effect until 2019-08-10 22:04:00.

I'm running the latest iptables from the arch repos, I've tried using iptables-nft instead but then I just get

iptables/1.8.3 Failed to initialize nft: Protocol not supported
ip6tables/1.8.3 Failed to initialize nft: Protocol not supported
iptables/1.8.3 Failed to initialize nft: Protocol not supported
iptables/1.8.3 Failed to initialize nft: Protocol not supported
ip6tables/1.8.3 Failed to initialize nft: Protocol not supported
ip6tables/1.8.3 Failed to initialize nft: Protocol not supported
Did not enact new block. Old block still in effect until 2019-08-10 22:04:00.

As you can see from the last line, chomper thinks it's blocking me, but I can still browse freely. My guess is that the I can browse freely is because of the errors... so how do I fix them? If it matters I'm using firefox

I'm a relative linux noob and amazed that I managed to get it running, even if not functioning, at all.

ulises-castro commented 3 years ago

any updates?