projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the description of the LocalDiscoveryAddress option from the manual.
[tinc]
/
src
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
4e1caca
..
9293c11
100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.c
@@
-676,7
+676,7
@@
static bool add_listen_address(char *address, bool bindto) {
int udp_fd = setup_vpn_in_socket((sockaddr_t *) aip->ai_addr);
int udp_fd = setup_vpn_in_socket((sockaddr_t *) aip->ai_addr);
- if(
tc
p_fd < 0) {
+ if(
ud
p_fd < 0) {
close(tcp_fd);
continue;
}
close(tcp_fd);
continue;
}
@@
-857,7
+857,7
@@
static bool setup_myself(void) {
/* Generate packet encryption key */
if(!get_config_string(lookup_config(config_tree, "Cipher"), &cipher))
/* Generate packet encryption key */
if(!get_config_string(lookup_config(config_tree, "Cipher"), &cipher))
- cipher = xstrdup("
blowfish
");
+ cipher = xstrdup("
aes-256-cbc
");
if(!strcasecmp(cipher, "none")) {
myself->incipher = NULL;
if(!strcasecmp(cipher, "none")) {
myself->incipher = NULL;
@@
-881,7
+881,7
@@
static bool setup_myself(void) {
}
if(!get_config_string(lookup_config(config_tree, "Digest"), &digest))
}
if(!get_config_string(lookup_config(config_tree, "Digest"), &digest))
- digest = xstrdup("sha
1
");
+ digest = xstrdup("sha
256
");
if(!strcasecmp(digest, "none")) {
myself->indigest = NULL;
if(!strcasecmp(digest, "none")) {
myself->indigest = NULL;