mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Myrddin Ambrosius <imipak@yahoo.com>
To: "Thomas 'Dent' Mirlacher" <dent@cosy.sbg.ac.at>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: "David S. Miller" <davem@redhat.com>,
	tori@ringstrom.mine.nu, imipak@yahoo.com,
	linux-kernel@vger.kernel.org
Subject: Re: Linux crypto?
Date: Fri, 24 May 2002 13:17:15 -0700 (PDT)	[thread overview]
Message-ID: <20020524201715.97204.qmail@web12301.mail.yahoo.com> (raw)
In-Reply-To: <Pine.GSO.4.05.10205242028060.11037-100000@mausmaki.cosy.sbg.ac.at>

--- Thomas 'Dent' Mirlacher <dent@cosy.sbg.ac.at>
wrote:
> well probably everything which isn't plain english
> written with a pen
> on white paper would be outlawed by then ;)

Should be easy to test:

if [ cat /usa/laws | grep ban | grep written | grep -q
english ]; then
  echo "Ok, time to panic"
fi

Output:

"You're too late. That's a $1000 fine, for using
dictionary words."

> ... but what about having all the crypto stuff in
> question beeing handled
> by modules (developed outside the USSA) and having
> the networking-related
> code in the kernel - could the hooks itself be a
> problem?

Hmmmm. This would be an interesting idea. In theory, I
don't see why this couldn't be done via an extension
of the existing network hooks.

IIRC, there are hooks for adding new networking
protocols, so it shouldn't be too difficult to extend
this mechanism.

What you'd need is the ability to layer one transport
mechanism over another, as well as add them in
parallel. That way, you're not adding hooks to be used
-for- IPSec, merely hooks that IPSec could exploit.

This could also be used to simplify the tunneling
code. A tunnel would become an n-deep stack of
transport mechanisms, each piping into the next.
Instead of having to write a new tunneling system for
every possible combination, you'd simply write your
transport mechanism to support a "generic" input and
"generic" output channel. Any protocol could then be
tunelled through any other protocol, including a
protocol which is already being used to tunnel.

For IPSec, this translates to the transport mode
becoming: network protocol -> IPSec

And, for tunneling mode, you'd want something like:
network protocol -> IPSec -> network protocol

By allowing protocol stacks, and by having a generic
interface, it would be easy to throw the output over a
non-IP connection.

At present, if you want to use IPSec over ATM, you'd
need two tunnels. One for IPSec over IP, and one for
IP over ATM. Each would need to be independently
maintained, and you'd end up with a fascinating
routing table, trying to get packets from one virtual
device to another virtual device, through a virtual
network space, without the router daemon deciding that
what you REALLY want is some clam chowder.

With the layering concept, you're simply wrapping one
protocol in another, as many deep as you like, to
produce a single, composite device, with the precice
characteristics you want. For the IPSec over ATM,
you've no tunnels, just the two wrappers (IP->IPSec,
and IPSec->ATM), to produce a composite IP->IPSec->ATM
virtual device.

This is gettig WAAY too off-topic, at this point, but
I could picture the protocols themselves being built
up, LEGO-style, out of sub-components, both in
parallel and as wrappers. The "standard" protocols
would then be simply one way to wire the networking
code, but there'd be a virtually infinite number of
combinations you could do.

(Most of those combinations would be meaningless, but
could prove highly entertaining!)


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

  parent reply	other threads:[~2002-05-24 20:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-22 18:03 Myrddin Ambrosius
2002-05-22 18:38 ` Alan Cox
2002-05-23  8:45   ` Trond Myklebust
2002-05-23 21:46   ` Tobias Ringstrom
2002-05-24 14:58     ` Alan Cox
2002-05-24 17:32       ` Thomas 'Dent' Mirlacher
2002-05-24 17:21         ` David S. Miller
2002-05-24 17:42           ` Thomas 'Dent' Mirlacher
2002-05-24 17:31             ` David S. Miller
2002-05-24 17:57               ` Thomas 'Dent' Mirlacher
2002-05-24 19:18                 ` Myrddin Ambrosius
2002-05-25  4:01                   ` Henrique de Moraes Holschuh
2002-05-24 18:41             ` Alan Cox
2002-05-24 18:30               ` Thomas 'Dent' Mirlacher
2002-05-24 18:55                 ` Alan Cox
2002-05-24 18:50                   ` Sandy Harris
2002-05-29  0:24                   ` Petro
2002-05-24 20:17                 ` Myrddin Ambrosius [this message]
2002-05-24 21:25                   ` Thomas 'Dent' Mirlacher
2002-05-24 18:45               ` Herman Oosthuysen
2002-05-24 21:49           ` Xavier Bestel
2002-05-24 21:43             ` David S. Miller
2002-05-26 10:06               ` Jakob Østergaard
2002-06-18 15:06             ` Drivers, Hardware, and their relationship to Bagels Myrddin Ambrosius
2002-06-18 15:01               ` Zwane Mwaikambo
2002-06-18 15:26               ` Richard B. Johnson
2002-06-18 18:35                 ` Myrddin Ambrosius
2002-06-18 19:13                   ` Richard B. Johnson
2002-06-19  2:11                   ` Stevie O
2002-06-18 16:01               ` Xavier Bestel
2002-06-18 18:23                 ` Myrddin Ambrosius
2002-05-28 18:28 Linux crypto? James Yonan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020524201715.97204.qmail@web12301.mail.yahoo.com \
    --to=imipak@yahoo.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=davem@redhat.com \
    --cc=dent@cosy.sbg.ac.at \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tori@ringstrom.mine.nu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®