Dennis Schwerdel
28b1c76d70
Update dependencies
2023-10-07 00:56:32 +02:00
Dennis Schwerdel
79916104ba
Make clippy happy
2021-12-19 13:54:09 +01:00
Dennis Schwerdel
8c55e6c076
Finish advertise address & exchange own addresses
2021-04-09 22:01:35 +02:00
Jeffrey Schiller
0f9a0d8f91
Add ability to configure “own” addresses ( #185 )
...
* Add ability to configure “own” addresses
This configuration option permits the declaration of external or public
addresses instead of attempting to learn them from port forwarding or
interfaces. This is useful in situations where it isn’t possible to
accurately obtain the correct external addresses that peers should use.
* Update args and use better parse listen address
Add the --advertise_addresses control argument to accompany the new
configuration option. Also parse the listen address/port to extract the
port to advertise with advertise_addresses instead of assuming it is
just a port.
2021-04-09 20:30:16 +02:00
Dennis Schwerdel
4fb92a36a6
Prepare for release
2021-04-06 12:28:31 +02:00
Dennis Schwerdel
7abeea1f95
Update copyright
2021-02-08 10:11:20 +01:00
Dennis Schwerdel
5236adf7b3
Fix some lints
2021-02-06 13:09:11 +01:00
Dennis Schwerdel
13688edd75
Prepare release
2021-02-05 18:27:48 +01:00
Dennis Schwerdel
f0d9ad2ccd
Merge branch 'master' into wsproxy
2021-02-03 22:44:31 +01:00
Dennis Schwerdel
e3fa631ed9
Working example
2021-02-03 22:03:42 +01:00
Dennis Schwerdel
cbd38ed712
Document hot paths
2021-01-28 23:19:20 +01:00
Dennis Schwerdel
f95fb17dd4
rename to hook
2021-01-24 19:24:40 +01:00
Dennis Schwerdel
8c4d86a101
node_id formatting
2021-01-23 21:18:25 +01:00
Dennis Schwerdel
8e3cdbddbf
Formatting
2021-01-23 21:03:36 +01:00
Dennis Schwerdel
e6994e6939
Implement event scripts
2021-01-23 20:29:15 +01:00
Dennis Schwerdel
124f7cbff9
Almost works
2020-12-20 13:28:01 +01:00
Dennis Schwerdel
d50490ac51
Client works
2020-12-20 01:40:32 +01:00
Dennis Schwerdel
6d1bb8fabb
Exchange all peer addresses
2020-12-19 10:54:55 +00:00
Dennis Schwerdel
ea049e4a4c
Remove dummy device type
2020-11-28 23:47:43 +01:00
Dennis Schwerdel
f210f75a25
Allow default port for peers
2020-11-07 12:25:12 +01:00
Dennis Schwerdel
c31de207c7
Some small fixes
2020-11-07 12:04:25 +01:00
Dennis Schwerdel
150f219e04
Some fixes/improvements
2020-11-03 18:49:35 +01:00
Dennis Schwerdel
cbc73d0c0e
Some fixes
2020-11-02 20:44:05 +01:00
Dennis Schwerdel
ac1aec9d25
Fix lost peng
2020-11-01 23:33:00 +01:00
Dennis Schwerdel
45ab0a4608
Do not reconnect to timed out pending conections
2020-11-01 23:02:27 +01:00
Dennis Schwerdel
16da58b8df
Some more improvements
2020-10-29 00:09:40 +01:00
Dennis Schwerdel
47f872d5f4
Some improvements
2020-10-28 18:54:17 +01:00
Dennis Schwerdel
ab79ee58de
Improve logging
2020-10-25 00:49:02 +02:00
Dennis Schwerdel
7cfc77a2d8
Some fixes
2020-10-25 00:24:11 +02:00
Dennis Schwerdel
aab4f000b5
Improve logging
2020-10-24 22:59:14 +02:00
Dennis Schwerdel
5bb0187726
More tests + clippy changes
2020-10-11 21:45:28 +02:00
Dennis Schwerdel
36f0b94514
Some improvements
2020-10-06 22:52:14 +02:00
Dennis Schwerdel
af7a7f6a29
Send salted hash of node_id
2020-09-28 12:50:08 +02:00
Dennis Schwerdel
923269d057
Major refactoring, version 2
2020-09-24 19:48:13 +02:00
Dennis Schwerdel
2fcf2c1e01
Fixed problem with TUN on dynamic host addresses
2020-07-20 23:56:48 +02:00
Dennis Schwerdel
2f5ce0b194
Add default port for peers
2020-06-24 15:28:16 +02:00
Dennis Schwerdel
57c993e8d5
Fix keepalive for small timeouts
2020-06-17 22:53:14 +02:00
Dennis Schwerdel
cac5af890b
Fixed statsd support
2020-05-30 16:12:54 +02:00
Dennis Schwerdel
1f94d0deff
Statsd support
2020-05-29 11:51:04 +02:00
Dennis Schwerdel
ed0fdbc366
Change stats output format ot yaml
2020-05-29 10:04:14 +02:00
Dennis Schwerdel
2441cbc177
Update corpyrighht years
2020-05-28 09:03:48 +02:00
Dennis Schwerdel
7b79b9b26f
For mapped ipv4 add plain ip4 to known addresses
2020-05-28 08:57:25 +02:00
Dennis Schwerdel
fd45da489a
Building for i686
2020-02-20 22:52:40 +01:00
Dennis Schwerdel
390f217a23
Add listen option, switched to dual-stack
2020-02-20 16:25:35 +01:00
Dennis Schwerdel
44ad73701b
Fixed problem with growing stats file
2019-12-29 13:03:48 +01:00
Dennis Schwerdel
54a2240f34
Reduced timeout to 5min to work better with NAT
2019-12-22 23:03:45 +01:00
Dennis Schwerdel
246cd3bc2a
Some code cleanup
2019-12-20 13:54:58 +01:00
Dennis Schwerdel
f7ed961317
Deleting beacon file at shutdown
2019-12-19 16:09:52 +01:00
Dennis Schwerdel
55358b3561
Set keepalive to 120 secs when NAT is detected
2019-12-06 10:20:24 +01:00
Dennis Schwerdel
cd09311059
Fixed problems on stats file when dropping perms
2019-12-06 09:55:24 +01:00