Server IP : 103.119.228.120 / Your IP : 18.225.72.161 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/share/doc/ppp-2.4.5/ |
Upload File : |
PPP Support for MPPE (Microsoft Point to Point Encryption) ========================================================== Frank Cusack frank@google.com Mar 19, 2002 Updated by Paul Mackerras, Sep 2008 DISCUSSION MPPE is Microsoft's encryption scheme for PPP links. It is pretty much solely intended for use with PPP over Internet links -- if you have a true point to point link you have little need for encryption. It is generally used with PPTP. MPPE is negotiated within CCP (Compression Control Protocol) as option 18. In order for MPPE to work, both peers must agree to do it. This complicates things enough that I chose to implement it as strictly a binary option, off by default. If you turn it on, all other compression options are disabled and MPPE *must* be negotiated successfully in both directions (CCP is unidirectional) or the link will be disconnected. I think this is reasonable since, if you want encryption, you want encryption. That is, I am not convinced that optional encryption is useful. While PPP regards MPPE as a "compressor", it actually expands every frame by 4 bytes, the MPPE overhead (encapsulation). Because of the data expansion, you'll see that ppp interfaces get their mtu reduced by 4 bytes whenever MPPE is negotiated. This is because when MPPE is active, it is *required* that *every* packet be encrypted. PPPD sets the mtu = MIN(peer mru, configured mtu). To ensure that MPPE frames are not larger than the peer's mru, we reduce the mtu by 4 bytes so that the network layer never sends ppp a packet that's too large. There is an option to compress the data before encrypting (MPPC), however the algorithm is patented and requires execution of a license with Hifn. MPPC as an RFC is a complete farce. I have no further details on MPPC. Some recommendations: - Use stateless mode. Stateful mode is disabled by default. Unfortunately, stateless mode is very expensive as the peers must rekey for every packet. - Use 128-bit encryption. - Use MS-CHAPv2 only. Reference documents: <http://www.ietf.org/rfc/rfc3078.txt> MPPE <http://www.ietf.org/rfc/rfc3079.txt> MPPE Key Derivation <http://www.ietf.org/rfc/rfc2118.txt> MPPC <http://www.ietf.org/rfc/rfc2637.txt> PPTP <http://www.ietf.org/rfc/rfc2548.txt> MS RADIUS Attributes You might be interested in PoPToP, a Linux PPTP server. You can find it at <http://www.poptop.org/> RADIUS support for MPPE is from Ralf Hofmann, <ralf.hofmann@elvido.net>. BUILDING THE PPPD The userland component of PPPD has no additional requirements above those for MS-CHAP and MS-CHAPv2. MPPE support is now included in the mainline Linux kernel releases. CONFIGURATION See pppd(8) for the MPPE options. Under Linux, if your modutils is earlier than 2.4.15, you will need to add alias ppp-compress-18 ppp_mppe to /etc/modules.conf.