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