Skip to content

Commit

Permalink
add port 22 for ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyoko-Jeremie committed Feb 23, 2020
1 parent 0f42d63 commit 552812b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions header/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ func TCPDaemon(address string, forward bool) {
host_offset, host_length = getHost(request)
}
case 443:
case 22:
seqNum := binary.BigEndian.Uint32(packet.Raw[ipheadlen+4:])
if seqNum == info.SeqNum+1 {
if info.Option&OPT_TFO != 0 {
Expand Down

0 comments on commit 552812b

Please sign in to comment.