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.
20 SP protocol generates less socket write calls, thus generating less TCP
26 @section Release 5.2.1
30 Fixed SP protocol error handling, sometimes causing program panic.
35 @section Release 5.2.0
39 Most commands by default show oneline operations progress.
40 @option{-progress}, @option{-noprogress} command line options,
41 @option{noprogress} configuration file option appeared.
44 Fixed incorrect @command{nncp-check} command return code, that returned
45 bad code when everything is good.
48 Free disk space check during @command{nncp-bundle -rx} call.
53 @section Release 5.1.2
57 @strong{Critical} vulnerability: remote peers authentication could lead
58 to incorrect identification of remote side, allowing foreign encrypted
62 Bugfix: private and public Noise keys were swapped in newly created
63 configuration files, that lead to inability to authenticate online peers.
66 Explicit directories fsync-ing for guaranteed files renaming.
71 @section Release 5.1.1
75 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
80 @section Release 5.1.0
84 @command{nncp-file} can send directories, automatically creating pax
88 Free disk space is checked during outbound packets creation.
91 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
92 file options replaced with the structure:
93 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
96 Added @option{freq.maxsize} configuration file option, forbidding of
97 freq sending larger than specified size.
100 Ability to notify about successfully executed commands (exec) with
101 @option{notify.exec} configuration file option.
106 @section Release 5.0.0
110 @strong{Incompatible} configuration file format change: YAML is
111 replaced with Hjson, due to its simplicity, without noticeable lack
112 of either functionality or convenience.
115 @strong{Incompatible} plain packet format changes. Older versions are
116 not supported. @code{zlib} compression is replaced with
117 @code{Zstandard}, due to its speed and efficiency, despite library
118 version is not mature enough.
121 Ability to call remote nodes via pipe call of external command, not only
125 @command{nncp-cfgnew} generates configuration file with many
126 comments. @option{-nocomments} option can be used for an old
130 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
131 avoid possible collisions with @file{.nncp.chunkCTR}.
134 Ability to override process umask through configuration file option.
137 Files and directories are created with 666/777 permissions by default,
138 allowing control with @command{umask}.
141 Updated dependencies.
144 Full usage of go modules for dependencies management
145 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
148 Forbid any later GNU GPL version autousage
149 (project's licence now is GNU GPLv3-only).
156 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
164 @strong{Incompatible} encrypted and eblob packet format change: AEAD
165 encryption mode with 128 KiB blocks is used now, because previously
166 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
167 decrypted data to external command. Older versions are not supported.
170 Available free space checking before copying in @command{nncp-xfer},
171 @command{nncp-daemon}, @command{nncp-call(er)}.
174 @command{nncp-call} has ability only to list packets on remote node,
175 without their transmission.
178 @command{nncp-call} has ability to transfer only specified packets.
181 Workability of @option{xxrate} preference in @option{calls}
182 configuration file section.
185 Dependant libraries are updated.
191 Begin using of @code{go.mod} subsystem.
198 @item @command{nncp-daemon} can be run as @command{inetd}-service.
206 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
207 if @file{.seen} exists and treat it like file was already downloaded.
208 Possibly it was transferred out-of-bound and remote side needs to be
212 If higher priority packet is spooled, then @command{nncp-daemon} will
213 queue its sending first, interrupting lower priority transmissions.
216 Simple packet rate limiter added to online-related tools
217 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
220 Ability to specify niceness with symbolic notation:
221 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
224 Changed default niceness levels:
225 for @command{nncp-exec} from 64 to 96,
226 for @command{nncp-freq} from 64 to 160,
227 for @command{nncp-file} from 196 to 224.
235 @strong{Incompatible} @emph{bundle} archive format changes and
236 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
237 valid tar archives, but Go 1.9 made them invalid because of long paths
238 inside. NNCP accidentally was dependant on that bug. Explicit adding of
239 @file{NNCP/} directory in archive restores workability with valid tar
247 Ability to disable relaying at all using @verb{|-via -|} command line option.
255 @strong{Incompatible} plain packet format changes. Older versions are
259 Ability to queue remote command execution, by configuring @option{exec}
260 option in configuration file and using @command{nncp-exec} command:
263 @command{nncp-mail} command is replaced with more flexible
264 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
265 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
267 @option{sendmail} configuration file option is replaced with
268 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
269 @verb{|exec: sendmail: [...]|}.
273 Ability to override @option{via} configuration option for destination
274 node via @option{-via} command line option for following commands:
275 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
278 Chunked files, having size less than specified chunk size, will be sent
279 as an ordinary single file.
282 Exec commands are invoked with additional @env{NNCP_NICE} and
283 @env{NNCP_SELF} environment variables.
286 Files, that are sent as a reply to freq, have niceness level taken from
287 the freq packet. You can set desired niceness during @command{nncp-freq}
288 invocation using @option{-replynice} option.
291 @command{nncp-toss} command can ignore specified packet types during
292 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
296 @command{nncp-file} command uses
297 @option{FreqMinSize}/@option{FreqChunked} configuration file options
298 for @option{-minsize}/@option{-chunked} by default. You can turn this
299 off by specifying zero value.
308 @strong{Incompatible} encrypted/eblob packet format changes. Older
309 versions are not supported.
312 Twofish encryption algorithm is replaced with ChaCha20. It is much more
313 faster. One cryptographic primitive less.
316 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
317 another cryptographic primitive less (assuming that BLAKE2X is nearly
318 identical to BLAKE2).
327 @strong{Incompatible} encrypted packet format changes. Older versions
331 @command{nncp-bundle} command can either create stream of encrypted
332 packets, or digest it. It is useful when dealing with stdin/stdout based
333 transmission methods (like writing to CD-ROM without intermediate
334 prepared ISO image and working with tape drives).
337 @command{nncp-toss} is able to create @file{.seen} files preventing
338 duplicate packets receiving.
341 Single background checksum verifier worker is allowed in
342 @command{nncp-call}. This is helpful when thousands of small inbound
343 packets could create many goroutines.
346 Ability to override path to spool directory and logfile through either
347 command line argument, or environment variable.
350 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
351 @file{.part}, @file{.lock} and temporary files.
356 @section Release 0.12
358 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
362 @section Release 0.11
364 @item @command{nncp-stat}'s command output is sorted by node name.
368 @section Release 0.10
371 @command{nncp-freq}'s @file{DST} argument is optional now. Last
372 @file{SRC} path's element will be used by default.
379 Fix @option{-rx}/@option{-tx} arguments processing in
380 @command{nncp-call} command. They were ignored.
387 Little bugfix in @command{nncp-file} command, where @option{-minsize}
388 option for unchunked transfer was not in KiBs, but in bytes.
396 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
397 temporary file for that.
400 Chunked files transmission appeared with corresponding
401 @command{nncp-reass} command and @option{freqchunked} configuration file
402 entry. Useful for transferring big files over small storage devices.
405 @option{freqminsize} configuration file option, analogue to
406 @option{-minsize} one.
409 @command{nncp-xfer}'s @option{-force} option is renamed to
410 @option{-mkdir} for clarity.
413 @option{-minsize} option is specified in KiBs, not bytes, for
417 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
418 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
419 common prefix and are grouped together for convenience.
422 @command{nncp-cfgenc} command appeared, allowing configuration file
423 encryption/decryption, for keeping it safe without any either OpenPGP or
427 Cryptographic libraries (dependencies) are updated.
434 @item Small @command{nncp-rm} command appeared.
435 @item Cryptographic libraries (dependencies) are updated.
442 Trivial small fix in default niceness level of @command{nncp-file}
443 and @command{nncp-freq} commands.
451 Small fix in @command{nncp-call}, @command{nncp-caller},
452 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
456 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
457 and more convenient to use.
460 @command{nncp-mincfg} command appeared: helper allowing to create
461 minimalistic stripped down configuration file without private keys, that
462 is useful during @command{nncp-xfer} usage.
469 @item Fixed compatibility with Go 1.6.
477 @strong{Incompatible} packet's format change (magic number is changed
478 too): size field is encrypted and is not send in plaintext anymore.
481 @option{-minsize} option gives ability to automatically pad outgoing
482 packets to specified minimal size.
485 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
486 always check new @emph{tx} packets appearance in the background while
487 connected. Remote side is immediately notified.
490 @option{-onlinedeadline} option gives ability to configure timeout of
491 inactivity of online connection, when it could be disconnected. It could
492 be used to keep connection alive for a long time.
495 @option{-maxonlinetime} option gives ability to set maximal allowable
496 online connection aliveness time.
499 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
502 @command{nncp-pkt} command can decompress the data.