Commit graph

960 commits

Author SHA1 Message Date
mrd0ll4r
5fd96d2c27 Merge pull request #245 from hustcat/upstream
config: fix parsing of embedded struct
2016-10-12 13:50:22 +02:00
Ye Yin
3932ca8971 Fix configure file parse 2016-10-12 19:44:52 +08:00
mrd0ll4r
9c9b4a5002 Merge pull request #244 from mrd0ll4r/udp-fix-ip-spoofing
udp: fix IP bytes not being copied out of the packet
2016-10-04 21:31:32 +02:00
Leo Balduf
5866d96cb0 udp: fix IP bytes not being copied out of the packet
Fixes #243
2016-10-04 18:23:25 +02:00
Jimmy Zelinskie
404e7f5821 Merge pull request #242 from jzelinskie/fixcomplete
middleware: fix scrape data in announces
2016-10-03 14:46:42 -04:00
Jimmy Zelinskie
d86b8e14de middleware: fix scrape data in announces
This change adjusts it such that only empty Swarms return the request
Peer. This also increments the Scrape data properly if a peer is added.

Fixes #241.
2016-10-01 22:56:07 -04:00
mrd0ll4r
6ed89f1b91 Merge pull request #240 from mrd0ll4r/bencode-dict-fix
http/bencode: add missing []Dict case
2016-10-01 20:22:27 +02:00
Leo Balduf
365a6caf43 http/bencode: add missing []Dict case
Fixes #238
2016-10-01 08:10:34 -04:00
mrd0ll4r
b96619d44a Merge pull request #234 from mrd0ll4r/announce-ignore-err-dne
storage: react correctly to ErrDNE for announces
2016-09-30 11:48:27 +02:00
Leo Balduf
45a5e632ae responseHook: always include the announcing peer
Fixes #231
Fixes #232
2016-09-29 18:51:05 -04:00
mrd0ll4r
71232b3fad Merge pull request #235 from mrd0ll4r/http-log-internal-errors
http: log internal server errors
2016-09-30 00:50:17 +02:00
Leo Balduf
d463b235b6 http: log internal server errors 2016-09-29 18:48:35 -04:00
mrd0ll4r
932281289b Merge pull request #236 from mrd0ll4r/sanitation-hook
http: fix IPv4 addresses not 4 bytes long
2016-09-30 00:47:58 +02:00
Leo Balduf
203248425a http: fix IPv4 addresses not 4 bytes long
Fixes #230
2016-09-29 18:46:01 -04:00
Jimmy Zelinskie
8e427c4bc7 Merge pull request #233 from jzelinskie/yamltags
frontend: add yaml tags to UDP and HTTP configs
2016-09-29 16:00:10 -04:00
Jimmy Zelinskie
fcfe5a2c2d frontend: add yaml tags to UDP and HTTP configs
This change also adds the missing fields to the example config.

