Listen only on localhost by default
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 834
- Forks
- 36
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 7
Description
Awesome project! 🏅
From the README:
pitchfork will bind to all interfaces on TCP port 8080 by default.
Since a --listen flag already exist, I'd suggest binding only to localhost (127.0.0.1) by default.
I know this is mostly used internally right now, but it's such a common thing for webservers to accidentally bind to a public interface, for example on developer machines, unknowingly exposing an app to the internet.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README passage describing the default TCP binding, then locate the implementation of the existing --listen flag. Change the default to localhost (127.0.0.1) while preserving explicit --listen behavior, and update the README so it reflects the new default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100