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

healthcheck.sh: replace netstat with ss #136

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

bootc
Copy link
Contributor

@bootc bootc commented Dec 4, 2022

The net-tools package (netstat, ifconfig, etc...) are deprecated in favour of their iproute2 equivalents (ss, ip, etc...). Replace netstat usage with ss, removing many uses of regular expressions and gaining IPv6 socket compatibility. Fixes #135.

The net-tools package (netstat, ifconfig, etc...) are deprecated in
favour of their iproute2 equivalents (ss, ip, etc...). Replace netstat
usage with ss, removing many uses of regular expressions and gaining
IPv6 socket compatibility. Fixes sdr-enthusiasts#135.
@bootc
Copy link
Contributor Author

bootc commented Dec 4, 2022

An image built from this PR is available at bootc/docker-piaware:replace-netstat on Docker Hub.

@fredclausen
Copy link
Member

@mikenye this looks good to me. Any reason to not merge?

@mikenye mikenye merged commit d1cd268 into sdr-enthusiasts:main Feb 5, 2023
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.

Health check script doesn't support IPv6
3 participants