Questions tagged [ipv4]

IPv4 is the "old style" IP protocol currently used in most circumstances.

IPv4 is the protocol which has been in use since the early 1980s, described in IETF publication RFC791. It gets gradually replaced with nowadays as the IPv4 addresses become exhausted.

More information at http://en.wikipedia.org/wiki/Ipv4

1045 questions
-4
votes
4 answers

Compare the values of 2 files and merge the similar entries

I'm new to bash scripting. I have 2 files: A text file containing a list of IP addresses, a .csv file that has 2 columns that the 2nd one contains IP addresses. I want to compare each line of the text file (each IP) with all elements of the 2nd…
helen
  • 587
  • 1
  • 10
  • 26
-4
votes
3 answers

Would it not have been better to extend IPv4 with 2 bytes than make IPv6 128 bits?

128 bits is much less user readable than a six-byte dotted format. Retaining a dotted format could have led to less drastic changes to both low level and application software.
Fubarro
  • 1
  • 1
-4
votes
1 answer

Try/catch to get ipv4 address

I was reading a lesson about protocol, but I don't understand why use a try/catch to get an ipv4 address. Code: import java.net.Inet4Address; import java.net.UnknownHostException; public class P1 { public static void main(String[] args) { …
-4
votes
2 answers

Convert IPv4 into IPv6 on C

I'm trying to convert IPv4 into IPv6 using some conversion to uint8_t. I know that IPv4 has 4 bytes, and IPv6 16 unsigned ints of 2 bytes, but I can't find the way to do they conversion. #include #include #include…
-4
votes
3 answers

how to find all ip addresses between 2 ip addresses

Can anyone think of an algorithm to put all of the addresses between two others and put them in a list (using python)? For example: findIPs('111.111.111.0', '111.111.111.3') Should return ('111.111.111.0', '111.111.111.1', '111.111.111.2',…
avorum
  • 2,243
  • 10
  • 39
  • 49
-4
votes
2 answers

Modify http packets in linux gateway

Greets, I have a CentOS installed as a gateway, and some clients connect to internet via this gateway(NAT). Now I want to insert some string to each webpage that clients requested. How to achieve this? netfilter, winpcap or something else ? Any…
xYZ
  • 107
  • 1
  • 9
-5
votes
2 answers

IPv4 Network ID & Host ID

[I did my research] I read the IPv4 and Subnetting chapters in the CCNA prep material. Watched several youtube videos and read through several forums. However, I still have a small issue because different sources use certain terms interchangeably…
ash
  • 1
  • 4
-5
votes
1 answer

Convert IPv6 to IPV4 PHP

I have a list of IPv4 IPs selected from a database which stores the addresses as BINARY(16). Is there any simple way to convert the IPv6 formated address to human readable IPv4 format? This is what the IPv4 address looks like 8ab8:7f70::
pedmillon
  • 143
  • 3
  • 13
-5
votes
2 answers

How to extend ipv4 addresses to 64 bit?

I know that ipv4 addresses are 32 bits. But is it possible to change the ipv4 addresses to 64 bit from 32 bit?
user3258267
  • 47
  • 1
  • 6
-6
votes
2 answers

How to search a document for IP addresses

So I have a document (plain text) that I'm trying to extract all of the IP addresses from. I was able to extract them using regular expressions but it also grabs a large number of version numbers. I tried using string.find() but it requires that I…
user1771694
  • 3
  • 1
  • 2
1 2 3
69
70