Missing <connection> parity with OpenVPN 2.x

Đang mở
#447 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
networking, security

Hướng nghiên cứu

The payload names no source files. Start by finding where the C++ profile parser handles the <connection> block and its remote directive, then check how the per-connection options are applied. Done means key-direction, tls-auth, tls-crypt and tls-crypt-v2 are accepted inside <connection> and applied per remote. Agree the scope with maintainers before coding, since the issue lists about two dozen options.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

It would seem that in OpenVPN 3.x, only remote directives are considered.
This means it is impossible to tailor network flexibility and, more importantly, cryptography/PKI for multiple remote servers in a cluster for HA without requiring a completely separate configuration per-server - which is a terrible UX for end-users, as they must now be instructed to explicitly choose a different fallback (and defeats the purpose of multiple <connection>s).

OpenVPN 2.7.8, for instance, lists the following as supported inside a <connection> block:

  • bind
  • connect-retry
  • connect-retry-max
  • connect-timeout
  • explicit-exit-notify
  • float
  • fragment
  • http-proxy
  • http-proxy-option
  • key-direction
  • link-mtu
  • local
  • lport
  • mssfix
  • mtu-disc
  • nobind
  • port
  • proto
  • remote
  • rport
  • socks-proxy
  • tls-auth
  • tls-crypt
  • tls-crypt-v2
  • tun-mtu
  • tun-mtu-extra

Now, some may of course not be relevant (e.g. fragment, given #24 ).

But others -- most notably the key-direction, tls-auth, tls-crypt, and tls-crypt-v2 directives -- are a significant disparity if one maintains separate TLS auth/crypt keys per-server (as, IMHO, one should per various compliance recommendations/requirements).

I am requesting that support for the missing options, especially the key-direction and tls-* directives, be added to <connection> block parsing/application in OpenVPN 3.

Ngôn ngữ chính
C++
Star
1.2k
Fork
473
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenVPN/openvpn3

Tất cả issue của OpenVPN/openvpn3

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.