Inetd 1.0⚓︎
- Package: master/make/pkgs/inetd/
This is only a [virtual] inetd package that provides the required
configuration framework. A compatible inetd binary is also required;
currently only the Busybox inetd is supported. The current status can
be seen in the help for this package in
menuconfig
.
From the package help text (see "make menuconfig"):
This feature is required by the Inetd Freetz package, otherwise you
may deactivate it. ATTENTION, this feature is NOT deactivated
automatically if the Inetd Freetz package is unselected.
Note that BusyBox inetd has a particular box as the default box with
inetd in the image, for example 7270. If the preset box is changed to
another one where inetd is not used or cannot be used, for example 3170,
then inetd remains selected anyway. It can be deselected manually
(Advanced options => BusyBox options => inetd), or deselected after
exiting "make menuconfig" and saving the settings by running
"make config-clean-deps" (details here). This,
however, disables everything for which there are no dependent selected
patches, packages, etc. After that, "make menuconfig" may need to be run
again and checked once more.
User-Defined⚓︎
Custom daemons that inetd should provide can be entered. Services built
into inetd can also be specified. Examples:
31337 stream tcp nowait root /var/media/ftp/uStor01/binary binary -i
echo stream tcp nowait root internal
echo dgram udp wait root internal
discard stream tcp nowait root internal
discard dgram udp wait root internal
daytime stream tcp nowait root internal
daytime dgram udp wait root internal
chargen stream tcp nowait root internal
chargen dgram udp wait root internal
time stream tcp nowait root internal
time dgram udp wait root internal
Note: only service names stored in /etc/services can be used.
Configuration⚓︎
This shows the contents of /etc/inetd.conf as generated by Freetz. It
cannot be changed here.
Further Links⚓︎
For Developers⚓︎
- A simple web interface with inetd support
oidentd - Extension of a package with 2 services, where the web server becomes
inetd-capable (vnstat-cgi):
Changeset r4926
