Hot answers tagged

3 votes

Early warning of port exhaustion in Linux

you could write a bpf software using bpftrace to watch all connections opening and closing and maintain counters for each client,server,server port combination. That seems to be overly complex for ...
  • 196
2 votes
Accepted

Assert if a port is open to host, LAN, or the Internet

From the host itself you can not reliably check if an external firewall or security rule blocks access. Additionally an external check can’t easily distinguish between the server itself or a network ...
  • 72.5k
1 vote
Accepted

Is there a way to include the request port number in NGINX access.log?

nginx variables documentation on variables shows that $server_port variable contains the server side port for the request. nginx log module documentation documents log_format and access_log directives....

Only top scored, non community-wiki answers of a minimum length are eligible