Joakim Frostegård
|
9b032f7e24
|
Move all crates to new crates dir
|
2023-10-18 23:53:41 +02:00 |
|
Joakim Frostegård
|
6bdb50df8a
|
access control: strip whitespace in hashes, ignore empty lines
|
2022-07-26 23:22:02 +02:00 |
|
Joakim Frostegård
|
ea046dd5fe
|
AccessListConfig: add serde(default, deny_unknown_fields)
|
2022-07-23 17:51:21 +02:00 |
|
Joakim Frostegård
|
7180318abb
|
access list: rename white to allow, black to deny
|
2022-03-26 11:18:19 +01:00 |
|
Joakim Frostegård
|
f18fc52675
|
Run cargo fmt
|
2022-02-20 00:45:04 +01:00 |
|
Joakim Frostegård
|
14a4c10546
|
s/toml_config/aquatic_toml_config/
|
2022-02-19 15:11:00 +01:00 |
|
Joakim Frostegård
|
a208775104
|
Include documentation in printed config files (#41)
* Start work on printing toml config with comments
* WIP: toml_config: extract default values for fields
* WIP: toml_config: handle single-level nested structs
* WIP: toml_config: improve comment handling, std type trait impls
* WIP: toml_config: add Private trait, improve comment handling, clean up
* toml_config: fix default value bug; improve tests
* Use toml_config in all applicable crates; add toml_config enum support
* toml_config: improve comments
* toml_config_derive: support enum comments
* Improve config comments for udp, cli_helpers, common
* Improve config comments
* Add tests for Config struct TomlConfig implementations
* Improve Config comments
* Improve Config comments
* ws, http: add config comments for tls cert and private key lines
* small fixes to toml_config and toml_config_derive
* Run cargo fmt
* Fix typo in several config comments
* Update README
* Update README
|
2021-12-26 11:33:27 +01:00 |
|
Joakim Frostegård
|
59e95894b9
|
udp: statistics: show number of torrents and access list len
|
2021-11-19 12:04:16 +01:00 |
|
Joakim Frostegård
|
fa3b6bb259
|
Move fn update_access_list to aquatic_common
|
2021-11-02 23:33:47 +01:00 |
|
Joakim Frostegård
|
992f4df635
|
aquatic_common: add access list test
|
2021-11-02 22:54:18 +01:00 |
|
Joakim Frostegård
|
fdaafae4b7
|
aquatic_udp: glommio: use signals for access list update
|
2021-11-02 22:23:47 +01:00 |
|
Joakim Frostegård
|
9b75b50802
|
aquatic_udp: mio: access list: use SIGUSR1, improve errors
|
2021-11-02 21:06:57 +01:00 |
|
Joakim Frostegård
|
d922e5e680
|
aquatic_udp: mio: update access list on SIGHUP instead of regularly
|
2021-11-02 20:33:08 +01:00 |
|
Joakim Frostegård
|
96196239f5
|
aquatic_udp: glommio: mostly implement scrape request support
|
2021-10-23 14:43:16 +02:00 |
|
Joakim Frostegård
|
119cd0fe46
|
Improve common AccessList code
|
2021-10-23 12:57:00 +02:00 |
|
Joakim Frostegård
|
38617c70f4
|
Refactor AccessList; update it periodically in aquatic_udp glommio
|
2021-10-19 22:52:31 +02:00 |
|
Joakim Frostegård
|
f3487d4749
|
Rename AccessList variants
|
2021-10-17 18:19:31 +02:00 |
|
Joakim Frostegård
|
f32cb522e2
|
aquatic_common: rename a AccessList function argument
|
2021-10-16 17:54:13 +02:00 |
|
Joakim Frostegård
|
7ccd5fcbf7
|
access lists: filter requests in socket workers instead
|
2021-10-16 17:26:40 +02:00 |
|
Joakim Frostegård
|
40b7bfe309
|
aquatic_common: make info hash parse test code look nicer
|
2021-10-15 22:09:20 +02:00 |
|
Joakim Frostegård
|
ba787c3361
|
aquatic_common: improve comments, run rustfmt
|
2021-10-15 22:07:29 +02:00 |
|
Joakim Frostegård
|
490c0b037d
|
AccessListMode: rename Allow to Require and Deny to Forbid
|
2021-10-15 21:59:46 +02:00 |
|
Joakim Frostegård
|
3a2e751668
|
AccessListConfig: put mode field first
|
2021-10-15 21:58:47 +02:00 |
|
Joakim Frostegård
|
b3d1bcb7f1
|
aquatic_udp: serde-rename AccessListMode variants to lowercase
|
2021-10-15 21:58:23 +02:00 |
|
Joakim Frostegård
|
f0846e3128
|
aquatic_common: rename AccessListType to AccessListMode
|
2021-10-15 21:55:01 +02:00 |
|
Joakim Frostegård
|
60d183003d
|
aquatic_common: move access list code to own file
|
2021-10-15 21:53:42 +02:00 |
|