Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to see what is uploaded/downloaded from my samba/ssh ser
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Wed Oct 20, 2010 8:48 am    Post subject: How to see what is uploaded/downloaded from my samba/ssh ser Reply with quote

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
View user's profile Send private message
malern
Apprentice
Apprentice


Joined: 19 Oct 2006
Posts: 170

PostPosted: Wed Oct 20, 2010 12:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Thu Oct 21, 2010 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
your_WooDness
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2007
Posts: 77

PostPosted: Thu Oct 21, 2010 4:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum