4 See also this page @ref{Новости, on russian}.
11 Progress messages contain prefix, describing the running action.
14 Fixed not occurring handshake messages padding.
17 Finish all SP protocol related goroutines, less memory leak.
22 @section Release 5.2.1
26 Fixed SP protocol error handling, sometimes causing program panic.
31 @section Release 5.2.0
35 Most commands by default show oneline operations progress.
36 @option{-progress}, @option{-noprogress} command line options,
37 @option{noprogress} configuration file option appeared.
40 Fixed incorrect @command{nncp-check} command return code, that returned
41 bad code when everything is good.
44 Free disk space check during @command{nncp-bundle -rx} call.
49 @section Release 5.1.2
53 @strong{Critical} vulnerability: remote peers authentication could lead
54 to incorrect identification of remote side, allowing foreign encrypted
58 Bugfix: private and public Noise keys were swapped in newly created
59 configuration files, that lead to inability to authenticate online peers.
62 Explicit directories fsync-ing for guaranteed files renaming.
67 @section Release 5.1.1
71 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
76 @section Release 5.1.0
80 @command{nncp-file} can send directories, automatically creating pax
84 Free disk space is checked during outbound packets creation.
87 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
88 file options replaced with the structure:
89 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
92 Added @option{freq.maxsize} configuration file option, forbidding of
93 freq sending larger than specified size.
96 Ability to notify about successfully executed commands (exec) with
97 @option{notify.exec} configuration file option.
102 @section Release 5.0.0
106 @strong{Incompatible} configuration file format change: YAML is
107 replaced with Hjson, due to its simplicity, without noticeable lack
108 of either functionality or convenience.
111 @strong{Incompatible} plain packet format changes. Older versions are
112 not supported. @code{zlib} compression is replaced with
113 @code{Zstandard}, due to its speed and efficiency, despite library
114 version is not mature enough.
117 Ability to call remote nodes via pipe call of external command, not only
121 @command{nncp-cfgnew} generates configuration file with many
122 comments. @option{-nocomments} option can be used for an old
126 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
127 avoid possible collisions with @file{.nncp.chunkCTR}.
130 Ability to override process umask through configuration file option.
133 Files and directories are created with 666/777 permissions by default,
134 allowing control with @command{umask}.
137 Updated dependencies.
140 Full usage of go modules for dependencies management
141 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
144 Forbid any later GNU GPL version autousage
145 (project's licence now is GNU GPLv3-only).
152 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
160 @strong{Incompatible} encrypted and eblob packet format change: AEAD
161 encryption mode with 128 KiB blocks is used now, because previously
162 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
163 decrypted data to external command. Older versions are not supported.
166 Available free space checking before copying in @command{nncp-xfer},
167 @command{nncp-daemon}, @command{nncp-call(er)}.
170 @command{nncp-call} has ability only to list packets on remote node,
171 without their transmission.
174 @command{nncp-call} has ability to transfer only specified packets.
177 Workability of @option{xxrate} preference in @option{calls}
178 configuration file section.
181 Dependant libraries are updated.
187 Begin using of @code{go.mod} subsystem.
194 @item @command{nncp-daemon} can be run as @command{inetd}-service.
202 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
203 if @file{.seen} exists and treat it like file was already downloaded.
204 Possibly it was transferred out-of-bound and remote side needs to be
208 If higher priority packet is spooled, then @command{nncp-daemon} will
209 queue its sending first, interrupting lower priority transmissions.
212 Simple packet rate limiter added to online-related tools
213 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
216 Ability to specify niceness with symbolic notation:
217 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
220 Changed default niceness levels:
221 for @command{nncp-exec} from 64 to 96,
222 for @command{nncp-freq} from 64 to 160,
223 for @command{nncp-file} from 196 to 224.
231 @strong{Incompatible} @emph{bundle} archive format changes and
232 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
233 valid tar archives, but Go 1.9 made them invalid because of long paths
234 inside. NNCP accidentally was dependant on that bug. Explicit adding of
235 @file{NNCP/} directory in archive restores workability with valid tar
243 Ability to disable relaying at all using @verb{|-via -|} command line option.
251 @strong{Incompatible} plain packet format changes. Older versions are
255 Ability to queue remote command execution, by configuring @option{exec}
256 option in configuration file and using @command{nncp-exec} command:
259 @command{nncp-mail} command is replaced with more flexible
260 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
261 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
263 @option{sendmail} configuration file option is replaced with
264 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
265 @verb{|exec: sendmail: [...]|}.
269 Ability to override @option{via} configuration option for destination
270 node via @option{-via} command line option for following commands:
271 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
274 Chunked files, having size less than specified chunk size, will be sent
275 as an ordinary single file.
278 Exec commands are invoked with additional @env{NNCP_NICE} and
279 @env{NNCP_SELF} environment variables.
282 Files, that are sent as a reply to freq, have niceness level taken from
283 the freq packet. You can set desired niceness during @command{nncp-freq}
284 invocation using @option{-replynice} option.
287 @command{nncp-toss} command can ignore specified packet types during
288 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
292 @command{nncp-file} command uses
293 @option{FreqMinSize}/@option{FreqChunked} configuration file options
294 for @option{-minsize}/@option{-chunked} by default. You can turn this
295 off by specifying zero value.
304 @strong{Incompatible} encrypted/eblob packet format changes. Older
305 versions are not supported.
308 Twofish encryption algorithm is replaced with ChaCha20. It is much more
309 faster. One cryptographic primitive less.
312 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
313 another cryptographic primitive less (assuming that BLAKE2X is nearly
314 identical to BLAKE2).
323 @strong{Incompatible} encrypted packet format changes. Older versions
327 @command{nncp-bundle} command can either create stream of encrypted
328 packets, or digest it. It is useful when dealing with stdin/stdout based
329 transmission methods (like writing to CD-ROM without intermediate
330 prepared ISO image and working with tape drives).
333 @command{nncp-toss} is able to create @file{.seen} files preventing
334 duplicate packets receiving.
337 Single background checksum verifier worker is allowed in
338 @command{nncp-call}. This is helpful when thousands of small inbound
339 packets could create many goroutines.
342 Ability to override path to spool directory and logfile through either
343 command line argument, or environment variable.
346 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
347 @file{.part}, @file{.lock} and temporary files.
352 @section Release 0.12
354 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
358 @section Release 0.11
360 @item @command{nncp-stat}'s command output is sorted by node name.
364 @section Release 0.10
367 @command{nncp-freq}'s @file{DST} argument is optional now. Last
368 @file{SRC} path's element will be used by default.
375 Fix @option{-rx}/@option{-tx} arguments processing in
376 @command{nncp-call} command. They were ignored.
383 Little bugfix in @command{nncp-file} command, where @option{-minsize}
384 option for unchunked transfer was not in KiBs, but in bytes.
392 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
393 temporary file for that.
396 Chunked files transmission appeared with corresponding
397 @command{nncp-reass} command and @option{freqchunked} configuration file
398 entry. Useful for transferring big files over small storage devices.
401 @option{freqminsize} configuration file option, analogue to
402 @option{-minsize} one.
405 @command{nncp-xfer}'s @option{-force} option is renamed to
406 @option{-mkdir} for clarity.
409 @option{-minsize} option is specified in KiBs, not bytes, for
413 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
414 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
415 common prefix and are grouped together for convenience.
418 @command{nncp-cfgenc} command appeared, allowing configuration file
419 encryption/decryption, for keeping it safe without any either OpenPGP or
423 Cryptographic libraries (dependencies) are updated.
430 @item Small @command{nncp-rm} command appeared.
431 @item Cryptographic libraries (dependencies) are updated.
438 Trivial small fix in default niceness level of @command{nncp-file}
439 and @command{nncp-freq} commands.
447 Small fix in @command{nncp-call}, @command{nncp-caller},
448 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
452 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
453 and more convenient to use.
456 @command{nncp-mincfg} command appeared: helper allowing to create
457 minimalistic stripped down configuration file without private keys, that
458 is useful during @command{nncp-xfer} usage.
465 @item Fixed compatibility with Go 1.6.
473 @strong{Incompatible} packet's format change (magic number is changed
474 too): size field is encrypted and is not send in plaintext anymore.
477 @option{-minsize} option gives ability to automatically pad outgoing
478 packets to specified minimal size.
481 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
482 always check new @emph{tx} packets appearance in the background while
483 connected. Remote side is immediately notified.
486 @option{-onlinedeadline} option gives ability to configure timeout of
487 inactivity of online connection, when it could be disconnected. It could
488 be used to keep connection alive for a long time.
491 @option{-maxonlinetime} option gives ability to set maximal allowable
492 online connection aliveness time.
495 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
498 @command{nncp-pkt} command can decompress the data.