Results 1 to 5 of 5
Hello, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-14-2011 #1
- 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.
- 10-14-2011 #2
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.
- 10-15-2011 #3
^Or rsync, likely also over ssh. Pulling the entire site by rsync would probably max you out quickly.
- 10-15-2011 #4
- 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?
- 10-15-2011 #5
^I took "sent/upload from my server" to indicate outbound.
Root privileges not needed to see full "last" output on CentOS 5.