BackupPC-users

Re: [BackupPC-users] [OT] Using iptables for traffic accounting

2009-05-26 08:09:07
Subject: Re: [BackupPC-users] [OT] Using iptables for traffic accounting
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 26 May 2009 22:04:33 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Boniforti Flavio wrote:
>
>
> Il 26.05.09 11:53, "Tino Schwarze" <backuppc.lists AT tisc DOT de> ha scritto:
>
>> Hm, why don't you just filter for destination? Are these dynamic IPs?
>
> I can't filter for destination (if you by "destination" mean the public IP
> of the remote host) because the SSH tunnel is on localhost (-L
> 8873:localhot:873).
> In fact, when some backup is running through such an SSH tunnel, with
> "netstat -na | grep 8873" I see something like:
>
> tcp        0      0 127.0.0.1:8873        127.0.0.1:56023     ESTABLISHED
> tcp        0      0 127.0.0.1:56023       127.0.0.1:8873      ESTABLISHED

You are not looking at the complete output of netstat -an. You need to
look at the traffic over the wire, or in this case, the SSH traffic
between the two hosts. The rsync traffic being sent/recd on the SSH
tunnel is NOT the same thing (especially if you enable ssh compression).

You really do want to look at the ssh tunnel for the traffic count...

Regards,
Adam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkob2tEACgkQGyoxogrTyiVO3wCeN4gYoAS4xCNG2bZY4Gf9EW3n
JAoAni6516TueqYNM9TJ8MQiUzEJmIlD
=4mA4
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/