Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In IE, I can say to not use a proxy when the ip adress is: 10.*

If I do the same in Firefox it doesn't work. It uses the proxy when I access a 10.** site.

How can I make Firefox don't use the proxy with a mask like IE?

share|improve this question

migrated from stackoverflow.com Oct 19 '11 at 11:20

This question came from our site for professional and enthusiast programmers.

    
I've found the answer, but I didn't want to use a proxy addon.. –  aF. Oct 19 '11 at 9:50
add comment

1 Answer

up vote 1 down vote accepted

10.1/999 is not a sensible IP range. I am answering this because at some point this will stop working if firefox validates the IP ranges better in the future. It is possible that 10.1/999 is not matching all of the 10 subnet anyway.

To exclude all of the 10.0.0.0-10.255.255.255 range, use

10.0.0.0/8

The 8 means "match any address where the first 8 bits are the same". As an IP address is comprised of 4 x 8 bit octets, 8 means the first octet.

So the following

10.0.0.0/16 

means "match the first two octets" and so would match 10.0.0.0-10.0.255.255. I

So it follows that 10.1/999 is meaningless. It is saying match the first 999 bits of 10.1.0.0. Given that an IP address is only 32 bits long, it is likely that this is working through a bug rather than intended behaviour.

share|improve this answer
    
thanks m8! How can I exclude the following in firefox: *.montepio.pt –  aF. Oct 20 '11 at 8:57
    
.montepio.pt Note the preceding dot. –  Paul Oct 20 '11 at 10:36
    
yes, for example: abc.montepio.pt, 123.montepio.pt, etc.. How can I mask these? –  aF. Oct 20 '11 at 13:46
1  
The .montepio.pt in the exclusions list means *.montepio.pt. montepio.pt would only exclude the main domain. –  Paul Oct 20 '11 at 22:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.