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

Don't expose ports on all interfaces unless needed #387

Merged
merged 5 commits into from
May 2, 2024

Conversation

jeremyestein
Copy link
Contributor

@jeremyestein jeremyestein commented May 1, 2024

Partially addresses #239 (fixing rather than auditing)

Most open ports only need to be accessed from the CLI that's running on the same host. So only listen on localhost.

Similar principal applies to running tests, although those usually won't be run in the hospital.

Orthanc raw and anon are a notable exception as someone may want to view those from the DSD or another hospital computer, but otherwise exposing everything to (perhaps) the whole hospital is a security hazard.

Copy link

codecov bot commented May 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.97%. Comparing base (f9f5fae) to head (9089b94).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #387   +/-   ##
=======================================
  Coverage   82.97%   82.97%           
=======================================
  Files          79       79           
  Lines        3259     3259           
=======================================
  Hits         2704     2704           
  Misses        555      555           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jeremyestein jeremyestein marked this pull request as ready for review May 1, 2024 20:17
Copy link
Contributor

@stefpiatek stefpiatek left a comment

Choose a reason for hiding this comment

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

Nice Jeremy, a couple of them we do need to be accessible outside of the GAE but happy for you to merge when you've resolved

docker-compose.yml Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
@jeremyestein jeremyestein merged commit fc8e962 into main May 2, 2024
10 checks passed
@jeremyestein jeremyestein deleted the jeremy/localhost-only branch May 2, 2024 10:57
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.

2 participants