From: Kyle Moffett <mrmacman_g4@mac.com>
To: Alaa Dalghan <alaadalghan@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Modifying Cryptography code
Date: Tue, 6 Sep 2005 11:51:53 -0400 [thread overview]
Message-ID: <D10533AF-9FD4-4231-B9DE-030FB12983A7@mac.com> (raw)
In-Reply-To: <BAY106-F34D910C37C07A9F8D18173ABA70@phx.gbl>
On Sep 6, 2005, at 08:38:48, Alaa Dalghan wrote:
> What I am looking for is the portion of the C code in the kernel where
> the Decryption function is called to decrypt a received packet. When I
> find this statement, maybe i can make it conditionnal such as: If the
> destination is me then Decrypt else DO NOT!
You can't make this work. First of all, the other WinXP clients would
be completely unable to decrypt your packets, because they don't have
the right key. Secondly, the kernel cannot know what the destination
is until *after* it has decrypted the packet, because the real target
address is encrypted along with the rest of the data for security. If
your OpenSwan box is too slow, get a faster OpenSwan box, don't try to
break the encryption to make it faster. You cannot remove enough
encryption features to get the required extra speed without disabling
the encryption entirely.
Cheers,
Kyle Moffett
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$ L++++(+
++) E
W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5
X R?
tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r !y?(-)
------END GEEK CODE BLOCK------
prev parent reply other threads:[~2005-09-06 15:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-06 12:38 Alaa Dalghan
2005-09-06 15:51 ` Kyle Moffett [this message]
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=D10533AF-9FD4-4231-B9DE-030FB12983A7@mac.com \
--to=mrmacman_g4@mac.com \
--cc=alaadalghan@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
/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®