Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
128 views

I am using the nfq and pnet library to modify packets and redirect them (to another ip and port). Modifying Udp and tcp ports i have already figured out and packets arrive at their newly set port. ...
Max Podpera's user avatar
0 votes
1 answer
112 views

I have been asked to implement a card game(the loading and save don't function as intended, but this shouldn't affect the connection) from a previous project in a TCP server/client situation. In order ...
Ria's user avatar
  • 27
1 vote
1 answer
265 views

I am trying to run a Java gRPC Application on an Oracle Cloud Instance but it keeps listening only for IPv6 address $ netstat -tulp | grep 16507 (Not all processes could be identified, non-owned ...
Rishabh Bhaskar's user avatar
-1 votes
1 answer
41 views

I'm working on a project where I'm planning to implement custom read receipts at the IPv4/TCP layer by modifying the BSD networking stack. My goal is to detect if someone is harvesting data from my ...
Mallikarjunarao Kosuri's user avatar
-1 votes
1 answer
47 views

I'm struggling to interpret this AWS feature announcement: AWS supports dynamically removing and adding auto assigned public IPv4 address: Amazon VPC announces a network interface setting to ...
Heinrich's user avatar
  • 410
0 votes
0 answers
172 views

Ok I've been pulling my hair out over this for a while. I have a Windows Server 2016 machine that is running a database off it and all devices on the network can talk to the server except 2 of them. ...
David Klatt's user avatar
0 votes
1 answer
566 views

AWS recently has started charging for all the IPv4 addresses associated with your EC2 instances, NAT gateways or public-facing interfaces. If we sum up, it will be a significant cost increase if you ...
Manoj Acharya's user avatar
1 vote
2 answers
275 views

Using Classic ASP, I want to check if a given IP is within an IP range in CIDR (e.g. 192.168.0.0/24). There are already some questions covering scenarios where I could get IP ranges from their CIDR, ...
Avenger's user avatar
  • 404
1 vote
1 answer
176 views

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
  • 11
0 votes
1 answer
153 views

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
473 views

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
245 views

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
  • 148
0 votes
0 answers
102 views

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
193 views

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,250
1 vote
0 answers
100 views

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
179 views

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
197 views

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,519
0 votes
1 answer
110 views

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
  • 18.5k
1 vote
0 answers
102 views

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
217 views

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
0 votes
0 answers
401 views

I want to write a python script that reads a binary file (have no extension but when open in hex viewer software, IPv4 packets presents), search 45 in file, reads 3rd and 4th byte for determining the ...
user23508164's user avatar
-1 votes
1 answer
110 views

What socket family should be used for an IP that looks as follows and it is IP4 mapped to IPV6 as far as I know: ::ffff:171.167.66.44 AF_INET or AF_INET_6 Any useful documentation would be really ...
tTt's user avatar
  • 47
0 votes
1 answer
301 views

Question is in the title. Is it possible that a dual-stack socket binds to one specific IPv6 address and another specific IPv4 address? Or do dual-stack sockets always need to bind to ::/0.0.0.0?
keezar's user avatar
  • 111
0 votes
2 answers
104 views

Scenario My application obtains the public IP address of the user by running a small PHP script on the same server that hosts my database. I then programatically insert that IP address into the remote ...
user2834566's user avatar
0 votes
0 answers
443 views

I'm trying to set a sensible secure default for a server application. I want out of the box the server to only bind to the loopback interface. The user can then make their own decision to open it up ...
hardillb's user avatar
  • 60.6k
0 votes
1 answer
369 views

When I look up my ip address on a website, it offers both my IPv6 and IPv4 address. When I use a PHP-script it only return the IPv6 address (both $_SERVER['REMOTE_ADDR'] and getenv('REMOTE_ADDR')). ...
MichaelJC's user avatar
0 votes
1 answer
1k views

I am currently working on the Problem Set 7 of CS50's Introduction to Programming with Python. We have to implement a function that expects an IPv4 address as input and checks whether this IPv4 ...
Florian's user avatar
1 vote
1 answer
1k views

I just simply want to have golang http get request to use ipv4 only. And the answers from golang force net/http client to use IPv4 / IPv6 is not working for me. Moreover, I found the following answer, ...
xpt's user avatar
  • 23.6k
0 votes
1 answer
78 views

I have a situation where I should check for 2 different cases from one input. There is a validation function which validates for domain names and ipv4 and ipv6 address. Since I am accepting the ...
Razak's user avatar
  • 1
0 votes
1 answer
234 views

I want to run a query that filters out an IP range like 123.[16-31].0.* (16 and 31 are included). Generic example: GET _search { "query": { "bool": { "must": {...
Su Zirboni's user avatar
1 vote
1 answer
313 views

I am writing a custom exporter for my application using the official Python client for Prometheus My code works fine with the below snippet, (I'm redacting the rest of the code as I think it is ...
nidooooz's user avatar
1 vote
1 answer
229 views

How can I tell my Mojolicious Mojo::UserAgent to use only IPv4, is that possible somehow? (something like: wget --inet4-only https://blabli.com) Reason why I need this is that in Openshift Cluster ...
Michael2000's user avatar
1 vote
1 answer
3k views

I am working on a NodeJS monorepo which had applications on nodeV16 and I upgraded those to nodeV18. Many of those use localhost for communication. With Node 16, the localhost used to resolve in 127.0....
Utkarsh Kumar's user avatar
-3 votes
1 answer
271 views

I've been trying for hours now to find a library or try to do it with java-core. I'm trying to convert Expanded IPv6 to IPv4 but none of the googled methods does not work. Also tried this library. ...
JDev's user avatar
  • 2,631
0 votes
1 answer
79 views

Here is my case: I got my public IPv6 and public IPv4 from https://whatismyipaddress.com/, which were like: IPv6: 2603:6080:1001:100:2042:----:----, IPv4: 75.177.130.***. Then I used the code below as ...
Mory's user avatar
  • 11
0 votes
2 answers
6k views

I have a server that has multiple sites set up on it in IIS 10. On one of the sites, I want to allow access to a range of IP Addresses, and deny traffic to the site from all other IP Addresses. In IIS,...
Bryan's user avatar
  • 3,717
0 votes
1 answer
465 views

I was looking at the reverse DNS queiers in .pcap files and figured out that their PTR record format might vary. Namely, these are the last element from each line. I can easily identify IPv4 addresses ...
NiRvanA's user avatar
  • 145
1 vote
1 answer
392 views

I have been using the AddIPAddress() function to add a new IP address, but there is a ~4 second delay before the address is usable for communications and port binding. I have looked into other ways of ...
nwalters's user avatar
0 votes
1 answer
465 views

My English is not very good, so I used Machine translation. Please forgive me if I offended you* I want to use IPv4 to enable external devices to access my project, but due to gateway issues, I am ...
last_Y's user avatar
  • 1
0 votes
0 answers
103 views

I uploaded a SpringWeb application (with embedded Tomcat) executable JAR file(wrapped by maven) to a Linux server. When I run this JAR file on my local (Windows) system, it can listen to both IPv4 and ...
linchen's user avatar
2 votes
1 answer
2k views

I am about to create a custom VPC in AWS . While creating, I could find a section IPv4 CIDR and a value to be entered . Could anyone tell me which value I should enter there?
ashique's user avatar
  • 1,335
0 votes
0 answers
39 views

I have several routers on my network, each with their own IPv4 address and I'm trying to save that address for a batchfile to use when returning to one network from another. for /f "tokens=2 ...
Art's user avatar
  • 21
1 vote
1 answer
674 views

How can I use jq to sort an array of objects by an IPv4 address value as a 32-bit integer rather than alphanumerically? An illustration of what I mean with some extra formatting for visual clarity: $ ...
Scott Centoni's user avatar
0 votes
1 answer
270 views

for a tool i wrote a socket based udp listener which should also be able to receive multicasts. For IPv6 this works just fine, but IPv4 just won't work. I use a log with IPv4 Multicast packets and ...
Serakis's user avatar
  • 11
0 votes
2 answers
548 views

I have a couple of applications running on Google App Engine (all standard environment). I would like to deny access to these services to all IP addresses except my own for the moment with a plan to ...
user142389358902's user avatar
0 votes
1 answer
4k views

I created a network, added the containers to the network and tried docker-compose up with the correct ip's that are on the network.json file but I can't put the containers up network.yml { "...
Pedro's user avatar
  • 33
0 votes
0 answers
151 views

I would like to create a rule to allow a port range through firewall in windows CE. I want to allow these addresses: 10.10.10.1-10.10.10.254 I tried to make an IP rule with IP:10.10.10.1-254 and IP:...
Zoltan's user avatar
  • 1
0 votes
0 answers
281 views

I am trying to write a function in cpp that checks if a given string is a valid IP subnet with mask or not. Examples of valid input are "20.0.0.0/32", "20.0.0.0/2", etc. I have ...
brokendreams's user avatar
0 votes
1 answer
117 views

I'm running an Ubuntu server VPS with Docker image containers, which provides me 2 external IPv4 addresses within the interface venet0. venet0 has got 2 sub v-interfaces: venet0:0 and venet0:1 (each ...
amstel's user avatar
  • 13
-1 votes
1 answer
179 views

I was reading about 6to4 and I'm pretty confused about how the addresing works. If you are converting an IPv4 to IPv6 using 6to4 first group will be 2002 The next groups are determined by the IPv4 ...
ewakwwg12's user avatar

1
2 3 4 5
22