From a342e5ac5d5bda2efb66fb9a29d2e7f72aba688d Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 27 Jan 2015 10:56:56 +0100 Subject: wpa: do not forward alert tls records, close connection --- sys/src/cmd/aux/wpa.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/src/cmd/aux/wpa.c b/sys/src/cmd/aux/wpa.c index f6f01bf9d..8852b8ad5 100644 --- a/sys/src/cmd/aux/wpa.c +++ b/sys/src/cmd/aux/wpa.c @@ -797,6 +797,10 @@ Reset: } } + /* do not forward alert, close connection */ + if(w[0] == 21) + break; + /* check if we'r still the tunnel for this connection */ if(conn->tunn != tunn) break; -- cgit v1.2.3