Incoming traffic with percentage.

Issues related to configuring your network
Post Reply
hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

Incoming traffic with percentage.

Post by hack3rcon » 2021/01/12 20:04:37

Hello,
On my server, someone make a lot of request and it make slowing server. when I disable "httpd" service then problem solve. How can I find who made a lot of request?
I find some tools like "iftop", "iptraf" and "Nethogs", but I need a tool with an output like below:

Code: Select all

interface: eth0
bps

   bps    % desc
 544.3   1% tcp 172.16.1.5:22 <-> 172.16.1.95:8074
 34.0k  87% udp 172.16.1.1:514 <-> 172.16.1.5:514
 350.1   0% udp 172.16.1.5:24330 <-> 209.18.47.62:53
 329.4   0% udp 172.16.1.5:34870 <-> 209.18.47.62:53
 388.3   0% udp 172.16.1.5:4470 <-> 209.18.47.62:53
Any script can do it for me? How you monitor incoming connections to your server?

Thank you.

tunk
Posts: 1204
Joined: 2017/02/22 15:08:17

Re: Incoming traffic with percentage.

Post by tunk » 2021/01/12 20:42:47

Look at the files in /var/log/httpd

Post Reply