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