ip

Is it possible to spoof your IP... is testing ip addresses secure?

I have some extra features on a site that employees can use but customers are not allowed to see. The employees are all going to be on a series of domains. What I do is get the user ip like so: $user_ip = gethostbyname($_SERVER['REMOTE_ADDR']); Then I get an array of all the ips for the domains the users will be on using gethostbyna...

How to use a different server IP with PHP/cURL?

I have a server with different IPs assigned, how can I specifiy a different IP to be used by cURL? ...

Why is my Linux prio based tc not improving network latency?

Hi - I am building a real-time embedded linux application that has a variety of network traffic. Of the set of traffic, two connections are time critical. One is the input data and the other for output data. My application needs this traffic to have priority over the other, non-time-critical traffic. I care about two things: Min...

IP Cameras - How to see their data/video?

I've never worked on the field of IP Cameras, so I am not sure where to start. I am thinking of a project where I can connect a city's cameras that are linked from local businesses like convenience stores, banks, schools, etc. I have been a software developer for many years and have never tackled this problem space and would like to ...

Can we use Opencv to get live video stream over the internet? How to do that?

I tried giving cvCreateCameraCapture an URL of the camera viewing on internet. However, I can't get any video playing. I am writing in C language. ...

htaccess redirect according to IP

Let's say my server looks like this: /www/.htaccess /www/index.php /www/temp/index.php And my personal IP (not the server's!) is 127.0.0.1* (* ok, that's impossible, but for the sake of argument...) I would like to redirect (301/302) everyone EXCEPT that IP to /temp/index.php My current code looks like: Options +FollowSymlinks Rewr...

Storing an IP as an unsigned int?

I read that the best way to store IP addresses in a database is to make an Unsigned Int(10) field. How do I convert the IP addresses using PHP? I've tried using $this->ip = long2ip($_SERVER['REMOTE_ADDR']); But this doesn't seem to work. I found the way to convert it back to an IP address using $this->ip = sprintf("%u", ip2long($resu...

Can a TCP checksum produce a false positive? If yes, how is this dealt with?

If a TCP payload gets corrupted in transit the recomputed checksum won't match the transmitted checksum. Great, all fine so far. If a TCP checksum gets corrupted in transit the recomputed checksum won't match the now corrupted checksum. Great, all fine so far. What happens when both the payload and checksum get corrupted and the recomp...

How to build a TCP pseudo header and related data for checksum verification in C and libpcap?

I'm trying to build up the proper data structure using a pseudo tcp header, tcp header, and tcp data to be sent to a check sum function to be verified. I cannot figure out what I'm doing wrong in my code. The following code is my function that builds up the data structure and then sends it to another function to be checked. void print_...

Local Net Ip Address from a Remote Client in java

Hi there, Does anyone know how to get the Local Net Ip Address from a Remote Client in java? thx ...

Broadcast data bytes through iPhone app

Hi all, I want to broadcast some data bytes in particular wifi range through my iPhone app...so that every receiver in that particular range will receive that bytes. I am very much new to this concept. Is there any sample app? Thanks in advance... ...

How to create static ARP cache entries programatically in Windows XP

Is there are way to set ARP cache entry in C#? The only way I have found is related to use of arp utility Address Resolution Protocol Static entries added with the arp -s command are not expired from the cache. There are related post about How do I access ARP-protocol information through .NET? ...

Get WHOIS "descr" value from IP address and insert into HTML table

I am using an SQL query to extract web statistics from my website. This is done with the MySQL comand line tool and outputted as a HTML table. The table is currently formatted like this: <TABLE> <TR><TH>Keyword</TH><TH>Date</TH><TH>IP/WHOIS</TH></TR> <TR><TD>random phrase</TD><TD>2010-10-11</TD><TD>1.2.3.4</TD></TR> </TABLE> The tabl...

C#: Convert IP address to number

Possible Duplicate: How to convert an IPv4 address into a integer in C#? I'm trying to take strings that are IPv4 IP addresses and convert them to their numeric equivalents. Is this correct? var segments = ipV4Address.split('.'); var ipV4AddressAsNumber = Int64.Parse(segments[0]) * 16777216 + /* octet1 * 256*256*256 +...

IP packet / timeout / interval control

Without a novel, I'll try to explain and hope it makes sense. We have an app that handles sending data to a server via simple HTTPS, no problem all works fine. HOWEVER, if the packets are sent via a satellite phone, the latency of transmissions is a lot longer than the typical milliseconds handled on land-line high-speed network acce...

How can I determine whether Remote Desktop is running at a given IP address?

I want to find out which ip can be remote. (remote desktop) For example, I set a valid IP of my network into an edit box and the program says it can be remote or not. ...

What other way can I deploy an iphone app besides AppStore?

Is there another way to deploy a phonegap app? Thank you! ...

Linux command to translate DomainName to IP

Is there any Linux command to translate domain name to IP? ...

How to ping eth0 from eth1 on my linux machine?

I have a linux machine with 2 ethernet ports(eth0 and eth1). eth0 is connected to a router which assigns it an IP address 192.168.1.2. eth1 is connected to a switch which doesn't have an IP. How do I ping eth0 from eth1? ...

Getting information from xml php

I'm creating a script that will take users location from their ip. I saw this api.But know idea how i can get them in array and print them. Here is a sample link: http://ipinfodb.com/ip_query.php?ip=74.125.45.100&amp;timezone=true This a sample respones <Response> <Ip>74.125.45.100</Ip> <Status>OK</Status> <CountryCode>US</CountryCode...