[Samba] how to count the network flow of samba in linux server

Sabuj Pattanayek sabujp at gmail.com
Fri May 2 06:10:53 MDT 2014


On Fri, May 2, 2014 at 3:23 AM, hnuzhoulin at gmail.com
<hnuzhoulin at gmail.com>wrote:

> Hi,everyone
> I have a storage server to provide samba service.
> Now I want to count total network flow which through samba .
> I tried ipac-ng which use iptables to count.But the port in the server is
> ranged when a client connect to it.
> so I  first need to get the port and then add iptables rule in real time
> when a new client connect the server.
> if so,the iptables rules become much,and when a packet come in or get out
> ,it will match hunderds of rules first,
> the stability of the server looks bleak.
> So,can you give me some advices about this?
> Thanks so much.
> hnuzhoulin at gmail.com
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list