pugin init

This commit is contained in:
刘河
2019-10-13 13:25:22 +08:00
parent 8bcf5313f4
commit e11511637b
9 changed files with 265 additions and 1 deletions

View File

@@ -199,6 +199,7 @@ func (s *Sock5ModeServer) handleConn(c net.Conn) {
c.Close()
return
}
if s.task.Client.Cnf.U != "" && s.task.Client.Cnf.P != "" {
buf[1] = UserPassAuth
c.Write(buf)