Internet IP?
Is there any way to determine whenever a IP address is from the internet or is local?
.: Zoulz :.
Well, type ipconfig into the console (windows) and youll see your own ip-adress for the net, and youll see the ip-configuration of the intranet. The other computers on you intranet would have the same numbers, except for the ones after the third dot (depending on the typ, though).
---------------------------
“Beware the leader who bangs the drums of war in order to whip the citizenry into a patriotic fervor, for patriotism is indeed a double-edged sword. It both emboldens the blood, just as it narrows the mind. And when the drums of war have reached a fever pitch and the blood boils with hate and the mind has closed, the leader will have no need in seizing the rights of the citizenry. Rather, the citizenry, infused with fear and blinded by patriotism, will offer up all of their rights unto the leader and gladly so. How do I know? For this is what I have done.
And I am Caesar.”
— Julius Caesar
---------------------------
“Beware the leader who bangs the drums of war in order to whip the citizenry into a patriotic fervor, for patriotism is indeed a double-edged sword. It both emboldens the blood, just as it narrows the mind. And when the drums of war have reached a fever pitch and the blood boils with hate and the mind has closed, the leader will have no need in seizing the rights of the citizenry. Rather, the citizenry, infused with fear and blinded by patriotism, will offer up all of their rights unto the leader and gladly so. How do I know? For this is what I have done.
And I am Caesar.”
— Julius Caesar
------------------------Why of course the people don’t want war. ... That is understood. But after all it is the leaders of the country who determine the policy, and it is always a simple matter to drag the people along, whether it is a democracy, or a fascist dictatorship, or a parliament, or a communist dictatorship ...Voice or no voice, the people can always be brought to the bidding of the leaders. That is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in any country. [Herman Goering]
Ah yes, I know that. But what I mean''t was if it is possible to check if an IP is from the internet or from a local network? For example, the loopback address (127.0.0.1) can never be an internet IP.
.: Zoulz :.
anything starting 192.168.*.* or 10.0.*.* are the official internal IP''s anything else is internet, you could check you subnet mask and the servers ip and just allow access to client on the same subnet...
You should look at RFC 1918. It describes which IP addresses
are used for private LAN rather than public internet
IP addresses. The private IP addresses are:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
Steven Borkman
Home Page: http://www.borkman.mygamesite.net
Video Game Page: http://www.dev.mygamesite.net
are used for private LAN rather than public internet
IP addresses. The private IP addresses are:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
Steven Borkman
Home Page: http://www.borkman.mygamesite.net
Video Game Page: http://www.dev.mygamesite.net
Steven BorkmanHome Page: http://www.borkman.mygamesite.net:8080Projects Site: http://www.dev.mygamesite.net:8080
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement