4 See also this page @ref{Новости, on russian}.
11 Respect for @env{BINDIR}, @env{INFODIR} and @env{DOCDIR} environment
12 variables in @file{config} during installation.
17 @section Release 5.5.0
21 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
22 @command{nncp-bundle} and @command{nncp-stat}.
25 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
28 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
29 options now. Uncompressed packets are not compatible with previous NNCP
33 @command{nncp-call}, @command{nncp-caller} and @command{nncp-daemon} commands
34 have @option{-autotoss*} options for running tosser after call is ended.
37 Updated dependencies. Minimal required Go version is 1.12.
42 @section Release 5.4.1
46 Fixed @code{SENDMAIL} variable usage during the build.
51 @section Release 5.4.0
58 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
59 This should not influence package maintainers, because minimal @command{redo}
60 implementation is included in tarball.
65 @section Release 5.3.3
69 More various error checks.
77 @section Release 5.3.2
81 Fixed incorrect logic of @option{onlinedeadline} timeout, where
82 connection won't take into account incoming packets events and will
83 forcefully disconnect.
88 @section Release 5.3.1
92 Fixed @option{onlinedeadline} workability with call addresses that use
93 external commands (@verb{#"|somecmd"#}).
96 @command{nncp-stat} has @option{-pkt} option displaying information
97 about each packet in the spool.
102 @section Release 5.3.0
106 Progress messages contain prefix, describing the running action.
109 Fixed not occurring handshake messages padding.
112 Finish all SP protocol related goroutines, less memory leak.
115 SP protocol generates less socket write calls, thus generating less TCP
119 Check @option{onlinedeadline} and @option{maxonlinetime} options every
120 second, independently from socket reads (up to 10 seconds).
123 Once per minute, if no other traffic exists, PING packets are sent in
124 SP-connection. That allows faster determining of connection unworkability.
127 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
132 @section Release 5.2.1
136 Fixed SP protocol error handling, sometimes causing program panic.
141 @section Release 5.2.0
145 Most commands by default show oneline operations progress.
146 @option{-progress}, @option{-noprogress} command line options,
147 @option{noprogress} configuration file option appeared.
150 Fixed incorrect @command{nncp-check} command return code, that returned
151 bad code when everything is good.
154 Free disk space check during @command{nncp-bundle -rx} call.
159 @section Release 5.1.2
163 @strong{Critical} vulnerability: remote peers authentication could lead
164 to incorrect identification of remote side, allowing foreign encrypted
168 Bugfix: private and public Noise keys were swapped in newly created
169 configuration files, that lead to inability to authenticate online peers.
172 Explicit directories fsync-ing for guaranteed files renaming.
177 @section Release 5.1.1
181 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
186 @section Release 5.1.0
190 @command{nncp-file} can send directories, automatically creating pax
194 Free disk space is checked during outbound packets creation.
197 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
198 file options replaced with the structure:
199 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
202 Added @option{freq.maxsize} configuration file option, forbidding of
203 freq sending larger than specified size.
206 Ability to notify about successfully executed commands (exec) with
207 @option{notify.exec} configuration file option.
212 @section Release 5.0.0
216 @strong{Incompatible} configuration file format change: YAML is
217 replaced with Hjson, due to its simplicity, without noticeable lack
218 of either functionality or convenience.
221 @strong{Incompatible} plain packet format changes. Older versions are
222 not supported. @code{zlib} compression is replaced with
223 @code{Zstandard}, due to its speed and efficiency, despite library
224 version is not mature enough.
227 Ability to call remote nodes via pipe call of external command, not only
231 @command{nncp-cfgnew} generates configuration file with many
232 comments. @option{-nocomments} option can be used for an old
236 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
237 avoid possible collisions with @file{.nncp.chunkCTR}.
240 Ability to override process umask through configuration file option.
243 Files and directories are created with 666/777 permissions by default,
244 allowing control with @command{umask}.
247 Updated dependencies.
250 Full usage of go modules for dependencies management
251 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
254 Forbid any later GNU GPL version autousage
255 (project's licence now is GNU GPLv3-only).
262 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
270 @strong{Incompatible} encrypted and eblob packet format change: AEAD
271 encryption mode with 128 KiB blocks is used now, because previously
272 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
273 decrypted data to external command. Older versions are not supported.
276 Available free space checking before copying in @command{nncp-xfer},
277 @command{nncp-daemon}, @command{nncp-call(er)}.
280 @command{nncp-call} has ability only to list packets on remote node,
281 without their transmission.
284 @command{nncp-call} has ability to transfer only specified packets.
287 Workability of @option{xxrate} preference in @option{calls}
288 configuration file section.
291 Dependant libraries are updated.
297 Begin using of @code{go.mod} subsystem.
304 @item @command{nncp-daemon} can be run as @command{inetd}-service.
312 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
313 if @file{.seen} exists and treat it like file was already downloaded.
314 Possibly it was transferred out-of-bound and remote side needs to be
318 If higher priority packet is spooled, then @command{nncp-daemon} will
319 queue its sending first, interrupting lower priority transmissions.
322 Simple packet rate limiter added to online-related tools
323 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
326 Ability to specify niceness with symbolic notation:
327 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
330 Changed default niceness levels:
331 for @command{nncp-exec} from 64 to 96,
332 for @command{nncp-freq} from 64 to 160,
333 for @command{nncp-file} from 196 to 224.
341 @strong{Incompatible} @emph{bundle} archive format changes and
342 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
343 valid tar archives, but Go 1.9 made them invalid because of long paths
344 inside. NNCP accidentally was dependant on that bug. Explicit adding of
345 @file{NNCP/} directory in archive restores workability with valid tar
353 Ability to disable relaying at all using @verb{|-via -|} command line option.
361 @strong{Incompatible} plain packet format changes. Older versions are
365 Ability to queue remote command execution, by configuring @option{exec}
366 option in configuration file and using @command{nncp-exec} command:
369 @command{nncp-mail} command is replaced with more flexible
370 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
371 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
373 @option{sendmail} configuration file option is replaced with
374 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
375 @verb{|exec: sendmail: [...]|}.
379 Ability to override @option{via} configuration option for destination
380 node via @option{-via} command line option for following commands:
381 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
384 Chunked files, having size less than specified chunk size, will be sent
385 as an ordinary single file.
388 Exec commands are invoked with additional @env{NNCP_NICE} and
389 @env{NNCP_SELF} environment variables.
392 Files, that are sent as a reply to freq, have niceness level taken from
393 the freq packet. You can set desired niceness during @command{nncp-freq}
394 invocation using @option{-replynice} option.
397 @command{nncp-toss} command can ignore specified packet types during
398 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
402 @command{nncp-file} command uses
403 @option{FreqMinSize}/@option{FreqChunked} configuration file options
404 for @option{-minsize}/@option{-chunked} by default. You can turn this
405 off by specifying zero value.
414 @strong{Incompatible} encrypted/eblob packet format changes. Older
415 versions are not supported.
418 Twofish encryption algorithm is replaced with ChaCha20. It is much more
419 faster. One cryptographic primitive less.
422 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
423 another cryptographic primitive less (assuming that BLAKE2X is nearly
424 identical to BLAKE2).
433 @strong{Incompatible} encrypted packet format changes. Older versions
437 @command{nncp-bundle} command can either create stream of encrypted
438 packets, or digest it. It is useful when dealing with stdin/stdout based
439 transmission methods (like writing to CD-ROM without intermediate
440 prepared ISO image and working with tape drives).
443 @command{nncp-toss} is able to create @file{.seen} files preventing
444 duplicate packets receiving.
447 Single background checksum verifier worker is allowed in
448 @command{nncp-call}. This is helpful when thousands of small inbound
449 packets could create many goroutines.
452 Ability to override path to spool directory and logfile through either
453 command line argument, or environment variable.
456 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
457 @file{.part}, @file{.lock} and temporary files.
462 @section Release 0.12
464 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
468 @section Release 0.11
470 @item @command{nncp-stat}'s command output is sorted by node name.
474 @section Release 0.10
477 @command{nncp-freq}'s @file{DST} argument is optional now. Last
478 @file{SRC} path's element will be used by default.
485 Fix @option{-rx}/@option{-tx} arguments processing in
486 @command{nncp-call} command. They were ignored.
493 Little bugfix in @command{nncp-file} command, where @option{-minsize}
494 option for unchunked transfer was not in KiBs, but in bytes.
502 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
503 temporary file for that.
506 Chunked files transmission appeared with corresponding
507 @command{nncp-reass} command and @option{freqchunked} configuration file
508 entry. Useful for transferring big files over small storage devices.
511 @option{freqminsize} configuration file option, analogue to
512 @option{-minsize} one.
515 @command{nncp-xfer}'s @option{-force} option is renamed to
516 @option{-mkdir} for clarity.
519 @option{-minsize} option is specified in KiBs, not bytes, for
523 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
524 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
525 common prefix and are grouped together for convenience.
528 @command{nncp-cfgenc} command appeared, allowing configuration file
529 encryption/decryption, for keeping it safe without any either OpenPGP or
533 Cryptographic libraries (dependencies) are updated.
540 @item Small @command{nncp-rm} command appeared.
541 @item Cryptographic libraries (dependencies) are updated.
548 Trivial small fix in default niceness level of @command{nncp-file}
549 and @command{nncp-freq} commands.
557 Small fix in @command{nncp-call}, @command{nncp-caller},
558 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
562 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
563 and more convenient to use.
566 @command{nncp-mincfg} command appeared: helper allowing to create
567 minimalistic stripped down configuration file without private keys, that
568 is useful during @command{nncp-xfer} usage.
575 @item Fixed compatibility with Go 1.6.
583 @strong{Incompatible} packet's format change (magic number is changed
584 too): size field is encrypted and is not send in plaintext anymore.
587 @option{-minsize} option gives ability to automatically pad outgoing
588 packets to specified minimal size.
591 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
592 always check new @emph{tx} packets appearance in the background while
593 connected. Remote side is immediately notified.
596 @option{-onlinedeadline} option gives ability to configure timeout of
597 inactivity of online connection, when it could be disconnected. It could
598 be used to keep connection alive for a long time.
601 @option{-maxonlinetime} option gives ability to set maximal allowable
602 online connection aliveness time.
605 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
608 @command{nncp-pkt} command can decompress the data.