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