File: ChangeLog.2

package info (click to toggle)
inetutils 2%3A2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,588 kB
  • sloc: ansic: 132,363; sh: 12,498; yacc: 1,651; makefile: 725; perl: 72
file content (715 lines) | stat: -rw-r--r-- 24,906 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
2023-12-29  Simon Josefsson  <simon@josefsson.org>

	version 2.5
	* NEWS: Record release date.

	doc: Add NEWS entry.

	maint: Re-indent using GNU indent 2.2.13.

	doc: Refer to COPYING in README as per policies (sc_readme_link_copying).

	maint: Sync bootstrap scripts.

	maint: Update gnulib submodule.

2023-07-31  Simon Josefsson  <simon@josefsson.org>

	Remove dummy README-hacking and README-prereq files.

	doc: Add NEWS entry for set*id() fixes.

	Indent changes in previous commit.

2023-07-31  Jeffrey Bencteux  <jeffbencteux@gmail.com>

	ftpd,rcp,rlogin,rsh,rshd,uucpd: fix: check set*id() return values
	Several setuid(), setgid(), seteuid() and setguid() return values
	were not checked in ftpd/rcp/rlogin/rsh/rshd/uucpd code potentially
	leading to potential security issues.

2023-07-31  Simon Josefsson  <simon@josefsson.org>

	Run ./boostrap --bootstrap-sync.  Drop autogen.sh and autopull.sh.

2023-07-22  Simon Josefsson  <simon@josefsson.org>

	Ignore syntax-check problem in unpatched README-release.

	cfg.mk: Sort sc's.  Disable public-submodule-commit.

	Update gnulib files.

2023-01-09  Simon Josefsson  <simon@josefsson.org>

	Indent code to fix 'make syntax-check'.

2023-01-09  Enrik Berkhan  <Enrik.Berkhan@inka.de>  (tiny change)

	ping: decode unreachable codes added in RFC 4443
	RFC 4443 added two new codes for ICMPv6 destination unreachable messages
	(type 1):

	5 - Source address failed ingress/egress policy
	6 - Reject route to destination

	Before:

	$ sudo ./ping/ping6 2a03:4000:54:b9a::5
	PING 2a03:4000:54:b9a::5 (2a03:4000:54:b9a::5): 56 data bytes
	64 bytes from 2a03:4000:54:b9a::5: Destination unreachable: Unknown code 6
	64 bytes from 2a03:4000:54:b9a::5: Destination unreachable: Unknown code 6
	64 bytes from 2a03:4000:54:b9a::5: Destination unreachable: Unknown code 6
	^C--- 2a03:4000:54:b9a::5 ping statistics ---
	3 packets transmitted, 0 packets received, 100% packet loss

	After:

	$ sudo ./ping/ping6 2a03:4000:54:b9a::5
	PING 2a03:4000:54:b9a::5 (2a03:4000:54:b9a::5): 56 data bytes
	64 bytes from 2a03:4000:54:b9a::5: Destination unreachable: Reject route to destination
	64 bytes from 2a03:4000:54:b9a::5: Destination unreachable: Reject route to destination
	64 bytes from 2a03:4000:54:b9a::5: Destination unreachable: Reject route to destination
	^C--- 2a03:4000:54:b9a::5 ping statistics ---
	3 packets transmitted, 0 packets received, 100% packet loss

2023-01-01  Simon Josefsson  <simon@josefsson.org>

	maint: Run 'make update-copyright'.

2022-10-25  Simon Josefsson  <simon@josefsson.org>

	Indent code.

	Update gnulib submodule.

	Ignore files generated by 'make web-manual-update'.

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 2.4
	* NEWS: Record release date.

	doc: Add NEWS entries.

