Page 52 of 53

Re: [App] Rooting E, F and H Bluray

Posted: Fri Feb 10, 2017 10:20 pm
by JeppeTh
notengo13 wrote:
Thu Feb 09, 2017 1:30 pm
Yes I use this ab-solution with my black list. And you need to run your Asus in router mode.
I'm not sure ab-solution is ideal.
I believe it only blocks explicit hosts.

E.g. if you specify "samsungotn.net" it will only block that - not "www.samsungotn.net", "cdn.samsungotn.net", "otn.samsungotn.net" etc.
Instead of ab-solution you can just create a /jffs/configs/dnsmasq.conf.add
Which can look like this

Code: Select all

address=/samsungotn.com/0.0.0.0
address=/samsungotn.net/0.0.0.0
address=/samsungotn.net.com/0.0.0.0
address=/msecnd.com/0.0.0.0
address=/msecnd.net/0.0.0.0
address=/msecnd.net.com/0.0.0.0
address=/samsungcloudcdn.com/0.0.0.0
address=/samsungcloudcdn.net/0.0.0.0
address=/samsungcloudcdn.net.com/0.0.0.0
Perhaps you want to block more domains - but by this way you block all of them regardless of prefix.
Unfortunately regexp doesn't seem to be supported.
So other suffixes seems to pass :cry:

Re: [App] Rooting E, F and H Bluray

Posted: Fri Feb 10, 2017 10:34 pm
by sectroyer
I also suggest using this firewall script:

Code: Select all

ips="210.118.88.205 157.55.184.57 72.247.182.24 68.232.34.240 104.20.21.219 104.20.22.219 106.120.130.147 65.52.164.251 72.247.182.56 72.247.182.35 68.232.34.200"
for cip in $ips
do
iptables -I FORWARD -d $cip -j DROP
iptables -t nat -I PREROUTING  -d $cip -j DROP
done

Re: [App] Rooting E, F and H Bluray

Posted: Fri Feb 10, 2017 11:04 pm
by JeppeTh
sectroyer wrote:
Fri Feb 10, 2017 10:34 pm
I also suggest using this firewall script:

Code: Select all

ips="210.118.88.205 157.55.184.57 72.247.182.24 68.232.34.240 104.20.21.219 104.20.22.219 106.120.130.147 65.52.164.251 72.247.182.56 72.247.182.35 68.232.34.200"
for cip in $ips
do
iptables -I FORWARD -d $cip -j DROP
iptables -t nat -I PREROUTING  -d $cip -j DROP
done
Just put that into "firewall-start" you mean?
https://github.com/RMerl/asuswrt-merlin ... er-scripts

Re: [App] Rooting E, F and H Bluray

Posted: Sat Feb 11, 2017 6:34 am
by sectroyer
Looks on your router you have to split it between firewall start and nat-start so IMHO it should look like this:
firewall-start:

Code: Select all

ips="210.118.88.205 157.55.184.57 72.247.182.24 68.232.34.240 104.20.21.219 104.20.22.219 106.120.130.147 65.52.164.251 72.247.182.56 72.247.182.35 68.232.34.200"
for cip in $ips
do
iptables -I FORWARD -d $cip -j DROP
done
nat-start:

Code: Select all

ips="210.118.88.205 157.55.184.57 72.247.182.24 68.232.34.240 104.20.21.219 104.20.22.219 106.120.130.147 65.52.164.251 72.247.182.56 72.247.182.35 68.232.34.200"
for cip in $ips
do
iptables -t nat -I PREROUTING  -d $cip -j DROP
done

Re: [App] Rooting E, F and H Bluray

Posted: Sat Feb 11, 2017 10:15 pm
by JeppeTh
sectroyer wrote:
Sat Feb 11, 2017 6:34 am
Looks on your router you have to split it between firewall start and nat-start so IMHO it should look like this:
firewall-start:

Code: Select all

ips="210.118.88.205 157.55.184.57 72.247.182.24 68.232.34.240 104.20.21.219 104.20.22.219 106.120.130.147 65.52.164.251 72.247.182.56 72.247.182.35 68.232.34.200"
for cip in $ips
do
iptables -I FORWARD -d $cip -j DROP
done
nat-start:

Code: Select all

ips="210.118.88.205 157.55.184.57 72.247.182.24 68.232.34.240 104.20.21.219 104.20.22.219 106.120.130.147 65.52.164.251 72.247.182.56 72.247.182.35 68.232.34.200"
for cip in $ips
do
iptables -t nat -I PREROUTING  -d $cip -j DROP
done
Thx!!
Now I'm hopefully protected - not sure if more domains should be blocked.
So Samsung - release a new firmware so that I can root my god damn h-series

Re: [App] Rooting E, F and H Bluray

Posted: Fri Feb 17, 2017 2:18 am
by skaarax
well f5700 has no smart hub so it cant be rooted with this method, despite somebody told me i was possible

Re: [App] Rooting E, F and H Bluray

Posted: Fri Feb 17, 2017 9:15 pm
by sectroyer
skaarax wrote:
Fri Feb 17, 2017 2:18 am
well f5700 has no smart hub so it cant be rooted with this method, despite somebody told me i was possible
In first post:
Launch SamyGO_Bluray_F from SmartHub
:) If you don't read not our problem :)

Re: [App] Rooting E, F and H Bluray

Posted: Fri Aug 04, 2017 9:32 pm
by JeppeTh
sectroyer wrote:
Sat Feb 11, 2017 6:34 am
Looks on your router you have to split it between firewall start and nat-start so IMHO it should look like this:
firewall-start:

Code: Select all

ips="210.118.88.205 157.55.184.57 72.247.182.24 68.232.34.240 104.20.21.219 104.20.22.219 106.120.130.147 65.52.164.251 72.247.182.56 72.247.182.35 68.232.34.200"
for cip in $ips
do
iptables -I FORWARD -d $cip -j DROP
done
nat-start:

Code: Select all

ips="210.118.88.205 157.55.184.57 72.247.182.24 68.232.34.240 104.20.21.219 104.20.22.219 106.120.130.147 65.52.164.251 72.247.182.56 72.247.182.35 68.232.34.200"
for cip in $ips
do
iptables -t nat -I PREROUTING  -d $cip -j DROP
done
Ok - it seems my block works. I still have 1012 version, not the latest 1013.
So pretty please with sugar on top - let me try the "new" H rooting method.

Re: [App] Rooting E, F and H Bluray

Posted: Tue Aug 22, 2017 3:54 am
by skaarax
sectroyer wrote:
Fri Feb 17, 2017 9:15 pm
skaarax wrote:
Fri Feb 17, 2017 2:18 am
well f5700 has no smart hub so it cant be rooted with this method, despite somebody told me i was possible
In first post:
Launch SamyGO_Bluray_F from SmartHub
:) If you don't read not our problem :)
My mistake no one told me i read it in this post:
viewtopic.php?f=18&t=8633&p=69310&hilit=F5700#p69310
In which you sectroyer confirm it can be rooted, so i guess my problem was that i read you

Re: [App] Rooting E, F (and H?) Bluray

Posted: Mon Sep 25, 2017 5:34 pm
by JeppeTh
What router do you have for blocking. I had an Asus, but the crappy thing broke. And it seems I'm not alone.
Probably try to get another Asus anyhow...