Skip to main content

Questions tagged [ipv4]

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

0 votes
0 answers
21 views

Boost.Asio IP Header how to set and read DSCP or TOS field

My application (coded in C++, using Boost.Asio lib, running on a LINUX machine) handles several UDP Multicast / IP sockets. (#1) For the outbound traffic, I need to set the DSCP field of the IP Header ...
WPaul's user avatar
  • 1
-3 votes
1 answer
14 views

How to find Subnet range knowing an IP, Subnet Mask and CIDR block [closed]

Can I find subnet range knowing the subnetwork mask (255.255.248.0, /21), a random ip address. E.g 172.16.150.41 (class b, /16) when the network has many subnets (e.g 32 subnets in this case)? Obs: I ...
Guilherme G's user avatar
0 votes
0 answers
31 views

Pricing for AWS VPC Public IPv4 Addresses

I created a RDS with Public Accessable flag set to true and connected it to public subnet of default VPC. Then I realized that AWS charged me for Public IPv4 Addresses under the VPC section. You can ...
Yunus Terzi's user avatar
0 votes
0 answers
87 views

WebRTC via TURN does not work between IPv4 and IPv6 users

I have the following setup: User A uses IPv4 User B uses IPv6 TURN server (coturn) is available via both IPv4 and IPv6 When establishing WebRTC connection between two users I can see the exchange of ...
Ostap Maliuvanchuk's user avatar
2 votes
2 answers
94 views

Computing checksum's for TCP packets from byte arrays

I asked a similar question recently but marked it as solved since I thought I found the answer when in fact my code only worked on specific cases while missing the bulk of cases. Anyways I am using ...
UnSure's user avatar
  • 178
0 votes
0 answers
17 views

Getting ipv4 in React Native

I have a project in React Native, the server is written in node.js, url, url2, url3, etc. these are the addresses of processed requests to the server. I need the application to detect ipv4 networks ...
natalyDev's user avatar
0 votes
0 answers
30 views

enabling ssl certificate to aws ec2 instance

if we run an aws ec2 instance and set the inbound rule to access certain port, then running an app on that port (like 0.0.0.0:3000) enables us to access the app from the public ipv4 address of the ...
Towsif Ahamed Labib's user avatar
0 votes
0 answers
22 views

D-ITG 2.8.1 (.win binaries) ITGSend command with '-sp' port not working binding issue

When I input the command: "ITGSend -a 192.168.2.2 -sp 9400 -rp 32769 -C 1000 -u 500 1000 -t 20000 -l send_log_file" on my windows cmd line I get the following error: flowSender: No error ...
Jordan Daubney's user avatar
0 votes
0 answers
61 views

Why does my macos configuration block IPv4-mapped IPv6 UDP responses?

I am currently debugging a DNS problem with an application on my mac. I am hoping somebody can point me in the correct direction for further debugging. My problem is that DNS requests made over a IPv6 ...
Garuno's user avatar
  • 2,140
1 vote
0 answers
67 views

How to get my public ipv4 address in my android application?

I am developing an android application and need to get my device's public IPV4 address to trigger an API, how can this be done. Some approaches I have tried I am sharing below fun getIPAddress(): ...
Ripped_Asssasin's user avatar
-3 votes
2 answers
83 views

PHP Get IPv4 Address

I have trouble getting IPv4 Address, as IPv6 seems automatically preferred. However, this is very difficult, as my IP Whitelist system uses solely IPv4. I am using following code to get the IP of the ...
TheTinniDev's user avatar
0 votes
1 answer
68 views

How to test if the result of netip.ParsePrefix() is IPv6 in Go?

How can I determine that the CIDR block parsed by netip.ParsePrefix() was in IPv4 or IPv6 format? With net.ParseCIDR() I could call .To4() and test for nil. Is4() is not defined for netip.Prefix. I ...
TomOnTime's user avatar
  • 4,367
0 votes
1 answer
56 views

Getting Correct vs Wrong IPV4 Address in NodeJS running under AWS Lightsail [IP6to4]

We are running under a BitNami instance on AWS Lightsail. Current NodeJS looks like this: function getClientIPv4(req) { let ipAddress; const forwardedFor = req.headers['x-forwarded-for']; if (...
NealWalters's user avatar
  • 17.8k
1 vote
0 answers
52 views

Is it possible to use IPv4 prefixes (subnets) as "public IPs" in the network interface of an AWS EC2 instance?

I transferred a /24 subnet (256 IPs) to AWS via BYOIP and I would like to assign some of these IPs to EC2 instances. I know it is possible to assign a small subset directly to the instance's network ...
Rafael Ivan Garcia's user avatar
0 votes
0 answers
74 views

Mangled packets from libnetfilter_queue do not reach destination

I'm trying to use libnetfilter_queue to add custom options to the IP headers of certain packets. As a test, I've tried modifying the sample program from the libnetfilter_queue documentation (nf-queue....
fzybunny's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
72