Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have linux (OpenSuse) testing server and I would like to have detail log about http and ftp connections (and maybie other TCP connections).

Informations I'm interested in are IP address, transfer speed, download size, date and time

What tools would you suggest?

share|improve this question
up vote 0 down vote accepted

you could log specific connections and then analyze the logs (with tools like "IPTables log analyzer", AWStats, logwatch and, with a little work, psad) (LOG section)
howto and examples

i don't think is possible to have straight information about transfer speed and download size. i will share my view below :
download size :

  1. for http and ftp you have in their logs the date, ip and files transferred. so their size too. (you host those files isn't it?)
  2. if the host machine is gateway and/or router you have to use a deep inspection (you could use a IDS like snort and create special rules)

transfer speed

  1. generic speed benchmark : iptraf, iperf

  2. pe connection : you could use monitoring tools like zabbix, nagios, ganglia etc (enumered in MY order of preference with primary criteria the easiness of writing plugins (IMHO, YMMV))

as a general rule: /var/log/* , grep, awk (and for those interested, perl) are your very best friends. HTH

share|improve this answer
Linking to some articles is nice, how about writing a little bit about what can be done with the information should someone else be searching for something similar. Your answer is good, but it can be better. – Red Tux Jun 6 '11 at 23:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.