2022-10-25  Samuel Thibault  <samuel.thibault@gnu.org>

	ifconfig hurd: Notify pfinet of interfaces
	When the pfinet translator is configured without any initial interface,
	ifconfig has to explicitly tell it the interfaces to be configured.
	This needs to be done before any SIOC ioctl with that interface name,
	thus introducing a system_preconfigure that is called before any other
	configuration.

	* ifconfig/system.h (system_preconfigure): New prototype.
	* ifconfig/system/hurd.c: Include hurd.h, hurd/paths.h, hurd/fsys.h,
	argz.h.
	(check_driving): New function.
	(system_preconfigure): New function.
	* ifconfig/system/bsd.c (system_preconfigure): New functions.
	* ifconfig/system/generic.c (system_preconfigure): Likewise.
	* ifconfig/system/linux.c (system_preconfigure): Likewise.
	* ifconfig/system/qnx.c (system_preconfigure): Likewise.
	* ifconfig/system/solaris.c (system_preconfigure): Likewise.
	* ifconfig/changeif.c (configure_if): Call system_preconfigure before
	other "set" functions.

2022-10-25  Samuel Thibault  <samuel.thibault@gnu.org>

	ifconfig: Support prefix length.
	Prefix lengths are much more convenient, support them as an alternative
	to passing -m separately from -A.

	* ifconfig/options.c (parse_opt): Detect prefix length, and in such a
	case, call parse_opt_set_netmask.

2022-10-25  Simon Josefsson  <simon@josefsson.org>

	Update gnulib submodule.

	Build fixes for C23 compatibility.
	* src/inetd.c (signal_set_handler): Clarify sighandler_t type.
	* ifconfig/printif.c, ifconfig/system/bsd.c, ifconfig/system/generic.c,
	  ifconfig/system/hurd.c, ifconfig/system/linux.c, src/tftp.c,
	  telnet/commands.c: Reorder MAYBE_UNUSED.
	* libtelnet/genget.c (isprefix, genget): Use const char.
	  libtelnet/genget.c (Ambiguous): Use void.
	* telnet/commands.c, telnet/externs.h, telnet/network.c,
	  telnet/telnet.c, telnet/utilities.c: Clarify empty function types,
	  and update callers.

2022-10-14  Simon Josefsson  <simon@josefsson.org>

	Don't use variable names true/bool, fixing gnulib builds and syncs with BSD.
	* src/rlogind.c (rlogind_mainloop): Replace 'true' with 'on'.
	* telnetd/telnetd.c (telnetd_setup): Likewise.
	* ftp/cmds.c (onoff): Replace 'bool' with 'val'.

	Run ./bootstrap --bootstrap-sync.
	* bootstrap: Updated.
	* autogen.sh, autopull.sh, bootstrap-funclib.sh: New files.

	Update gnulib submodule.

2022-10-02  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	ftp: Avoid crash via infinite macro recursion
	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.

2022-10-02  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	tests: Check for infinite recursion ftp crash
	* tests/Makefile.am (EXTRA_DIST): Add new binary fuzzer found input.
	* tests/crash-ftp-msg2021-12_05.bin: New file.  Input found via
	fuzzer that crashes ftp via infinite macro recursion.  Reported by AiDai in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00005.html>.
	* tests/ftp-regressions.sh: Add currently failing check for regression
	of upcoming fix for bug reported by AiDai.

2022-10-01  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	ftp: Avoid NULL pointer dereference with nmap
	This fixes the problem reported by AiDai in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00004.html>.

	* NEWS: Mention fix.
	* ftp/cmds.c (setnmap): Accept both space and tab characters
	between command arguments.

2022-10-01  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	tests: Check for ftp crashes with "nmap" command
	* tests/Makefile.am (EXTRA_DIST): Add new binary fuzzer found input.
	* tests/crash-ftp-msg2021-12_04.bin: New file.  Input found via
	fuzzer that crashes ftp via NULL pointer dereference.  Reported by AiDai in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00004.html>.
	* tests/ftp-parser.sh: Add currently failing tests with a tab
	between arguments to the "nmap" command.
	* tests/ftp-regressions.sh: Add currently failing check for regression
	of upcoming fix for bug reported by AiDai.

	tests: ftp file name translation command parsing
	* tests/ftp-parser.sh: Test setting file name translation
	arguments.

2022-09-30  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	tests: ftp file name mapping command parsing
	* tests/ftp-parser.sh: Test that the "nmap" and "ntrans"
	commands produce a single output line.  Test setting file
	name mapping patterns using one or two input lines.  Test
	this for the proxy connection, too.

2022-09-25  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	ftp: Avoid heap buffer overflow in macro execution
	This fixes the problem reported by ZFeiXQ in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00016.html>.

	* NEWS: Mention fix.
	* ftp/domacro.c (domacro): Check buffer size before copying
	into buffer.  Reallocate buffer of sufficient size if necessary.

