Cedric Staniewski
a58f69be04
cmd/discosrv: Respect the listen address scheme ( fixes #3346 )
...
If the listen address scheme is set to tcp4:// or tcp6://, it needs to be
made sure that the remote address matches this scheme before it is added to
the database.
This prevents invalid URIs like tcp4://<IPv6 address>:<port> or tcp6://<IPv4
address>:<port>.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3378
2016-07-03 11:19:12 +00:00
Jakob Borg
b7e186b370
cmd/discosrv: Fix lint warnings
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3275
2016-06-07 07:33:11 +00:00
Majed Abdulaziz
b1205db7ac
cmd/discosrv: Accept host names in announced addresses
...
GitHub-Pull-Request: https://github.com/syncthing/discosrv/pull/48
2016-06-02 14:34:04 +02:00
Jakob Borg
532b4383bf
cmd/discosrv: Add build stamped version, print at startup
2016-06-02 13:58:39 +02:00
Jakob Borg
7dddc0de9e
Use atomics for statistics handling ( fixes #45 )
...
This is one of those rare cases where that's actually cleaner, I
think...
2016-05-22 09:24:11 +09:00
Jakob Borg
7b43ba809b
Lower case JSON fields are nicer
2016-04-30 10:53:42 +02:00
Audrius Butkevicius
175f65aabc
Change v13 to v2
...
GitHub-Pull-Request: https://github.com/syncthing/discosrv/pull/41
2016-04-26 20:18:37 +00:00
Audrius Butkevicius
94a392144b
Remove explicit relay handling
...
GitHub-Pull-Request: https://github.com/syncthing/discosrv/pull/40
2016-04-26 07:46:43 +00:00
kc1212
ea61f8f597
Defer fd.Close() ( fixes #37 )
2016-03-21 01:07:51 +01:00
Jakob Borg
8d7ed9f8bf
Add debug performance logging per request
2016-03-18 14:34:55 +01:00
Jakob Borg
1250850492
Must close result sets
2015-12-09 09:55:49 +01:00
Jakob Borg
96b5c2ae00
Set Retry-After header
2015-12-01 10:49:16 +01:00
Jakob Borg
4ea600d34e
lru.Cache is not concurrency safe
2015-11-13 09:13:53 +01:00
Jakob Borg
4a36cca703
We need a limit on the number of PostgreSQL connections
2015-11-09 15:11:21 +01:00
Audrius Butkevicius
f83ae630c1
Merge pull request #31 from syncthing/http
...
Allow plain HTTP serving behind a proxy
2015-11-08 12:26:05 -05:00
Jakob Borg
5894f35364
Correct example DSN ( fixes #29 )
2015-11-08 14:53:39 +01:00
Jakob Borg
c5acbf7e22
Allow plain HTTP serving behind a proxy
2015-11-07 16:01:31 +01:00
Jakob Borg
685306c386
Fix Query/Answer stats
2015-11-06 11:21:28 +01:00
Jakob Borg
5e04274d84
Reduce our patience with slow clients somewhat
2015-11-06 11:20:28 +01:00
Jakob Borg
0d1df6bec3
Discovery server should print device ID of certificate at startup
2015-11-04 16:55:21 +00:00
Jakob Borg
969d7c802d
Use vendored dependencies, new relay/client location
2015-09-22 19:55:12 +02:00
Jakob Borg
3b2adc9a3e
/ping with empty response
2015-09-21 12:49:17 +02:00
Jakob Borg
9b541a28e6
New discovery protocol over HTTPS
2015-09-20 22:00:19 +02:00
Jakob Borg
cbe24d0c61
Errors should not increment for ever
2015-09-12 22:44:59 +02:00
Jakob Borg
e611828249
Merge branch 'v0.12'
...
* v0.12:
Add relay support, add ql support
Stats files
Rewrite for a PostgreSQL backend
2015-08-20 12:20:09 +02:00
Jakob Borg
9370f9cae4
s/internal/lib/
2015-08-09 09:39:28 +02:00
Audrius Butkevicius
4d9ca822a7
Add relay support, add ql support
2015-07-23 19:12:40 +01:00
Jakob Borg
860fbe48dd
Stats files
2015-05-31 13:31:28 +02:00
Jakob Borg
9d06132743
Rewrite for a PostgreSQL backend
2015-03-25 15:37:00 +01:00
Jakob Borg
51eea3f90b
GPL->MIT
2015-03-25 08:07:33 +01:00
Jakob Borg
7aaea6d005
Protocol has moved
2015-01-13 23:15:55 +01:00
Jakob Borg
e3911bacde
Fix goleveldb API change
2014-12-11 12:53:00 +01:00
Jakob Borg
962eaa8a4b
Handle error from XDR marshalling
2014-10-21 08:48:51 +02:00
Jakob Borg
bfba18fdcb
Use WriteToUDP rather than WriteMsgUDP ( fixes #4 )
2014-10-07 10:50:09 +02:00
Jakob Borg
175669c61e
GPL
2014-09-30 16:43:54 +02:00
Jakob Borg
3599b98dca
Node -> Device here too
2014-09-28 22:39:38 +02:00
Jakob Borg
d1c3be3251
Use syncthing internal packages
2014-09-27 15:44:40 +02:00
Jakob Borg
b9f83c7780
Optionally log unknown packet data (for debugging)
2014-09-21 10:57:19 +02:00
Jakob Borg
cbf73ef29e
Align cleaning routine in time
2014-09-08 12:43:30 +02:00
Jakob Borg
db6d3b495b
Use persistent (leveldb) storage
2014-09-08 11:48:26 +02:00
Jakob Borg
6ea8e2525a
Latest build badge should link to latest build
2014-08-20 12:22:23 +02:00
Jakob Borg
29296ec998
Link to build.syncthing.net instead
2014-08-13 13:52:53 +02:00
Jakob Borg
bdd265a1b1
Link to linux binary
2014-08-02 09:03:38 +02:00
Jakob Borg
2c9df7aad1
Update import paths, calmh -> syncthing
2014-08-02 08:25:17 +02:00
Jakob Borg
1fca248d4c
Build status from drone.io
2014-07-31 12:37:18 +02:00
Jakob Borg
99081ea2a0
LICENSE & README
2014-07-30 22:15:16 +02:00
Jakob Borg
1f62247c7e
New port number for new format global discovery
2014-07-13 09:36:22 +02:00
Jakob Borg
6415d1a6a5
Copyright wording
2014-07-13 01:07:49 +02:00
Jakob Borg
926b08c197
Refactor node ID handling, use check digits ( fixes #269 )
...
New node ID:s contain four Luhn check digits and are grouped
differently. Code uses NodeID type instead of string, so it's formatted
homogenously everywhere.
2014-06-30 01:42:03 +02:00
Jakob Borg
aff41d0b08
discosrv: Tunable limiter settings
2014-06-27 22:39:03 +02:00