Lawrence, Rendall
694592f881
fix list warnings
...
* remove deprecated lint checks
* reformat files
* update dependencies
2022-09-06 13:34:57 +03:00
Lawrence, Rendall
96653c45a3
add filter_private_ips option to discard private IPs.
...
Might be used when tracker is behind reverse proxy and one of provided
addresses in `real_ip_header` is private/local address.
Additional changes:
* check if provided address is not multicast/broadcast
* configure `http.Server.ReadHeaderTimeout` with `http.ReadTimeout` to mitigate Slowloris
* update dependencies
* minor docs fixes
2022-07-23 15:49:22 +03:00
Lawrence, Rendall
92ce0df932
(minor) fix invalid PG gc query example
2022-06-27 15:59:34 +03:00
Lawrence, Rendall
0fd0e06360
(tested) change DataStorage interface to accept byte array as value
2022-06-23 21:01:05 +03:00
Lawrence, Rendall
73d8922c74
(partially tested) add pg storage configuration and man
...
* update test query for `pg`
* attach `pg` to supported storages
* fix lint warnings
* update dependencies
2022-06-21 18:01:08 +03:00
Lawrence, Rendall
8430e1f31f
Initial work on implementing postgresql storage
...
Generated placeholders to use raw sql queries with `pgx` driver
and implemented put/del peer and announce functions
* inline GCAware and StatisticsAware to PeerStorage
* fix redis doc configuration sample
* update dependencies
2022-06-15 21:42:43 +03:00
Lawrence, Rendall
c50a532181
(tested) complete replace logrus with zerolog
...
* remove cobra dependency and split execs to mochi and e2e
* add log init synchronization
2022-05-02 03:13:58 +03:00
Lawrence, Rendall
b365abd296
(untested) sanitize code
...
* remove peer argument from scrape swarm storage call
* replace Peer field with netip.Addr in ScrapeRequest
* add man for keydb storage
* update readme
2022-04-25 19:05:41 +03:00
Lawrence, Rendall
ef03291efe
(tested) rollback to separate v4 and v6 keys in redis/keydb
...
* sanitize log fields
* remove miniredis dependency
* store/collect information about hybrid (v2to1) hashes
2022-04-24 20:32:15 +03:00
Lawrence, Rendall
f9c72341c0
(minor) refactor redis GC and fix TX calls,
...
add indicator that metrics are running
2022-04-17 00:57:30 +03:00
Lawrence, Rendall
01064fd21a
(tested) split storage to data and peer interfaces,
...
add option for persisting (or not) torrent approval data
2022-04-16 18:50:19 +03:00
Lawrence, Rendall
8cd8343757
(tested) refactor code
...
* add sentinel master parameter into driver config
* replace yaml double deserialization with `mapstructure` in initializers
* replace struct initializers with registered functions
* add torrent approval MD and a sanitize rest MDs
2022-04-16 00:51:48 +03:00
Lawrence, Rendall
781fa9440f
(done) replace redigo with go-redis
...
* replace redis keys with RawString encoded values (delete SerializedPeer)
* merge peers got from pre-hools with store data
2022-04-14 01:13:18 +03:00
Lawrence, Rendall
1fcddf5102
(WIP) replace redigo with go-redis
2022-04-13 01:12:00 +03:00
Lawrence, Rendall
4dbbb4ad83
Rename to MoChi
2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič
9122aefdd7
Fix storage tests
...
* reformat sources #JR1356
2021-12-21 15:24:25 +03:00
Leo Balduf
a9a2d37f11
docs: update redis storage docs
2019-10-17 14:59:59 +09:00
onestraw
acdce7fea9
docs: remove memorybysubnet #452
...
Change-Id: I6907910e5752e0e0bd47c80f331e76210bbc744e
2019-02-19 14:57:15 +08:00
Jimmy Zelinskie
6e362c184c
docs: refactor architecture into its own doc
2019-02-13 10:53:26 -05:00
Jimmy Zelinskie
7df0145118
readme: refresh info, add graphviz architecture
2019-02-12 19:29:55 -05:00
onestraw
36e0204a8f
Clarification of Redis storage HA
...
Change-Id: I6674421d3afdbfab6acd97851cb062341b88a90e
2019-02-01 11:14:51 +08:00
onestraw
d65ab677e7
storage/redis: refactor redis storage
...
- Based on @duyanghao's PR
- Make staticcheck pass
- Address review commentsq
2019-01-04 13:58:20 +08: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
Leo Balduf
ee7b4f944a
doc: update frontend doc to indicate BEP15 IPv6 support
2018-02-17 13:41:36 +01:00
Leo Balduf
6e3470aa7e
docs: add frontend documentation
2017-12-05 11:19:33 +01:00
Jimmy Zelinskie
ed69a0893e
docs/storage: add memorybysubnet
2017-06-04 16:06:01 -04:00
Jimmy Zelinskie
13882ae05d
docs: remove deniability middleware
2017-02-16 01:04:17 -05:00
Jimmy Zelinskie
ffcca91221
Create CNAME
2017-01-23 02:24:22 -05:00
Jimmy Zelinskie
062a480737
docs: init middleware docs
2017-01-22 16:58:50 -05:00
Jimmy Zelinskie
23ac850693
docs: add github redirect
2017-01-21 20:39:25 -05:00