Jakob Borg
6982c06261
cmd/strelaypoolsrv: Handle portless X-Forwarded-For ( #4856 )
2018-04-01 21:29:34 -04:00
Jakob Borg
5e041dca9f
cmd/strelaypoolsrv: Return better error codes and messages ( #4770 )
...
The current 500 "test failed" looks and sounds like a problem in the
relay pool server, while it actually indicates a problem on the
announcing side. Instead use 400 "connection test failed" to indicate
that the request was bad and what was the test.
2018-02-21 12:53:49 +01:00
Jakob Borg
ec62888539
lib/connections: Allow on the fly changes to rate limits ( fixes #3846 )
...
Also replaces github.com/juju/ratelimit with golang.org/x/time/rate as
the latter supports changing the rate on the fly.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3862
2017-01-02 11:29:20 +00:00
Jakob Borg
47f22ff3e5
build: Enable gometalinter "unconvert" check
2016-12-21 14:53:45 +01:00
Audrius Butkevicius
7db00132b2
cmd/strelaysrv: Fix sorting zeros versus undefined
2016-10-07 21:24:47 +01:00
Xav
96e8f94833
skip-check: authors
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3650
2016-10-05 19:13:47 +00:00
Audrius Butkevicius
1de787fab8
cmd/strelaypoolsrv: Ability to select listen protocol
2016-08-23 08:42:57 +02:00
Jakob Borg
3176629410
cmd, lib: Fix ineffectual assignments (ineffasign) and comment spelling
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3405
2016-07-15 14:23:20 +00:00
Jakob Borg
518f446d31
cmd/strelaypoolsrv: Fix vet warnings about type inference
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3393
2016-07-08 06:40:46 +00:00
Jakob Borg
7ff7b55732
cmd/strelaypoolsrv: Remove unused var (metalint)
2016-07-04 21:22:53 +02:00
Jakob Borg
44346b3a5a
cmd/strelaypoolsrv: Fixup import in main
2016-07-04 14:58:29 +02:00
Jakob Borg
ce9dc809bc
build, cmd/strelaypoolsrv: Build assets using standard script
2016-07-04 13:34:44 +02:00
Audrius Butkevicius
50068b0b0f
Add local geoip
2016-04-13 21:34:11 +01:00
Audrius Butkevicius
f39f816a98
Update godeps, reduce amount of time spent testing a relay. Goddamit godeps.
2015-11-23 21:33:22 +00:00
Audrius Butkevicius
925f60d9c3
Add support for header holding IP address
2015-11-03 21:23:35 +00:00
Audrius Butkevicius
8b3f5fda07
Update relay parameters even if it already exists ( fixes #3 )
2015-10-31 17:27:43 +00:00
Audrius Butkevicius
09ba9e6259
Add homepage
2015-10-24 00:06:02 +01:00
Audrius Butkevicius
0e167f5c24
Add CORS headers
2015-10-22 21:44:50 +01:00
Audrius Butkevicius
c885903ff2
Change endpoint URL, as we might want to run some stats pages
2015-10-17 00:05:44 +01:00
Jakob Borg
8450ab8dab
Use vendored dependencies, new relay/client location
2015-09-22 19:51:40 +02:00
Jakob Borg
168889d999
Option for perm relay file, keep test cert in temp dir
2015-09-22 09:02:18 +02:00
Jakob Borg
e1339628d9
Default values tweak
2015-09-22 08:55:06 +02:00
Audrius Butkevicius
425f61cf34
Division by zero not good
2015-09-21 21:51:12 +00:00
AudriusButkevicius
3cacb48f3c
Add IP based rate limiting, check if client IP matches advertised relay, reorder stuff
2015-09-07 18:13:50 +01:00
AudriusButkevicius
6965812d79
Relays are matched by ip:port pairs
2015-09-07 09:14:14 +01:00
AudriusButkevicius
78fb7fe9f9
Implementation
2015-09-06 20:52:31 +01:00