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