Slashdot Mirror


Crypto and IPSec Merged into 2.5

Corbet writes "Linus has just merged the new crypto API and IPSec implementation into his 2.5 BitKeeper tree. This is the first time that serious cryptographic code has made an appearance in the mainline kernel, and it will hopefully lead to more secure communications for all Linux users in the future."

11 of 229 comments (clear)

  1. Re:Excellent - no more FreeSWAN patches by LWolenczak · · Score: 5, Informative

    somewhat, but from what I read bout a week and a half ago... the ipsec impmentation that they are putting in does not yet support ipv4 transport.... ie is useless unless you have hosts fully using ipv6 on both sides of the tunnel. Keep in mind, its not frees/wan, its from the linux ipv6 project.

    With the atitude that the frees/wan project maintains, we will never see freeswan merged with mainstream kernel... hell... they still refuse to take patches from us citiziens and residents (that includes linus)

  2. Re:exportation issues? by JKR · · Score: 5, Informative
    The requirements have been relaxed recently; see here for more details. In particular:

    Also in 740.13, to, in part, take into account the "open source" approach to software development, unrestricted encryption source code not subject to an express agreement for the payment of a licensing fee or royalty for commercial production or sale of any product developed using the source code can, without review, be released from "EI" controls and exported and reexported under License Exception TSU.

    Jon.

  3. Looking for FreeSWAN? Try freeswan.ca by caluml · · Score: 5, Informative

    I only found this out recently, but the freeswan.org site lags behind the actual development of freeswan quite a lot. A nice friendly guy runs freeswan.ca, and keeps it chockablock with all the latest patches and stuff.

    I've mirrored the downloads as they're so useful.

  4. Re:Kernel bloat ? by LordHunter317 · · Score: 5, Informative

    No, the whole kernel is about 32MB source. Binary is far smaller.

    Don't compare a 43 MB binary download to a 32MB source download. That's apples to oranges.

  5. Re:Too bad it's not Freeswan by Anonymous Coward · · Score: 3, Informative
    Uh, calling FreeSWAN a "full" implementation is very misleading. Its IKE does not support Aggressive Mode which is pretty much a requirement for virtually every Hardware IPSEC VPN out there.

    FreeSWAN may be good for crypto, but bad for actually getting your work done. Regardless, the new IPSec code gets the hard part integrated, an ipv4 implementation should be trivial.

  6. Re:Kernel bloat ? by GreyWolf3000 · · Score: 5, Informative
    If you roll your own, it is possible to get a working Linux system as small as you want, depending on the functionality. 5MB for a webserver--before compression!

    Sources themselves are huge compared to the bins they create especially considering source trees for projects like the kernel and X, which have support for many architectures. Much of the source code doesn't even get into the binary in the end.

    --
    Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
  7. Re:Kernel bloat ? by LordHunter317 · · Score: 3, Informative

    The bzip2 is 32MB. Get a real compression mechanism.

    Unzipped only counts in terms of disc space. 160MB is small change for most machines. If its not, compile the kernel somewhere else and ship it over.
    Still, it further proves my point, because that means we're goign from 160MB source to 10MB compiled code.

    My whole point is people bitch about bloat when the kernel is anything but bloated. For all the stuff it contains (which is a lot), submitted by all those different people (which is a lot), its incredibly lean.

  8. Re:If I want IPSec stuff by isa-kuruption · · Score: 4, Informative

    I agree! The linux kernel is at least 2 years behind in any IPsec implementation compared to OpenBSD or even FreeBSD. What's going on here? Does that make sense? Usually it's the Linux folks that are ahead of the game, but not this time.




    I guess the Linux folks wanted to make EXTRA SURE they didn't leave any BSD code in the kernel without a copyright before they added it to CVS.



    Go ahead... troll me! I dare you!

  9. Re:Kernel bloat ? by jim3e8 · · Score: 4, Informative

    If you want to see bloat, take a look at the commercial UNIXes.
    For example, on a random HP 11.0 box here:

    -rwxr-xr-x 1 root sys 18946872 May 9 08:43 /stand/vmunix

    That is a 19 megabyte binary kernel. It would be interesting to see how big the source is...

  10. Re:Too bad it's not Freeswan by hardaker · · Score: 3, Informative

    You'll be glad to know that the Cerberus/PlutoPlus implementations done by NIST are going to be more widely available in the near future. Specifically, I've been working on extending them to support large-scale configuration management of it. I ported the cerberus (read: ipsec) support to the 2.4 kernel, and am wrapping up the final details at the moment. The good news about it is that it's not done in the hacky way that freeswan did stuff. I'll be creating a sourceforge project for it within the week (I have a deadline to do it by next week), so look for it shortly.

    I actually tried to approach the FreeSWAN folk to considering instrumenting their code with our policy-role-based configuration management support infrastructure, but they said "no US no way" and I didn't really have a choice if I wanted my patches rolled back into the project. The Cerberus and PlutoPlus developers, on the other hand, have been much more polite and helpful.

    --
    The next site to slashdot will be ready soon, but subscribers can beat the rush and start slashdotting it early!
  11. Re:Kernel bloat ? by cjpez · · Score: 3, Informative
    I don't think trimming off architectures alone would save that much. The 2.4.19 tbz2 is about 25MB. I untarred it, stripped out all arches !i386, retarred, and the resulting tarball was still about 21MB. Not that big of a difference; you're still downloading 21 megs. What's the extra four, really?

    pez@arrakis:~/tmp/kernel$ ls -l
    total 46628
    drwxr-sr-x 2 pez pez 4096 Oct 30 11:40 ./
    drwxr-sr-x 10 pez pez 4096 Oct 30 11:29 ../
    -rw-r--r-- 1 pez pez 21630684 Oct 30 11:35 linux-2.4.19-i386.tar.bz2
    -rw-r--r-- 1 pez pez 26042494 Oct 30 11:40 linux-2.4.19.tar.bz2