lkml.org 
[lkml]   [2003]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: MPPE in kernel?
Frank Cusack writes:

> When (if) CCP goes down, pppd shuts down LCP if MPPE was running.

Not good enough - you have a window when the kernel will be
transmitting unencrypted datagrams while pppd responds.

Look at the places in ppp_generic.c where the driver clears
SC_COMP_RUN or SC_DECOMP_RUN - for example when it receives a CCP
terminate-request or configure-request. You need to do something to
make sure that the kernel never transmits data packets when
SC_COMP_RUN is clear if you are doing MPPE. Similarly, if you are
doing MPPE you probably need to discard received unencrypted data
packets.

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.037 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site