Page 5 of 33
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 2:01 am
				by Spine
				Iptables rules AdBlock plug-in conflict with the rules of the plugin TOR.
After installing the AdBlock names of zone .onion are not resolved.
			 
			
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 5:10 am
				by Lantis
				Can you give me more information please?
I don't use TOR so it's going to be very difficult for me to test.
			 
			
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 6:26 am
				by Spine
				Lantis,
TOR uses the following rules:
Code: Select all
iptables -t nat -A tor_client -p tcp --dport 53  -m string --hex-string '|056f6e696f6e00|' --algo bm -j REDIRECT --to-ports  9053
iptables -t nat -A tor_client -p udp --dport 53  -m string --hex-string '|056f6e696f6e00|' --algo bm -j REDIRECT --to-ports  9053
AdBlock add these:
Code: Select all
iptables -t nat -I PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -I PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
and requests for port 53 in TOR is not processed.
As a workaround, I disabled the addition of rules AdBlock, my clients use as a DNS address of the router so it works without them.
 
			 
			
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 9:04 am
				by Lantis
				Ahh. 
Ok, that looks like a reasonably unsolvable conflict. Let me work on it. 
For now, I'm going to mark them as incompatible. 
Thanks for reporting the problem.
			 
			
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 1:30 pm
				by tapper
				Hi Lantis can you test to see if ads are still blocked after a reboot. Sometimes when my box reboots ads are not blocked and I have to log on to the web interface and click the update button.
			 
			
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 5:22 pm
				by Lantis
				It should be fine. My router reboots once a week with no problems after. 
You're not scheduling a reboot for Sunday's at 4am are you? Cause that will cause a drama lol.
			 
			
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 6:05 pm
				by ispyisail
				Cause that will cause a drama lol.
???
 
			 
			
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 6:12 pm
				by Lantis
				The adblock plugin currently updates its list at 4am on a Sunday. If you have a reboot scheduled for the same time (which, i accidentally did 2 weeks ago) you'll find that it stops working.
This is because the first part of updating is to remove the old list to make sure we have plenty of room for the new list.
the reboot happens just moments after that process completes successfully.
trust me, i was very confused for a while when that happened. 

 
			 
			
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 6:45 pm
				by ispyisail
				why were you up at 4:00am anyway. That was the real problem 

 
			 
			
					
				Re: Adblock Plugin
				Posted: Tue Aug 04, 2015 7:07 pm
				by Lantis
				Says the guy with the new baby 
