Questions tagged [port]
The port tag has no summary.
237 questions
0 votes
0 answers
64 views
Are my ports closed to outside network?
I have a Fedora server with some ports opened on the machine firewall, namely the ssh (22), ftp (21, 30000-31000 for passive). ftp ports only accepts connections coming from within the LAN (192.168.0....
0 votes
0 answers
36 views
Adding an account of postfixmailserver failed on Outlook
I need to add a new account to Outlook. This account belongs to a postfixmailserver. For POP settings, I set port number 110 for incoming and port number 25 for outgoing mail. As the server doesn't ...
0 votes
0 answers
42 views
How to make UFW log connections only on ports it allows?
My UFW is set to default deny incoming, and I have explicit rules to allow connection to SSH and HTTP ports. I want to get logs for those two ports. At logging level low, UFW logs attempts made ...
3 votes
2 answers
107 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 ...
0 votes
0 answers
48 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 ...
0 votes
0 answers
109 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 ...
0 votes
0 answers
57 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 ...
0 votes
1 answer
222 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. ...
0 votes
0 answers
35 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 ...
0 votes
0 answers
118 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
0 votes
1 answer
209 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 ...
2 votes
2 answers
340 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 ...
0 votes
1 answer
89 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 ...
1 vote
0 answers
78 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 ...
1 vote
0 answers
311 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 ...