[PR #3256] [CLOSED] support netcat variants #4697

Closed
opened 2026-05-05 10:24:57 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/3256
Author: @ghost
Created: 2/28/2020
Status: Closed

Base: masterHead: netcat


📝 Commits (3)

  • cc886d6 support netcat variants in disable-common.inc
  • 994a908 support netcat variants in playonlinux.profile
  • 48ad903 support netcat variants in ssh.profile

📊 Changes

3 files changed (+10 additions, -2 deletions)

View changed files

📝 etc/disable-common.inc (+2 -0)
📝 etc/playonlinux.profile (+4 -1)
📝 etc/ssh.profile (+4 -1)

📄 Description

Currently we only use ${PATH}/nc and ${PATH}/ncat to refer to netcat. Due to packaging philosophy this binary can be available under several other disguises. E.g. on Debian/Ubuntu it also exists as ${PATH}/nc.openbsd and ${PATH}/nc.traditional. Let's play safe with such a tool and add support for these known variants. Not sure if we would prefer to have it sandboxed via firecfg by default, so I left that aspect out of this PR.

I'll keep this open for a while to give people a chance to suggest other variants if they exist.


🔄 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/netblue30/firejail/pull/3256 **Author:** [@ghost](https://github.com/ghost) **Created:** 2/28/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `netcat` --- ### 📝 Commits (3) - [`cc886d6`](https://github.com/netblue30/firejail/commit/cc886d620360892a6baa81216773f85fe67df3aa) support netcat variants in disable-common.inc - [`994a908`](https://github.com/netblue30/firejail/commit/994a9083a02cbb445448531d2fedda28abd11cf3) support netcat variants in playonlinux.profile - [`48ad903`](https://github.com/netblue30/firejail/commit/48ad90326d4588de60fa2691b1de9ed0c0fff436) support netcat variants in ssh.profile ### 📊 Changes **3 files changed** (+10 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `etc/disable-common.inc` (+2 -0) 📝 `etc/playonlinux.profile` (+4 -1) 📝 `etc/ssh.profile` (+4 -1) </details> ### 📄 Description Currently we only use ${PATH}/nc and ${PATH}/ncat to refer to `netcat`. Due to packaging philosophy this binary can be available under several other disguises. E.g. on Debian/Ubuntu it also exists as ${PATH}/nc.openbsd and ${PATH}/nc.traditional. Let's play safe with such a tool and add support for these known variants. Not sure if we would prefer to have it sandboxed via firecfg by default, so I left that aspect out of this PR. I'll keep this open for a while to give people a chance to suggest other variants if they exist. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:24:57 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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: github-starred/firejail#4697
No description provided.