The option only displays if there is either a version or md5sum difference. There was no version change. I added a few spaces to the end of a comment line so amtm flags that an update is available. There were no code changes to the menu. But I appear to be getting a md5sum even after I updated the menu. I will have to investigate. Many of the 3rd party developers use this code.Nice, thx for the updates!
Question, when running x3mMenu, I'm not seeing an option 7 listed to update the menu. Instead, the menu stops at Option 6. Typing Option 7 still works however. Was this intentionally hidden from the menu list?
md5sum "/jffs/addons/x3mRouting/x3mRouting_Menu.sh" | awk '{print $1}'
9a3f6472944145bc1877b0437bf7e59a
curl -fsL --retry 3 "https://raw.githubusercontent.com/Xentrk/x3mRouting/master/x3mRouting_Menu.sh/x3mRouting_Menu.sh" | md5sum | awk '{print $1}'
d41d8cd98f00b204e9800998ecf8427e
+ md5sum /jffs/addons/x3mRouting/x3mRouting_Menu.sh
+ awk {print $1}
+ localmd5=9a3f6472944145bc1877b0437bf7e59a
+ curl -fsL --retry 3 https://raw.githubusercontent.com/Xentrk/x3mRouting/master/x3mRouting_Menu.sh
+ awk {print $1}
+ md5sum
+ remotemd5=9a3f6472944145bc1877b0437bf7e59a
+ [ 9a3f6472944145bc1877b0437bf7e59a != 9a3f6472944145bc1877b0437bf7e59a ]
Do you just have option 3 installed - x3mRouting.sh script and openvpn-event?
If it stops working in the future, make sure the iptables rule exists.
iptables -nvL PREROUTING -t mangle --line
Also, check the system log for clues. x3mRouting is very verbose which will help debug.
I switched to the dnsmasq method for BBC awhile ago and it's been very solid. I'll update the references on GitHub.It has just done it again after I needed to reboot the router a couple of times. I couldn't see anything mentioning bbc or xem in the system log (but it is set to log level of warning so that may be why?). iptables shows this:
Chain PREROUTING (policy ACCEPT 2541K packets, 2873M bytes)
num pkts bytes target prot opt in out source destina tion
1 0 0 MARK all -- br0 * 0.0.0.0/0 0.0.0.0 /0 match-set NETFLIX dst MARK or 0x8000
2 531 32211 MARK all -- br0 * 0.0.0.0/0 0.0.0.0 /0 match-set AMAZON_EU dst MARK or 0x8000
3 0 0 MARK all -- br0 * 0.0.0.0/0 0.0.0.0 /0 match-set BBC dst MARK or 0x8000
4 960 49792 MARK all -- br0 * 0.0.0.0/0 0.0.0.0 /0 match-set AMAZON_GLOBAL dst MARK or 0x8000
5 265 15566 MARK all -- br0 * 0.0.0.0/0 0.0.0.0 /0 match-set AMAZON_US dst MARK or 0x8000
6 0 0 MARK all -- br0 * 0.0.0.0/0 0.0.0.0 /0 match-set LOTTERY dst MARK or 0x8000
Same as last time, bbc doesn't work, but everything else still does. I am guessing there is an ip somewhere that is not being caught in the bbc asn which randomly comes around and when it does it causes this as it doesn't bypass the vpn? It has been fine, since it suddenly started working by itself last friday. Not sure if the router reboots are the cause or a coincidence (I did not reboot it last time it did this so probably not related). I am using the latest version from saturday and option 3 only.
sh /jffs/scripts/x3mRouting/x3mRouting.sh ALL 3 BBC_WEB dnsmasq=bbc.co.uk,bbc.com,bbc.gscontxt.net,bbci.co.uk,bbctvapps.co.uk,ssl-bbcsmarttv.2cnt.net
dnsmasq method requires the top level domain name. BBC example:will this work:
x3mRouting ipset_name=PT dnsmasq=pt
to define addresses in *.pt ?
or will this work:
x3mRouting ALL 1 PT aws_region=PT
thanks
sh /jffs/scripts/x3mRouting/x3mRouting.sh ALL 3 BBC_WEB dnsmasq=bbc.co.uk,bbc.com,bbc.gscontxt.net,bbci.co.uk,bbctvapps.co.uk,ssl-bbcsmarttv.2cnt.net
AP - Asia Pacific
CA - Canada
CN - China
EU - European Union
SA - South America
US - USA
GV - USA Government
GLOBAL - Global
I switched to the dnsmasq method for BBC awhile ago and it's been very solid. I'll update the references on GitHub.
Code:sh /jffs/scripts/x3mRouting/x3mRouting.sh ALL 3 BBC_WEB dnsmasq=bbc.co.uk,bbc.com,bbc.gscontxt.net,bbci.co.uk,bbctvapps.co.uk,ssl-bbcsmarttv.2cnt.net
The scripts in Option 4 can be used to mine domain names. dnsmasq logging needs to be enabled as well. If you still have issues, let me know.
The instructions to add dnsmasq logging are on the link I sent earlier. Or, you can install Diversion and it will configure dnsmasq logging for you.thanks, used your example and after a router reboot bbc is working again. I might have to figure out how to use option 4 and dnsmasq logging incase I need to add stuff in future (when bbc changes or adds new domains etc).
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!