Prabhpreet Dua and Paul Spooren
87144233da
Prettier
2024-07-08 13:54:26 +02:00
Prabhpreet Dua and Paul Spooren
d0a6e99a1f
feat: Regression CI based on misc/generate_configs.py
2024-07-08 13:54:26 +02:00
7a4f700186
feat: Improved memfd-secret allocation ( #347 )
...
Improve memfd-secret guard page allocation by using combination of mmap to map allocation area, and nest memfd-secret mapping and meta information with different permissions within the area
Implemented in quininer/memsec#18
Co-authored-by: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
Co-authored-by: Karolin Varner <karo@cupdev.net >
2024-06-13 10:04:35 +05:30
Prabhpreet Dua and GitHub
f535a31cd7
Feature flag for memfd_secret alloc ( #343 )
...
* feature flag for memfd_secret alloc
* Cargo fmt
2024-06-11 14:53:30 +05:30
Prabhpreet Dua and GitHub
526c930119
Secret memory with memfd_secret ( #321 )
...
Implements:
- An additional allocator to use memfd_secret(2) and guard pages using mmap(2), implemented in quininer/memsec#16
- An allocator that abstracts away underlying allocators, and uses specified allocator set by rosenpass_secret_memory::policy functions (or a function that sets rosenpass_secret_memory::alloc::ALLOC_INIT
- Updates to tests- integration, fuzz, bench: some tests use procspawn to spawn multiple processes with different allocator policies
2024-06-10 13:12:44 +05:30
Prabhpreet Dua and GitHub
70c5ec2c29
chore: Remove libsodium references in nix flake, ci ( #334 )
2024-06-06 17:10:51 +05:30
Prabhpreet Dua and GitHub
0e059af5da
fix(rosenpass): Fix duplicate key issue ( #329 )
...
Change handle_init_conf to return to instruct key exchange on encountering new biscuit_no for peer
2024-06-04 22:47:54 +05:30
c1abfbfd14
feat(rosenpass): Add wireguard-broker interface in AppServer ( #303 )
...
Dynamically dispatch WireguardBrokerMio trait in AppServer. Also allows for mio event registration and poll processing, logic from dev/broker-architecture branch
Co-authored-by: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
Co-authored-by: Karolin Varner <karo@cupdev.net >
2024-05-20 18:12:42 +05:30
Prabhpreet Dua
06969c406d
chore: Add write permissions in dependent-issues workflow
2024-05-17 14:56:29 +05:30
Prabhpreet Dua and GitHub
650110a04f
Run prettier ( #311 )
2024-05-10 19:55:29 +05:30
Prabhpreet Dua and GitHub
ee669823de
Create dependent-issues.yml
2024-05-10 19:47:10 +05:30
2bac991305
feat(wireguard-broker): merge from dev/broker-architecture, fixes, test
...
* wireguard-broker: merge from dev/broker-architecture
* use zerocopy instead of lenses
* Require use_broker feature flag to comile broker binaries
* Remove PhantomData from BrokerServer & BrokerClient
* Modify mio client rx to be non-recursive, add integration test
Co-authored-by: Karolin Varner <karo@cupdev.net >
Co-authored-by: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
2024-05-07 12:23:35 +05:30
Prabhpreet Dua and GitHub
1ccf92c538
Merge branch 'main' into codecov-yml
2024-05-06 21:14:29 +05:30
Prabhpreet Dua and GitHub
4bb3153761
feat(deps): Change base64 to base64ct crate ( #295 )
2024-05-06 21:14:10 +05:30
Prabhpreet Dua
a8ed0e8c66
chore: Update codecov configuration file
2024-05-06 20:59:08 +05:30
Prabhpreet Dua
ad6405f865
chore: Add codecov configuration file
2024-05-06 20:53:55 +05:30
Prabhpreet Dua and GitHub
761d5730af
ci: Changes from #160- Invoke the mandoc linter ( #296 )
...
* ci: Changes from #160- Invoke the mandoc linter
* Add check.sh from #160 too
* Fix mandoc
2024-05-04 22:47:11 +02:00
b45b7bc7f5
Update liboqs 0.9.1 ( #292 )
...
* deps,fuzz: update to liboqs 0.9.1
The release updates the Classic McEliece to NIST PQC Round 4 version
Updates breaking fuzz tests as well
Signed-off-by:
Paul Spooren <mail@aparcar.org >
Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
* Update secret key length for McEliece KEM update
* Update to specifying key lengths of Kyber and McEliece through constants
---------
Co-authored-by: Paul Spooren <mail@aparcar.org >
2024-05-02 18:47:26 +05:30
Prabhpreet Dua and GitHub
21e693a9da
ci: Add codecov (llvm-cov) coverage ( #297 )
...
* ci: Add codecov (llvm-cov) coverage
* Run prettier on qc.yaml
2024-05-01 18:31:46 +05:30
Prabhpreet Dua and GitHub
2e01d1df46
Revert "build(deps): bump zeroize from 1.7.0 to 1.8.0 ( #285 )" ( #289 )
...
Reverts #285 since 1.8.0 has been yanked
Refer RustCrypto/utils#1067
2024-04-29 14:06:34 +05:30
Prabhpreet Dua and GitHub
2c6411a2b1
Merge pull request #284 from rosenpass/dependabot/cargo/serial_test-3.1.0
...
build(deps): bump serial_test from 3.0.0 to 3.1.0
2024-04-29 12:47:04 +05:30
Prabhpreet Dua
e6d7a7232f
Cargo lock update
2024-04-16 17:54:03 +05:30
Prabhpreet Dua and GitHub
6ba1be6eae
Merge branch 'main' into feat/cookie-mechanism
2024-04-16 17:41:41 +05:30
Prabhpreet Dua
6215bc1514
Update whitepaper
2024-04-16 15:24:08 +05:30
Prabhpreet Dua
b0a93d6884
Whitepaper and cleanup
2024-04-16 15:07:01 +05:30
Prabhpreet Dua
bba0c874f2
Localhost ::1
2024-04-16 13:21:55 +05:30
Prabhpreet Dua
a32efb61d1
Skip cookie validation with InitConf, use 0.0.0.0 for loopback
2024-04-16 12:57:01 +05:30
Prabhpreet Dua
10bdb5f371
Display error if send to socket fails
2024-04-16 12:41:40 +05:30
Prabhpreet Dua
b07859f6ec
Change under load params, change localhost to IP
2024-04-16 12:16:30 +05:30
Prabhpreet Dua
65df24a98b
Consolidate tests with debugging
2024-04-16 11:41:43 +05:30
Prabhpreet Dua
9396784c0f
Cargo fmt
2024-04-16 11:18:47 +05:30
Prabhpreet Dua
8420d953eb
Add HostIdentification trait, add logging
2024-04-16 11:17:03 +05:30
Prabhpreet Dua
e7de4848fb
Try threads instead of process
2024-04-16 09:22:08 +05:30
Prabhpreet Dua
92824bb5b0
Integration test- add delay between server and client
2024-04-16 06:55:24 +05:30
Prabhpreet Dua
8d20e77173
Serialize integration tests
2024-04-16 06:45:05 +05:30
Prabhpreet Dua
15aafe7563
Cargo fmt fix
2024-04-15 22:13:14 +05:30
Prabhpreet Dua
b56af8b696
Simplify integration test
2024-04-15 22:10:40 +05:30
Prabhpreet Dua
a3e91a95df
Fix post merge integration test issue
2024-04-15 14:25:09 +05:30
Prabhpreet Dua
4ea51ab123
Merge branch 'main' into feat/cookie-mechanism
2024-04-14 18:53:51 +05:30
Prabhpreet Dua
19a0a22b62
Cargo fmt
2024-02-18 14:13:33 +05:30
Prabhpreet Dua
b51466eaec
Add intg test to pipeline
2024-02-18 14:10:49 +05:30
Prabhpreet Dua
9552d5a46c
Merge branch 'main' into feat/cookie-mechanism
2024-02-18 13:25:01 +05:30
Prabhpreet Dua
a1d61bb48e
Evaluate both active and retired cookies- cookie rotation
2024-02-18 13:19:22 +05:30
Prabhpreet Dua
ec0b5f7fb1
Cargo fmt
2024-02-04 20:18:58 +05:30
Prabhpreet Dua
0b4699e24a
Poll based under load with intg test
2024-02-04 20:17:28 +05:30
Prabhpreet Dua
d18107b3a9
Merge branch 'poll-based-under-load-in-progress' into feat/cookie-mechanism
2024-02-04 11:53:05 +05:30
Prabhpreet Dua
715893e1ac
cargo fmt
2024-02-04 11:49:08 +05:30
Prabhpreet Dua
92b2f6bc7c
Match to main
2024-02-04 11:48:49 +05:30
Prabhpreet Dua
3498ab2d7b
Checkpoint
2024-02-04 11:39:34 +05:30
Prabhpreet Dua
efd0ce51cb
On-stack allocated host identification
2024-01-21 13:53:05 +05:30
Prabhpreet Dua
7739020931
Cargo fmt
2024-01-15 19:35:08 +05:30
Prabhpreet Dua
ecfecbb8f9
Host identification
2024-01-15 18:57:16 +05:30
Prabhpreet Dua
e8a81102f4
Whitepaper updates per review comments
2024-01-07 16:59:55 +05:30
Prabhpreet Dua
591e5226fd
Merge branch 'main' into feat/cookie-mechanism
2024-01-06 17:25:04 +05:30
Prabhpreet Dua
b336a0d264
Separate cookie message from envelope encapsulation, remove mac, cookie field
2023-12-12 07:24:08 +05:30
Prabhpreet Dua
0b7bec75de
Use common CookieStore for biscuit, and cookie secret, add padding to CookieReply, trigger immediate retransmission on recieving cookie reply
2023-12-10 18:17:37 +05:30
Prabhpreet Dua
87bbd1eef7
Reuse lifecycle (biscuit mechanism) for cookie expiration
2023-12-10 17:10:12 +05:30
Prabhpreet Dua
2646dc8398
Further updates to whitepaper
2023-12-08 00:13:55 +05:30
Prabhpreet Dua
4295ec9d80
Whitepaper changes, and reflect in code
2023-12-07 23:59:40 +05:30
Prabhpreet Dua
7cb643b181
app_server move under load handling to function, cargo fmt
2023-12-07 22:53:17 +05:30
Prabhpreet Dua
109d624227
SID specific cookie storage
2023-12-07 20:19:57 +05:30
Prabhpreet Dua
b96d195f54
Avoid memory allocations ctd
2023-12-06 23:02:57 +05:30
Prabhpreet Dua
775b464496
Remove debug message
2023-12-06 22:32:35 +05:30
Prabhpreet Dua
e2cd25c184
Use retransmitted message instead of storing last sent mac
2023-12-06 21:59:52 +05:30
Prabhpreet Dua
fdcb488d4b
Move IP+Port into AppServer from protocol.rs
2023-12-06 21:28:21 +05:30
Prabhpreet Dua
a8a596ca7e
Remove debug messages
2023-12-06 05:40:34 +05:30
Prabhpreet Dua
9ced9996d2
Remove serial_test deps
2023-12-05 06:40:35 +05:30
Prabhpreet Dua
df683f96b2
Remove ignore from second test, init libsodium in that test too
2023-12-05 06:30:59 +05:30
Prabhpreet Dua
27a8bdbe7b
Init libsodium in failing test
2023-12-05 06:26:41 +05:30
Prabhpreet Dua
bdabae9c33
Remove ignore for one test
2023-12-05 06:20:01 +05:30
Prabhpreet Dua
4d7c030476
Ignore existing tests
2023-12-05 06:15:19 +05:30
Prabhpreet Dua
95f22e98ac
Try all tests running in serial for protocol
2023-12-05 06:08:59 +05:30
Prabhpreet Dua
b0dada7613
cargo fmt run
2023-12-05 06:00:11 +05:30
Prabhpreet Dua
e54ea1feaa
Add parallel test flag, and remove .orig files
2023-12-05 05:58:13 +05:30
Prabhpreet Dua
0fd09c908b
Merge branch 'main' into feat/cookie-mechanism
2023-12-03 21:06:14 +05:30
Prabhpreet Dua
36628a46d6
Serial test execution for cookie exchange
2023-12-03 20:54:26 +05:30
Prabhpreet Dua
2904c90d4b
Cargo fmt
2023-12-02 19:38:10 +05:30
Prabhpreet Dua
f0dbe2bb54
Merge branch 'main' into feat/cookie-mechanism
2023-12-02 19:36:04 +05:30
Prabhpreet Dua
e2792272e8
Merge branch 'main' into feat/cookie-mechanism
2023-11-29 21:01:32 +05:30
Prabhpreet Dua
1c65e67be2
Fix cargo fmt lint
2023-11-29 05:10:18 +05:30
Prabhpreet Dua
2ae3d6c271
Merge branch 'main' into feat/cookie-mechanism, ignore incoming messages when initiator is under load, whitepaper updates
2023-11-29 05:06:22 +05:30
Prabhpreet Dua
96d4f0b545
Merge branch 'main' into feat/cookie-mechanism
2023-11-19 12:06:33 +05:30
Prabhpreet Dua
ad947a755c
Add test with initiator under load, add section to WP
2023-11-19 11:30:12 +05:30
Prabhpreet Dua
35f9c3bf68
Cookie reply processing continued
2023-11-14 21:42:48 +05:30
Prabhpreet Dua
ff44002b7c
Cookie reply handler test setup
2023-11-13 20:57:34 +05:30
Prabhpreet Dua
0ce8304c69
Merge branch 'main' into feat/cookie-mechanism
2023-11-13 14:55:10 +05:30
Prabhpreet Dua
5f91feb3a4
Checkpoint- cookie reply handler
2023-11-13 14:47:39 +05:30
Prabhpreet Dua
baebb8632f
Merge branch 'main' into feat/cookie-mechanism
2023-11-09 19:33:35 +05:30
Prabhpreet Dua
cb97f90581
cookie mechanism trigger- send cookie reply message under load if cookie not valid
2023-11-09 19:28:02 +05:30
Prabhpreet Dua
3d13caa37b
cookie mechanism trigger- under load condition and mio event length
2023-11-07 20:49:43 +05:30
Prabhpreet Dua
54ecfaddcf
Whitepaper- add cookie mechanism description draft
2023-10-25 01:43:08 +05:30