Closed Bug 310053 Opened 19 years ago Closed 19 years ago

Excluding IP range in 'No Proxy for' does not work

Categories

(Core :: Networking, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: pjetson, Assigned: darin.moz)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915

Specifying an IP range such as 192.168.0.0/255 in the 'No Proxy for" field does
not work - IP's in that range are still forwarded to the defined proxy server.

Specifying individual IP's such as 192.168.0.104 and/or 192.168.0.254 does
exclude those IP's from the defined proxy server.


Reproducible: Always

Steps to Reproduce:
1. Define a manual proxy server.
2. Enter 192.168.0.0/255 in the 'No Proxy For' field.

Actual Results:  
IP's in the specified range are still forwarded to the defined proxy server.

Expected Results:  
IP's in the specified range should not have been forwarded to the defined proxy
server.
You need to enter 192.168/16 for that you want. Does that work?
Version: unspecified → 1.7 Branch
the syntax is "192.168.0."
Assignee: general → darin
Component: General → Networking
Product: Mozilla Application Suite → Core
QA Contact: general → benc
Sorry, I meant "192.168.0.0/16". See bug 80918 for the implementation. The other
private ip adress ranges are 10.0.0.0/8 and 172.16.0.0/12.

(In reply to comment #2)
> the syntax is "192.168.0."

This does not work for me (Mozilla 1.7.12), see above.
huh, ok... clearly I misremembered.

however, it seems to me like what the reporter wants is 192.168.1.0/24, not /16.
(In reply to comment #4)
> however, it seems to me like what the reporter wants is 192.168.1.0/24, not /16.

Could be, I used http://en.wikipedia.org/wiki/Private_IP_address for the private
range.
Thank you, 192.168.0.0/24 works!  I didn't understand the syntax, and nothing I
read explained it.

Now that I've checked the wikipedia link that ostgote@gmx.net provided, it
appears that the /24 excludes 192.x.x.x - what I was really after was just
192.168.0.x, which is only 8 bits.  Although /8 is not shown as being valid on
that wikipedia link, I've just tried it (192.168.0.0/8) and it appears to work.

I am not sure what status to change this report to - FIXED doesn't seem
accurate, is INVALID the best status? 

Thanks, Peter

No, you want /24. /8 would match 192.x.x.x. It's the number of network bits.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
the German link shows it better
http://de.wikipedia.org/wiki/Private_IP-Adresse
V/invalid (reported problem was config problem, not code problem).

we actually have docs on this on the mozilla site at:
/quality/networking/docs/aboutno_proxy_for.html

but maybe I didn't do the greatest job of linking it.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.