Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2010
big upload traffic (how to detect)
I have CentOS server, its runing apache, mysql, php website, there are few ssh users. I have munin installed. My server traffic limit is 15GB per month. On graphics I see that before few days was some big data sent/upload from my server, and it reached my traffic limit. I checked apache logs, I cant find any big response. I dont know where I can find some logs which can help me to detect who made this big load on traffic.
I would try to determine when exactly the traffic was used up. Once I knew when this happened, I could check the access logs of the webserver to identify big or repeated downloads. If I couldn't find anything there, I would crawl the sshd log and see if some authorized user was logged in at the specified time. The chances are high that he did transfer data by using scp.
^Or rsync, likely also over ssh. Pulling the entire site by rsync would probably max you out quickly.
- You're not clear whether it is inbound or outbound traffic (with respect to the server). If it is inbound traffic, look for large files that weren't there before. Check timestamp and owner
- Find the exact moment that it happened.
- You can check who was logged in with the "last" command. Not sure if you need root privileges to see other users too.
- If someone was logged in at that moment you can check his/her .bash_history for commands issued
- Are you aware apache logs (or can log) the size of the transfer for each request?
^I took "sent/upload from my server" to indicate outbound.
Root privileges not needed to see full "last" output on CentOS 5.