There is pppd program that can be used to create point-to-point conections over various channels (including other network).

It supports authentication and compression. But does it encrypt traffic or encryption is only used at authentication phase? Where can I see the algorithm and key size?


PPP has several extensions for that, e.g. RFC 1968 and Microsoft's MPPE. At least this pppd for Linux knows how to use MPPE, provided that the kernel was configured to support it (the bulk encryption work is done in the kernel). See the man page for how to configure algorithms and key size.

Of course, you will get encryption only if both ends of the link support it.

  • Is MPPE's algorithm secure engouh by today's standards? In the manual there is info about 40-bit and 128-bit modes while I typically see "AES 256 bits" as example of secure algorithm... – Vi. Feb 18 '13 at 19:18
  • 128 bits are enough; see this. However, this does not mean that MPPE is "secure enough", only that key size will not be the issue. Bruce Schneier has some things to say on MPPE and MS-CHAPv2. – Tom Leek Feb 18 '13 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.