9,219 questions
0
votes
0
answers
30
views
XDP Program on veth Host-side Blocking Inter-Namespace Communication
I have two namespaces, ns1 and ns2. I created two veth pairs and connected the namespaces to the host via these veth pairs. Now, I want to enable these two namespaces to ping each other using a very ...
0
votes
0
answers
66
views
Reasons Printing Via a Socket Connection Would Fail
I am writing a program that involves printing Raw Printer Command Language (PCL) files wrapped in Print Job Language (PJL) commands. I print it via a port 9100 socket connection to the printer using ...
1
vote
2
answers
191
views
How can I send UDP data over the loopback interface so that Wireshark can dissect it without ICMP errors?
Initial Problem
I had what I thought was a simple task in Golang: format some data according to one of Wireshark's dissectors (MAC-LTE) and then send it over UDP so that it could be viewed in ...
-1
votes
1
answer
382
views
TypeError: Invalid URL ( React native )
before this error happen , my React native app can not run on mobile when i scan qr code on my device and after watching a youtube video for fixing the issue it got worse . my entire project can not ...
0
votes
1
answer
254
views
How to set up a static IP adress for Raspberry pi 5 using Yocto?
I built a raspberry pi 5 image for my raspberry pi 5, using only the base image found in meta-raspberrypi/conf/machine/raspberrypi5.conf, which I modified a bit to include some modules, one of which ...
-1
votes
1
answer
87
views
How to improve ip-api locator [closed]
I am trying to make a python IP locator, which currently relies on this function:
def get_location(ip_address="", show_duplicates=True):
url = f"http://ip-api.com/json/{ip_address}&...
1
vote
0
answers
31
views
should we consider application layer message size
When application layer work upon TCP, do we need to consider the application message size if we want to get better performence? As PMTU is most likely unavaliable, if we choose a size as 3000 which is ...
-1
votes
1
answer
104
views
Java does not want to return IPV6, only IPV4 when try to resolve an DNS
I made a class that resolve a domain to a ip, now i need this app to show me both ipv4 and ipv6 but it only shows me ipv4. The problems is i think in this line of the code :
InetAddress[] addresses = ...
0
votes
0
answers
9
views
Qt- tcp connection amd redundancy
I'm writing a program in qt_c++ which is connected to a tester through a tcp connection. Each side has two ips and all four lan cables (2 from each side) are connected to a switch.
Ips are in same ...
0
votes
1
answer
78
views
Cannot login to tcexam via IP instead domain
I setup TCExam ver. 16.3.7 in a server. There is no issue when config it with domain. E.g:
define('K_PATH_HOST', 'http://localhost');
). But when i would like to change it to IP, i could not login to ...
0
votes
1
answer
362
views
Cannot receive request on LMStudio Server from Docker Container Application?
I am trying to self host Khoj AI and I have followed all the steps in the documentation.
The only thing I changed in yml file is:-
- OPENAI_API_BASE=http://localhost:1234/v1/
That is where my ...
1
vote
0
answers
47
views
Trying to Cloak my domain only to specific country
im trying to display my domain to specific country with IP checking which if open by TH(Thai) it will show my domain example.com but if not, it will show another page, im currently on Thai, which to ...
1
vote
1
answer
91
views
Why does my sample code not receive an ACK from a SYN?
What I am trying to do it verify a device under test behavior for RFC5961. To verify, it's necessary in inject a RST packet with a sequence number in the window, but not the expect number. So I am ...
0
votes
0
answers
83
views
Laravel $request->ip() is returning EC2 Load Balancer's IP
I’m currently working on a Laravel project that is deployed behind an EC2 Load Balancer (ALB/NLB). I’m running into an issue where Laravel is not recognising the real client IP when requests pass ...
0
votes
1
answer
68
views
How do you prevent JWT hijacking using stored fingerprints?
Our team has been asked to prevent JWT hijacking in our API. Our solution has been to store a "fingerprint" of the user's IP and user agent in our database and validate that on each request. ...
0
votes
1
answer
87
views
How can I check if incoming IP is within a subnet mask using PHP? [duplicate]
I have a Laravel app where I have created middleware for an API route to check the request IP against a whitelist of IP addresses stored in the .env file (I would like to store the IPs in a database ...
1
vote
1
answer
93
views
Perl to find AND replace IP address in a string
I need help for a Perl script to find and replace an IP address saved to a string or in a file, if an IP address is present.
Apologies first - I don't have a development/software background but have ...
0
votes
1
answer
34
views
Implementing a DMN for IP plan matching - How to use a FEEEL expresion to match CIDIR aginst an IP to set a name
The Goal
The goal is to run a list of devices with an IP though an Decision Table in DMN, to identify which naming convention to use for the devices based on an IP Plan using CIDIR to select which ...
0
votes
1
answer
118
views
ESP32 With IP Address
I am trying to send data to ThingsBoard in an on-premises environment using ESP32.
However, I need to use the local network, so I cannot use the target server address provided in the ESP32 sample code....
0
votes
0
answers
82
views
How to programmatically filter out the IP addresses from a VM?
I have this piece of code to retrieve the ethernet IP address:
public static IPAddress GetEthernetIpAddress()
{
foreach (NetworkInterface ni in NetworkInterface.GetAllNetworkInterfaces())
{
...
0
votes
1
answer
135
views
What is the purpose of the 25th bit of a multicast mac address
I have a video stream sent from an FPGA.
When I analyse this multicast stream with Wireshark, I see the destination mac address : 01:00:5E:A9:A9:0A. The FPGA is configured to send to this multicast IP ...
-2
votes
3
answers
426
views
Detect active local ip programmatically in C/C++
I'm looking for a way to detect the active local IP address in a system (Windows and Linux). With the word "active", I mean the IP currently used to exchange data in the network.
There are ...
-1
votes
1
answer
58
views
How can i find my public ip ? for configuring bindings on my local server and publish it to the web
I have a Node.js app that I'm trying to deploy on IIS and publish using Windows Server. However, I’m stuck on assigning IP addresses to my bindings.
I also have a domain with A records pointing to the ...
0
votes
2
answers
303
views
Is there a way to view all IP addresses sending requests to my website on Cloudflare?
I am trying to mitigate a DDOS attack. Is there a way for me to get a live view or some log of IP addresses sending requests to my website?
0
votes
0
answers
38
views
I met a bug when using remote_ip_proxy_scrubber to get the real IP
When I using this gem, I found out it might get the wrong response from server(rails version 6.1..6.1).
e.q.: I kept made 2 request calling, A is http://127.0.0.1/?value=dummy1 and B is http://127.0.0....