2022-09-25  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	tests: Check for ftp heap buffer overflow
	* tests/Makefile.am (EXTRA_DIST): Add new binary fuzzer found input.
	* tests/crash-ftp-msg2021-12_16.bin: New file.  Input found via
	fuzzer that crashes ftp via heap buffer overflow.  Reported by ZFeiXQ in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00016.html>.
	* tests/ftp-regressions.sh: Add currently failing check for regression
	of upcoming fix for bug reported by ZFeiXQ.

2022-09-25  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	ftp: Avoid integer overflow in macro execution
	This fixes the problem reported by AiDai in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00003.html>.

	* NEWS: Mention fix.
	* ftp/domacro.c: Include limits.h.
	(domacro): Avoid signed integer overflow.  Avoid out-of-bounds
	buffer access.

2022-09-25  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	tests: Check for ftp integer overflow crash bug
	* cfg.mk (exclude_file_name_regexp--sc_trailing_blank)
	(exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF): Change
	pattern to match both binary fuzzer found input files used in tests.
	* tests/Makefile.am (EXTRA_DIST): Add new binary fuzzer found input.
	* tests/crash-ftp-msg2021-12_03.bin: New file.  Input found via
	fuzzer that crashes ftp via signed integer overflow and resulting
	out-of-bounds array access.  Reported by AiDai in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00003.html>.
	* tests/ftp-regressions.sh: New file.  Currently failing checks
	for regression of upcoming fix for bug reported by AiDai in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00003.html>.

2022-09-25  Simon Josefsson  <simon@josefsson.org>

	Fix srcdir in tools.sh.in.
	* tests/tools.sh.in (srcdir): Set fallback srcdir.

	Fix 'make dist' and 'make syntax-check'.
	* tests/Makefile.am (EXTRA_DIST): Unconditionally distribute crash file.
	* tests/crash-tftp-msg2021-12_18.bin: Renamed.
	* cfg.mk (exclude_file_name_regexp--sc_trailing_blank)
	(exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF): Add crash file.
	* tests/tools.sh (srcdir): Set fallback srcdir.
	* tests/tftp-regressions.sh: Use new filename in srcdir.

2022-09-22  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	Texinfo: typo fix
	* doc/inetutils.texi (inetd configuration file): Fix typo in
	configuration directory name.

2022-09-17  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	tests: read binary fuzzer input from a file
	Instead of recreating the binary input found to crash tftp
	with printf(1), save the input in a file and use input
	redirection in the test.

	* tests/Makefile.ami (EXTRA_DIST): Move setting of EXTRA_DIST
	before setting dist_check_SCRIPTS.  Add the tftp crash input
	file when the tftp client is enabled.
	* tests/crash-tftp-msg2021-12_18: New file.  The input formerly
	crashing tftp.
	* tests/tftp-regressions.sh: Replace use of printf with input
	redirection.

2022-09-11  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	tftp: Ignore excess arguments
	When given too many arguments to a command at the tftp cli,
	the buffer used to hold the arguments would overflow.  This
	could result in a crash.

	The problem was reported by AiDai in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00018.html>.

	This commit fixes the test failure in the previously added
	file "tests/tftp-regressions.sh".

	* NEWS: Mention fix.
	* src/tftp.c (makeargv): Do not overflow argument buffer.

2022-09-11  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	tests: Check for tftp crash bug
	* tests/Makefile.am (dist_check_SCRIPTS)
	* tests/tftp-regressions.sh: New file.  Currently failing
	check for regression of fix for bug reported by AiDai in:
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00018.html>

2022-09-08  Simon Josefsson  <simon@josefsson.org>

	Doc fix, adding CVE.

2022-09-07  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	telnet: fix typo in diagnostic message
	* telnet/commands.c (makeargv): Print the newline after the
	sentence terminating period, not before.

2022-09-06  Guillem Jover  <guillem@hadrons.org>

	telnet: Add checks for option reply parsing limits
	This fixes buffer overflows caused by for example:

	  telnet -l`perl -e 'print "A"x5000'` localhost

	Origin: FreeBSD, https://cgit.freebsd.org/src/commit/?id=14aab889f4e50072a6b914eb95ebbfa939539dad
	Fixes: CVE-2019-0053

