Compare commits
4 Commits
v0.0.75-mu
...
v0.0.79-mu
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5934e3b94d | ||
|
|
0e5974aea2 | ||
|
|
3675820555 | ||
|
|
3ba1b914d6 |
@@ -1,15 +1,10 @@
|
|||||||
# π₁(Glorytun)=ℤ²
|
# π₁(Glorytun)=0
|
||||||
|
|
||||||
Small, Simple and Stupid VPN over [mud](https://github.com/angt/mud).
|
Small, Simple and Stupid VPN over [mud](https://github.com/angt/mud).
|
||||||
|
|
||||||
#### Work In Progress
|
|
||||||
|
|
||||||
This code will probably format your harddisk!
|
|
||||||
|
|
||||||
#### Build and Install
|
#### Build and Install
|
||||||
|
|
||||||
Glorytun depends on [libsodium](https://github.com/jedisct1/libsodium) version >= 1.0.4
|
Glorytun depends on [libsodium](https://github.com/jedisct1/libsodium) version >= 1.0.4.
|
||||||
and needs an AES-NI capable CPU.
|
|
||||||
|
|
||||||
To build and install the latest version:
|
To build and install the latest version:
|
||||||
|
|
||||||
|
|||||||
2
mud
2
mud
Submodule mud updated: bd4a11f73c...b5a5cb2f1f
@@ -277,6 +277,7 @@ main(int argc, char **argv)
|
|||||||
{ "bind-port", &bind_port, option_long },
|
{ "bind-port", &bind_port, option_long },
|
||||||
{ "dev", &dev, option_str },
|
{ "dev", &dev, option_str },
|
||||||
{ "mtu", &mtu, option_long },
|
{ "mtu", &mtu, option_long },
|
||||||
|
{ "mtu-auto", NULL, option_option },
|
||||||
{ "keyfile", &keyfile, option_str },
|
{ "keyfile", &keyfile, option_str },
|
||||||
{ "statefile", &statefile, option_str },
|
{ "statefile", &statefile, option_str },
|
||||||
{ "timeout", >.timeout, option_long },
|
{ "timeout", >.timeout, option_long },
|
||||||
@@ -325,7 +326,7 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
int icmp_fd = -1;
|
int icmp_fd = -1;
|
||||||
|
|
||||||
if (v4) {
|
if (v4 && option_is_set(opts, "mtu-auto")) {
|
||||||
icmp_fd = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
|
icmp_fd = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
|
||||||
|
|
||||||
if (icmp_fd == -1)
|
if (icmp_fd == -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user