Commit graph

1074 commits

Author SHA1 Message Date
Pierre-Alain TORET
82c9f08f4f middleware : add torrent approval package
this makes it possible to specify a torrent whitelist/blacklist in the
configuration file based on their hexadecimal hash.

Fixes #375

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-09-19 14:11:13 +02:00
mrd0ll4r
b505cecde1
Merge pull request #419 from mrd0ll4r/connid-debug
frontend/udp: debug log connection ID generation/validation
2018-09-17 01:11:56 +02:00
Leo Balduf
96d0c3d829 frontend/udp: debug log connection ID generation/validation 2018-09-16 22:36:47 +02:00
Justin Li
862b452cef
Merge pull request #414 from chihaya/http-and-https
Add https_addr config, required to run HTTPS
2018-09-12 00:49:08 -04:00
Justin Li
1cb16ddb0c Add https_addr config, required to run HTTPS 2018-09-11 17:17:09 -04:00
Justin Li
1a4e4c833b
Merge pull request #413 from chihaya/recursive-stop-groups
Return []error from Stop() channel, allow recursive stop groups
2018-09-11 17:14:41 -04:00
Justin Li
2df7eac90f
Merge pull request #412 from chihaya/config-keepalive
Add config to enable keepalive/persistent connections
2018-09-09 11:38:18 -04:00
Justin Li
d95120c817 Return []error from Stop() channel, allow recursive stop groups 2018-09-09 11:30:15 -04:00
Justin Li
20edf7a136 Add config to enable keepalive/persistent connections 2018-09-09 09:01:53 -04:00
Jimmy Zelinskie
21f500c93e
Merge pull request #405 from jzelinskie/one-binary
cmd: add e2e command
2018-09-04 11:56:18 -04:00
Jimmy Zelinskie
3aa7d1a91d cmd: add e2e command
This change unifies chihaya and chihaya-e2e binaries.
It also vendors the code missing from the project that was used in
chihaya-e2e.

