Page 1 of 1
How to write this user ruleset?
Posted: Mon Jul 27, 2009 2:51 pm
by emmis
I have an alias in my opendns (opendns.com) configuration such that whenever I type, "blah", it launches a local ip address. However, it is now being intercepted by abe and disallowed. any thoughts on how to allow this request?
Re: How to write this user ruleset?
Posted: Tue Jul 28, 2009 8:57 pm
by dhouwn
Use
NoRedirect.
ABE would block only the redirect from the server OpenDNS is pointing to, to the OpenDNS search page. The browser still wouldn't know that there is no DNS entry and therefore not act accordingly.
Re: How to write this user ruleset?
Posted: Mon Aug 03, 2009 9:34 pm
by Guest
ok, let me clarify to see if there is a solution.. if not ABE will be disabled because it is unable to be configured properly.
This is the error I am getting.
Request GST {http://192.168.100.2 <<< http://guide.opendns.com/?=blah/&client=ff20 <more gobbleygook removed....> } filtered by ABE: <LOCAL> DENY
OpenDNS has a whitelist feature that it uses when resolving to real domains on the internet. A whitelist that each user can configure. One can just type in "mail" and your request could be redirected to
http://mail.yahoo.com", or wherever you specify. In my case, I have created a rule that tells the opendns servers to redirect the request for "blah", to a private ip address (ie:192.168.100.2).
Basically, I need to write an exception to it's rules. A whitelist if you will..
This has always worked without issue until ABE came along. Now ABE intercepts this request and will not let the OpenDNS servers redirect to my local ip address.
How can I script an User defined ABE rule to ignore a request from my DNS service to load a local ip address?
Re: How to write this user ruleset?
Posted: Mon Aug 03, 2009 11:33 pm
by Guest
This sounds complicated. If all you want to do is type in something and get redirected somewhere else, why not use Firefox bookmarks? Bookmark the address that you want to go to (such as mail.yahoo.com or that IP address). Right click on it and choose Properties. Type in "blah" in the "keyword" field. Now whenever you type in "blah" in your address bar, you will be redirected to that IP address. All done locally, no need for OpenDNS.
I apologize if this is offtopic.
Re: How to write this user ruleset?
Posted: Tue Aug 04, 2009 8:39 am
by Giorgio Maone
Just put the following rule at the beginning of the SYSTEM ruleset (before the LOCAL protection rule) in
NoScript Options|Advanced|ABE:
Re: How to write this user ruleset?
Posted: Thu Aug 13, 2009 8:37 pm
by emmis
thank you, that is what I needed. not much of a scripter so this is much appreciated.
Can I do a range of ip's?
thanks again.
Re: How to write this user ruleset?
Posted: Thu Aug 13, 2009 9:00 pm
by GµårÐïåñ
emmis wrote:thank you, that is what I needed. not much of a scripter so this is much appreciated.
Can I do a range of ip's?
thanks again.
For those who don't know how to do it, use this:
http://www.google.com/support/analytics ... swer=55572 where you enter the starting, and ending and it will generate the regex for you. Good luck.
Re: How to write this user ruleset?
Posted: Fri Aug 14, 2009 8:17 am
by Giorgio Maone
emmis wrote:
Can I do a range of ip's?
You can use network shorthands and/or netmasks. For instance,
192.168.
is equivalent to
192.168.0.0/16
and means all the addresses whose two upper bytes are 192 and 168.
Re: How to write this user ruleset?
Posted: Thu Aug 20, 2009 7:52 pm
by therube
(not sure I should <in this thread>, but following along on GµårÐïåñ's post ...)
Untested:
Expresso 3.0
Expresso is useful for learning how to use regular expressions and for developing and debugging regular expressions prior to incorporating them into C#, Visual Basic code, PHP, etc.
(probably should have put it elsewhere...)
Re: How to write this user ruleset?
Posted: Thu Aug 20, 2009 9:16 pm
by GµårÐïåñ
I don't think its off topic given the OP didn't know how to do ranges and asked how and the tools and links were provided to that end. As long as it doesn't turn into a whole other discussion, it should be fine in my opinion. Providing a tool to help is part of the support.
Re: How to write this user ruleset?
Posted: Sat Jan 30, 2010 9:33 pm
by corpsehu
Giorgio Maone wrote:emmis wrote:
Can I do a range of ip's?
You can use network shorthands and/or netmasks. For instance,
192.168.
is equivalent to
192.168.0.0/16
and means all the addresses whose two upper bytes are 192 and 168.
It is not working for me. i put in the whitelist the 192.168. and the noscript is blocking the 192.168.xx.xx all sites except the exact match are in the whitwlist. it's bad... I have much more web interfaces around the 192.168.xxx.xxx range... Almost 1000.
What is wrong?
CorpseHU
Re: How to write this user ruleset?
Posted: Sat Jan 30, 2010 9:46 pm
by Giorgio Maone
The syntax above was referred to ABE, not to NoScript.
Try 192.168 (without the trailing dot).
Re: How to write this user ruleset?
Posted: Thu Dec 15, 2011 4:33 pm
by Guest
Please add this solution to the FAQ. I just spent over 20 min trying to find this simple solution to a common issue.
Giorgio Maone wrote:Just put the following rule at the beginning of the SYSTEM ruleset (before the LOCAL protection rule) in
NoScript Options|Advanced|ABE: