From b4709429ed88563982412a5a027b92143c37e268 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Thu, 31 Jul 2025 17:12:27 +0300 Subject: Add files --- config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..0c43c86 --- /dev/null +++ b/config.h @@ -0,0 +1,10 @@ +/* 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 + +/* hardcode the password here if you don't want the program to ask for it + * when it starts. */ +char password[PASSWORD_BUF_SZ]; -- cgit 1.4.1