Bug#1013300: openbsd-inetd: default services (echo, discard, chargen, {,day}time) not provided nor documented

2022-07-04 Thread Thorsten Glaser
Marco d'Itri dixit:

>On Jun 21, Thorsten Glaser  wrote:
>
>> The /etc/inetd.conf file does not contain even commented-out
>> lines for the standard services.
>I am surely not going to encourage people configuring the UDP small
>services, which are a source of reflection DoS attacks.

Oh damn, I didn’t look at who the package maintainer is… *sigh*…

>> It’d also be a good idea to document all internal services in the
>> manual pages.

>They are:
>
> inetd provides several “trivial” services internally by use of routines
> within itself.  These services are “echo”, “discard”, “chargen” (charac‐
> ter generator), “daytime” (human readable time), and “time” (machine

Huh, indeed, but…

> readable time, in the form of the number of seconds since midnight, Janu‐
> ary 1, 1900).  All of these services are TCP based.  For details of these

… this isn’t right, they also do work over UDP. (This is very useful
when testing network services.)

> services, consult the appropriate RFC from the Network Information Cen‐
> ter.

bye,
//mirabilos
-- 
Yes, I hate users and I want them to suffer.
-- Marco d'Itri on gmane.linux.debian.devel.general



Bug#1013300: openbsd-inetd: default services (echo, discard, chargen, {,day}time) not provided nor documented

2022-07-03 Thread Marco d'Itri
On Jun 21, Thorsten Glaser  wrote:

> The /etc/inetd.conf file does not contain even commented-out
> lines for the standard services.
I am surely not going to encourage people configuring the UDP small 
services, which are a source of reflection DoS attacks.

> It’d also be a good idea to document all internal services in the
> manual pages.
They are:

 inetd provides several “trivial” services internally by use of routines
 within itself.  These services are “echo”, “discard”, “chargen” (charac‐
 ter generator), “daytime” (human readable time), and “time” (machine
 readable time, in the form of the number of seconds since midnight, Janu‐
 ary 1, 1900).  All of these services are TCP based.  For details of these
 services, consult the appropriate RFC from the Network Information Cen‐
 ter.


-- 
ciao,
Marco


signature.asc
Description: PGP signature


Bug#1013300: openbsd-inetd: default services (echo, discard, chargen, {,day}time) not provided nor documented

2022-06-21 Thread Thorsten Glaser
Package: openbsd-inetd
Version: 0.20160825-5
Severity: normal
X-Debbugs-Cc: t...@mirbsd.de

The /etc/inetd.conf file does not contain even commented-out
lines for the standard services.

I’m attaching mildly tested sample lines that ought to be present
in the file when installing the package.

It’d also be a good idea to document all internal services in the
manual pages.


-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'oldstable-updates'), (500, 'oldoldstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-10-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages openbsd-inetd depends on:
ii  init-system-helpers1.60
ii  libbsd00.11.3-1
ii  libc6  2.31-13+deb11u3
ii  libelogind0 [libsystemd0]  246.9.1-1+debian1
ii  libevent-2.1-7 2.1.12-stable-1
ii  libtirpc3  1.3.1-1
ii  libwrap0   7.6.q-31
ii  lsb-base   11.1.0
ii  tcpd   7.6.q-31
ii  update-inetd   4.51

openbsd-inetd recommends no packages.

openbsd-inetd suggests no packages.

-- no debconf information
#echo   stream  tcp4nowait  rootinternal
#echo   stream  tcp6nowait  rootinternal
#discardstream  tcp4nowait  rootinternal
#discardstream  tcp6nowait  rootinternal
#chargenstream  tcp4nowait  rootinternal
#chargenstream  tcp6nowait  rootinternal
#daytimestream  tcp4nowait  rootinternal
#daytimestream  tcp6nowait  rootinternal
#time   stream  tcp4nowait  rootinternal
#time   stream  tcp6nowait  rootinternal
#echo   dgram   udp4waitrootinternal
#echo   dgram   udp6waitrootinternal
#discarddgram   udp4waitrootinternal
#discarddgram   udp6waitrootinternal
#chargendgram   udp4waitrootinternal
#chargendgram   udp6waitrootinternal
#daytimedgram   udp4waitrootinternal
#daytimedgram   udp6waitrootinternal
#time   dgram   udp4waitrootinternal
#time   dgram   udp6waitrootinternal