Bairdo / gasket

Gasket is a system that provides authentication and authorisation to the https://github.com/faucetsdn/faucet network controller.
3 stars 3 forks source link

Ordering of l2_learn (from multiple ports) when a client is authenticating #103

Open Bairdo opened 6 years ago

Bairdo commented 6 years ago

E.g. two devices with same MAC on different ports, one is trying to authenticate, and the other is sending packets. the authorisation could be applied to the wrong port.

The worst case is that a malicious user gets the authenticating clients authorisation.

Another possible scenario is that the event messages come in out of order, e.g. p2, p1. and the host is now on p2. but we naively use the last learnt port as the current one (that authorisation gets applied to).

The L2_LEARN event does have the previous learnt port