5 Commits

Author SHA1 Message Date
Andrey Yakushin
783908b315 Pull request 121: Clippy and github actions
Squashed commit of the following:

commit 6eae1e962a27b2c3bcb6362f53bb1d7d92a66983
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Fri Dec 26 11:46:12 2025 +0400

    Run lint on both macos and linux

commit 94254caec3ea166db80c6b3f4004b4126605a1b7
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 22:44:10 2025 +0400

    Fix note again by adding lint hint

commit 5a67ae358a5676a22e85798683674607d2788a51
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 22:42:02 2025 +0400

    Fix note

commit 937b178302244fe237d06b6f38ba0f29db6e0d7e
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 22:39:45 2025 +0400

    Fix README

commit 769c5d9ebdc03e8500f9fc00d7f2b6f316924557
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 22:39:15 2025 +0400

    Cargo update

commit 1e932e4037c2b9ffc4b12f398f1ef14c32b5481e
Merge: dcf6a53 2041edc
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 22:37:24 2025 +0400

    Merge remote-tracking branch 'origin/master' into feature/TRUST-235

commit dcf6a53410e59411a3e05f798ed4be7f7c9994ce
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 22:24:56 2025 +0400

    Get rid of rustls-pemfile and update sentry

commit cb2e26e47d4612d65ae990ec887875bb1ac94456
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 19:08:23 2025 +0400

    Fix tests

commit a3cde3fdf16edfe2e2a574b8d729c2b9d59daf84
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 18:33:46 2025 +0400

    Fix vulnerabilities

commit 35cb9c699a0ddf2eb344c7c475be3c36a26dbf83
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 17:13:18 2025 +0400

    Don't install cargo-audit manually

commit 71a5411ac4fe31fc08c3bacb83d327bf6b7ab8c3
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 17:07:30 2025 +0400

    Install stable rust for cargo-audit

commit b7f38a90054cda39d72760b0ebc3ce295fba95d2
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 16:54:13 2025 +0400

    Fix yaml

commit fbbe78f68b2987280874f23d4ed05ef75ed42f46
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 16:53:15 2025 +0400

    Try to lock cargo-audit version

commit 08f31734b49c70d9dc03c7977ac6182198d1cbde
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 16:46:06 2025 +0400

    Update audit workflow

commit c202f186cd1610439a13928fc1fabac88e83097b
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 16:30:55 2025 +0400

    Install rust tools and better rust cache

commit eccf2fa91efcc4c6e5684960e368892bc68e67cd
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 16:30:25 2025 +0400

    Name for job

commit dccc19f13180e767b8390c8ea32fde4285c0cab8
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 16:30:17 2025 +0400

    Update checkout step version

commit edbb4404bf6fc1927f0184433df9982767a9c762
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 16:30:02 2025 +0400

    Run lint only on linux

commit b59ed893fa55edf030f9ffee2e442c8b947fa28f
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 16:09:43 2025 +0400

    Lint in the same workflow as testing to avoid rebuilds

commit 8d8ecd51859c825d0437361f8c51bde6b46994bc
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Thu Dec 25 15:27:23 2025 +0400

    More clippy fixes

... and 6 more commits
2025-12-26 12:45:09 +03:00
Andrey Meshkov
d7273ea729 Pull request 94: Added auto-formatting and pre-commit hook
Squashed commit of the following:

commit 0dc9600ff3bd8573d805e4de4d85290b1052a222
Author: Andrey Meshkov <am@adguard.com>
Date:   Sun Dec 21 20:53:02 2025 +0300

    Rollback to the old changelog

commit fb56f619d5f703d712dbfdb95ab093a211dc0c58
Author: Andrey Meshkov <am@adguard.com>
Date:   Sun Dec 21 20:36:24 2025 +0300

    Improve the dev doc

commit afd44a5e2bebd51b07dcb587cf39ada925a42db9
Author: Andrey Meshkov <am@adguard.com>
Date:   Sun Dec 21 20:32:49 2025 +0300

    Added auto-formatting and pre-commit hook
2025-12-21 20:54:46 +03:00
Andrey Yakushin
63264781fc Pull request 88: Rename vpn_endpoint to trusttunnel_endpoint
Squashed commit of the following:

