Commit graph

1036 commits

Author SHA1 Message Date
Jimmy Zelinskie
1e9af8bfe0 github: add CNAME file 2017-01-22 16:59:14 -05:00
Jimmy Zelinskie
062a480737 docs: init middleware docs 2017-01-22 16:58:50 -05:00
Jimmy Zelinskie
8a9f70825f Merge pull request #270 from jzelinskie/docs
docs: add github redirect
2017-01-22 16:45:02 -05:00
Jimmy Zelinskie
23ac850693 docs: add github redirect 2017-01-21 20:39:25 -05:00
mrd0ll4r
03f0c977d3 Merge pull request #258 from mrd0ll4r/sanitation-hook
middleware: add sanitization hook
2017-01-21 21:06:19 +01:00
Leo Balduf
3ae3843944 bittorrent: add AddressField to ScrapeRequest 2017-01-20 20:34:39 +01:00
Leo Balduf
3c098c0703 middleware: add sanitization hook 2017-01-20 20:29:59 +01:00
mrd0ll4r
91ce2aaf77 Merge pull request #247 from mrd0ll4r/varinterval
middleware: add varinterval
2016-12-30 23:07:47 +01:00
Leo Balduf
fe8c74bd9c middleware: add varinterval 2016-12-16 14:19:02 +01:00
Jimmy Zelinskie
f4dcf1c3fe Merge pull request #260 from jzelinskie/stopperpkg
stopper: move to pkg package
2016-12-13 15:42:50 -05:00
Jimmy Zelinskie
e3e545e22e stopper: move to pkg package
This also adds a package docs for the stopper package.
2016-12-11 21:36:01 -05:00
mrd0ll4r
f180d54f6d Merge pull request #253 from mrd0ll4r/prand
prand: add Container
2016-11-30 20:14:22 +01:00
Leo Balduf
79213c6bbd prand: add Container 2016-11-30 19:54:57 +01:00
mrd0ll4r
2a4b263955 Merge pull request #257 from mrd0ll4r/config-reload
cmd/chihaya: add config reloading via SIGUSR1
2016-11-29 09:25:34 +01:00
Leo Balduf
6b1d4c7ed5 cmd/chihaya: add config reloading via SIGUSR1
Fixes #215
2016-11-28 23:48:00 +01:00
mrd0ll4r
f3690011a7 Merge pull request #255 from mrd0ll4r/peerstore-test
storage: add TestPeerStore test
2016-11-27 20:45:22 +00:00
Leo Balduf
70ceb96313 storage: add TestPeerStore test 2016-11-27 21:43:22 +01:00
mrd0ll4r
989cc4deba Merge pull request #256 from mrd0ll4r/http-godoc-fix
http: fix godoc
2016-11-27 20:40:24 +00:00
Leo Balduf
e4e6ef4bfd http: fix godoc 2016-11-27 10:56:51 +01:00
Jimmy Zelinskie
19ae824b42 Merge pull request #251 from jzelinskie/invalidinfohash
bittorrent: invalid infohash -> ClientError
2016-10-29 10:54:31 -04:00
Jimmy Zelinskie
77e5ab9c5b bittorrent: invalid infohash -> ClientError
Fixes #250
2016-10-28 18:37:28 -04:00
Jimmy Zelinskie
3e17081a71 Merge pull request #248 from jzelinskie/jwtfix
Fix JWT Middleware
2016-10-26 20:29:48 -04:00
Jimmy Zelinskie
5b9de47e7a middleware/jwt: assume KIDs in JWK Set
This also adds additional debug logging.
2016-10-26 13:58:28 -04:00
Jimmy Zelinskie
a1c9f46657 example config: fix mispelling
The key is "jwk_set_url" not "jwk_set_uri".
2016-10-26 11:42:36 -04:00
Jimmy Zelinskie
f524f26d8f Merge pull request #246 from jzelinskie/dockerfileshrink
dockerfile: delete the compiler from the container
2016-10-24 11:29:53 -04:00
Jimmy Zelinskie
c5af262d43 dockerfile: delete the compiler from the container
This drastically shrinks the size of the container when deploying using
Quay's squashed image support.

https://docs.quay.io/guides/squashed-images.html
2016-10-21 23:01:22 -04:00
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