Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

172 addresses

Status
Not open for further replies.

sirugo

Programmer
Aug 1, 2000
162
SE
I have a php-script that checks whether a user is coming from inside our firewall (using a 172-address) or if he's coming from the outside (any other address). Certain restrictions appear for outside users.

But is it possible for an outside user to change his IP-address to appear as a 172-address in any way or are all 172-addresses always for inside-users?

 
OK
We have 172.16 addresses internally.
But with what did that url help us out?
 
Sorry, I thought you asked 'are all 172-addresses always for inside users?' so I showed you that they weren't.

Only the one range of 172.16 to 172.31 is internal, the rest of the 172 addresses are external.

I tried to remain child-like, all I acheived was childish.
 
OK, but the 172.16-series is fail safe?
 
172.16 - 172.31 are RFC 1918 Private Network Addresses. All 172.x.x.x addresses outside of those ranges are legal internet addresses.

You need to change your filter on your php script to match against 172.16, rather than all 172 addresses.


pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top