Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/inetd/inetd.8
Show All 22 Lines | |||||||||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||||||||
.\" | .\" | ||||||||||
.\" from: @(#)inetd.8 8.3 (Berkeley) 4/13/94 | .\" from: @(#)inetd.8 8.3 (Berkeley) 4/13/94 | ||||||||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||||||||
.\" | .\" | ||||||||||
.Dd May 14, 2020 | .Dd February 24, 2021 | ||||||||||
.Dt INETD 8 | .Dt INETD 8 | ||||||||||
.Os | .Os | ||||||||||
.Sh NAME | .Sh NAME | ||||||||||
.Nm inetd | .Nm inetd | ||||||||||
.Nd internet | .Nd internet | ||||||||||
.Dq super-server | .Dq super-server | ||||||||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||||||||
.Nm | .Nm | ||||||||||
▲ Show 20 Lines • Show All 746 Lines • ▼ Show 20 Lines | |||||||||||
translation of service names to RPC program numbers | translation of service names to RPC program numbers | ||||||||||
.It Pa /etc/services | .It Pa /etc/services | ||||||||||
translation of service names to port numbers | translation of service names to port numbers | ||||||||||
.It Pa /var/run/inetd.pid | .It Pa /var/run/inetd.pid | ||||||||||
the pid of the currently running | the pid of the currently running | ||||||||||
.Nm | .Nm | ||||||||||
.El | .El | ||||||||||
.Sh "EXAMPLES" | .Sh "EXAMPLES" | ||||||||||
Here are several example service entries for the various types of services: | The examples have been moved to /etc/inetd.conf, and more examples have | ||||||||||
brueffer: I think implicitly referring to the previous state of the manpage doesn't add much value; how… | |||||||||||
.Bd -literal | been added. | ||||||||||
# The first four launch the relevant daemon when a connection on a port | .Pp | ||||||||||
# as defined by /etc/services is opened. | It includes examples for | ||||||||||
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l | .Nm bootpd , | ||||||||||
ntalk dgram udp wait root /usr/libexec/ntalkd ntalkd | .Nm comsat , | ||||||||||
telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd | .Nm cvs , | ||||||||||
shell stream tcp46 nowait root /usr/libexec/rshd rshd | .Nm date, | ||||||||||
.Nm fingerd , | |||||||||||
# Let the system respond to date requests via tcpmux | .Nm ftpd , | ||||||||||
tcpmux/+date stream tcp nowait guest /bin/date date | .Nm imapd , | ||||||||||
.Nm nc , | |||||||||||
# Let people access the system phonebook via tcpmux | .Nm nmbd | ||||||||||
tcpmux/phonebook stream tcp nowait guest /usr/local/bin/phonebook phonebook | .Pq for samba sharing , | ||||||||||
yuripvUnsubmitted Done Inline Actions"samba sharing" does not make much sense, may be "SMB sharing using Samba"? Or rather "Samba NETBIOS name server". yuripv: "samba sharing" does not make much sense, may be "SMB sharing using Samba"? Or rather "Samba… | |||||||||||
.Nm nntpd , | |||||||||||
# Make kernel statistics accessible | .Nm rlogind , | ||||||||||
rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd | .Nm rpc.rquotad , | ||||||||||
.Nm rpc.rusersd , | |||||||||||
# Use netcat as a one-shot HTTP proxy with nc (from freebsd-tips fortune) | .Nm rpc.rwalld , | ||||||||||
http stream tcp nowait nobody /usr/bin/nc nc -N dest-ip 80 | .Nm rpc.statd , | ||||||||||
.Nm rpc.sprayd , | |||||||||||
# Set up a unix socket at /var/run/echo that echo's back whatever is written | .Nm rshd , | ||||||||||
# to it. | .Nm prometheus_sysctl_exporter , | ||||||||||
/var/run/echo stream unix nowait root internal | .Nm smtpd , | ||||||||||
.Nm smbd , | |||||||||||
# Run chargen for IPsec Authentication Headers | .Nm swat | ||||||||||
#@ ipsec ah/require | .Pq for samba configuration , | ||||||||||
yuripvUnsubmitted Done Inline Actionsit's a software package name here, so Samba. yuripv: it's a software package name here, so Samba. | |||||||||||
chargen stream tcp nowait root internal | .Nm talkd , | ||||||||||
#@ | .Nm telnetd , | ||||||||||
.Ed | .Nm tftpd , | ||||||||||
.Nm uucpd , | |||||||||||
yuripvUnsubmitted Done Inline Actionstrailing comma, replace with period? yuripv: trailing comma, replace with period? | |||||||||||
.Pp | |||||||||||
The internal services provided by | |||||||||||
.Nm | |||||||||||
for daytime, time, echo, discard and chargen are also | |||||||||||
included, as well as chargen for | |||||||||||
.Nm ipsec | |||||||||||
Authentication Headers | |||||||||||
.Pp | |||||||||||
Examples for handling auth requests via | |||||||||||
.Nm identd , | |||||||||||
are similarily included. | |||||||||||
.Sh "ERROR MESSAGES" | .Sh "ERROR MESSAGES" | ||||||||||
The | The | ||||||||||
.Nm | .Nm | ||||||||||
server | server | ||||||||||
logs error messages using | logs error messages using | ||||||||||
.Xr syslog 3 . | .Xr syslog 3 . | ||||||||||
Important error messages and their explanations are: | Important error messages and their explanations are: | ||||||||||
.Pp | .Pp | ||||||||||
▲ Show 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | |||||||||||
.Ar udp6 | .Ar udp6 | ||||||||||
or | or | ||||||||||
.Ar tcp6 | .Ar tcp6 | ||||||||||
in the | in the | ||||||||||
.Xr netconfig 5 | .Xr netconfig 5 | ||||||||||
database. | database. | ||||||||||
.El | .El | ||||||||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||||||||
.Xr cvs 1 Pq Pa ports/devel/opencvs , | |||||||||||
.Xr date 1 , | |||||||||||
.Xr nc 1 , | .Xr nc 1 , | ||||||||||
.Xr ipsec_set_policy 3 , | .Xr ipsec_set_policy 3 , | ||||||||||
.Xr ipsec 4 , | |||||||||||
.Xr hosts_access 5 , | .Xr hosts_access 5 , | ||||||||||
.Xr hosts_options 5 , | .Xr hosts_options 5 , | ||||||||||
.Xr login.conf 5 , | .Xr login.conf 5 , | ||||||||||
.Xr netconfig 5 , | .Xr netconfig 5 , | ||||||||||
.Xr passwd 5 , | .Xr passwd 5 , | ||||||||||
.Xr rpc 5 , | .Xr rpc 5 , | ||||||||||
.Xr services 5 , | .Xr services 5 , | ||||||||||
.Xr bootpd 8 , | |||||||||||
.Xr comsat 8 , | .Xr comsat 8 , | ||||||||||
.Xr fingerd 8 , | .Xr fingerd 8 , | ||||||||||
.Xr ftpd 8 , | .Xr ftpd 8 , | ||||||||||
.Xr imapd 8 Pq Pa ports/mail/courier-imap , | |||||||||||
.Xr nmbd 8 Pq Pa ports/net/samba412 , | |||||||||||
.Xr rlogind 8 , | .Xr rlogind 8 , | ||||||||||
.Xr rpcbind 8 , | .Xr rpc.rquotad 8 , | ||||||||||
.Xr rpc.rusersd 8 , | |||||||||||
.Xr rpc.rwalld 8 , | |||||||||||
.Xr rpc.statd 8 , | |||||||||||
.Xr rshd 8 , | .Xr rshd 8 , | ||||||||||
.Xr prometheus_sysctl_exporter 8 , | |||||||||||
.Xr smbd 8 Pq Pa ports/net/samba412 , | |||||||||||
.Xr talkd 8 , | .Xr talkd 8 , | ||||||||||
.Xr telnetd 8 , | .Xr telnetd 8 , | ||||||||||
.Xr tftpd 8 | .Xr tftpd 8 , | ||||||||||
and | |||||||||||
yuripvUnsubmitted Done Inline Actionsnot needed in SEE ALSO yuripv: not needed in SEE ALSO | |||||||||||
.Xr uucpd 8 Pq Pa ports/net/freebsd-uucp . | |||||||||||
bruefferUnsubmitted Done Inline Actions
brueffer: | |||||||||||
.Rs | .Rs | ||||||||||
.%A Michael C. St. Johns | .%A Michael C. St. Johns | ||||||||||
.%T Identification Protocol | .%T Identification Protocol | ||||||||||
.%O RFC1413 | .%O RFC1413 | ||||||||||
.Re | .Re | ||||||||||
.Sh HISTORY | .Sh HISTORY | ||||||||||
The | The | ||||||||||
.Nm | .Nm | ||||||||||
Show All 14 Lines |
I think implicitly referring to the previous state of the manpage doesn't add much value; how about the following:
Examples for a variety of services are available in
.Pa /etc/inetd.conf .