forked from TunSafe/TunSafe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtunsafe_config.h
36 lines (25 loc) · 1.14 KB
/
tunsafe_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// SPDX-License-Identifier: AGPL-1.0-only
// Copyright (C) 2018 Ludvig Strigeus <[email protected]>. All Rights Reserved.
#pragma once
#define TUNSAFE_VERSION_STRING "TunSafe 1.5-rc2-B24"
#define TUNSAFE_VERSION_STRING_LONG "TunSafe 1.5-rc2-B24"
// Enable support for handshake extensions
#define WITH_HANDSHAKE_EXT 1
// Whether to enable the boolean features functionality
#define WITH_BOOLEAN_FEATURES 1
// Enable support for header obfuscation
#define WITH_HEADER_OBFUSCATION 1
// Enable support for two-factor authentication (requires WITH_HANDSHAKE_EXT)
#define WITH_TWO_FACTOR_AUTHENTICATION 1
// Whether to enable the short MAC feature, that uses an 8-byte MAC instead of 16-byte (Saves overhead)
#define WITH_SHORT_MAC 0
// Enable support for the keypair->compress_handler_ feature
#define WITH_PACKET_COMPRESSION 0
// Enable support for short (down to 2 byte headers) instead of 16 bytes
#define WITH_SHORT_HEADERS 0
// Enable support for alternative cipher suites
#define WITH_CIPHER_SUITES 0
#define WITH_AVX512_OPTIMIZATIONS 0
#define WITH_BENCHMARK 0
// Use bytell hashmap instead. Only works in 64-bit builds
#define WITH_BYTELL_HASHMAP 0