Fixes #402.
2018-09-04 11:38:22 -04:00
mrd0ll4r
3bcb79129c
Merge pull request #408 from mrd0ll4r/fix-tls
http: fix TLS
2018-09-04 17:07:32 +02:00
Leo Balduf
8095657735 http: fix TLS 2018-09-04 12:45:06 +02:00
Jimmy Zelinskie
085234044a
Merge pull request #403 from jzelinskie/trace
cmd/chihaya: add tracing flag
2018-07-04 12:09:41 -04:00
Jimmy Zelinskie
17f22e77a3 cmd/chihaya: add tracing flag 2018-07-03 23:14:33 -04:00
Jimmy Zelinskie
ff15955dcc
Merge pull request #401 from jzelinskie/style-nitpicks
Style nitpicks
2018-06-15 13:48:06 -04:00
Jimmy Zelinskie
0738d93644
Merge pull request #399 from jzelinskie/prom
dist/prometheus: remove rules file
2018-06-15 13:34:35 -04:00
Jimmy Zelinskie
aab8fa24c1
Merge pull request #400 from jzelinskie/helm-config-update
dist/helm: resync config with values.yaml
2018-06-15 13:34:23 -04:00
Jimmy Zelinskie
84ee1d6658 storage/memorybysubnet: fix mispellings 2018-06-15 13:33:26 -04:00
Jimmy Zelinskie
734c11c6ed bittorrent: anonymous fields for IPs in test table 2018-06-15 13:33:26 -04:00
Jimmy Zelinskie
3c052ec98d storage/memory: multi-line call to New() 2018-06-15 13:33:26 -04:00
Jimmy Zelinskie
f0780ad9cc frontend: isolate prometheus logic to one file 2018-06-15 13:33:26 -04:00
Jimmy Zelinskie
be57cd15b7 dist/helm: resync config with values.yaml 2018-06-14 18:40:49 -04:00
Jimmy Zelinskie
b737c8d0aa dist/prometheus: remove rules file
Not all users may want this file and is a burden to maintain.
2018-06-14 18:39:03 -04:00
Jimmy Zelinskie
be555c3b51
Delete index.html
We no longer need this for redirecting the domain.
Google domains supports redirects!
2018-05-11 13:13:52 -07:00
Jimmy Zelinskie
0d492c4349 Delete CNAME 2018-05-11 13:10:25 -07:00
Jimmy Zelinskie
2f603e43fc Create CNAME 2018-05-11 13:10:05 -07:00
Jimmy Zelinskie
ca4147a808 Delete CNAME 2018-05-11 13:09:56 -07:00
mrd0ll4r
9e251b23b6
Merge pull request #394 from mrd0ll4r/bittorrent-strings
bittorrent: implement nicer String methods for various types
2018-04-11 09:09:54 +02:00
mrd0ll4r
1f7ea58197
Merge pull request #395 from mrd0ll4r/opentracker-v6
Opentracker v6
2018-03-23 09:33:43 +01:00
Leo Balduf
0954c17692 chihaya-e2e: force IPv4 announces for now 2018-02-17 13:42:36 +01:00
Leo Balduf
ee7b4f944a doc: update frontend doc to indicate BEP15 IPv6 support 2018-02-17 13:41:36 +01:00
Leo Balduf
fa19d1125c udp: support both BEP15 and old opentracker v6 announces 2018-02-17 13:41:36 +01:00
Leo Balduf
6c5e8ad20c bittorrent: implement nicer String methods for various types 2018-02-17 13:11:27 +01:00
mrd0ll4r
0edd6382d5
Merge pull request #393 from mrd0ll4r/validate-port
Validate port
2018-02-14 11:27:19 +01:00
mrd0ll4r
b1c05d362a
Merge pull request #392 from mrd0ll4r/default-port
*: move default tracker port to 6969
2018-02-14 11:26:48 +01:00
Leo Balduf
b19f7115df bittorrent: validate port != 0 for announces 2018-02-13 10:13:57 +01:00
Leo Balduf
0c077f0a8c *: move default tracker port to 6969 2018-02-13 10:07:01 +01:00
mrd0ll4r
a8bc51ba1d
Merge pull request #382 from mrd0ll4r/ekop
travis: add chihaya e2e testing
2018-02-04 23:35:34 +01:00
Leo Balduf
7022b541bc dep: add dependencies for e2e testing 2018-02-04 12:38:12 +01:00
Jimmy Zelinskie
40f6456138
Merge pull request #381 from jzelinskie/subtests
*: add subtests for all table driven tests
2018-02-03 13:19:28 -05:00
Jimmy Zelinskie
811fe001ac bittorrent: pretty print nil for subtest naming 2018-02-02 17:13:13 -05:00
Leo Balduf
65704f47e1 travis: add chihaya-e2e 2018-01-21 18:43:28 +01:00
Leo Balduf
1a39a495d7 cmd/chihaya-e2e: add chihaya-e2e 2018-01-21 18:35:02 +01:00
Jimmy Zelinskie
a5b15d69ad
Merge pull request #376 from jzelinskie/register-mw
Add registrable middleware
2018-01-01 18:34:20 -05:00
Jimmy Zelinskie
6bef53658b
Merge pull request #380 from jzelinskie/rmglide
*: remove glide from README & Dockerfile
2017-12-31 15:47:42 -05:00
Jimmy Zelinskie
2004489016 *: add subtests for all table driven tests
Because we use testify, this is less useful than normal, but this is
still best practice for table-driven tests.
2017-12-29 17:44:45 -05:00
Jimmy Zelinskie
120c4615c1 travis: remove 'grep -v vendor' from go list
In recent versions of Go, you no longer need to manually remove the
vendor directory from commands like `go list`.
2017-12-29 17:14:55 -05:00
Jimmy Zelinskie
e9d1e71276 *: remove glide from README & Dockerfile 2017-12-29 17:12:17 -05:00
Jimmy Zelinskie
7dbbc86380 middleware: add a registration model 2017-12-29 16:55:48 -05:00