Messages in this thread | | | From | Paul Mackerras <> | Date | Tue, 13 May 2003 14:38:31 +1000 | Subject | Re: 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/
| |