Dietmar Maurer
|
8ac4c949bb
|
proxmox-sys: imported pbs-tools/src/process_locker.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-19 09:28:52 +01:00 |
|
Dietmar Maurer
|
840154f61b
|
proxmox-sys: add new crate
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-19 09:28:32 +01:00 |
|
Dietmar Maurer
|
246ce4e801
|
bump proxmox version to 0.15.3-1
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-18 16:54:44 +01:00 |
|
Dietmar Maurer
|
a24b72c4de
|
use proxmox::tools::fd::fd_change_cloexec from proxmox 0.15.3
Depend on proxmox 0.15.3
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-18 13:43:41 +01:00 |
|
Dietmar Maurer
|
9f4c20f3d2
|
proxmox: add fd_change_cloexec
|
2021-11-18 13:06:34 +01:00 |
|
Fabian Grünbichler
|
d6e7e2599f
|
bump version to 0.9.1-1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
2021-11-18 12:56:21 +01:00 |
|
Fabian Grünbichler
|
a3592355a1
|
bump openidconnect dep to 2.1
for updated rand/base64 support
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
2021-11-18 12:53:37 +01:00 |
|
Dietmar Maurer
|
ea637eec28
|
bump version to 0.9.0-1
|
2021-11-18 09:38:47 +01:00 |
|
Dietmar Maurer
|
6454a54704
|
allow to configure acr values
|
2021-11-18 09:33:59 +01:00 |
|
Dietmar Maurer
|
897c5c7569
|
allow to configure prompt behaviour
And do not set it by default.
|
2021-11-18 09:33:11 +01:00 |
|
Dietmar Maurer
|
f53d242cb0
|
new helper verify_authorization_code_simple()
Simply return data as serde_json::Value.
|
2021-11-18 09:32:20 +01:00 |
|
Dietmar Maurer
|
cfecbee92c
|
also return data from UserInfo endpoint
|
2021-11-18 09:31:44 +01:00 |
|
Dietmar Maurer
|
5937e44062
|
allow to configure used scopes
|
2021-11-18 09:23:24 +01:00 |
|
Dietmar Maurer
|
3a378a34bb
|
bump proxmox-time version to 1.1.0
|
2021-11-17 13:03:36 +01:00 |
|
Dietmar Maurer
|
6871232791
|
proxmox-time: remove custom error type
None of the functions we call returns a resonable error number anyways.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-17 13:03:36 +01:00 |
|
Dietmar Maurer
|
4a5dbd2129
|
proxmox-time: added time related fuctions from proxmox-systemd crate.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-17 13:03:36 +01:00 |
|
Wolfgang Bumiller
|
5b2e8b4c66
|
Revert "lang: get offsetof const fn ready"
This reverts commit 8f89f9ad60 .
generates broken code in release builds on current rustc
1.55
|
2021-11-17 10:07:08 +01:00 |
|
Wolfgang Bumiller
|
bbdfd8ede9
|
bump proxmox-tfa to 1.3.0-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2021-11-17 09:30:27 +01:00 |
|
Wolfgang Bumiller
|
313d0a6b88
|
proxmox-tfa: import tfa api from proxmox-perl-rs as api feature
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2021-11-17 08:39:56 +01:00 |
|
Dietmar Maurer
|
41d0cef377
|
bump proxmox-shared-memory to version 0.1.1-1
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-15 11:32:16 +01:00 |
|
Dietmar Maurer
|
ece92bde29
|
proxmox-shared-memory: depend on libc 0.2.107
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-15 11:29:53 +01:00 |
|
Dietmar Maurer
|
e3a14098f7
|
bump proxmox-http to 0.5.5-1
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-15 11:05:55 +01:00 |
|
Dietmar Maurer
|
81e959548b
|
proxmox-http: impl RateLimiterVec
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-15 11:01:03 +01:00 |
|
Dietmar Maurer
|
c5d396cdb9
|
bump proxmox-shared-memory to version 0.1.0-2
And add missing debian files.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-15 07:29:13 +01:00 |
|
Dietmar Maurer
|
42002bb5c9
|
proxmox-shared-memory: avoid compiler warnings
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-15 07:29:13 +01:00 |
|
Dietmar Maurer
|
a1728a72c8
|
proxmox-shared-memory: remove debug println
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-15 07:14:49 +01:00 |
|
Dietmar Maurer
|
b8724f4952
|
bump proxmox-http version to 0.5.4-1
|
2021-11-14 08:19:15 +01:00 |
|
Dietmar Maurer
|
b9a1d62e47
|
proxmox-http: RateLimit - remove average_rate
Instead, add a method to return overall traffic.
|
2021-11-14 08:15:42 +01:00 |
|
Dietmar Maurer
|
100848de10
|
bump proxmox-http version to 0.5.3-1
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-13 17:38:41 +01:00 |
|
Dietmar Maurer
|
13276cc619
|
proxmox-http: use repr(C) for RateLimiter
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-13 17:38:18 +01:00 |
|
Dietmar Maurer
|
8734d0c2f9
|
proxmox-http: use SharedRateLimit trait object for RateLimitedStream
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-13 17:38:10 +01:00 |
|
Dietmar Maurer
|
937d1a6095
|
proxmox-http: define a RateLimit trait
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-13 17:38:00 +01:00 |
|
Dietmar Maurer
|
564703b195
|
proxmox-shared-memory: improve regression tests
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-12 18:20:44 +01:00 |
|
Dietmar Maurer
|
09dc3a4abc
|
proxmox-shared-memory: create debian package
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-12 18:20:23 +01:00 |
|
Dietmar Maurer
|
0ef72957a6
|
proxmox-shared-memory: implement helper to init subtypes
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-12 18:20:06 +01:00 |
|
Dietmar Maurer
|
c8251d4d24
|
proxmox-shared-memory: add magic number test
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-12 18:19:49 +01:00 |
|
Dietmar Maurer
|
9828acd2ef
|
proxmox-shared-memory: shared memory and shared mutex implementation
|
2021-11-12 18:19:36 +01:00 |
|
Dietmar Maurer
|
956e7041fe
|
bump proxmox version to 0.15.2-1
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-12 17:39:38 +01:00 |
|
Thomas Lamprecht
|
c4cff1278f
|
rest: make successful-ticket auth log a debug one to avoid syslog
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
2021-11-12 11:10:12 +01:00 |
|
Dietmar Maurer
|
8bcd8e5357
|
impl proxmox::tools::fs::CreateOptions::apply_to()
Split out code to apply CreateOptions.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-12 09:24:27 +01:00 |
|
Dietmar Maurer
|
28e1d4c342
|
bump proxmox-http version to 0.5.2-1
|
2021-11-12 09:24:17 +01:00 |
|
Dietmar Maurer
|
4b3e0e331c
|
implement Servive for RateLimitedStream
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-10 10:15:40 +01:00 |
|
Dietmar Maurer
|
745c4f37dd
|
bump proxmox-schema version to 1.0.1-1
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-10 09:58:32 +01:00 |
|
Dietmar Maurer
|
2f221df863
|
RateLimiter: add update_rate method
|
2021-11-10 09:51:08 +01:00 |
|
Dietmar Maurer
|
0c27d5da17
|
RateLimitedStream: implement peer_addr
|
2021-11-10 09:51:08 +01:00 |
|
Dietmar Maurer
|
e0a9982dd1
|
RateLimiter: avoid panic in time computations
|
2021-11-10 09:51:08 +01:00 |
|
Dietmar Maurer
|
e0305f724b
|
RateLimitedStream: allow periodic limiter updates
|
2021-11-10 09:51:08 +01:00 |
|
Dietmar Maurer
|
00ca0b7fae
|
HttpsConnector: use RateLimitedStream
So that we can limit used bandwidth.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-10 09:51:08 +01:00 |
|
Dietmar Maurer
|
ded24b3f4c
|
RateLimitedStream: implement poll_write_vectored
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-10 09:51:08 +01:00 |
|
Dietmar Maurer
|
c94ad247b1
|
Implement a rate limiting stream (AsyncRead, AsyncWrite)
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2021-11-10 09:51:08 +01:00 |
|