Fixes #228.
2016-09-29 13:25:17 -04:00
mrd0ll4r
05b42f379c Merge pull request #229 from mrd0ll4r/bencode-error-fix
bencode: fix unsupported type error message
2016-09-28 02:41:26 -04:00
Leo Balduf
b51bdd69ec bencode: fix unsupported type error message 2016-09-27 17:56:09 -04:00
Jimmy Zelinskie
8a71ee793d Merge pull request #227 from jzelinskie/fixjwt
jwt: add updateKeys method and call in constructor
2016-09-26 21:34:10 -04:00
Jimmy Zelinskie
46bd349a23 jwt: add initial jwt update
This also changes the signature of the constructor to return an error.
2016-09-26 21:31:34 -04:00
Jimmy Zelinskie
7f7f2726b4 jwt: add updateKeys method and call in constructor
Fixes #225.
2016-09-26 21:31:34 -04:00
Jimmy Zelinskie
3d8fc63df3 Merge pull request #224 from jzelinskie/dockerfilefix
dockerfile: add comments
2016-09-26 11:52:21 -04:00
Jimmy Zelinskie
13784de8be dockerfile: add comments 2016-09-26 11:50:48 -04:00
mrd0ll4r
d7f8d96d56 Merge pull request #226 from mrd0ll4r/hook-stopping
cmd/chihaya: stop hooks
2016-09-25 18:52:58 -04:00
Leo Balduf
86ebb108fc cmd/chihaya: stop hooks
Fixes #214.
2016-09-24 19:51:18 -04:00
mrd0ll4r
c1b7ba4a52 Merge pull request #223 from jzelinskie/readmewhy
readme: add why & move architecture sections
2016-09-21 19:15:26 -04:00
Jimmy Zelinskie
191304890c readme: add why & move architecture sections 2016-09-21 14:53:41 -04:00
Jimmy Zelinskie
1304ceb65b delete .lgtm
GitHub has this feature built in now.
2016-09-14 20:20:41 -04:00
Jimmy Zelinskie
71c32e2224 readme: convert diagram to ascii
This is ensure that it renders well across platforms
2016-09-14 20:19:46 -04:00
Jimmy Zelinskie
c886008eec readme: sharpen corners in diagram 2016-09-08 19:40:31 -04:00
Jimmy Zelinskie
8b46c39bb4 Merge pull request #222 from mrd0ll4r/final-middleware
Final middleware
2016-09-08 19:38:18 -04:00
Leo Balduf
331dbe34d7 http: add scrape address length to context 2016-09-08 16:02:03 -04:00
Leo Balduf
1bd28b097c udp: add scrape address length to context 2016-09-08 16:02:03 -04:00
Leo Balduf
3ec6f10e93 hooks: add response hook
Fixes #216
2016-09-08 16:02:01 -04:00
Leo Balduf
565ac21834 hooks: add swarm interaction 2016-09-08 15:16:25 -04:00
Jimmy Zelinskie
d7bd9bed36 Merge pull request #220 from mrd0ll4r/storage-scrape-support
Storage scrape support
2016-09-08 15:04:44 -04:00
Jimmy Zelinskie
8eb3e331ef add .lgtm
This file lets us leverage lgtm.co to enforce PRs get reviewed before
merge.
2016-09-08 15:03:11 -04:00
Leo Balduf
97444f08a4 memory: add ScrapeSwarm method 2016-09-08 11:29:36 -04:00
Leo Balduf
b1576da355 storage: add ScrapeSwarm method 2016-09-08 11:28:23 -04:00
mrd0ll4r
0cdbf9b416 Merge pull request #219 from jzelinskie/diagram
readme: update diagram
2016-09-08 09:22:23 -04:00
Jimmy Zelinskie
001d07895e readme: update diagram 2016-09-08 00:59:09 -04:00
mrd0ll4r
52d7039a3e Merge pull request #217 from jzelinskie/bencode
bencode: add missing error handling
2016-09-07 20:51:14 -04:00
Jimmy Zelinskie
578697b136 Merge pull request #218 from mrd0ll4r/travis-golint-fix
travis: fix swallowing of exit codes in golint loop
2016-09-07 19:56:39 -04:00
Leo Balduf
51529da29d travis: fix swallowing of exit codes in golint loop 2016-09-07 13:57:31 -04:00
Jimmy Zelinskie
2415bc71c6 bencode: add missing error handling
In addition, this PR attempts to simplify some functions according to
the output of `gocyclo -n 15`.
2016-09-06 23:43:22 -04:00
mrd0ll4r
6b376e3522 Merge pull request #213 from jzelinskie/mispell
add goreportcard badge
2016-09-06 09:34:14 -04:00
Jimmy Zelinskie
625b372109 *: remove contributors file
git sufficiently tracks this
2016-09-06 00:47:44 -04:00
Jimmy Zelinskie
210b4d40e5 readme: add goreportcard badge 2016-09-06 00:46:23 -04:00
Jimmy Zelinskie
4f33000d7e stopper: embed lock 2016-09-06 00:44:33 -04:00
Jimmy Zelinskie
79d5838077 *: fix mispellings 2016-09-06 00:44:13 -04:00