How to set WAN IP manually?

Discussions about the Application Boundaries Enforcer (ABE) module
Enigmass

How to set WAN IP manually?

Post by Enigmass »

Is there a way to set the WAN IP manually offline and persistent every session at browser startup?
Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: How to set WAN IP manually?

Post by Tom T. »

Please see if this article and the NoScript Privacy Policy provide any helpful info on this issue.

IIUC, you're using a static IP, and want that entered as engaging ABE's protected LOCAL resource more or less permanently.
The about:config entry,
noscript.ABE.wanIpAsLocal
is Boolean only; no place for a string entry.

Corrected post: If the WAN detect site can detect only the IP of the exit node, then yes, it seems that you are forfeiting this feature of ABE.

I'll see if Giorgio has anything to add.
Last edited by Tom T. on Fri Apr 06, 2012 7:22 am, edited 1 time in total.
Reason: corrected for tor info
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
User avatar
Giorgio Maone
Site Admin
Posts: 9526
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: How to set WAN IP manually?

Post by Giorgio Maone »

Set your noscript.ABE.localExtras about:config preference to a pattern matching your additional resources to be treated as local (e.g. just your wan IP).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
DHCP2

Re: How to set WAN IP manually?

Post by DHCP2 »

What about if 127.0.0.1 is used?
Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0
User avatar
Giorgio Maone
Site Admin
Posts: 9526
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: How to set WAN IP manually?

Post by Giorgio Maone »

127.0.0.1 is already in the LOCAL zone, as they are all the IPv4 and IPv6 networks marked as "private" by the relevant RFCs.

"WAN IP" is special because, even though it's not a local/private address by definition, it may need to be treated as such because of careless design or implementation choices made by some router manufacturers.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: How to set WAN IP manually?

Post by Tom T. »

Giorgio Maone wrote:Set your noscript.ABE.localExtras about:config preference to a pattern matching your additional resources to be treated as local (e.g. just your wan IP).
@ Giorgio:

I tried to reply shortly after the above-quoted post, but the site was down again.
Information duly noted for the future, thanks.

Could you please consider adding this to the NoScript FAQ and/or ABE Rules .pdf? I scanned both before replying to OP and contacting you, and couldn't find the relevant setting in either.
Or did I miss something ... .?

Many thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
Post Reply