remarkable-linux/drivers/net/ppp
Sylvain Rochet 0365476314 ppp: mppe: discard late packet in stateless mode
When PPP is used over a link which does not guarantee packet ordering,
we might get late MPPE packets. This is a problem because MPPE must be
kept synchronized and the current implementation does not drop them and
rekey 4095 times instead of 0, which is wrong.

In order to prevent rekeying about a whole count space times (~ 4095
times), drop packets which are not within the forward 4096/2 window and
increase sanity error counter.

Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-04-26 23:25:13 -04:00
..
bsd_comp.c
Kconfig
Makefile
ppp_async.c
ppp_deflate.c ppp: deflate: never return len larger than output buffer 2015-01-29 14:50:01 -08:00
ppp_generic.c ppp: call skb_checksum_complete_unset in ppp_receive_frame 2015-04-20 21:57:26 -04:00
ppp_mppe.c ppp: mppe: discard late packet in stateless mode 2015-04-26 23:25:13 -04:00
ppp_mppe.h
ppp_synctty.c
pppoe.c pppoe: Lacks DST MAC address check 2015-04-20 15:26:57 -04:00
pppox.c
pptp.c ipv4: hash net ptr into fragmentation bucket selection 2015-03-25 14:07:04 -04:00