summary refs log tree commit diff
path: root/config.h
blob: f04c1d226ce356f5a6962a25df550edf8e56d58d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* common config */

#define PASSWORD_BUF_SZ 512 /* 256 russian utf8 chars */

/* do not forget to set MTU on tap: MAX_PKT_SZ - HMAC_SZ - NONCE_SZ - 14 */
#define MAX_PKT_SZ 1440

/* comment line below to disable ipv6 entirely */
#define ENABLE_IPV6

/* hardcode the password here if you don't want the program to ask for it
 * when it starts. */
char password[PASSWORD_BUF_SZ];