52 Commits

Author SHA1 Message Date
Simon Josefsson
8e9d7c933a doc: Fix codespell nits 2025-11-27 00:33:35 +01:00
Simon Josefsson
04c3738a6c maint: Run 'make update-copyright'. 2025-01-01 18:21:25 +01:00
Simon Josefsson
aba8d6528e maint: Run 'make update-copyright'. 2024-01-01 11:28:59 +01:00
Simon Josefsson
4bfe18d36f maint: Run 'make update-copyright'. 2023-01-01 01:37:41 +01:00
Alfred M. Szmidt
6d519229fa Happy GNU 2022 year! 2022-01-01 17:23:02 +01:00
Simon Josefsson
1d5c923528 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.
2021-09-03 18:41:09 +02:00
Alfred M. Szmidt
911413ea57 Happy GNU 2021 year! 2021-01-01 11:35:27 +01:00
Mats Erik Andersson
da919de3f4 Buffer overflow in tftp and tftpd.
Recent Gnu libc and Gcc inject checks for buffer size into strcpy().
These interfere with declarations in <arpa/tftp.h>.  Issue was reported
independently by Mike Gilbert and Ricardo Ribalda Delgado.
2020-02-04 14:38:46 +01:00
Mats Erik Andersson
416326d0ac tests: Less system logging. 2020-02-02 00:17:38 +01:00
Mats Erik Andersson
45f0ab0a8f Better test coverage, mostly IPv6.
Test IPv6 equally much as is IPv4, whenever possible.
2020-01-28 16:59:34 +01:00
Mats Erik Andersson
44e30cc781 Separation of test cases as IPv4 and IPv6.
Existing tests are now made available as separate collections/tasks
for the two address families, selectable at testing time.
2020-01-24 17:21:24 +01:00
Mats Erik Andersson
3c908f3420 Test robustly in absence of IPv6.
A system like Raspbian can be configured without IPv6 at runtime.
Suppress IPv6 addresses in test scripts, whenever IPv6 is auto-inserted
and a check at test execution time fails for `::1'.  Issue was reported
by Bruno Haible.
2020-01-20 16:38:05 +01:00
Simon Josefsson
d8de4587f2 Update copyright years to use intervals up to 2020. 2020-01-01 13:21:37 +01:00
Mats Erik Andersson
3d64a8c728 Update copyright years to 2017. (silent change) 2017-02-21 14:25:23 +01:00
Mats Erik Andersson
84dcf08568 Update copyright years to 2016. (silent change) 2016-01-22 19:09:49 +01:00
Mats Erik Andersson
236256e897 Complaints during IPv6-less testing. 2015-03-14 19:27:52 +01:00
Mats Erik Andersson
02b3e80062 Allow testing without IPv6.
Pass a semaphor to the test scripts to indicate
whether to disable IPv6 tests or not.
2015-02-27 23:39:54 +01:00
Mats Erik Andersson
d3c9b1b8fa Update copyright years with 2015. (silent change) 2015-01-16 14:09:44 +01:00
Mats Erik Andersson
ae85332551 Update copyright years with 2014. (silent change) 2014-01-18 12:23:21 +01:00
Mats Erik Andersson
d1d52cce92 Update copyright years with 2013. (silent change) 2013-05-22 21:03:41 +02:00
Mats Erik Andersson
7d4833481e tftpd: Chrooted mode. 2013-01-03 13:54:47 +01:00
Mats Erik Andersson
63af745d06 Compiler warnings. 2012-09-07 16:46:29 +02:00
Mats Erik Andersson
1bf2a40a9b Test script update. 2012-08-24 11:52:16 +02:00
Mats Erik Andersson
2a1bd6e98f Test script update. 2012-08-09 14:21:55 +02:00
Mats Erik Andersson
6065febe54 Common helper for test scripts. 2012-03-21 02:03:38 +01:00
Mats Erik Andersson
590fde5934 Tests for configuration reload.
Expand two test scripts to capture reactions of
inetd and syslogd to SIGHUP signals.
2012-03-01 23:57:48 +01:00
Mats Erik Andersson
04707b5698 Reduce test script prerequisites. 2012-03-01 23:57:48 +01:00
Mats Erik Andersson
b4a938fe77 Basic telnet test. 2012-02-21 12:31:25 +01:00
Mats Erik Andersson
860baccb1e syslogd: Allow use of non-standard ports. 2012-02-08 00:15:45 +01:00
Mats Erik Andersson
71281f6d10 Test presence of lookup files.
The FTP and TFTP tests depend in /etc/nsswitch.conf,
/etc/passwd, and /etc/protocols.  Check their presence.
2012-02-06 23:19:30 +01:00
Mats Erik Andersson
6f8fd11c36 tests/tftp.sh: Activate job control. 2012-02-05 23:20:45 +01:00
Mats Erik Andersson
a6ea201f3e Ducument test dependency. (silent change) 2012-02-03 11:58:25 +01:00
Mats Erik Andersson
c4f4c250a6 False negatives in test evaluations. 2012-02-03 02:12:33 +01:00
Mats Erik Andersson
3ce1d4da27 Tighten test diagnosis for FTP and TFTP. 2012-02-03 00:41:03 +01:00
Mats Erik Andersson
304585e609 Restart failed TFTP test. 2012-02-01 19:58:27 +01:00
Mats Erik Andersson
f5bef4df8f Robustness of tests and TFTP client.
Test coverage for IPv6, better shell portability,
and TFTP client robustness for single stacked hosts.
2012-01-31 00:33:42 +01:00
Mats Erik Andersson
408acfb3c9 Seek free port while testing. 2012-01-27 14:41:59 +01:00
Mats Erik Andersson
8c1fd8b773 Prerequisites for test execution. 2012-01-26 15:51:32 +01:00
Mats Erik Andersson
a98c806d93 Portability of FTP and TFTP tests. 2012-01-23 12:48:20 +01:00
Mats Erik Andersson
273d270ca3 Portability of user identity. 2012-01-22 23:57:49 +01:00
Alfred M. Szmidt
99c71142f2 Updated copyright years; happy 2012! (silent change) 2012-01-01 19:27:00 +01:00
Alfred M. Szmidt
0e7ee45b08 Fix sc_prohibit_test_minus_ao check. 2011-12-30 18:49:47 +01:00
Mats Erik Andersson
ae08f03b3d tests/tftp.sh: Better testing coverage.
Several payload sizes; adaptions for Solaris.
Test only 127.0.0.1 by default, but configurable.
2011-12-13 00:11:37 +01:00
Mats Erik Andersson
683e8b2a7e Improve incident recovery in test scripts. 2011-12-10 23:47:51 +01:00
Mats Erik Andersson
02cef70810 Regex pattern with exact port number. 2011-12-02 21:31:37 +01:00
Mats Erik Andersson
4088071c2f Allow tests to return skip code instead of failure. 2011-11-26 21:57:48 +01:00
Mats Erik Andersson
a4638103d3 tests/tftp.sh: Improve robustness and portability. 2011-11-26 19:25:47 +01:00
Alfred M. Szmidt
dc99ec0d54 tests/tftp.sh: Skip test if we cannot execute netstat. Enable verbose
execution of test as early as possible.
2011-06-08 23:26:27 +02:00
Alfred M. Szmidt
d9788a7d35 Updated copyright years; happy 2011! (silent change) 2011-01-02 15:23:38 +00:00
Alfred M. Szmidt
31d3b8e6a6 Fix typo in previous commit: 5b174beae5. (silent change) 2010-10-31 22:48:29 +01:00