Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147832581
D24800.id71708.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
967 B
Referenced Files
None
Subscribers
None
D24800.id71708.diff
View Options
Index: head/usr.sbin/inetd/inetd.8
===================================================================
--- head/usr.sbin/inetd/inetd.8
+++ head/usr.sbin/inetd/inetd.8
@@ -28,7 +28,7 @@
.\" from: @(#)inetd.8 8.3 (Berkeley) 4/13/94
.\" $FreeBSD$
.\"
-.Dd January 12, 2008
+.Dd May 12, 2020
.Dt INETD 8
.Os
.Sh NAME
@@ -800,6 +800,8 @@
tcpmux/+date stream tcp nowait guest /bin/date date
tcpmux/phonebook stream tcp nowait guest /usr/local/bin/phonebook phonebook
rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd
+# Use netcat as a one-shot HTTP proxy with nc (from freebsd-tips fortune)
+http stream tcp nowait nobody /usr/bin/nc nc -N dest-ip 80
/var/run/echo stream unix nowait root internal
#@ ipsec ah/require
chargen stream tcp nowait root internal
@@ -914,6 +916,7 @@
database.
.El
.Sh SEE ALSO
+.Xr nc 1 ,
.Xr ipsec_set_policy 3 ,
.Xr hosts_access 5 ,
.Xr hosts_options 5 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 15, 12:45 AM (1 m, 17 s ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29694834
Default Alt Text
D24800.id71708.diff (967 B)
Attached To
Mode
D24800: inetd(8): Provide HTTP proxy example using netcat
Attached
Detach File
Event Timeline
Log In to Comment