Skip to main content

Questions tagged [port]

1 vote
0 answers
10 views

What would be the most reliable way to obtain PID, remote address and port combinations for all connections?

I tried tcp_connect, udp_sendmsg kprobes together on an eBPF program and it worked, but it missed a lot of connections. I couldn't really get any reliable results with other kprobes as well so I tried ...
Subtle Development Space's user avatar
0 votes
0 answers
35 views

route port traffic over specific interface

i have a running vpnc connection from my arch-linux device. All traffic goes through the tunnel to the vpnc server. But i need to exclude the 443 port, because a running https server need to be ...
user3008086's user avatar
0 votes
0 answers
87 views

Run RPCBind on a docker container with the socket enabled (for port 111)

I'm trying to dockerize a rpc application I made using C lang and rpcgen, I have the byte executable and everything, I tried a lot of docker os image like ubuntu 22.04/ debian and so on, the ...
ALLAOUA Okba's user avatar
0 votes
0 answers
43 views

Practical way to define named ports (automatically resolved version of `/etc/services`)?

Named ports can be defined in /etc/services but none of curl, http.Get() (Go) or reqwest::get() (Rust) respects the definition. While it is possible to manually lookup the integer port number by the ...
ynn's user avatar
  • 998
0 votes
0 answers
184 views

How to re-enable a USB port after disabling it in sysfs?

I have disabled a USB (2.0) port on a production Linux system with this command: echo 1 > /sys/bus/usb/devices/usb2/2-1/2-1.8/port/disable It successfully disabled the 8th USB port on hub #1. ...
melonfsck - she her's user avatar
0 votes
0 answers
28 views

In Linux, is there a way to block all listening points at 0.0.0.0/[::] outside a VRF and have "net.ipv4.tcp_l3mdev_accept" enabled at same time?

In Linux, if I enable net.ipv4.tcp_l3mdev_accept with sysctl utility, I can reach all TCP ports listening at 0.0.0.0/[::] if there is a reachable IP inside a VRF. The listening point can belong to a ...
przemyslawo's user avatar
0 votes
0 answers
103 views

Unknown TCP in the nethogs output w/ data

I've seen this has an answer while there is no data being transmitted, but what about for when it is? Is this something I need to look into or am I fine? This was taken off my Nethogs
Apailox's user avatar
0 votes
1 answer
178 views

Netstat -an command output TCP [::]:135 [::]:0 LISTENING

In my InfoSec course assignment, we were given the task to analyze the different communications that were displayed when we run the command netstat -an. While analyzing I saw the following ...
Ace is here's user avatar
2 votes
2 answers
313 views

Does Linux have a system for reserving certain network ports for particular utilties, namely for a VM host to reserve for VMs?

I want to reserve certain port numbers on a VM host for use by the VMs themselves. Is there a mechanism by which the host can exclude those ports from being allocated to processes not related to the ...
vfclists's user avatar
  • 7,919
0 votes
1 answer
74 views

How to avoid listen-port conflicts on package installation

I'm working on a private Debian package that deploys a service which binds to port 80. [Service] ExecStart=/usr/bin/foo --port 80 I realize almost every other package which serves HTTP is also going ...
Stewart's user avatar
  • 16k
1 vote
0 answers
62 views

Ubuntu Openvpn no traffic to client

I got a problem with an openvpn server on dedicated hosting vm - the problem is that the packets do not pass to the client after the connection is established (although during the establishment of ...
garik f's user avatar
  • 21
1 vote
0 answers
284 views

Issue with 'Destination port unreachable" when installing linux

I'm currently trying to install Arch Linux on a new disk, but I'm encountering a networking issue that I can't seem to resolve. I'm getting a "Destination Port Unreachable" error when I try ...
samcio's user avatar
  • 11
0 votes
0 answers
96 views

iptables udp packet forwarding

On my Linux machine, I have a UDP server listening on IP 192.168.1.5 port 44123 and an application that sends UDP packets to other devices on the same network, in particular to devices with IP 192.168....
Jerry Pylarinos's user avatar
0 votes
1 answer
430 views

What is a port?

I have been running an Apache web server for numerous years and have been using ports as a medium to serve requests. Recently, I began using Unix sockets to serve MySQL requests. The function of Unix ...
user10709800's user avatar
0 votes
1 answer
514 views

"Connection refused lost connection" error while using scp command

I tried to transfer a file from an HPC system to a remote CentOS system using the following command line: scp /ANKAN/data/abc.pdf [email protected]:/data/ANKAN But I am getting the following ...
Ankan Sarkar's user avatar

15 30 50 per page
1
2 3 4 5
16