summaryrefslogtreecommitdiffhomepage
path: root/talpid-tunnel-config-client/examples
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt`Sebastian Holmin1-3/+3
2025-05-14Use HQC-256 instead of Classic McEliece in quantum-resistant handshakeLinus Färnstrand1-20/+34
2024-12-12Add support for DAITA v2 to talpid tunnel config clientDavid Lönnhager1-1/+4
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-10-15Split out Classic McEliece code in tuncfg-server exampleLinus Färnstrand1-7/+16
2024-10-15Replace pqc_kyber with ml-kemLinus Färnstrand1-7/+21
Upgrading one of the key encapsulation mechanism algorithms we use for quantum-resistant tunnels from Kyber (draft) to ML-KEM (standardized FIPS 203)
2024-09-02Fix a lingering panic by using a stricter typeMax Zettlmeißl1-2/+1
The functions `request_ephemeral_peer` and consecutively `new_client` accepted an `IpAddr`, but due to only ever preparing a v4 socket this lead to panic due to an `EAFNOSUPPORT` error if an IPv6 was provided. It would also have made sense to change `new_client` to create either an IPv4 or IPv6 socket depending on the type of the address, but the tuncfg service is currently not accepting IPv6 connections, therefore this was the cleaner change.
2024-07-23Only accept an IPv4 as valid first argumentMax Zettlmeißl1-2/+2
While `request_ephemeral_peer` accepts a generic `IpAddr`, the function `new_client` used within forces an `Ipv4Addr`. In the long run it would be best to change the library to support IPv6 (provided that the tunnel configuration service listens to an IPv6) or to change the signature of `request_ephemeral_peer` to expect an IPv4.
2024-07-23Improve variable names, comments and error messagesMax Zettlmeißl1-10/+16
Briefly explain the usage. Make it clearer that the program does not work with an IPv6. Remove the somewhat confusing usage of `trim`. The IP is not trimmed either and it would only protect from a purposefully wrong argument (With quoted or escaped spaces.) Explain what the boolean parameters stand for. Explain why the PSK has to be printed with `fmt::Debug`.
2024-07-23Output the unwrapped Base64 encoded pre-shared keyMax Zettlmeißl1-1/+1
2024-07-11Document that it is round3 of the Kyber KEM we are usingLinus Färnstrand1-0/+1
2024-04-16Add DAITA Windows client and updated tuncfgDavid Lönnhager2-48/+63
2023-02-28Add PQ support for multihop, and allow listing two endpoints in theJonathan1-4/+9
tunnel
2023-01-30Update tuncfg-server example to workLinus Färnstrand1-15/+7
2023-01-30Add Kyber1024 into the PQ KEM mixLinus Färnstrand1-0/+6
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand2-4/+4
2022-10-03Change the psk-exchange example to take the server IP as argumentLinus Färnstrand1-15/+16
Allows running it towards different test servers without changing the code
2022-10-03Add tuncfg test server to test the implementationLinus Färnstrand1-0/+84
2022-06-14Rename talpid-relay-config-client to talpid-tunnel-config-clientDavid Lönnhager1-0/+25