Skip to content

Port parameter to netcat command added.#18

Open
zalalov wants to merge 1 commit into
benrady:masterfrom
zalalov:master
Open

Port parameter to netcat command added.#18
zalalov wants to merge 1 commit into
benrady:masterfrom
zalalov:master

Conversation

@zalalov
Copy link
Copy Markdown

@zalalov zalalov commented Feb 28, 2019

No description provided.

@benrady
Copy link
Copy Markdown
Owner

benrady commented Mar 3, 2019

netcat on OSX doesn't recognize this parameter, so it seems adding this would make shinatra less portable. Is there an environment where you've found -p to be necessary?

@remileduc
Copy link
Copy Markdown

remileduc commented Jun 1, 2019

Hello,

On Debian Buster (current testing) with netcat-traditional (1.10-41.1), it doesn't work without the -p option.

Seems to be the same on all Debian based distrib: https://ubuntuforums.org/showthread.php?t=823940

Seems to not work on Arch Linux neither: #11

Copy link
Copy Markdown

@dnajd dnajd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR made it work for me on debian.

@benrady
Copy link
Copy Markdown
Owner

benrady commented Dec 23, 2022

shinatra works as-is for me on Ubuntu 22.04

@lslvr
Copy link
Copy Markdown

lslvr commented Sep 6, 2024

Busybox's nc also needs it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants