lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1329886881.2788.169.camel@denise.theartistscloset.com>
Date:	Wed, 22 Feb 2012 00:01:21 -0500
From:	"John A. Sullivan III" <jsullivan@...nsourcedevel.com>
To:	netdev@...r.kernel.org
Subject: netkey and ip statistics

Hello, all.  I'm still working on adaptive traffic shaping for
percentile billing and am almost done.  However, I have a question about
byte count statistics when using netkey.

If I understand it correctly, traffic traverses an interface twice when
netkey is used for IPSec, once encrypted and once decrypted.  So let's
say I am using eth1 and transmit 999b decrypted which turns into 1000b
encrypted and I receive 2000b encrypted which turns into 1998b
decrypted.  What will ip -s link ls eth1 show for TX and RX byte counts?

TX 1000b  RX 2000b (what I am hoping for)
or
TX 999b  RX 1998b
or
TX 1999b  RX 3998b

Thanks - John


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