2022-09-03  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	telnetd: Handle early IAC EC or IAC EL receipt
	Fix telnetd crash if the first two bytes of a new connection
	are 0xff 0xf7 (IAC EC) or 0xff 0xf8 (IAC EL).

	The problem was reported in:
	<https://pierrekim.github.io/blog/2022-08-24-2-byte-dos-freebsd-netbsd-telnetd-netkit-telnetd-inetutils-telnetd-kerberos-telnetd.html>.

	* NEWS: Mention fix.
	* telnetd/state.c (telrcv): Handle zero slctab[SLC_EC].sptr and
	zero slctab[SLC_EL].sptr.

2022-07-08  Simon Josefsson  <simon@josefsson.org>

	doc: Mention more dependencies.  Drop obsolete text.

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 2.3
	* NEWS: Record release date.

	doc: Fix NEWS entries.

2022-07-07  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	telnet: Fix TTYPE subnegotiation off-by-one error.
	Fix off-by-one error in Terminal-Type option subnegotiation if the TERM
	variable has exactly 44 bytes.  In this case the SE byte (end of
	subnegotiation parameters) was replaced by a NUL byte.  This concerns
	the CVE-2019-0053 fixes.  Reported by Erik Auerswald in
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00004.html>.

	* NEWS: Mention fix.
	* telnet/telnet.c (suboption): Adjust length check to account for NUL
	byte written by snprintf().

2022-07-07  Erik Auerswald  <auerswal@unix-ag.uni-kl.de>

	telnet: Abort subnegotiation of XDISPLOC on error.
	Subnegotiation of the X Display Location option needs to be
	aborted when it cannot be completed.

	* NEWS: Mention fix.
	* telnet/telnet.c (suboption): Call send_wont() to abort when
	DISPLAY value does not fit into temporary buffer.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	whois: Support .art.
	Suggested by Chris Reveles <chris@talis.eco> in
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-01/msg00001.html>.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	logger: Don't read out of bounds on empty strings.
	Reported by AiDai in:
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00015.html>

	* src/logger.c (send_to_syslog): Handle empty strings.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	telnet: Fix crash of "set ' ' foo" command.
	Reported by ZFeiXQ and tiny patch by Erik Auerswald in
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00010.html>.

	* telnet/commands.c (setcmd): Don't crash on empty option.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	Check for telnet crash bug.
	* tests/telnet-localhost.sh: Check regression of
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00010.html>
	bug reported by ZFeiXQ and debugged by Erik Auerswald.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	telnet: Fix crash of "unset ' '" command.
	Reported by AiDai and tiny patch by Erik Auerswald in
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00007.html>.

	* telnet/commands.c (unsetcmd): Don't crash on empty option.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	Check for telnet crash bug.
	* tests/telnet-localhost.sh: Check regression of
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00007.html>
	bug reported by AiDai and debugged by Erik Auerswald.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	telnet: Make 'help help' output help string.
	Tiny patch by Erik Auerswald in
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00009.html>.

	* telnet/commands.c (cmdtab2): Fix 'help' string.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	telnet: Fix crash on 'help help' command.
	Reported by AiDai in
	<https://lists.gnu.org/archive/html/bug-inetutils/2021-12/msg00009.html>
	and debugged and tiny patch by Erik Auerswald in
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00009.html>.

	* telnet/commands.c (help): Don't crash on empty c->help.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	Check for telnet crash bug.
	* tests/telnet-localhost.sh: Check regression of
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00009.html>
	bug reported by AiDai and debugged by Erik Auerswald.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	telnet: Fix crash on too many options to 'help' command.
	Tiny patch from Erik Auerswald <auerswal@unix-ag.uni-kl.de> in
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00014.html>.

	* telnet/commands.c (TELNET_MAX_ARGS): New symbol.
	(margv): Use it instead of hard-coded value.
	(makeargv): Check if we reach limit instead of crashing.

