One part of ftpd user authentication is to check if the user has
a so called "standard shell". But, it is no longer obvious what
that actually is. The Linux man-pages project uses different
names to designate a "standard shell", i.e., "valid login shell"
when documenting /etc/shells, "permitted user shells" and "valid
user shell" when documenting getusershell(), making it harder to
figure this out.
Expand ftpd user authentication step 3 by adding information about
/etc/shells and getusershell(), and the different names used for
"standard shell".
* NEWS: Mention ftpd documentation improvement.
* doc/inetutils.texi (ftpd invocation): Explain "standard shell"
as used in the ftpd authentication rules.
* README: Fix spelling of similarly.
* doc/inetutils.texi (ifconfig invocation): Fox spelling of or.
(logger invocation): Fix spelling of influential.
(Ftp commands): Fix spelling of intended.
(Configuration file): Fix spelling of limited.
(telnetd invocation): Fix spelling of construct.
(tftpd invocation): Fix spelling of suppress. Use "in spite of"
instead of "inspite".
This fixes the problem reported by AiDai in
<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00005.html>.
* NEWS: Mention fix.
* doc/inetutils.texi (Ftp commands): Mention macro nesting depth
limit.
* ftp/domacro.c: New constant MAX_MACRO_NESTING_DEPTH.
(domacro): Limit macro nesting depth to MAX_MACRO_NESTING_DEPTH.
* tests/ftp-parser.sh: Test execution of nested macros.
* cfg.mk (update-copyright-env): Add, from coreutils.
(VC_LIST_ALWAYS_EXCLUDE_REGEX): Add, for update-copyright exceptions.
* README: Add info about copyright year ranges.
* *: Update copyright notices.
* NEWS: Doc fix.
* doc/inetutils.texi (ftp invocation): Improve --no-edit.
* ftp/main.c (main): Disable readline when TERM unset or dumb,
inspired by trivial patch from Alex Bochannek <alex@bochannek.com>.
* NEWS: Add.
* doc/inetutils.texi (telnet invocation): Add --bind (-b).
* telnet/commands.c (tn): New variables hostaddr and srchostp.
Parse -b parameter. Update usage string. If -b is set, call
getaddrinfo on it and pass that ai_addr on to bind.
* telnet/main.c (srcaddr): New global variable.
(argp_options): Add --bind (-b).
(parse_opt): Set srcaddr to -b value.
(main): Propagate -b value to tn function.
When the socket is half-closed by the client, then some
remote servers abort connection without a complete reply.
The cause was located and reported by Alexander Zubkov.