mirror of https://github.com/dswd/vpncloud.git
Some minor changes
This commit is contained in:
parent
17254876fc
commit
1ae8c9fda5
|
@ -5,8 +5,8 @@ authors = ["Dennis Schwerdel <schwerdel@googlemail.com>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
description = "Peer-to-peer VPN"
|
description = "Peer-to-peer VPN"
|
||||||
homepage = "https://github.com/dswd/vpncloud.rs"
|
homepage = "https://github.com/dswd/vpncloud"
|
||||||
repository = "https://github.com/dswd/vpncloud.rs"
|
repository = "https://github.com/dswd/vpncloud"
|
||||||
keywords = ["vpn", "p2p", "tun", "tap", "network"]
|
keywords = ["vpn", "p2p", "tun", "tap", "network"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# License: GPL-3
|
# License: GPL-3
|
||||||
|
|
||||||
VpnCloud - Peer-to-Peer VPN
|
VpnCloud - Peer-to-Peer VPN
|
||||||
Copyright (C) 2015-2016 Dennis Schwerdel
|
Copyright (C) 2015-2019 Dennis Schwerdel
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -14,9 +14,3 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
[Full license text](gpl-3.txt)
|
[Full license text](gpl-3.txt)
|
||||||
|
|
||||||
|
|
||||||
## Included works
|
|
||||||
|
|
||||||
This software contains the [libsodium](https://github.com/jedisct1/libsodium)
|
|
||||||
library by Frank Denis which is licensed under the ISC license (similar to BSD).
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ somewhat stable state. VpnCloud features the following functionality:
|
||||||
* Setting up tunnels between two networks via Ethernet (TAP) and IP (TUN)
|
* Setting up tunnels between two networks via Ethernet (TAP) and IP (TUN)
|
||||||
* Connecting multiple networks with multiple forwarding behaviors (Hub, Switch,
|
* Connecting multiple networks with multiple forwarding behaviors (Hub, Switch,
|
||||||
Router)
|
Router)
|
||||||
* Encrypted connections using [libsodium](https://github.com/jedisct1/libsodium)
|
* Encrypted connections
|
||||||
* Automatic peer-to-peer meshing, no central servers
|
* Automatic peer-to-peer meshing, no central servers
|
||||||
* NAT and (limited) firewall traversal using hole punching
|
* NAT and (limited) firewall traversal using hole punching
|
||||||
* Automatic reconnecting when connections are lost
|
* Automatic reconnecting when connections are lost
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
vpncloud (0.9.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* [added] Added ability to write out statistics file with peers and traffic info
|
||||||
|
* [changed] Using ring instead of libsodium (**incompatible**)
|
||||||
|
* [fixed] Hashed magics now also consider first character (**incompatible**)
|
||||||
|
|
||||||
|
-- Dennis Schwerdel <schwerdel@informatik.uni-kl.de> Wed, 09 Jan 2019 21:32:54 +0100
|
||||||
|
|
||||||
vpncloud (0.8.2) stable; urgency=medium
|
vpncloud (0.8.2) stable; urgency=medium
|
||||||
|
|
||||||
* [changed] Using serde instead of rustc_serialize
|
* [changed] Using serde instead of rustc_serialize
|
||||||
|
|
|
@ -577,6 +577,7 @@ impl<P: Protocol, T: Table> GenericCloud<P, T> {
|
||||||
if !self.peers.contains_addr(&peer) {
|
if !self.peers.contains_addr(&peer) {
|
||||||
try!(self.connect(&peer));
|
try!(self.connect(&peer));
|
||||||
}
|
}
|
||||||
|
//TODO: make this address primary
|
||||||
// Connect to all peers in the message
|
// Connect to all peers in the message
|
||||||
for p in &peers {
|
for p in &peers {
|
||||||
if ! self.peers.contains_addr(p) && ! self.blacklist_peers.contains(p) {
|
if ! self.peers.contains_addr(p) && ! self.blacklist_peers.contains(p) {
|
||||||
|
@ -594,6 +595,7 @@ impl<P: Protocol, T: Table> GenericCloud<P, T> {
|
||||||
}
|
}
|
||||||
// Add sender as peer or as alternative address to existing peer
|
// Add sender as peer or as alternative address to existing peer
|
||||||
if self.peers.contains_node(&node_id) {
|
if self.peers.contains_node(&node_id) {
|
||||||
|
//TODO: make this address primary
|
||||||
self.peers.add_alt_addr(node_id, peer);
|
self.peers.add_alt_addr(node_id, peer);
|
||||||
} else {
|
} else {
|
||||||
self.peers.add(node_id, peer);
|
self.peers.add(node_id, peer);
|
||||||
|
|
Loading…
Reference in New Issue