4 See also this page @ref{Новости, on russian}.
11 Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
12 @command{nncp-bundle} and @command{nncp-stat}.
15 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
18 @command{nncp-exec} has @option{-use-tmp} and @option{-nocompress}
19 options now. Uncompressed packets are not compatible with previous NNCP
28 @section Release 5.4.1
32 Fixed @code{SENDMAIL} variable usage during the build.
37 @section Release 5.4.0
44 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
45 This should not influence package maintainers, because minimal @command{redo}
46 implementation is included in tarball.
51 @section Release 5.3.3
55 More various error checks.
63 @section Release 5.3.2
67 Fixed incorrect logic of @option{onlinedeadline} timeout, where
68 connection won't take into account incoming packets events and will
69 forcefully disconnect.
74 @section Release 5.3.1
78 Fixed @option{onlinedeadline} workability with call addresses that use
79 external commands (@verb{#"|somecmd"#}).
82 @command{nncp-stat} has @option{-pkt} option displaying information
83 about each packet in the spool.
88 @section Release 5.3.0
92 Progress messages contain prefix, describing the running action.
95 Fixed not occurring handshake messages padding.
98 Finish all SP protocol related goroutines, less memory leak.
101 SP protocol generates less socket write calls, thus generating less TCP
105 Check @option{onlinedeadline} and @option{maxonlinetime} options every
106 second, independently from socket reads (up to 10 seconds).
109 Once per minute, if no other traffic exists, PING packets are sent in
110 SP-connection. That allows faster determining of connection unworkability.
113 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
118 @section Release 5.2.1
122 Fixed SP protocol error handling, sometimes causing program panic.
127 @section Release 5.2.0
131 Most commands by default show oneline operations progress.
132 @option{-progress}, @option{-noprogress} command line options,
133 @option{noprogress} configuration file option appeared.
136 Fixed incorrect @command{nncp-check} command return code, that returned
137 bad code when everything is good.
140 Free disk space check during @command{nncp-bundle -rx} call.
145 @section Release 5.1.2
149 @strong{Critical} vulnerability: remote peers authentication could lead
150 to incorrect identification of remote side, allowing foreign encrypted
154 Bugfix: private and public Noise keys were swapped in newly created
155 configuration files, that lead to inability to authenticate online peers.
158 Explicit directories fsync-ing for guaranteed files renaming.
163 @section Release 5.1.1
167 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
172 @section Release 5.1.0
176 @command{nncp-file} can send directories, automatically creating pax
180 Free disk space is checked during outbound packets creation.
183 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
184 file options replaced with the structure:
185 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
188 Added @option{freq.maxsize} configuration file option, forbidding of
189 freq sending larger than specified size.
192 Ability to notify about successfully executed commands (exec) with
193 @option{notify.exec} configuration file option.
198 @section Release 5.0.0
202 @strong{Incompatible} configuration file format change: YAML is
203 replaced with Hjson, due to its simplicity, without noticeable lack
204 of either functionality or convenience.
207 @strong{Incompatible} plain packet format changes. Older versions are
208 not supported. @code{zlib} compression is replaced with
209 @code{Zstandard}, due to its speed and efficiency, despite library
210 version is not mature enough.
213 Ability to call remote nodes via pipe call of external command, not only
217 @command{nncp-cfgnew} generates configuration file with many
218 comments. @option{-nocomments} option can be used for an old
222 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
223 avoid possible collisions with @file{.nncp.chunkCTR}.
226 Ability to override process umask through configuration file option.
229 Files and directories are created with 666/777 permissions by default,
230 allowing control with @command{umask}.
233 Updated dependencies.
236 Full usage of go modules for dependencies management
237 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
240 Forbid any later GNU GPL version autousage
241 (project's licence now is GNU GPLv3-only).
248 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
256 @strong{Incompatible} encrypted and eblob packet format change: AEAD
257 encryption mode with 128 KiB blocks is used now, because previously
258 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
259 decrypted data to external command. Older versions are not supported.
262 Available free space checking before copying in @command{nncp-xfer},
263 @command{nncp-daemon}, @command{nncp-call(er)}.
266 @command{nncp-call} has ability only to list packets on remote node,
267 without their transmission.
270 @command{nncp-call} has ability to transfer only specified packets.
273 Workability of @option{xxrate} preference in @option{calls}
274 configuration file section.
277 Dependant libraries are updated.
283 Begin using of @code{go.mod} subsystem.
290 @item @command{nncp-daemon} can be run as @command{inetd}-service.
298 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
299 if @file{.seen} exists and treat it like file was already downloaded.
300 Possibly it was transferred out-of-bound and remote side needs to be
304 If higher priority packet is spooled, then @command{nncp-daemon} will
305 queue its sending first, interrupting lower priority transmissions.
308 Simple packet rate limiter added to online-related tools
309 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
312 Ability to specify niceness with symbolic notation:
313 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
316 Changed default niceness levels:
317 for @command{nncp-exec} from 64 to 96,
318 for @command{nncp-freq} from 64 to 160,
319 for @command{nncp-file} from 196 to 224.
327 @strong{Incompatible} @emph{bundle} archive format changes and
328 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
329 valid tar archives, but Go 1.9 made them invalid because of long paths
330 inside. NNCP accidentally was dependant on that bug. Explicit adding of
331 @file{NNCP/} directory in archive restores workability with valid tar
339 Ability to disable relaying at all using @verb{|-via -|} command line option.
347 @strong{Incompatible} plain packet format changes. Older versions are
351 Ability to queue remote command execution, by configuring @option{exec}
352 option in configuration file and using @command{nncp-exec} command:
355 @command{nncp-mail} command is replaced with more flexible
356 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
357 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
359 @option{sendmail} configuration file option is replaced with
360 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
361 @verb{|exec: sendmail: [...]|}.
365 Ability to override @option{via} configuration option for destination
366 node via @option{-via} command line option for following commands:
367 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
370 Chunked files, having size less than specified chunk size, will be sent
371 as an ordinary single file.
374 Exec commands are invoked with additional @env{NNCP_NICE} and
375 @env{NNCP_SELF} environment variables.
378 Files, that are sent as a reply to freq, have niceness level taken from
379 the freq packet. You can set desired niceness during @command{nncp-freq}
380 invocation using @option{-replynice} option.
383 @command{nncp-toss} command can ignore specified packet types during
384 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
388 @command{nncp-file} command uses
389 @option{FreqMinSize}/@option{FreqChunked} configuration file options
390 for @option{-minsize}/@option{-chunked} by default. You can turn this
391 off by specifying zero value.
400 @strong{Incompatible} encrypted/eblob packet format changes. Older
401 versions are not supported.
404 Twofish encryption algorithm is replaced with ChaCha20. It is much more
405 faster. One cryptographic primitive less.
408 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
409 another cryptographic primitive less (assuming that BLAKE2X is nearly
410 identical to BLAKE2).
419 @strong{Incompatible} encrypted packet format changes. Older versions
423 @command{nncp-bundle} command can either create stream of encrypted
424 packets, or digest it. It is useful when dealing with stdin/stdout based
425 transmission methods (like writing to CD-ROM without intermediate
426 prepared ISO image and working with tape drives).
429 @command{nncp-toss} is able to create @file{.seen} files preventing
430 duplicate packets receiving.
433 Single background checksum verifier worker is allowed in
434 @command{nncp-call}. This is helpful when thousands of small inbound
435 packets could create many goroutines.
438 Ability to override path to spool directory and logfile through either
439 command line argument, or environment variable.
442 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
443 @file{.part}, @file{.lock} and temporary files.
448 @section Release 0.12
450 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
454 @section Release 0.11
456 @item @command{nncp-stat}'s command output is sorted by node name.
460 @section Release 0.10
463 @command{nncp-freq}'s @file{DST} argument is optional now. Last
464 @file{SRC} path's element will be used by default.
471 Fix @option{-rx}/@option{-tx} arguments processing in
472 @command{nncp-call} command. They were ignored.
479 Little bugfix in @command{nncp-file} command, where @option{-minsize}
480 option for unchunked transfer was not in KiBs, but in bytes.
488 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
489 temporary file for that.
492 Chunked files transmission appeared with corresponding
493 @command{nncp-reass} command and @option{freqchunked} configuration file
494 entry. Useful for transferring big files over small storage devices.
497 @option{freqminsize} configuration file option, analogue to
498 @option{-minsize} one.
501 @command{nncp-xfer}'s @option{-force} option is renamed to
502 @option{-mkdir} for clarity.
505 @option{-minsize} option is specified in KiBs, not bytes, for
509 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
510 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
511 common prefix and are grouped together for convenience.
514 @command{nncp-cfgenc} command appeared, allowing configuration file
515 encryption/decryption, for keeping it safe without any either OpenPGP or
519 Cryptographic libraries (dependencies) are updated.
526 @item Small @command{nncp-rm} command appeared.
527 @item Cryptographic libraries (dependencies) are updated.
534 Trivial small fix in default niceness level of @command{nncp-file}
535 and @command{nncp-freq} commands.
543 Small fix in @command{nncp-call}, @command{nncp-caller},
544 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
548 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
549 and more convenient to use.
552 @command{nncp-mincfg} command appeared: helper allowing to create
553 minimalistic stripped down configuration file without private keys, that
554 is useful during @command{nncp-xfer} usage.
561 @item Fixed compatibility with Go 1.6.
569 @strong{Incompatible} packet's format change (magic number is changed
570 too): size field is encrypted and is not send in plaintext anymore.
573 @option{-minsize} option gives ability to automatically pad outgoing
574 packets to specified minimal size.
577 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
578 always check new @emph{tx} packets appearance in the background while
579 connected. Remote side is immediately notified.
582 @option{-onlinedeadline} option gives ability to configure timeout of
583 inactivity of online connection, when it could be disconnected. It could
584 be used to keep connection alive for a long time.
587 @option{-maxonlinetime} option gives ability to set maximal allowable
588 online connection aliveness time.
591 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
594 @command{nncp-pkt} command can decompress the data.