]> Cypherpunks.ru repositories - nncp.git/blob - doc/news.texi
Merge branch 'develop'
[nncp.git] / doc / news.texi
1 @node News
2 @cindex news
3 @unnumbered News
4
5 See also this page @ref{Новости, on russian}.
6
7 @node Release 8_10_0
8 @section Release 8.10.0
9 @itemize
10
11 @item
12 Updated dependant libraries, including Yggdrasil one (its network moved to v0.5).
13
14 @end itemize
15
16 @node Release 8_9_0
17 @section Release 8.9.0
18 @itemize
19
20 @item
21 @command{nncp-toss} command has @option{-gen-ack} option.
22 @command{nncp-daemon}, @command{nncp-caller}, @command{nncp-call}
23 commands have @option{-autotoss-gen-ack} option. They automatically
24 generate ACK packets and store corresponding @file{spool/tx/ack/}
25 references to them, to be able to remove them after the transfer.
26
27 @item
28 @code{autotoss-gen-ack} appeared in call configuration.
29 @code{ack} section appeared in neighbour configuration.
30
31 @item
32 @command{nncp-rm} command has @option{-ack} option to remove packets
33 referenced by stored @file{spool/tx/ack/} files generated during tossing.
34
35 @item
36 Get rid of @command{redo} build system during installation, as there are
37 virtually none dependencies, just only compilation of the Go code.
38
39 @item
40 Updated some dependencies.
41
42 @end itemize
43
44 @node Release 8_8_3
45 @section Release 8.8.3
46 @itemize
47
48 @item
49 Fixed @command{nncp-reass} command, that incorrectly reported about
50 wrong last chunk's size if it is multiple of the chunk-size.
51
52 @item
53 Updated dependencies. Go 1.20+ is required now.
54
55 @end itemize
56
57 @node Release 8_8_2
58 @section Release 8.8.2
59 @itemize
60
61 @item
62 Updated Yggdrasil library, with several other ones.
63
64 @end itemize
65
66 @node Release 8_8_1
67 @section Release 8.8.1
68 @itemize
69
70 @item
71 Fixed @command{nncp-daemon} failing with unauthenticated connection and
72 enabled @option{-autotoss}.
73
74 @item
75 Updated dependencies.
76
77 @end itemize
78
79 @node Release 8_8_0
80 @section Release 8.8.0
81 @itemize
82
83 @item
84 Fixed buildability under Go 1.19.
85
86 @item
87 Minimal required Go version is 1.17.
88
89 @item
90 Updated dependencies.
91
92 @end itemize
93
94 @node Release 8_7_2
95 @section Release 8.7.2
96 @itemize
97
98 @item
99 More intuitive, clear and slightly more flexible behaviour of @command{nncp-rm}.
100
101 @item
102 @command{nncp-rm} also removes corresponding @file{hdr/} file for each
103 removed packet.
104
105 @end itemize
106
107 @node Release 8_7_1
108 @section Release 8.7.1
109 @itemize
110
111 @item
112 @command{nncp-xfer} now correctly checks for @file{seen/} files for
113 inbound packets.
114
115 @end itemize
116
117 @node Release 8_7_0
118 @section Release 8.7.0
119 @itemize
120
121 @item
122 @command{nncp-ack} does not acknowledge ACK-packets, preventing an
123 endless loop of ACKs.
124
125 @item
126 @command{nncp-ack} previously did not remove corresponding @file{hdr/} files.
127
128 @item
129 @command{nncp-rm} now takes list of packet from @code{stdin} when
130 @option{-pkt} option is used.
131
132 @item
133 @command{nncp-ack} now generates list of ACK packets it created, that
134 could be used as an input to @command{nncp-rm} to remove outbound ACK
135 packets.
136
137 @end itemize
138
139 @node Release 8_6_0
140 @section Release 8.6.0
141 @itemize
142
143 @item
144 @command{nncp-xfer} checks if locally copied packet's checksum differs
145 from the source's one.
146
147 @item
148 @command{nncp-call} has bad return code if its queues contain unfinished jobs.
149
150 @item
151 @command{nncp-ack} command appeared, that sends explicit packet receipt
152 acknowledgement (ACK packet). That acknowledgement deletes referenced
153 packet from the outbound spool.
154
155 @item
156 Ability to turn @code{fsync} operation off using @env{$NNCPNOSYNC=1}
157 environment variable.
158
159 @item
160 Added various indices in documentation, that should help searching in it.
161
162 @end itemize
163
164 @node Release 8_5_0
165 @section Release 8.5.0
166 @itemize
167
168 @item
169 Fixed @command{nncp-bundle} workability.
170
171 @item
172 Mistakenly @option{-mcd-wait} option was enabled by default in
173 @command{nncp-call}.
174
175 @item
176 Ability to override internal default timeout for online protocol through
177 @env{$NNCPDEADLINE} environment variable. Can be useful for very high
178 delay links.
179
180 @item
181 NNCP builds on OpenBSD.
182
183 @end itemize
184
185 @node Release 8_4_0
186 @section Release 8.4.0
187 @itemize
188
189 @item
190 Multicast related interface names (@code{mcd-listen} and @code{mcd-send}
191 configuration options) are now regular expressions. By default
192 @command{nncp-cfgnew} uncomments them now with @code{.*} interface name.
193
194 @item
195 @command{nncp-call} command has @option{-mcd-wait} option to wait for
196 multicast packet about node's address.
197
198 @item
199 @command{nncp-file} command skips everything that is neither regular
200 file nor directory during pax-archive creation.
201
202 @end itemize
203
204 @node Release 8_3_0
205 @section Release 8.3.0
206 @itemize
207
208 @item
209 Fixed building issues on 32-bit systems.
210
211 @end itemize
212
213 @node Release 8_2_0
214 @section Release 8.2.0
215 @itemize
216
217 @item
218 Yggdrasil uses pure-Go IPv6+TCP network stack, instead of naked μTP
219 transport protocol, making it able to work as an ordinary TCP server
220 inside overlay network.
221
222 @item
223 Yggdrasil's @code{prv;bind1,bind2;pub@dots{}}-like configuration strings are
224 replaced with URL-like ones (@code{yggdrasils://PRV?bind=BIND1&bind=BIND2&pub=PUB}).
225
226 @item
227 Ability to pass multicast-related parameters to Yggdrasil configuration.
228
229 @item
230 @command{nncp-daemon} is able to listen on both TCP and Yggdrasil-driven
231 sockets simultaneously.
232
233 @item
234 @command{nncp-daemon}'s listening on peering endpoint socket is optional
235 -- you can be reached through the peers.
236
237 @end itemize
238
239 @node Release 8_1_0
240 @section Release 8.1.0
241 @itemize
242
243 @item
244 @command{nncp-cfgdir} does not require @code{self} section existence in
245 configuration file.
246
247 @item
248 Ability to act as Yggdrasil network client, using online protocol on top of it.
249
250 @end itemize
251
252 @node Release 8_0_2
253 @section Release 8.0.2
254 @itemize
255
256 @item
257 Fixed sending ability to areas.
258
259 @end itemize
260
261 @node Release 8_0_1
262 @section Release 8.0.1
263 @itemize
264
265 @item
266 Fixed incorrect @code{freq.chunked} value calculation. If it was missed,
267 then chunked transfer mode was forcefully turned on anyway.
268
269 @item
270 Fixed incorrect full file's size calculation in @file{.nncp.meta}.
271
272 @end itemize
273
274 @node Release 8_0_0
275 @section Release 8.0.0
276 @itemize
277
278 @item
279 @strong{Incompatible} encrypted packet format change: payload and pad
280 sizes are sent in-bound in the encrypted stream. That gives ability to
281 streamingly create encrypted packets, without knowing sizes in advance,
282 without creating temporary file or buffer data in memory.
283
284 @item
285 Proper encrypted packet padding verification is done now. This is not
286 critical issue, but previously neither padding value, nor its size were
287 authenticated, giving ability to iteratively strip trailing bytes and
288 determine payload's size by observing the reaction of the encrypted
289 packet processing.
290
291 @item
292 @command{nncp-exec} loses its @option{-use-tmp} option, because of
293 streaming-compatible encrypted packets format.
294
295 @item
296 @command{nncp-file} and @command{nncp-exec} commands have
297 @option{-maxsize} option, limiting maximal resulting encrypted packet's
298 maximal size (returning error if it is exceeded). Could be useful,
299 because no payload size could be known in advance.
300
301 @end itemize
302
303 @node Release 7_7_0
304 @section Release 7.7.0
305 @itemize
306
307 @item
308 Experimental @code{kqueue} and @code{inotify} based notifications
309 support about spool directory changes, for reducing their often reading
310 overhead.
311
312 @item
313 @file{.seen} and @file{.hdr} files moved to @file{seen/} and @file{hdr/}
314 subdirectories, for faster scanning of spool directories.
315 Current files migration required:
316
317 @example
318 $ find $NNCPSPOOL -type f -name "*.hdr" -exec rm @{@} +
319
320 $ find $NNCPSPOOL -type d -name rx | while read rx ; do
321     cd $rx
322     mkdir -p seen
323     find . -type f -name "*.seen" | while read fn ; do
324         mv $fn seen/$@{fn%.seen@}
325     done
326 done
327
328 $ find $NNCPSPOOL -type d -name area | while read area ; do
329     find $area -type f -name "*.seen" | while read fn ; do
330         mv $fn $@{fn%.seen@}
331     done
332 done
333 @end example
334
335 @end itemize
336
337 @node Release 7_6_0
338 @section Release 7.6.0
339 @itemize
340
341 @item
342 Logging may be done to specified opened file descriptor
343 (@env{$NNCPLOG=FD:5} for example).
344 That is friendly to use under @command{daemontools}.
345
346 @item
347 Added additional checks of public keys existence in configuration file,
348 preventing some commands from failing.
349
350 @end itemize
351
352 @node Release 7_5_1
353 @section Release 7.5.1
354 @itemize
355
356 @item
357 NNCP builds on NetBSD.
358
359 @end itemize
360
361 @node Release 7_5_0
362 @section Release 7.5.0
363 @itemize
364
365 @item
366 @command{nncp-daemon} is compatible with UCSPI-TCP interface, so log
367 will contain remote side's address (when running under appropriate
368 utility). @option{-ucspi} option should be used instead of @option{-inetd}.
369
370 @item
371 @command{nncp-call} can be UCSPI-TCP client, using @option{-ucspi} option.
372
373 @item
374 Do not exit if some of MCD network interfaces can not be listened --
375 only warn about that.
376
377 @end itemize
378
379 @node Release 7_4_0
380 @section Release 7.4.0
381 @itemize
382
383 @item
384 Fixed simultaneous @command{nncp-daemon} and @command{nncp-caller} MCD work.
385
386 @end itemize
387
388 @node Release 7_3_2
389 @section Release 7.3.2
390 @itemize
391
392 @item
393 @command{hjson-cli} utility builds in vendor-mode now.
394
395 @end itemize
396
397 @node Release 7_3_1
398 @section Release 7.3.1
399 @itemize
400
401 @item
402 Fixed possibly left opened file descriptor in online commands.
403
404 @item
405 Severely decreased memory usage of MTH hashing.
406
407 @end itemize
408
409 @node Release 7_3_0
410 @section Release 7.3.0
411 @itemize
412
413 @item
414 Fixed some workability problems on 32-bit systems with big files.
415
416 @item
417 Ability to use directory with a bunch of files as a configuration.
418 @command{nncp-cfgdir} command appeared.
419
420 @end itemize
421
422 @node Release 7_2_1
423 @section Release 7.2.1
424 @itemize
425
426 @item
427 Small optimizations in online commands.
428
429 @end itemize
430
431 @node Release 7_2_0
432 @section Release 7.2.0
433 @itemize
434
435 @item
436 @command{nncp-trns} command appeared for manual transition packets creation.
437
438 @item
439 If destination node of transitional packet has non empty @option{via}
440 route, then do not ignore, but use it.
441
442 @item
443 Do not relay multicast packet to area message's originator, that
444 obviously has seen its own packet.
445
446 @item
447 Much less memory usage during MTH hashing when offset is zero: when
448 packet is not resumed, but for example checked with @command{nncp-check}
449 command.
450
451 @end itemize
452
453 @node Release 7_1_1
454 @section Release 7.1.1
455 @itemize
456
457 @item
458 Fixed failing directories @code{fsync} after @file{.seen} file creation.
459
460 @end itemize
461
462 @node Release 7_1_0
463 @section Release 7.1.0
464 @itemize
465
466 @item
467 Multicasting areas feature appeared. Implemented merely by an additional
468 plain packet type with @command{nncp-toss}, @command{nncp-file} and
469 @command{nncp-exec} commands modification.
470
471 @item
472 Fixed workability of @command{nncp-file} and @command{nncp-exec}
473 commands, that use temporary file (@code{stdin} and @option{-use-tmp}).
474
475 @item
476 Fixed disappearing bad return code in @command{nncp-exec} command.
477
478 @item
479 Fixed invalid @file{.hdr} generation when transitional packets are used.
480
481 @item
482 @option{-all} option appeared in @command{nncp-rm} command, applying to
483 all the nodes at once.
484
485 @item
486 @option{-cycle} option appeared in @command{nncp-check} command, looping
487 the check in infinite cycle.
488
489 @item
490 @command{nncp-rm} command can take node alias name.
491
492 @item
493 @command{nncp-pkt} can parse @file{.hdr} files.
494
495 @end itemize
496
497 @node Release 7_0_0
498 @section Release 7.0.0
499 @itemize
500
501 @item
502 Minimal required Go version is 1.13.
503
504 @item
505 Merkle Tree-based Hashing with BLAKE3 (MTH) is used instead of BLAKE2b.
506 Because of that, there are backward @strong{incompatible} changes of
507 encrypted files (everything laying in the spool directory) and
508 @file{.meta} files of chunked transfer.
509
510 Current implementation is far from being optimal: it lacks
511 parallelizable calculations and has higher memory consumption: nearly
512 512 KiB for each 1 GiB of file's data. Future performance and memory
513 size optimizations should not lead to packet's format change. But it is
514 still several times faster than BLAKE2b.
515
516 @item
517 Resumed online downloads, because of MTH, require reading only of the
518 preceding part of file, not the whole one as was before.
519
520 @item
521 @command{nncp-hash} utility appeared for calculating file's MTH hash.
522
523 @item
524 BLAKE2 KDF and XOF functions are replaced with BLAKE3 in encrypted
525 packets. Lowering number of used primitives. Also, its encrypted
526 packet's header is used as an associated data during encryption.
527
528 @item
529 MultiCast Discovery uses
530 @verb{|ff02::4e4e:4350|} address instead of @verb{|ff02::1|}.
531
532 @item
533 @command{nncp-cfgenc} mistakenly asked passphrase three times during encryption.
534
535 @item
536 @command{nncp-stat} reports about partly downloaded packets.
537
538 @item
539 Updated dependencies.
540
541 @end itemize
542
543 @node Release 6_6_0
544 @section Release 6.6.0
545 @itemize
546
547 @item
548 @command{nncp-daemon}, @command{nncp-call} and @command{nncp-caller}
549 commands wait for all background checksummers completion after
550 connection is finished.
551
552 @item
553 Added possibility of address determining through multicast announcement
554 in local area network, so called MCD (MultiCast Discovery).
555
556 @end itemize
557
558 @node Release 6_5_0
559 @section Release 6.5.0
560 @itemize
561
562 @item
563 Fixed segfault in @command{nncp-daemon} when SP handshake did not succeed.
564
565 @item
566 Fixed possible bad return code ignoring in automatic tosser.
567
568 @item
569 Fixed race during file descriptors closing when online protocol call is
570 finished, that could lead to write error of received packet fragment.
571
572 @item
573 Kill all packet transmission progress bars in @command{nncp-daemon},
574 @command{nncp-call} and @command{nncp-caller} when call is finished.
575
576 @end itemize
577
578 @node Release 6_4_0
579 @section Release 6.4.0
580 @itemize
581
582 @item
583 Fixed possible race in online protocol, that lead to panic.
584
585 @end itemize
586
587 @node Release 6_3_0
588 @section Release 6.3.0
589 @itemize
590
591 @item
592 Fixed possible panic while showing progress during online protocol.
593
594 @end itemize
595
596 @node Release 6_2_1
597 @section Release 6.2.1
598 @itemize
599
600 @item
601 Three places in logs contained excess @code{%s}.
602
603 @end itemize
604
605 @node Release 6_2_0
606 @section Release 6.2.0
607 @itemize
608
609 @item
610 Returned @command{nncp-caller}'s @option{-autotoss*} options workability.
611
612 @item
613 Yet another logging refactoring and simplification.
614 Should be no visible differences to the end user.
615
616 @end itemize
617
618 @node Release 6_1_0
619 @section Release 6.1.0
620 @itemize
621
622 @item
623 Optimization: most commands do not keep opened file descriptors now.
624 Previously you can exceed maximal number of opened files if you have got
625 many packets in the spool directory.
626
627 @item
628 Optimization: do not close file descriptor of the file we download
629 online. Previously each chunk lead to expensive open/close calls.
630
631 @item
632 Online downloaded files are saved with @file{.nock} (non-checksummed)
633 suffix, waiting either for @command{nncp-check}, or online daemons to
634 perform integrity check.
635
636 @item
637 Optimization: files, that are not resumed, are checksummed immediately
638 during the online download, skipping @file{.nock}-intermediate step.
639
640 @item
641 Ability to store encrypted packet's header in @file{.hdr} file, close to
642 the packet itself. That can greatly increase performance of packets
643 listing on filesystems with big block's size.
644
645 @end itemize
646
647 @node Release 6_0_0
648 @section Release 6.0.0
649 @itemize
650
651 @item
652 Log uses human readable and easy machine parseable
653 @url{https://www.gnu.org/software/recutils/, recfile} format for the
654 records, instead of structured RFC 3339 lines. Old logs are not readable
655 by @command{nncp-log} anymore.
656
657 @item
658 @option{-autotoss*} option workability with @command{nncp-daemon}'s
659 @option{-inetd} mode.
660
661 @item
662 Call's @option{when-tx-exists} allows to make a call only when outbound
663 packets exists. Combined with seconds-aware cron expression that can be
664 used as some kind of auto dialler.
665
666 @item
667 @command{nncp-cronexpr} command allows you to check validity and
668 expectations of specified cron expression.
669
670 @end itemize
671
672 @node Release 5_6_0
673 @section Release 5.6.0
674 @itemize
675
676 @item
677 @option{-autotoss*} option runs tosser not after the call, but every
678 second while it is active.
679
680 @item
681 @option{autotoss}, @option{autotoss-doseen},
682 @option{autotoss-nofile}, @option{autotoss-nofreq},
683 @option{autotoss-noexec}, @option{autotoss-notrns} options available in
684 @option{calls} configuration section. You can configure per-call
685 automatic tosser options.
686
687 @item
688 Use vendoring, instead of @env{$GOPATH} overriding during tarball
689 installation, because current minimal Go's version is 1.12 and it
690 supports modules.
691
692 @end itemize
693
694 @node Release 5_5_1
695 @section Release 5.5.1
696 @itemize
697
698 @item
699 Respect for @env{$BINDIR}, @env{$INFODIR} and @env{$DOCDIR} environment
700 variables in @file{config} during installation.
701
702 @end itemize
703
704 @node Release 5_5_0
705 @section Release 5.5.0
706 @itemize
707
708 @item
709 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
710 @command{nncp-bundle} and @command{nncp-stat}.
711
712 @item
713 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
714
715 @item
716 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
717 options now. Uncompressed packets are not compatible with previous NNCP
718 versions.
719
720 @item
721 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
722 have @option{-autotoss*} options for running tosser after call is ended.
723
724 @item
725 Updated dependencies. Minimal required Go version is 1.12.
726
727 @end itemize
728
729 @node Release 5_4_1
730 @section Release 5.4.1
731 @itemize
732
733 @item
734 Fixed @code{SENDMAIL} variable usage during the build.
735
736 @end itemize
737
738 @node Release 5_4_0
739 @section Release 5.4.0
740 @itemize
741
742 @item
743 Updated dependencies.
744
745 @item
746 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
747 This should not influence package maintainers, because minimal @command{redo}
748 implementation is included in tarball.
749
750 @end itemize
751
752 @node Release 5_3_3
753 @section Release 5.3.3
754 @itemize
755
756 @item
757 More various error checks.
758
759 @item
760 Updated dependencies.
761
762 @end itemize
763
764 @node Release 5_3_2
765 @section Release 5.3.2
766 @itemize
767
768 @item
769 Fixed incorrect logic of @option{onlinedeadline} timeout, where
770 connection won't take into account incoming packets events and will
771 forcefully disconnect.
772
773 @end itemize
774
775 @node Release 5_3_1
776 @section Release 5.3.1
777 @itemize
778
779 @item
780 Fixed @option{onlinedeadline} workability with call addresses that use
781 external commands (@verb{#"|somecmd"#}).
782
783 @item
784 @command{nncp-stat} has @option{-pkt} option displaying information
785 about each packet in the spool.
786
787 @end itemize
788
789 @node Release 5_3_0
790 @section Release 5.3.0
791 @itemize
792
793 @item
794 Progress messages contain prefix, describing the running action.
795
796 @item
797 Fixed not occurring handshake messages padding.
798
799 @item
800 Finish all SP protocol related goroutines, less memory leak.
801
802 @item
803 SP protocol generates less socket write calls, thus generating less TCP
804 packets.
805
806 @item
807 Check @option{onlinedeadline} and @option{maxonlinetime} options every
808 second, independently from socket reads (up to 10 seconds).
809
810 @item
811 Once per minute, if no other traffic exists, PING packets are sent in
812 SP-connection. That allows faster determining of connection unworkability.
813
814 @item
815 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
816
817 @end itemize
818
819 @node Release 5_2_1
820 @section Release 5.2.1
821 @itemize
822
823 @item
824 Fixed SP protocol error handling, sometimes causing program panic.
825
826 @end itemize
827
828 @node Release 5_2_0
829 @section Release 5.2.0
830 @itemize
831
832 @item
833 Most commands by default show oneline operations progress.
834 @option{-progress}, @option{-noprogress} command line options,
835 @option{noprogress} configuration file option appeared.
836
837 @item
838 Fixed incorrect @command{nncp-check} command return code, that returned
839 bad code when everything is good.
840
841 @item
842 Free disk space check during @command{nncp-bundle -rx} call.
843
844 @end itemize
845
846 @node Release 5_1_2
847 @section Release 5.1.2
848 @itemize
849
850 @item
851 @strong{Critical} vulnerability: remote peers authentication could lead
852 to incorrect identification of remote side, allowing foreign encrypted
853 packets downloading.
854
855 @item
856 Bugfix: private and public Noise keys were swapped in newly created
857 configuration files, that lead to inability to authenticate online peers.
858
859 @item
860 Explicit directories @code{fsync}-ing for guaranteed files renaming.
861
862 @end itemize
863
864 @node Release 5_1_1
865 @section Release 5.1.1
866 @itemize
867
868 @item
869 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
870
871 @end itemize
872
873 @node Release 5_1_0
874 @section Release 5.1.0
875 @itemize
876
877 @item
878 @command{nncp-file} can send directories, automatically creating pax
879 archive on the fly.
880
881 @item
882 Free disk space is checked during outbound packets creation.
883
884 @item
885 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
886 file options replaced with the structure:
887 @option{freq: @{path: @dots{}, minsize: @dots{}, chunked: @dots{}@}}.
888
889 @item
890 Added @option{freq.maxsize} configuration file option, forbidding of
891 freq sending larger than specified size.
892
893 @item
894 Ability to notify about successfully executed commands (exec) with
895 @option{notify.exec} configuration file option.
896
897 @end itemize
898
899 @node Release 5_0_0
900 @section Release 5.0.0
901 @itemize
902
903 @item
904 @strong{Incompatible} configuration file format change: YAML is
905 replaced with Hjson, due to its simplicity, without noticeable lack
906 of either functionality or convenience.
907
908 @item
909 @strong{Incompatible} plain packet format changes. Older versions are
910 not supported. @code{zlib} compression is replaced with
911 @code{Zstandard}, due to its speed and efficiency, despite library
912 version is not mature enough.
913
914 @item
915 Ability to call remote nodes via pipe call of external command, not only
916 through TCP.
917
918 @item
919 @command{nncp-cfgnew} generates configuration file with many
920 comments. @option{-nocomments} option can be used for an old
921 behaviour.
922
923 @item
924 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
925 avoid possible collisions with @file{.nncp.chunkCTR}.
926
927 @item
928 Ability to override process umask through configuration file option.
929
930 @item
931 Files and directories are created with 666/777 permissions by default,
932 allowing control with @command{umask}.
933
934 @item
935 Updated dependencies.
936
937 @item
938 Full usage of go modules for dependencies management
939 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
940
941 @item
942 Forbid any later GNU GPL version autousage
943 (project's licence now is GNU GPLv3-only).
944
945 @end itemize
946
947 @node Release 4_1
948 @section Release 4.1
949 @itemize
950 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
951 @end itemize
952
953 @node Release 4_0
954 @section Release 4.0
955 @itemize
956
957 @item
958 @strong{Incompatible} encrypted and eblob packet format change: AEAD
959 encryption mode with 128 KiB blocks is used now, because previously
960 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
961 decrypted data to external command. Older versions are not supported.
962
963 @item
964 Available free space checking before copying in @command{nncp-xfer},
965 @command{nncp-daemon}, @command{nncp-call(er)}.
966
967 @item
968 @command{nncp-call} has ability only to list packets on remote node,
969 without their transmission.
970
971 @item
972 @command{nncp-call} has ability to transfer only specified packets.
973
974 @item
975 Workability of @option{xxrate} preference in @option{calls}
976 configuration file section.
977
978 @item
979 Dependant libraries are updated.
980
981 @item
982 Minor bugfixes.
983
984 @item
985 Begin using of @code{go.mod} subsystem.
986
987 @end itemize
988
989 @node Release 3_4
990 @section Release 3.4
991 @itemize
992 @item @command{nncp-daemon} can be run as @command{inetd}-service.
993 @end itemize
994
995 @node Release 3_3
996 @section Release 3.3
997 @itemize
998
999 @item
1000 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
1001 if @file{.seen} exists and treat it like file was already downloaded.
1002 Possibly it was transferred out-of-bound and remote side needs to be
1003 notifier about that.
1004
1005 @item
1006 If higher priority packet is spooled, then @command{nncp-daemon} will
1007 queue its sending first, interrupting lower priority transmissions.
1008
1009 @item
1010 Simple packet rate limiter added to online-related tools
1011 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
1012
1013 @item
1014 Ability to specify niceness with symbolic notation:
1015 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
1016
1017 @item
1018 Changed default niceness levels:
1019 for @command{nncp-exec} from 64 to 96,
1020 for @command{nncp-freq} from 64 to 160,
1021 for @command{nncp-file} from 196 to 224.
1022
1023 @end itemize
1024
1025 @node Release 3_2
1026 @section Release 3.2
1027 @itemize
1028 @item
1029 @strong{Incompatible} @emph{bundle} archive format changes and
1030 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
1031 valid tar archives, but Go 1.9 made them invalid because of long paths
1032 inside. NNCP accidentally was dependant on that bug. Explicit adding of
1033 @file{NNCP/} directory in archive restores workability with valid tar
1034 archives.
1035 @end itemize
1036
1037 @node Release 3_1
1038 @section Release 3.1
1039 @itemize
1040 @item
1041 Ability to disable relaying at all using @verb{|-via -|} command line option.
1042 @end itemize
1043
1044 @node Release 3_0
1045 @section Release 3.0
1046 @itemize
1047
1048 @item
1049 @strong{Incompatible} plain packet format changes. Older versions are
1050 not supported.
1051
1052 @item
1053 Ability to queue remote command execution, by configuring @option{exec}
1054 option in configuration file and using @command{nncp-exec} command:
1055     @itemize
1056     @item
1057     @command{nncp-mail} command is replaced with more flexible
1058     @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
1059     you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
1060     @item
1061     @option{sendmail} configuration file option is replaced with
1062     @option{exec}. @code{sendmail: [@dots{}]} must be replaced with
1063     @code{exec: sendmail: [@dots{}]}.
1064     @end itemize
1065
1066 @item
1067 Ability to override @option{via} configuration option for destination
1068 node via @option{-via} command line option for following commands:
1069 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
1070
1071 @item
1072 Chunked files, having size less than specified chunk size, will be sent
1073 as an ordinary single file.
1074
1075 @item
1076 Exec commands are invoked with additional @env{$NNCP_NICE} and
1077 @env{$NNCP_SELF} environment variables.
1078
1079 @item
1080 Files, that are sent as a reply to freq, have niceness level taken from
1081 the freq packet. You can set desired niceness during @command{nncp-freq}
1082 invocation using @option{-replynice} option.
1083
1084 @item
1085 @command{nncp-toss} command can ignore specified packet types during
1086 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
1087 @option{-notrns}.
1088
1089 @item
1090 @command{nncp-file} command uses
1091 @option{FreqMinSize}/@option{FreqChunked} configuration file options
1092 for @option{-minsize}/@option{-chunked} by default. You can turn this
1093 off by specifying zero value.
1094
1095 @end itemize
1096
1097 @node Release 2_0
1098 @section Release 2.0
1099 @itemize
1100
1101 @item
1102 @strong{Incompatible} encrypted/eblob packet format changes. Older
1103 versions are not supported.
1104
1105 @item
1106 Twofish encryption algorithm is replaced with ChaCha20. It is much more
1107 faster. One cryptographic primitive less.
1108
1109 @item
1110 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
1111 another cryptographic primitive less (assuming that BLAKE2X is nearly
1112 identical to BLAKE2).
1113
1114 @end itemize
1115
1116 @node Release 1_0
1117 @section Release 1.0
1118 @itemize
1119
1120 @item
1121 @strong{Incompatible} encrypted packet format changes. Older versions
1122 are not supported.
1123
1124 @item
1125 @command{nncp-bundle} command can either create stream of encrypted
1126 packets, or digest it. It is useful when dealing with
1127 @code{stdin}/@code{stdout} based transmission methods (like writing to
1128 CD-ROM without intermediate prepared ISO image and working with tape
1129 drives).
1130
1131 @item
1132 @command{nncp-toss} is able to create @file{.seen} files preventing
1133 duplicate packets receiving.
1134
1135 @item
1136 Single background checksum verifier worker is allowed in
1137 @command{nncp-call}. This is helpful when thousands of small inbound
1138 packets could create many goroutines.
1139
1140 @item
1141 Ability to override path to spool directory and logfile through either
1142 command line argument, or environment variable.
1143
1144 @item
1145 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
1146 @file{.part}, @file{.lock} and temporary files.
1147
1148 @end itemize
1149
1150 @node Release 0_12
1151 @section Release 0.12
1152 @itemize
1153 @item Sendmail command is called with @env{$NNCP_SENDER} environment variable.
1154 @end itemize
1155
1156 @node Release 0_11
1157 @section Release 0.11
1158 @itemize
1159 @item @command{nncp-stat}'s command output is sorted by node name.
1160 @end itemize
1161
1162 @node Release 0_10
1163 @section Release 0.10
1164 @itemize
1165 @item
1166 @command{nncp-freq}'s @file{DST} argument is optional now. Last
1167 @file{SRC} path's element will be used by default.
1168 @end itemize
1169
1170 @node Release 0_9
1171 @section Release 0.9
1172 @itemize
1173 @item
1174 Fix @option{-rx}/@option{-tx} arguments processing in
1175 @command{nncp-call} command. They were ignored.
1176 @end itemize
1177
1178 @node Release 0_8
1179 @section Release 0.8
1180 @itemize
1181 @item
1182 Little bugfix in @command{nncp-file} command, where @option{-minsize}
1183 option for unchunked transfer was not in KiBs, but in bytes.
1184 @end itemize
1185
1186 @node Release 0_7
1187 @section Release 0.7
1188 @itemize
1189
1190 @item
1191 Ability to feed @command{nncp-file} from @code{stdin}, that uses an
1192 encrypted temporary file for that.
1193
1194 @item
1195 Chunked files transmission appeared with corresponding
1196 @command{nncp-reass} command and @option{freqchunked} configuration file
1197 entry. Useful for transferring big files over small storage devices.
1198
1199 @item
1200 @option{freqminsize} configuration file option, analogue to
1201 @option{-minsize} one.
1202
1203 @item
1204 @command{nncp-xfer}'s @option{-force} option is renamed to
1205 @option{-mkdir} for clarity.
1206
1207 @item
1208 @option{-minsize} option is specified in KiBs, not bytes, for
1209 convenience.
1210
1211 @item
1212 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
1213 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
1214 common prefix and are grouped together for convenience.
1215
1216 @item
1217 @command{nncp-cfgenc} command appeared, allowing configuration file
1218 encryption/decryption, for keeping it safe without any either OpenPGP or
1219 similar tools usage.
1220
1221 @item
1222 Cryptographic libraries (dependencies) are updated.
1223
1224 @end itemize
1225
1226 @node Release 0_6
1227 @section Release 0.6
1228 @itemize
1229 @item Small @command{nncp-rm} command appeared.
1230 @item Cryptographic libraries (dependencies) are updated.
1231 @end itemize
1232
1233 @node Release 0_5
1234 @section Release 0.5
1235 @itemize
1236 @item
1237 Trivial small fix in default niceness level of @command{nncp-file}
1238 and @command{nncp-freq} commands.
1239 @end itemize
1240
1241 @node Release 0_4
1242 @section Release 0.4
1243 @itemize
1244
1245 @item
1246 Small fix in @command{nncp-call}, @command{nncp-caller},
1247 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
1248 lost).
1249
1250 @item
1251 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
1252 and more convenient to use.
1253
1254 @item
1255 @command{nncp-mincfg} command appeared: helper allowing to create
1256 minimalistic stripped down configuration file without private keys, that
1257 is useful during @command{nncp-xfer} usage.
1258
1259 @end itemize
1260
1261 @node Release 0_3
1262 @section Release 0.3
1263 @itemize
1264 @item Fixed compatibility with Go 1.6.
1265 @end itemize
1266
1267 @node Release 0_2
1268 @section Release 0.2
1269 @itemize
1270
1271 @item
1272 @strong{Incompatible} packet's format change (magic number is changed
1273 too): size field is encrypted and is not send in plaintext anymore.
1274
1275 @item
1276 @option{-minsize} option gives ability to automatically pad outgoing
1277 packets to specified minimal size.
1278
1279 @item
1280 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
1281 always check new @emph{tx} packets appearance in the background while
1282 connected. Remote side is immediately notified.
1283
1284 @item
1285 @option{-onlinedeadline} option gives ability to configure timeout of
1286 inactivity of online connection, when it could be disconnected. It could
1287 be used to keep connection alive for a long time.
1288
1289 @item
1290 @option{-maxonlinetime} option gives ability to set maximal allowable
1291 online connection aliveness time.
1292
1293 @item
1294 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
1295
1296 @item
1297 @command{nncp-pkt} command can decompress the data.
1298
1299 @end itemize