Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tlvparse/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func isAzurePrivateEndpointLinkID(tlv proxyproto.TLV) bool {
// AzurePrivateEndpointLinkID returns linkID if given TLV matches Azure Private Endpoint LinkID format
//
// Format description:
//
// Field Length (Octets) Description
// Type 1 PP2_TYPE_AZURE (0xEE)
// Length 2 Length of value
Expand Down
8 changes: 5 additions & 3 deletions tlvparse/ssl.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ const (
};
*/
type PP2SSL struct {
Client uint8 // The <client> field is made of a bit field from the following values,
// The Client field is made of a bit field from the following values,
// indicating which element is present: PP2_BITFIELD_CLIENT_SSL,
// PP2_BITFIELD_CLIENT_CERT_CONN, PP2_BITFIELD_CLIENT_CERT_SESS
Verify uint32 // Verify will be zero if the client presented a certificate
Client uint8
// Verify will be zero if the client presented a certificate
// and it was successfully verified, and non-zero otherwise.
TLV []proxyproto.TLV
Verify uint32
TLV []proxyproto.TLV
}

// Verified is true if the client presented a certificate and it was successfully verified
Expand Down
Loading