ip-address

How can I find a user's location based on their IP address? (free and not free services)

If you need to locate a user based on their IP address, what services are available? p.s. I understand that some users use proxies etc, that mean the result is not 100% accurate. That's ok. ...

Connecting private IPs

A friend of mine told me there was a way to connect two private IPs without using a proxy server. The idea was that both computers connected to a public server and some how the server joined the private connections and won't use any more bandwidth. Is this true? How's this technique named? Thanks ...

How do I find a user's IP address with PHP?

I would like to find a user's IP address when he/she enters my page. How do I programmatically do that? ...

How can you find all the IP addresses in a selected block of text with a javascript bookmarklet?

I am just starting to learn javascript, so I don't have the skills to figure out what I assume is a trivial problem. I'm working with a Wordpress blog that serves as a FAQ for our community and I am trying to pull together some tools to make managing the comments easier. Internet Duct Tape's Greasemonkey tools, like Comment Ninja, are ...

private IP address ranges

What are the private IP address ranges? ...

How do I change the IP address on Oracle 10g

What steps do I need to take to change an IP address for Oracle 10g? I cannot connect to the database after going from a dhcp address to a static IP and a reboot. ...

Asp.net c# and logging ip access on every page and frequency

Are there any prebuilt modules for this? Is there an event thats called everytime a page is loaded? I'm just trying to secure one of my more important admin sections. ...

How to route in linux

Hi, I have 20 ips from my isp. I have them bound to a router box running centos. What commands, and in what order, do I set up so that the other boxes on my lan, based either on their mac addresses or 192 ips can I have them route out my box on specific ips. For example I want mac addy xxx:xxx:xxx0400 to go out 72.049.12.157 and xxx:xxx...

How do I get the Local Network IP address of a computer programmatically? (C#)

I need to get the actual local network IP address of the computer (e.g. 192.168.0.220) from my program using C# and .NET 3.5. I can't just use 127.0.0.1 in this case. What's the best way to do this? ...

How would you compare IP address?

For my server app, I need to check if an ip address is in our blacklist. What is the most efficient way of comparing ip addresses? Would converting the IP address to integer and comparing them efficient? ...

Finding local IP addresses in Python.

How can I find the local IP address (i.e. 192.168.x.x or 10.0.x.x) in python, preferably with only built-in moduals, I would also like it to be platform independent. ...

Finding a public facing IP address in Python?

How can I find the public facing IP for my net work in Python? ...

Why is getenv('REMOTE_ADDR') giving me a blank IP address?

This PHP code... 207 if (getenv(HTTP_X_FORWARDED_FOR)) { 208 $ip = getenv('HTTP_X_FORWARD_FOR'); 209 $host = gethostbyaddr($ip); 210 } else { 211 $ip = getenv('REMOTE_ADDR'); 212 $host = gethostbyaddr($ip); 213 } Throws this warning... Warning: gethostbyaddr() [function.gethostbyaddr]: Ad...

IP subnet verification in JSP

I have the following JSP code, that protects my web page and displays it only to know IP's String ip_h = request.getRemoteAddr(); String host_h = request.getRemoteHost(); String iplist[] = new String[1]; iplist[0] = "127.0.0.1"; iplist[1] = "10.217.106.248"; int count = iplist.length; boolean flag = false; int zz = 0; /...

IP Address change with limited account

Here's what I need to do, any ideas would be helpful. I need to be able to change the Local IP address of a computer programmatically as a limited user in XP. Without giving Admin information to the users. I've played with runas, sanur, and autoit, but all either require giving up the Administrator password or is not extremely reliabl...

UserHostAddress gives wrong IPs

I collect statistics on IP addresses from where users visit my site and I have noticed what there are only two IP addresses presented, 172.16.16.1 and 172.16.16.248. The property I use to determine IP address is Request.UserHostAddress What could be a reason of IP address information losing? All the users are from around the world, so...

How does a website know what city I'm in?

Many web sites know where I'm from. For example, visiting Yelp shows me restaurant listings from the nearest metropolitan area and searching for "maps" on Live Search shows me a map of my current city. My best guess is sites do this by using a large database mapping the user's IP address to city name. If this is true, where's the best...

Linux / C++: Get the IP Address of local computer

This Question is almost the same as the previously asked Get the IP Address of local computer-Question. However I need to find the IP address(es) of a Linux Machine. So: How do I - programmatically in C++ - detect the IP addresses of the linux server my application is running on. The servers will have at least two IP addresses and I nee...

How much effort does it take to spoof an Ip Address in a call to a webservice?

I don't want to know how... Just how complicated.... I'm thinking of securing a webservice or 2 based on the incoming client ipaddress of the caller. Is this in any way secure? Surely if the IPaddress was being spoofed then the result would have to be sent back to the address that was being spoofed and therefore not reach the spoofer? ...

How can openvpn deal with both dynamic and fixed IP addresses?

I have an OpenVPN server that dynamically assigns IP addresses (dhcp-style) to its clients. The address range is specified with a --server directive in the config file. I need to exclude a small number of addresses within that range and reserve them for clients that need to fixed IP addresses. I suppose I need to modify the config file c...