63 Commits

Author SHA1 Message Date
moznion
3f6e64349e releng: 0.3.1
Signed-off-by: moznion <moznion@mail.moznion.net>
2022-05-18 12:47:15 -07:00
moznion
7b2a4fb63a Correct the license metadata in Cargo.toml
Signed-off-by: moznion <moznion@mail.moznion.net>
2022-05-18 12:46:02 -07:00
moznion
02f521872e releng: 0.3.0
Signed-off-by: moznion <moznion@mail.moznion.net>
2022-05-18 12:42:46 -07:00
moznion
140b58358e releng: v0.2.1
Signed-off-by: moznion <moznion@mail.moznion.net>
2021-06-01 00:03:09 +09:00
moznion
b795976d66 Fix clippy warnings: warning: using tabs in doc comments is not recommended
Signed-off-by: moznion <moznion@mail.moznion.net>
2021-06-01 00:03:09 +09:00
Renovate Bot
0e0081c604 fix(deps): update rust crate tokio to 1.6.1 2021-05-28 18:16:45 +00:00
Renovate Bot
7d77396d7c fix(deps): update rust crate async-trait to 0.1.50 2021-04-18 00:44:28 +00:00
Renovate Bot
2c5d871636 fix(deps): update rust crate async-trait to 0.1.47 2021-03-07 09:04:23 +00:00
Renovate Bot
edc05fd484 fix(deps): update rust crate tokio to 1.2.0 2021-02-07 11:52:18 +00:00
moznion
6ef94a6e20 releng: v0.2.0
Signed-off-by: moznion <moznion@mail.moznion.net>
2021-02-04 00:53:26 +09:00
moznion
23d19f88aa releng: v0.1.1
Signed-off-by: moznion <moznion@mail.moznion.net>
2021-02-04 00:41:15 +09:00
Renovate Bot
bd2ddf5f5d Update Rust crate tokio to 1.1.1 2021-02-03 15:26:33 +00:00
moznion
fae71ea299 Merge pull request #15 from moznion/renovate/rust-log-0.x
Update Rust crate log to 0.4.14
2021-02-04 00:25:58 +09:00
moznion
3a52873a5d Merge pull request #16 from moznion/renovate/rust-rand-0.x
Update Rust crate rand to 0.8.3
2021-02-04 00:25:43 +09:00
moznion
6ccd711f06 Comment for special RADIUS code; zero out authenticator
Signed-off-by: moznion <moznion@mail.moznion.net>
2021-02-04 00:21:54 +09:00
moznion
7bbb8b8647 Merge pull request #17 from codertao/add-acct-resp-encode
Add AccountingResponse to set of known codes for encode
2021-02-03 23:42:27 +09:00
Matt Moss
5ce74d19eb Add AccountingResponse to set of known codes for encode 2021-02-03 02:13:04 +00:00
Renovate Bot
6b6f55d99a Update Rust crate rand to 0.8.3 2021-02-01 09:54:26 +00:00
Renovate Bot
8afa6072f6 Update Rust crate log to 0.4.14 2021-02-01 09:54:19 +00:00
moznion
6ef727b601 Merge pull request #13 from moznion/renovate/rust-rand-0.x
Update Rust crate rand to 0.8.2
2021-01-23 14:53:07 +09:00
Renovate Bot
29970688d6 Update Rust crate rand to 0.8.2 2021-01-22 13:58:47 +00:00
Renovate Bot
c2737f8a31 Update Rust crate log to 0.4.13 2021-01-22 13:58:40 +00:00
Renovate Bot
7e80de4233 Update Rust crate rand to 0.8.1 2021-01-06 19:49:18 +00:00
moznion
eaa171ec48 Add documentation for generated RFC utilities 2021-01-03 15:03:00 +09:00
moznion
48a9c56e3f Set a couple of parameters by setter, instead of function parameters 2021-01-03 11:34:05 +09:00
moznion
88e01fc828 Separate server bootstrap sequence between listen() and run()
Initially it uses a channel that given through the `run()` parameter to notify when a server becomes ready,
but that doesn't work because it never run the procedure until `await` called.
This means if it calls `await`, it blocks the procedure so it cannot consume a channel simultaneously.
Thus, it separates bootstrap sequence between `listen()` and `run()`.
`listen()`: Start UDP listening. After this function call is finished, the RADIUS server is ready.
`run()`: Start a loop to handle the RADIUS requests.
2021-01-03 11:19:28 +09:00
moznion
ce4ac93631 Upgrade tokio version: v1.0.1 2021-01-02 11:24:55 +09:00
moznion
29989d903e fmt 2021-01-02 10:45:32 +09:00
moznion
24b261798a Releng: v0.1.0 2020-12-22 09:41:08 +09:00
moznion
b0fe80d6e3 feat: make an identifier of a Packet instance configurable through a constructor and a setter method
rel: #6
2020-12-21 23:17:30 +09:00
moznion
749c8eddb1 releng: v0.0.3 2020-12-12 14:18:49 +09:00
moznion
c2ed7ac6cd Fill some Cargo.toml items for crates.io 2020-12-12 14:17:42 +09:00
moznion
b4e7326f78 releng: v0.0.2 2020-12-12 13:51:41 +09:00
moznion
148060a506 Fix the license name to be suitable with SPDX 2020-12-12 13:49:14 +09:00
moznion
2855b42cb2 releng: prepare the publishing 2020-12-12 13:38:45 +09:00
moznion
2f2c344f2b Restructure 2020-12-12 13:38:40 +09:00
moznion
37f5b03ad7 Remove unnecessary casts 2020-12-12 02:59:56 +09:00
moznion
7910542618 Improve error enums 2020-12-12 02:50:39 +09:00
moznion
e61341004f Fix a clippy warning 2020-12-12 00:24:37 +09:00
moznion
a53ca1d40c Expand the test for packet 2020-12-12 00:16:46 +09:00
moznion
6d105b9961 Respect the pre-defined attribute type on each value 2020-12-10 00:41:03 +09:00
moznion
1e03c42d59 Cosmetic change 2020-12-10 00:09:02 +09:00
moznion
cda352e87f Fix weird method names that are generated automatically 2020-12-08 00:46:12 +09:00
moznion
3e6701b0b1 📝 doc 2020-12-07 23:28:38 +09:00
moznion
93b951eff8 Add test cases for AVP encoding/decoding 2020-12-06 19:13:08 +09:00
moznion
dabbf02109 Support RFC6572 and ipv4prefix type 2020-12-06 16:55:27 +09:00
moznion
a251f4b2af Support RFC5904 and short type 2020-12-06 16:27:17 +09:00
moznion
2b6b80a83e Support the following RFC dictionaries
- RFC4603
- RFC4675
- RFC4818
- RFC4849
- RFC5176
- RFC6911
- RFC7055
- RFC7155
2020-12-06 16:09:03 +09:00
moznion
bece870914 Support RFC4372 2020-12-06 15:39:50 +09:00
moznion
a792e174c1 Support RFC3580 2020-12-06 15:38:56 +09:00