aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSylvain Rochet <sylvain.rochet@finsecur.com>2015-04-26 20:40:53 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-26 23:25:13 -0400
commit03654763148f9a3878b8b70c30d1ffce2fca3dff (patch)
tree9bdcae74269b9fc448ca746aedf6b61cc6af3240 /net
parentppp: mppe: sanity error path rework (diff)
downloadlinux-dev-03654763148f9a3878b8b70c30d1ffce2fca3dff.tar.xz
linux-dev-03654763148f9a3878b8b70c30d1ffce2fca3dff.zip
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions