Various improvements #6

Closed
jjkiers wants to merge 0 commits from various-improvements into main
Owner

Added

  • Added a systemd unit file

Changed

  • Updated all dependencies
  • Rename the project to l4p
  • Updated dependencies
  • Reworked internals a bit

Removed

  • Removed kcp protocol support
*Added* * Added a systemd unit file *Changed* * Updated all dependencies * Rename the project to `l4p` * Updated dependencies * Reworked internals a bit *Removed* * Removed `kcp` protocol support
jjkiers added 22 commits 2024-02-23 23:03:52 +00:00
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
And CustomUpstream to ProxyToUpstream.

Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
This seems cleaner to me than parsing it externally.

Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
This is just about as secure as this process can get

Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
Improve config file handling
All checks were successful
continuous-integration/drone/push Build is passing
9d9f89881d
Signed-off-by: Jacob Kiers <code@kiers.eu>
Signed-off-by: Jacob Kiers <code@kiers.eu>
The async mutex in the previous variant would fail when used in a single
threaded mode, because block_in_place() cannot be used there.

Instead, replace the code with a Arc<RwLock> inside of the
UpstreamAddress to let that class take care of its own mutability.

Signed-off-by: Jacob Kiers <code@kiers.eu>
To prevent module inception, which was a clippy warning.

Signed-off-by: Jacob Kiers <code@kiers.eu>
Reintroduce L4P_CONFIG environment variable
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
4592c94586
This points to a user-configured configuration file.

Closes #5.

Signed-off-by: Jacob Kiers <code@kiers.eu>
jjkiers closed this pull request 2024-02-23 23:06:55 +00:00
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jjkiers/layer4-proxy#6
No description provided.