-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add quic sniffer * Fix quic sniffer * Add uTP sniffer * rename buf pool membership status to unmanaged * rename buf type adaptor into FromBytes Co-authored-by: 世界 <i@sekai.icu> Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
- Loading branch information
1 parent
f046feb
commit 3f64f32
Showing
10 changed files
with
404 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//go:build go1.16 && !go1.17 | ||
// +build go1.16,!go1.17 | ||
|
||
package quic | ||
|
||
import ( | ||
"crypto/cipher" | ||
|
||
"github.com/marten-seemann/qtls-go1-16" | ||
) | ||
|
||
type ( | ||
// A CipherSuiteTLS13 is a cipher suite for TLS 1.3 | ||
CipherSuiteTLS13 = qtls.CipherSuiteTLS13 | ||
) | ||
|
||
func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD { | ||
return qtls.AEADAESGCMTLS13(key, fixedNonce) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//go:build go1.17 && !go1.18 | ||
// +build go1.17,!go1.18 | ||
|
||
package quic | ||
|
||
import ( | ||
"crypto/cipher" | ||
|
||
"github.com/marten-seemann/qtls-go1-17" | ||
) | ||
|
||
type ( | ||
// A CipherSuiteTLS13 is a cipher suite for TLS 1.3 | ||
CipherSuiteTLS13 = qtls.CipherSuiteTLS13 | ||
) | ||
|
||
func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD { | ||
return qtls.AEADAESGCMTLS13(key, fixedNonce) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//go:build go1.18 | ||
// +build go1.18 | ||
|
||
package quic | ||
|
||
import ( | ||
"crypto/cipher" | ||
|
||
"github.com/marten-seemann/qtls-go1-18" | ||
) | ||
|
||
type ( | ||
// A CipherSuiteTLS13 is a cipher suite for TLS 1.3 | ||
CipherSuiteTLS13 = qtls.CipherSuiteTLS13 | ||
) | ||
|
||
func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD { | ||
return qtls.AEADAESGCMTLS13(key, fixedNonce) | ||
} |
Oops, something went wrong.