ソースを参照

Fix: missing obfuscation for server identification line padding

Rod Hynes 10 年 前
コミット
c206b51c8b
1 ファイル変更1 行追加0 行削除
  1. 1 0
      psiphon/obfuscatedSshConn.go

+ 1 - 0
psiphon/obfuscatedSshConn.go

@@ -314,6 +314,7 @@ func (conn *ObfuscatedSshConn) transformAndWrite(buffer []byte) (err error) {
 		if err != nil {
 		if err != nil {
 			return ContextError(err)
 			return ContextError(err)
 		}
 		}
+		conn.writeObfuscate(padding)
 		_, err = conn.Conn.Write(padding)
 		_, err = conn.Conn.Write(padding)
 		if err != nil {
 		if err != nil {
 			return ContextError(err)
 			return ContextError(err)