Token has been stripped; Headers are encrypted

This commit is contained in:
Milos Gajdos
2019-11-25 18:56:00 +00:00
parent f82c267d81
commit 9095b99f6b
4 changed files with 65 additions and 52 deletions

View File

@@ -10,6 +10,8 @@ import (
type tunListener struct {
// address of the listener
channel string
// token is the tunnel token
token string
// the accept channel
accept chan *session
// the channel to close
@@ -78,6 +80,8 @@ func (t *tunListener) process() {
channel: m.channel,
// the session id
session: m.session,
// tunnel token
token: t.token,
// is loopback conn
loopback: m.loopback,
// the link the message was received on