Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Handle TCP connections in a single command invocation

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

@desimone đang làm issue này rồi.

Từ ngày 5/12/2022.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

NeedsDecision NeedsMoreData WaitingForInfo

It'd be nice to have a single instance of pomerium-cli that could handle multiple TCP connections at a time.

For example, if you have an internal development server with services on a few different ports (database, SSH, etc.), it’d be handy to give users a single command they can run to open those ports all at once, and CTRL+C when they’re done.

pomerium-cli tcp host1.internal.example.com:22 --listen :2022 \
    host1.internal.example.com:5432 --listen :55432 \
    host2.internal.example.com:12345 --listen :12345

As a single process, theoretically it could even cache authentication across the services so the user would only need to authenticate once.

As it stands now, my options are:

  • document individual commands to run for individual ports
  • or, create a script that launches a few instances of pomerium-cli in the background, which will look confusing and make it harder for users to shut them all down.
  • or, prepare some connections in Pomerium Desktop (I understand there's an export/import process) and guide users through importing that.
Ngôn ngữ chính
Go
Star
13
Fork
9
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
4

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 pomerium/cli

Tất cả issue của pomerium/cli

Issue tương tự

Thêm issue về Go

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.