[PR #924] [MERGED] Add SSH accept rule on the client #13157

Closed
opened 2026-08-05 02:07:36 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/924
Author: @gigovich
Created: 6/2/2023
Status: Merged
Merged: 6/2/2023
Merged by: @gigovich

Base: mainHead: feat-ssh-default-rule


📝 Commits (2)

  • 4c10d60 Add SSH accept rule on the client
  • 6d74e9a Use SSH port from clinet ssh package

📊 Changes

2 files changed (+95 additions, -11 deletions)

View changed files

📝 client/internal/acl/manager.go (+35 -9)
📝 client/internal/acl/manager_test.go (+60 -2)

📄 Description

Describe your changes

Add SSH accept rule on the client if SSH is enabled for the peer.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/924 **Author:** [@gigovich](https://github.com/gigovich) **Created:** 6/2/2023 **Status:** ✅ Merged **Merged:** 6/2/2023 **Merged by:** [@gigovich](https://github.com/gigovich) **Base:** `main` ← **Head:** `feat-ssh-default-rule` --- ### 📝 Commits (2) - [`4c10d60`](https://github.com/netbirdio/netbird/commit/4c10d60aa78302bde2b5c518aeecd5ad0ef79294) Add SSH accept rule on the client - [`6d74e9a`](https://github.com/netbirdio/netbird/commit/6d74e9ad6f114c2e67322acfac414119d62d0891) Use SSH port from clinet ssh package ### 📊 Changes **2 files changed** (+95 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/acl/manager.go` (+35 -9) 📝 `client/internal/acl/manager_test.go` (+60 -2) </details> ### 📄 Description ## Describe your changes Add SSH accept rule on the client if SSH is enabled for the peer. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [x] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:07:36 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#13157