View previous topic :: View next topic |
Author |
Message |
rado3105 Apprentice
Joined: 14 Jul 2007 Posts: 293
|
Posted: Wed Oct 20, 2010 8:48 am Post subject: How to see what is uploaded/downloaded from my samba/ssh ser |
|
|
Is possible to see in some log file or...any program downloaded and uplaoded data from various users to my server, using ssh, samba?
For downloaded/uploaded data I have vnstat, but I would like to also see what is uploaded(name of file) and what is downloaded, also which ip is downloading what. Thanks. I dont mean smbstatus, but something I can see later. |
|
Back to top |
|
|
malern Apprentice
Joined: 19 Oct 2006 Posts: 170
|
Posted: Wed Oct 20, 2010 12:11 pm Post subject: |
|
|
ssh doesn't transfer files itself, it's the protocols on top of ssh that do the transferring e.g scp, sftp, rsync, "cat > file", etc. There's so many different ways that it could be done that it'd be impossible to log them all.
For samba you should be able to find the information in /var/log/samba. Someone else might know some good tools for parsing that information into a more useful format. |
|
Back to top |
|
|
rado3105 Apprentice
Joined: 14 Jul 2007 Posts: 293
|
Posted: Thu Oct 21, 2010 3:57 pm Post subject: |
|
|
It is sftp. In /var/log/samba there is nothing related to user. Is there any tool to monitor and log this? |
|
Back to top |
|
|
your_WooDness Tux's lil' helper
Joined: 25 Oct 2007 Posts: 77
|
Posted: Thu Oct 21, 2010 4:11 pm Post subject: |
|
|
Hi,
I think netwatch can split up the traffic into the different protocols, but I am not sure. Maybe you should have a look at it...
WooD |
|
Back to top |
|
|
|