2022-07-07  Simon Josefsson  <simon@josefsson.org>

	Check for telnet crash bug.
	* tests/telnet-localhost.sh: Check regression of
	<https://lists.gnu.org/archive/html/bug-inetutils/2022-02/msg00014.html>
	bug reported by Erik Auerswald.

	Fix mem leak.  Reported by AiDai <wyxaidai@gmail.com>.
	* ifconfig/options.c (parse_cmdline): Call if_freenameindex.

	Sync bootstrap with gnulib.
	* bootstrap: Update.

	Use gnulib git submodule.

2022-01-01  Alfred M. Szmidt  <ams@gnu.org>

	Sync bootstrap with gnulib.
	    * bootstrap: Update.

	Happy GNU 2022 year!

2021-09-03  Simon Josefsson  <simon@josefsson.org>

	maint: Improve syntax-checks.
	* cfg.mk (local-checks-to-skip): Enable sc_immutable_NEWS.  Disable sc_indent.

	doc: Improve README-release.
	* gl/top/README-release.diff: Update.

	maint: Use copyright year ranges for readability.
	* 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.

	doc: Fix typos, inspired by tiny BSD patches.

	doc: Update TODO.

	maint: Autoupdate for autoconf 2.71.
	* configure.ac: Don't use AC_TRY_LINK or AC_TRY_COMPILE.
	* am/libcurses.m4: Ditto.
	* am/krb5.m4: Ditto.

	doc: Mention maintenance fixes.
	* NEWS: Add.

2021-09-03  Simon Josefsson  <simon@josefsson.org>

	telnet: Don't infloop for malicious server.
	See https://bugs.debian.org/945861 and the tiny patch used by NetBSD:
	https://github.com/NetBSD/src/commit/36b8cfb2e28f691beae12da0c207086e1df0c8c4#diff-38b7213f9c6c21245fbeb4fad9520a27239d712a6dd0fea20dd6b77203b5737c

	* NEWS: Mention fix.
	* telnet/utilities.c (ExitString): Don't call SetForExit().

2021-09-02  Simon Josefsson  <simon@josefsson.org>

	maint: Include license text FDL as suggested by bootstrap.
	* doc/fdl-1.3.texi: New file, from gnulib.
	* bootstrap.conf (gnulib_modules): Remove fdl-1.3.

	doc: Use 'networkING utilities' consistently.
	* cfg.mk (manual_title): Fix.
	* doc/inetutils.texi (Introduction): Fix.

2021-09-01  Simon Josefsson  <simon@josefsson.org>

	Drop obsolete/unused AC_HEADER_DIRENT, AC_FUNC_CLOSEDIR_VOID and AC_FUNC_STRCOLL.
	* configure.ac: Remove calls.

	Drop unused IU_CHECK_WEAK_REFS.
	* configure.ac: Remove IU_CHECK_WEAK_REFS.
	* am/check_weak_refs.m4: Remove file.

	Don't use obsolete AC_TYPE_SIGNAL.
	* configure.ac: Remove call to AC_TYPE_SIGNAL.

	Use gnulib module 'attribute' instead of obsolete 'snippets/unused-parameters'.
	* */*.c: Use MAYBE_UNUSED instead of _GL_UNUSED_PARAMETER.
	* */*.c: Include attribute.h instead of unused-parameters.h.

	maint: Don't cc release announcement to translators.
	* maint.mk (translation_project_): Set to empty.

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 2.2
	* NEWS: Record release date.

	ftp: check that PASV/LSPV addresses match.
	* NEWS: Mention change.
	* ftp/ftp.c (initconn): Validate returned addresses.

2021-08-26  Simon Josefsson  <simon@josefsson.org>

	rlogind: Code for non-getaddrinfo removed.
	* NEWS: Mention change.
	* src/rlogind.c [!HAVE_DECL_GETADDRINFO]: Remove.

2021-07-26  Simon Josefsson  <simon@josefsson.org>

	logger: Code for non-getaddrinfo removed.
	* NEWS: Mention change.
	* src/logger.c [!HAVE_DECL_GETADDRINFO]: Remove.

	doc: Document recent fixes.
	* NEWS: Add.

2021-07-25  Simon Josefsson  <simon@josefsson.org>

	tests: Don't fail ftp-localhost.sh when sysctl is missing.
	* tests/ftp-localhost.sh: Silent fail.

