Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Architecture: move port 2121 to loopback-only (defense-in-depth)

Open
#226 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #317 by @Amperstrand — closed without merging

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
backend, security

Research direction

Read the full analysis in #213, then locate the backend listener configuration for port 2121 and review how WiFi clients currently reach it. The issue proposes binding the backend to loopback and fronting it with a minimal CGI or reverse proxy via uhttpd or nodogsplash. Done means WiFi clients no longer reach port 2121 directly while the payment flow remains reachable through the proxy.

Written by the indexing model from the issue text.

Description

enhancement

Current state

The TollGate backend API binds to :2121 (all interfaces). Nodogsplash explicitly allows WiFi clients to reach it. This is by design (payment flow) but means every HTTP handler is remotely reachable.

Recommendation

Move backend to 127.0.0.1:2121. Front with a minimal CGI/reverse proxy via uhttpd or nodogsplash. WiFi clients never directly touch port 2121.

Priority

Low — no current exploitable handler bug in v0.5.0 (shell injection fixed in #104, SSRF fixed in #198, error sanitization in #202). This is defense-in-depth for future handler bugs.

See #213 for the full analysis.

Dominant language
Go
Stars
12
Forks
14
Avg merge
1d 4h
Merged PRs (30d)
244

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenTollGate/tollgate-module-basic-go

All issues in OpenTollGate/tollgate-module-basic-go

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.