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

Disabling ports by adding parameter ‘-P 0’ #21296

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

yyynini
Copy link
Contributor

@yyynini yyynini commented Dec 29, 2024

Why I did it

There are several TCP ports bound to localhost that need to be disabled to enhance system security.

Work item tracking
  • Microsoft ADO (number only):

How I did it

By adding -P 0 in supervisord.conf.j2 to disable the ports.

How to verify it

Check the file for -P 0 changes, and confirm port behaviour using netstat.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@yyynini yyynini requested a review from lguohan as a code owner December 29, 2024 21:59
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

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

LGTM

@StormLiangMS StormLiangMS merged commit 7ae557e into sonic-net:master Dec 30, 2024
21 checks passed
github-actions bot pushed a commit to bradh352/sonic-buildimage that referenced this pull request Jan 2, 2025
Why I did it
There are several TCP ports bound to localhost that need to be disabled to enhance system security.

Work item tracking
Microsoft ADO (number only):
How I did it
By adding -P 0 in supervisord.conf.j2 to disable the ports.

How to verify it
Check the file for -P 0 changes, and confirm port behaviour using netstat.
github-actions bot pushed a commit to bradh352/sonic-buildimage that referenced this pull request Jan 2, 2025
Why I did it
There are several TCP ports bound to localhost that need to be disabled to enhance system security.

Work item tracking
Microsoft ADO (number only):
How I did it
By adding -P 0 in supervisord.conf.j2 to disable the ports.

How to verify it
Check the file for -P 0 changes, and confirm port behaviour using netstat.
github-actions bot pushed a commit to bradh352/sonic-buildimage that referenced this pull request Jan 2, 2025
Why I did it
There are several TCP ports bound to localhost that need to be disabled to enhance system security.

Work item tracking
Microsoft ADO (number only):
How I did it
By adding -P 0 in supervisord.conf.j2 to disable the ports.

How to verify it
Check the file for -P 0 changes, and confirm port behaviour using netstat.
VladimirKuk pushed a commit to Marvell-switching/sonic-buildimage that referenced this pull request Jan 21, 2025
Why I did it
There are several TCP ports bound to localhost that need to be disabled to enhance system security.

Work item tracking
Microsoft ADO (number only):
How I did it
By adding -P 0 in supervisord.conf.j2 to disable the ports.

How to verify it
Check the file for -P 0 changes, and confirm port behaviour using netstat.
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.

3 participants