One of the fortunes that are included in freebsd-tips talks about how
the superserver can be used to proxy connections with netcat, but there are
no examples provided. This commit adds an example with comment explaining what it does.
Details
Details
- Reviewers
kevans - Group Reviewers
docs manpages - Commits
- rS361000: inetd(8): Provide HTTP proxy example using netcat
Ran igor, only got some probably-erroneous feedback.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 31018 Build 28724: arc lint + arc unit
Event Timeline
Comment Actions
Use -N to close nc again after the file has EOF'd.
This addresses feedback given by AllanJude on IRC.
Comment Actions
Add comment explaining what the example achieves, add nc(1) to SEE ALSO section
Partially based on further feedback from AllanJude on IRC.