Re: how much RAM required per tunnel in freeswan using AES or 3DES

Michael Richardson <[email protected]>
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "its" == its ravi <[email protected]> writes:
    its> hi all I am using freeswan with AES encryption algorithm.Its working
    its> fine. Presently I am using only few tunnels but according to my need
    its> I am planning to use tunnel in big number but not more than 50 on
    its> any gateway.  Now before that i wants to know approximately how much
    its> RAM is required per tunnel so that gateway works fine.

    its> Is there any mechanism by whivh i can calculate RAM required.

  There are no stats like this, unless the AES patch added some.
  I would assume not more than 4K per SA in the kernel.
  (AES candidate, Twofish has a lot of state, closer to 4K itself, but AES
does not have quite as much, I believe) 

  I might count as much as 8K per tunnel for pluto, but this memory can be
virtual if need be.

  So, for 50 tunnels, 200KB. That's really not very much, even on a 16MB system.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] [email protected] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPjqTQ4qHRg3pndX9AQGqggP/SePumTLHbYKE727zdy0J+SO3Bmgtd3Kr
SqAtP3I+9XPvk/9KyuLtR+rGZUKz2Qlm44v0kJ5sFTx4IHRRcAqJ35LLVo2ucVvg
ItxGO2BZTf5TWLBxMEzVd4q+Fx5niZMVa0d1FB3IrOj03c0LbSYSeBnkhmocwWEK
+NAq3fmBQzU=
=B8Lo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.