2021-07-24  Simon Josefsson  <simon@josefsson.org>

	Don't check for getopt_long, no longer used anywhere.
	* configure.ac: Remove check.

	Don't check for getpass, getusershell, and poll (gnulib modules already imported).
	* configure.ac: Remove checks.

	Don't check for memcmp, memcpy, memmove, memset and strdup (no gnulib module needed).
	* configure.ac: Remove checks.

	Drop AC_C_CONST (obsolete).
	* configure.ac: Remove it.

	Use gnulib module socklen.
	* bootstrap.conf (gnulib_modules): Add it.
	* configure.ac: Don't look for it.

	Use gnulib modules stdarg, stdlib and string.
	* bootstrap.conf (gnulib_modules): Add them.
	* configure.ac: Don't look for them.

	Use gnulib environ module.
	* bootstrap.conf (gnulib_modules): Add environ.
	* configure.ac: Don't look for environ.

	Use gnulib errno module.
	* bootstrap.conf (gnulib_modules): Add errno.
	* configure.ac: Don't look for errno.h.

	Use gnulib getpeername module.
	* bootstrap.conf (gnulib_modules): Add getpeername.
	* configure.ac: Don't look for getpeername.

	Refresh some release-related build rules.
	* cfg.mk: Update.

	maint: post-release administrivia
	* NEWS: Add header line for next release.
	* .prev-version: Record previous version.
	* cfg.mk (old_NEWS_hash): Auto-update.

	version 2.1
	* NEWS: Record release date.

	Really try to fix gnulib fts usage.
	* libls/ls.c (ls_main): Use FTS_NOCHDIR.

	Fix gnulib fts usage.
	* libls/cmp.c: Include fts_.h instead of fts.h.
	* libls/ls.c: Likewise.
	* libls/print.c: Likewise.
	* libls/util.c: Likewise.

	Use gnulib's fts code instead of custom libls/ version.
	* bootstrap.conf (gnulib_modules): Add fts.
	* libls/fts.h, libls/fts.c: Remove files.
	* NEWS: Mention change.
	* configure.ac: Drop fchdir test.

	Remove tests obsoleted by gnulib.
	* configure.ac (poll.h, HAVE_SNPRINTF, HAVE_VSNPRINTF, strerror): Drop tests.

	Drop old or unnecessary build rules.
	* Makefile.am (DISTCLEANFILES): Remove inetutils*.tar*.
	(snapshot): Remove rule.
	* bootstrap.conf (bootstrap_sync): Remove, causes unnecessary *-dirty
	version number if bootstrap changes in gnulib.
	(.bootstrap): Remove custom code.
	* configure.ac: Remove no-op comments about old systems.

	doc: Improve README-release.
	* bootstrap.conf (bootstrap_epilogue): Remove.
	* gl/top/README-release.diff: Update.

	Depend on .version instead of configure.ac (for version number changes).
	man/Makefile.am: Fix *.1 dependencies.

	Reorganize NEWS entries.
	* NEWS: Update.

2021-07-20  Simon Josefsson  <simon@josefsson.org>

	doc: Remove completed TODO item.

2021-05-26  Simon Josefsson  <simon@josefsson.org>

	Sync bootstrap with gnulib.
	* bootstrap: Update.

	ftp: Fix usage under Emacs AngeFTP on Mac OS.
	* 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>.

2021-05-25  Simon Josefsson  <simon@josefsson.org>

	Mention 'whois' fixes.
	* NEWS: Add.

	Use gitlog-to-changelog.
	* bootstrap.conf (gnulib_modules): Add gitlog-to-changelog.
	(bootstrap_post_import_hook): Create ChangeLog, for automake.
	* Makefile.am (gen-ChangeLog): New rule.
	(dist-hook): Depend on gen-ChangeLog.
	(EXTRA_DIST): Distribute ChangeLog.1.
	* THANKS: Refer to version control logs too.
	* ChangeLog: Renamed to ChangeLog.1.
	* NEWS: Mention change.

2021-05-03  Alfred M. Szmidt  <ams@gnu.org>

	README: Update.

    Copyright (C) 2021-2025 Free Software Foundation, Inc.

  This file is part of GNU Inetutils.

  GNU Inetutils is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or (at
  your option) any later version.

  GNU Inetutils is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see `http://www.gnu.org/licenses/'.