Jakob Borg
49a0bfccba
Cache discovery results up to five minutes ( fixes #358 )
2014-08-16 21:27:00 +02:00
Jakob Borg
5f1bf9d9d6
Merge branch 'master' into pr/511
...
* master: (21 commits)
Mechanism to stop external announcement routine
Update goleveldb
Perfstats are not supported on Windows
Build should fail if a platform does not build
Include perfstats and heap profiles in standard build
Actually no, lets not do uploads at all from the build script.
./build.sh upload build server artifacts
Sign checksums, not files.
Badges, add build server
Remove Solaris build again, for now
Travis should build with 1.3 + tip
Translation update
Indicate aproximativeness of repo sizes...
Slightly more conservative guess on file size
Fix set tests
Small goleveldb hack to reduce allocations somewhat
Don't load block lists from db unless necessary
Rip out the Suppressor (maybe to be reintroduced)
Reduce allocations while hash scanning
Add heap profiling support
...
Conflicts:
discover/discover.go
2014-08-14 12:48:33 +02:00
Jakob Borg
798c4aef9a
Mechanism to stop external announcement routine
2014-08-14 12:44:49 +02:00
Audrius Butkevicius
dc9df0a79a
Reannounce renewed UPnP mapping
2014-08-12 23:29:29 +01:00
Jakob Borg
cec3bad373
Move calmh/syncthing -> syncthing/syncthing
2014-08-01 16:48:46 +02:00
Jakob Borg
f88a7a8e6a
Publish more event details
2014-07-17 13:47:46 +02:00
Jakob Borg
b7cf8a471f
New port number for new format global discovery
2014-07-13 09:36:22 +02:00
Jakob Borg
0a633c526f
Copyright wording
2014-07-13 01:07:49 +02:00
Ben Sidhom
2b26891062
Continue discovery on connect errors ( fixes #324 )
...
Continues trying to connect to the discovery server at regular intervals despite
failure. Whether or not to retry and retry interval should be specified in
configuration (not currently in this fix).
2014-07-04 13:47:54 -07:00
Jakob Borg
8f3effed32
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
4dbce32738
Simplify memory handling
2014-06-19 01:02:32 +02:00
Jakob Borg
843fd9bdbd
Add license header
2014-06-01 22:50:14 +02:00
Jakob Borg
7745ed34d3
Don't stop discovery on send errors ( fixes #240 )
2014-05-28 07:03:47 +02:00
Jakob Borg
ae0193b724
Configurable local announcement port ( fixes #256 )
2014-05-22 09:35:54 +02:00
Jakob Borg
40c750141a
Actually announce listen port locally
2014-05-16 16:28:52 +02:00
Jakob Borg
adbd0b1834
Rename mc -> beacon
2014-05-15 00:33:40 -03:00
Jakob Borg
cba554d0fa
Refactor logging into separate package
2014-05-14 21:08:56 -03:00
Jakob Borg
8903825e02
Use UDP broadcasts instead of multicast for discovery
2014-05-14 15:26:10 -03:00
Jakob Borg
532b576fd5
Expose discovery cache over rest interface
2014-05-12 22:08:55 -03:00
Jakob Borg
dd1197236d
Provide discovery hint from the outside (ref #192 )
2014-05-12 21:51:12 -03:00
Jakob Borg
1d602b9efa
Enable discovery gossiping
2014-05-11 19:55:43 -03:00
Jakob Borg
45403917de
Minor cleanup in discovery
2014-05-02 08:53:19 +02:00
Jakob Borg
9fb60d6935
UPnP Port Mapping ( fixes #79 )
2014-04-18 13:28:51 +02:00
Jakob Borg
b802cb1e36
Show status of global announce server ( fixes #71 )
2014-04-16 17:36:09 +02:00
Jakob Borg
31bfd8c039
Decouple local from global announcing ( fixes #132 )
2014-04-16 16:49:01 +02:00
Jakob Borg
116203aef8
discosrv: Clean up debug logging
2014-04-16 15:06:54 +02:00
Jakob Borg
3700eb1e61
Use IPv4 multicast discovery
2014-03-28 11:04:48 +01:00
Jakob Borg
8db1bf9732
Fix local announce (IPv6 multicast, include all listen addresses)
2014-03-19 13:57:19 +01:00
Jakob Borg
52ee7d5724
Discovery tracing
2014-03-09 08:58:03 +01:00
Jakob Borg
ba59e0d3f0
Use undirected broadcast and WriteTo ( fixes #75 )
2014-03-03 18:19:32 +01:00
Jakob Borg
434a0ccf2a
golint
2014-02-24 13:29:30 +01:00
Jakob Borg
e7bf3ac108
go vet
2014-02-24 13:24:03 +01:00
Jakob Borg
c5bdaebf2b
Remove spurious debug print
2014-02-23 15:08:15 +01:00
Jakob Borg
645233e7dc
Respond to local announces of new nodes
2014-02-23 15:01:37 +01:00
Jakob Borg
c6e396e8fb
Send announcements to all connected networks ( fixes #56 )
2014-02-23 14:48:56 +01:00
Jakob Borg
5837277f8d
Rework XDR encoding
2014-02-20 17:42:17 +01:00
Jakob Borg
81d5d1d4a6
Rework config/flags ( fixes #13 )
2014-01-26 14:45:03 +01:00
Jakob Borg
223bdbb9aa
Improve/fix buffer handling
2013-12-30 15:06:44 -05:00
Jakob Borg
064bfd366f
Don't complain about expected timeout
2013-12-24 11:15:21 -05:00
Jakob Borg
f5ea00b297
Don't accumulate goroutines forever
2013-12-24 11:10:49 -05:00
Jakob Borg
746d52930d
Report transfer stats
2013-12-23 12:28:19 -05:00
Jakob Borg
f2d8b68278
External discover
2013-12-22 21:35:05 -05:00
Jakob Borg
31ea72dbb3
Perform external queries
2013-12-22 17:13:59 -05:00
Jakob Borg
e48222ada0
Send external announcements
2013-12-22 16:29:23 -05:00
Jakob Borg
f774b0a5dc
Error handling
2013-12-18 18:29:15 +01:00
Jakob Borg
bfe935b5ab
REBASE!
2013-12-15 11:43:40 +01:00