Questions tagged as 'ip'

1
answer

How to make a page to know IPv6?

To know IPv4 I can use the code on a page: <?php echo $_SERVER["REMOTE_ADDR"]; ?> But I can not find anything similar to do the same with IPv6, which appears to me a lot is already sites with converters. Even though there is no...
asked by 29.09.2014 / 16:28
3
answers

Find out if a site is airborne or not

Is there a function in PHP to find out if an IP address (ie website) is in the air or not? I found this function in WEB but it did not satisfy me .... it takes a lot to load. function curl_info($url){ $ch = curl_init(); curl_se...
asked by 01.09.2014 / 15:10
1
answer

Calculation of the Shannon entropy in a network traffic (saved in CAP file) using Python

I have a dump file (CAP format) of a network traffic capture made with the Ubuntu tcp dump. Until a certain time, it is attack-free traffic. Then a series of TCP SYN flooding attacks begin. My goal is to calculate the entropy of each of the traf...
asked by 01.03.2017 / 15:17
1
answer

user location by IP [duplicate]

I would like to know a php library that would help me with the location of the user's IP access, well I found one on the internet and it worked well (did not exactly show the location) only 50 km of difference but at least know the city of acc...
asked by 12.01.2017 / 01:44
1
answer

DNS update cpanel

I'm trying to use a script to update the IP of our server, to be able to access externally since we use dynamic IP. The script I use is [this] [1]: But it returns me the following error: <?php // Based on the hard work of Mitchel...
asked by 01.07.2015 / 21:24
1
answer

What are Network Mask, Gateway, and how do they relate to the modem / router? [closed]

I think the most accurate question would be: "How does a client / host connection occur from the outgoing client packet, through the internal network, through the modem to the host, and exactly where does the role of each items in this process?...
asked by 28.05.2015 / 05:11
1
answer

View Camera IP video

Gentlemen, I'm no expert in PHP, I'm starting now, and would like a direction on how to display the video from my IP Camera - P2P snapshot.php <?php $img="http://usuario:senha@ipddns:portacamip/mjpeg.cgi?user=usuario&password=sen...
asked by 16.03.2015 / 12:36
3
answers

How to find out the internal IP?

I'm looking for a solution to know the% internal% of a machine. The idea is that through a website, when the user accesses it, find out what the internal ip of it, and then search all other ip , and find which machine has an appl...
asked by 23.01.2014 / 10:43
1
answer

Is it possible to get user location information through your ip?

Is there any possibility using the schedule to get locations of an alleged visitor to your website?    Example: "So-and-so" with ip: 192.168.254.1 visited my site:   www.mysite.com Using this obtained ip can I accurately determine the geo...
asked by 15.02.2016 / 18:31
1
answer

How to validate the IP of an Emails list to know if they are real or false and if they can receive message?

I know there are services that do this, but I would like to know how they do this type of test, to find out if the email is actually valid, not only through a PHP filter, for example: function validEmail($email) { if (filter_var($email, FIL...
asked by 19.04.2016 / 15:49