Re: How do I know my Connection is Encrypted.

Mike Gibbons <[email protected]> Mon, 16 Apr 2012 21:29:37 -1000
Newsgroups gmane.network.poptop
Message-ID <[email protected]>
James, thank you for such a fast reply.

I hadn't understood that some initial key negotiation was in the clear, so thank you for that explanation. I am using mppe so from your answer I gather that the key exchanges are encrypted.

I believe that my client is configured so all eth0 connections passes through ppp0.

You say that the blue line from the target to the client does not represent the actual data flow, so does it flow back through the server and if so, is it encrypted between the server and the client?

Lastly, how does the client side verify that encryption has been used in the transaction? All the search engine research I have been able to do implies this just has to trusted.

Thanks again for you time.


Sent from my ASUS Eee Pad

James Cameron <[email protected]> wrote:

>It depends.
>
>Some of the traffic representing your connections passes through pptpd,
>and some may not; it may pass through other network interfaces.  This
>depends on how you have configured routing on the client.
>
>Some of the metadata exchanged between the client and the server is not
>encrypted.  All of the IP packets are encrypted if pptpd is configured
>to use MPPE.
>
>The encryption is weak, in that it is RSA RC4 with only 128-bit session
>keys, and these keys depend on data elements that are initially
>exchanged in the clear.  So I'm alarmed that you would ask, given how
>easily the encryption can be attacked.
>
>To answer your precise questions:
>
>a.  no, the traffic between the server and the target that represents
>the connection between the client and the target, is not encrypted,
>
>b.  yes, the traffic between the client and the server that represents
>your connection between the client and the target, is encrypted, if
>pptpd is properly configured,
>
>The simplified diagram on
>http://poptop.sourceforge.net/dox/diagnose-forwarding.phtml and the
>detailed diagrams that follow use a blue line, which is the line at the
>bottom of each diagram, to represent the connection between the client
>and the target.  It doesn't represent the actual data flow.
>
>And your question:
>> If the server-target-client connections are not encrypted, is there
>> anyway to pass the connection back through the server?
>
>... doesn't make sense to me, sorry.  I think you might misunderstand my
>diagrams.  ;-}
>
>-- 
>James Cameron
>http://quozl.linux.org.au/
>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev