Commit graph

790 commits

Author SHA1 Message Date
Leo Balduf
d66ed27dd9 udp: add support for opentracker-style IPv6 announces 2016-09-03 15:15:11 -04:00
Jimmy Zelinskie
10dff98f8e Merge pull request #203 from mrd0ll4r/refactor-bep41
udp: implement bep41
2016-09-03 14:32:49 -04:00
Leo Balduf
c667497c6d udp: implement bep41 2016-09-03 14:06:07 -04:00
Leo Balduf
6260570635 http: extract query parser to bittorrent package 2016-09-03 14:06:03 -04:00
mrd0ll4r
a4bddccb41 Merge pull request #205 from jzelinskie/clientapproval
middleware: add blacklist support
2016-09-01 22:26:10 -04:00
Jimmy Zelinskie
7ca15e9943 middleware: add blacklist support 2016-09-01 20:49:15 -04:00
mrd0ll4r
302b99c743 Merge pull request #204 from jzelinskie/jwtmw
implement JWT middleware
2016-09-01 20:08:40 -04:00
Jimmy Zelinskie
e39da6b4e6 main: add CreateHooks() method for ConfigFile
This change simplifies middleware.Logic to having only one list of
PreHooks and one list of PostHooks.
2016-09-01 19:48:49 -04:00
Jimmy Zelinskie
6e790eed74 add initial jwt middleware 2016-09-01 19:48:49 -04:00
mrd0ll4r
b5bf6b8acd Merge pull request #201 from jzelinskie/main-split
cmd: pull closure out into its own func and add config.go
2016-08-24 22:30:15 -04:00
Jimmy Zelinskie
9dc5372796 cmd: pull closure out into its own func
Also introduce a config.go.
2016-08-24 20:01:06 -04:00
Jimmy Zelinskie
6ba8e475ca readme: add diagram 2016-08-24 13:31:36 -04:00
Jimmy Zelinskie
cc494a91f7 Merge pull request #200 from mrd0ll4r/main-cleanup
cmd/chihaya: clean up
2016-08-20 12:10:30 -04:00
Leo Balduf
0e0f8e7ad1 cmd/chihaya: clean up 2016-08-20 10:21:10 -04:00
mrd0ll4r
0e125b8a71 Merge pull request #199 from chihaya/arch-desc
readme: add architecture section
2016-08-20 09:15:19 -04:00
Jimmy Zelinskie
4b24463883 readme: add architecture section 2016-08-20 02:27:24 -04:00
Jimmy Zelinskie
23d59c2837 Merge pull request #197 from mrd0ll4r/refactor-udp
Refactor udp
2016-08-20 00:55:15 -04:00
Leo Balduf
a4639a1aac udp: clean up 2016-08-18 10:12:04 -04:00
Leo Balduf
8ebe57a602 udp: fix response encoding 2016-08-17 19:04:26 -04:00
Jimmy Zelinskie
0916afafee Merge pull request #196 from mrd0ll4r/refactor-peerstore-gc
memory: fix garbage collection, add config check
2016-08-17 17:30:47 -04:00
Leo Balduf
62f2a095a1 memory: fix garbage collection, add config check 2016-08-17 17:15:54 -04:00
Jimmy Zelinskie
eda825dfb0 readme: move some things around
[skip ci]
2016-08-16 23:53:17 -04:00
Jimmy Zelinskie
31a79a1ce2 fix http frontend tests 2016-08-16 23:43:09 -04:00
Jimmy Zelinskie
66f76a7d48 make clientID tests pass 2016-08-16 23:41:59 -04:00
Jimmy Zelinskie
ddd5cbef2c travis: disable linting 2016-08-16 23:37:40 -04:00
Jimmy Zelinskie
674ab8a4c6 NewClientID now takes PeerID instead of string 2016-08-16 23:29:06 -04:00
Jimmy Zelinskie
07cc413399 clientwhitelist: fix compilation issues 2016-08-16 22:37:29 -04:00
Jimmy Zelinskie
fc13031d96 move to std context package 2016-08-16 22:34:05 -04:00
Jimmy Zelinskie
84a5e22d42 travis: bump to go1.7 2016-08-16 22:26:19 -04:00
Jimmy Zelinskie
acf2f4c1f5 remove redudant files 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
cc6614c474 rename back to chihaya 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
040a3294b1 middleware: add clientwhitelist 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
a553ded043 memory: add max numwant 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
6fddcb8eea remove gc from storage, but implement it in memory 2016-08-16 22:17:10 -04:00
Leo Balduf
d3f153c938 close PeerStore after benchmarks 2016-08-16 22:17:10 -04:00
Leo Balduf
94dc902b20 comment/lint clean PeerStore 2016-08-16 22:17:10 -04:00
Leo Balduf
e1cf159d9c separate IPv4 and IPv6 swarms on by shards 2016-08-16 22:17:10 -04:00
Leo Balduf
6a45107193 make benchmarks parallel, fix memory benchmarks 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
651ed50957 initial benchmarks. warning: /0 bug 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
c3137508d0 make new storage pkg with memory impl 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
35f7c5682f update example config 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
4df538d027 pass peer to storage 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
778773cb81 rm copyright 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
c9fe95b103 s/backend/middleware 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
c7b17d3195 remove default text (this is generated automatically) 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
11d90b088c s/trackerfuncs/trackerlogic 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
bff3d203a2 add leo to maintainers 2016-08-16 22:17:10 -04:00
Leo Balduf
732b2d536e remove register pattern for hooks 2016-08-16 22:17:10 -04:00
Leo Balduf
9a8cdccc6c make frontend.TrackerFuncs an interface 2016-08-16 22:17:10 -04:00
Leo Balduf
ae18d89627 rename frontends to frontend 2016-08-16 22:17:10 -04:00