diff options
| author | Nakidai <nakidai@disroot.org> | 2025-07-31 17:12:27 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-07-31 17:12:27 +0300 |
| commit | b4709429ed88563982412a5a027b92143c37e268 (patch) | |
| tree | cd56dfeac7cafcfcb69925b12376d79b8776d3fd /config.h | |
| download | fatvpn-1.0.0.tar.gz fatvpn-1.0.0.zip | |
Add files v1.0.0
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 10 |
1 files changed, 10 insertions, 0 deletions
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]; |