commit 1d828ee59a64e1926d895a23677435b1972f434c
Merge: 1ece6a7 33d189f
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Wed Dec 17 19:14:44 2025 +0400

    Merge remote-tracking branch 'origin/master' into feature/TRUST-188

commit 1ece6a77faa904b6b894ce0a8a5e27b323a8924b
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Wed Dec 17 17:43:07 2025 +0400

    Rename vpn_libs_endpoint to trusttunnel

commit 61cfef7646ddd84817cf0c8b8256a2a1a204ab75
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Wed Dec 17 17:42:33 2025 +0400

    Rename vpn-endpoint to trusttunnel-endpoint

commit fb6359519d0fe37cf6ea492ab8358bcb721133d4
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Wed Dec 17 17:34:06 2025 +0400

    Rename vpn_endpoint to trusttunnel_endpoint
2025-12-17 18:22:07 +03:00
Aleksei Zhavoronkov
96162e9d00 Pull request 81: Add an ability to specify TLS client random mask
Squashed commit of the following:

commit ea27f1d12d0b3bf576a10568a82fff6fc12be8d1
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Fri Nov 28 12:14:25 2025 +0300

    Change format of client_random_prefix to prefix[/mask]; use log crate for logging as in core

commit 9b914105145aa3b7af0220d77a03d12cd3c00c3b
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Thu Nov 27 12:51:57 2025 +0300

    Add an ability to specify TLS client random mask
    
    Mask will be applied only if prefix is provided.
    The final result is calculated as: match = (client_random_data[i] & mask_bytes[i] == prefix_bytes[i] & mask_bytes[i]).
    
    See-also: AG-48706
    Signed-off-by: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
2025-12-02 17:02:59 +03:00
Aleksei Zhavoronkov
a5665277ff Pull request 80: Add rules config support for endpoint connection filtering
Squashed commit of the following:

commit 7b8cf69c390778ea6bd4431fefb047ffa9a3002d
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Mon Sep 1 13:27:26 2025 +0300

    Refactoring

commit 077096b6c81109479229dc7132e254ec5d10905c
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Mon Sep 1 11:44:53 2025 +0300

    Apply filtering rules

commit 1151ef7199853e92dbe62370f94116a395168d16
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Mon Sep 1 11:04:45 2025 +0300

    Add missed cargo file

commit 509a9fe5eddd73fd49b9160e320fd48d5fba4574
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Mon Sep 1 11:04:00 2025 +0300

    Fix test

commit 9d03678c23e3053e6d4685fd060bce51f1335c79
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Mon Sep 1 11:03:34 2025 +0300

    Add rules config

commit baa6c918efa3b401d9688df44c85303038256db0
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Mon Sep 1 08:28:30 2025 +0300

    Remove check tls client random from authenticator

commit cafc71d4b95b05f4f75c5a335e962e510d1b4edc
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Wed Aug 27 20:24:53 2025 +0300

    Refactor

commit 1e950d707c63622de1747e1c79befaf700cfb8f7
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Wed Aug 27 20:14:14 2025 +0300

    Rename fields and validate client_random earlier

commit efdcd2bb193641a5914c82522cdc2376100cd6a6
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Tue Aug 26 09:31:23 2025 +0300

    Add missing field value

commit 23d72ba188959d198bbb5b7cb84fb074eef45342
Author: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
Date:   Tue Aug 26 09:01:10 2025 +0300

    Add rules config support for endpoint connection filtering
    
    Now we have rules.toml configuration that defines filter rules for incoming connections.
    Each rule can specify cidr and/or client_random_prefix and action (allow/deny).
    Both cidr and client_random_prefix are optional - if specified, both must match for the rule to apply.
    If only one is specified, only that condition needs to match.
    If no rules match, the connection is allowed by default. This behavior can be changed by the empty rule with deny action:
    [[rule]]
    action = "deny"
    
    Resolves: AG-42959
    Signed-off-by: Alexey Zhavoronkov <a.zhavoronkov@adguard.com>
2025-09-02 18:35:12 +03:00