Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enhance plugin networking capabilities support IPV6 #191

Merged
merged 4 commits into from
Jun 1, 2024
Merged

Commits on Jun 1, 2024

  1. feat: enhance plugin networking capabilities

    - Enable SSH server to listen on all interfaces by uncommenting relevant lines in `sshd_config`
    - Add new `protocol` and `proxy.protocol` flags to `main.go` with usage information and default values
    - Change the `Port` field type from `string` to `int` in `plugin.go` and `plugin_test.go`
    - Refactor variable name from `host` to `h` and add `port` variable in `plugin.go` loop
    - Remove commented-out code and refactor `hostPort` function in `plugin.go`
    - Add import for `io` package in `plugin_test.go`
    - Add new test function `TestPlugin_hostPort` with multiple test cases in `plugin_test.go`
    
    Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
    appleboy committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    05b4e1c View commit details
    Browse the repository at this point in the history
  2. update

    Signed-off-by: appleboy <appleboy.tw@gmail.com>
    appleboy committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    0fd73b1 View commit details
    Browse the repository at this point in the history
  3. update

    Signed-off-by: appleboy <appleboy.tw@gmail.com>
    appleboy committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    c831bf6 View commit details
    Browse the repository at this point in the history
  4. update

    Signed-off-by: appleboy <appleboy.tw@gmail.com>
    appleboy committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    56fdc8e View commit details
    Browse the repository at this point in the history