syncthing/cmd/strelaypoolsrv
Jakob Borg 4d979a1ce9
all: Truncate some timestamps (fixes #7457) (#7459)
This truncates times meant for API consumption to second precision,
where fractions won't typically matter or add any value. Exception to
this is timestamps on logs and events, and of course I'm not touching
things like file metadata.

I'm not 100% certain this is an exhaustive change, but it's the things I
found by grepping and following the breadcrumbs from lib/api...

I also considered general-but-ugly solutions, like having the API
serializer itself do reflection magic or even regexps on returned
objects, but decided against it because aurgh...
2021-03-12 10:35:10 +01:00
..
auto build: Let "go generate" create assets 2018-06-26 10:29:36 +02:00
gui cmd/strelaysrv: Load map tiles over HTTPS (#7382) 2021-02-19 22:07:05 +01:00
LICENSE Initial commit 2015-09-06 17:29:14 +01:00
README.md all: Weed out a few other http urls (ref #3976) 2017-02-09 08:04:16 +01:00
main.go all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
main_test.go cmd/strelaypoolsrv: Fix relay shuffling (fixes #6936) (#6935) 2020-08-27 15:51:58 +02:00
stats.go all: A few more interesting linter fixes (#5502) 2019-02-02 12:09:07 +01:00
stats_test.go cmd/strelaypoolsrv: Prevent scraped metrics moving backwards (#5068) 2018-07-27 07:59:55 +02:00

README.md

relaypoolsrv

This is the relay pool server for the syncthing project, which allows community hosted relaysrv's to join the public pool.

Servers that join the pool are then advertised to users of syncthing as potential connection points for those who are unable to connect directly due to NAT or firewall issues.

There is very little reason why you'd want to run this yourself, as relaypoolsrv is just used for announcement and lookup of public relay servers. If you are looking to setup a private or a public relay, please check the documentation for relaysrv, which also explains how to join the default public pool.

See relaypoolsrv -help for configuration options.

Third-party attributions

oschwald/geoip2-golang, oschwald/maxminddb-golang, Copyright (C) 2015 Gregory J. Oschwald.

lib/pq, Copyright (C) 2011-2013 'pq' Contributors Portions Copyright (C) 2011 Blake Mizerany.