4 See also this page @ref{Новости, on russian}.
11 Fixed SP protocol error handling, sometimes causing program panic.
16 @section Release 5.2.0
20 Most commands by default show oneline operations progress.
21 @option{-progress}, @option{-noprogress} command line options,
22 @option{noprogress} configuration file option appeared.
25 Fixed incorrect @command{nncp-check} command return code, that returned
26 bad code when everything is good.
29 Free disk space check during @command{nncp-bundle -rx} call.
34 @section Release 5.1.2
38 @strong{Critical} vulnerability: remote peers authentication could lead
39 to incorrect identification of remote side, allowing foreign encrypted
43 Bugfix: private and public Noise keys were swapped in newly created
44 configuration files, that lead to inability to authenticate online peers.
47 Explicit directories fsync-ing for guaranteed files renaming.
52 @section Release 5.1.1
56 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
61 @section Release 5.1.0
65 @command{nncp-file} can send directories, automatically creating pax
69 Free disk space is checked during outbound packets creation.
72 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
73 file options replaced with the structure:
74 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
77 Added @option{freq.maxsize} configuration file option, forbidding of
78 freq sending larger than specified size.
81 Ability to notify about successfully executed commands (exec) with
82 @option{notify.exec} configuration file option.
87 @section Release 5.0.0
91 @strong{Incompatible} configuration file format change: YAML is
92 replaced with Hjson, due to its simplicity, without noticeable lack
93 of either functionality or convenience.
96 @strong{Incompatible} plain packet format changes. Older versions are
97 not supported. @code{zlib} compression is replaced with
98 @code{Zstandard}, due to its speed and efficiency, despite library
99 version is not mature enough.
102 Ability to call remote nodes via pipe call of external command, not only
106 @command{nncp-cfgnew} generates configuration file with many
107 comments. @option{-nocomments} option can be used for an old
111 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
112 avoid possible collisions with @file{.nncp.chunkCTR}.
115 Ability to override process umask through configuration file option.
118 Files and directories are created with 666/777 permissions by default,
119 allowing control with @command{umask}.
122 Updated dependencies.
125 Full usage of go modules for dependencies management
126 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
129 Forbid any later GNU GPL version autousage
130 (project's licence now is GNU GPLv3-only).
137 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
145 @strong{Incompatible} encrypted and eblob packet format change: AEAD
146 encryption mode with 128 KiB blocks is used now, because previously
147 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
148 decrypted data to external command. Older versions are not supported.
151 Available free space checking before copying in @command{nncp-xfer},
152 @command{nncp-daemon}, @command{nncp-call(er)}.
155 @command{nncp-call} has ability only to list packets on remote node,
156 without their transmission.
159 @command{nncp-call} has ability to transfer only specified packets.
162 Workability of @option{xxrate} preference in @option{calls}
163 configuration file section.
166 Dependant libraries are updated.
172 Begin using of @code{go.mod} subsystem.
179 @item @command{nncp-daemon} can be run as @command{inetd}-service.
187 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
188 if @file{.seen} exists and treat it like file was already downloaded.
189 Possibly it was transferred out-of-bound and remote side needs to be
193 If higher priority packet is spooled, then @command{nncp-daemon} will
194 queue its sending first, interrupting lower priority transmissions.
197 Simple packet rate limiter added to online-related tools
198 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
201 Ability to specify niceness with symbolic notation:
202 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
205 Changed default niceness levels:
206 for @command{nncp-exec} from 64 to 96,
207 for @command{nncp-freq} from 64 to 160,
208 for @command{nncp-file} from 196 to 224.
216 @strong{Incompatible} @emph{bundle} archive format changes and
217 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
218 valid tar archives, but Go 1.9 made them invalid because of long paths
219 inside. NNCP accidentally was dependant on that bug. Explicit adding of
220 @file{NNCP/} directory in archive restores workability with valid tar
228 Ability to disable relaying at all using @verb{|-via -|} command line option.
236 @strong{Incompatible} plain packet format changes. Older versions are
240 Ability to queue remote command execution, by configuring @option{exec}
241 option in configuration file and using @command{nncp-exec} command:
244 @command{nncp-mail} command is replaced with more flexible
245 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
246 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
248 @option{sendmail} configuration file option is replaced with
249 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
250 @verb{|exec: sendmail: [...]|}.
254 Ability to override @option{via} configuration option for destination
255 node via @option{-via} command line option for following commands:
256 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
259 Chunked files, having size less than specified chunk size, will be sent
260 as an ordinary single file.
263 Exec commands are invoked with additional @env{NNCP_NICE} and
264 @env{NNCP_SELF} environment variables.
267 Files, that are sent as a reply to freq, have niceness level taken from
268 the freq packet. You can set desired niceness during @command{nncp-freq}
269 invocation using @option{-replynice} option.
272 @command{nncp-toss} command can ignore specified packet types during
273 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
277 @command{nncp-file} command uses
278 @option{FreqMinSize}/@option{FreqChunked} configuration file options
279 for @option{-minsize}/@option{-chunked} by default. You can turn this
280 off by specifying zero value.
289 @strong{Incompatible} encrypted/eblob packet format changes. Older
290 versions are not supported.
293 Twofish encryption algorithm is replaced with ChaCha20. It is much more
294 faster. One cryptographic primitive less.
297 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
298 another cryptographic primitive less (assuming that BLAKE2X is nearly
299 identical to BLAKE2).
308 @strong{Incompatible} encrypted packet format changes. Older versions
312 @command{nncp-bundle} command can either create stream of encrypted
313 packets, or digest it. It is useful when dealing with stdin/stdout based
314 transmission methods (like writing to CD-ROM without intermediate
315 prepared ISO image and working with tape drives).
318 @command{nncp-toss} is able to create @file{.seen} files preventing
319 duplicate packets receiving.
322 Single background checksum verifier worker is allowed in
323 @command{nncp-call}. This is helpful when thousands of small inbound
324 packets could create many goroutines.
327 Ability to override path to spool directory and logfile through either
328 command line argument, or environment variable.
331 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
332 @file{.part}, @file{.lock} and temporary files.
337 @section Release 0.12
339 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
343 @section Release 0.11
345 @item @command{nncp-stat}'s command output is sorted by node name.
349 @section Release 0.10
352 @command{nncp-freq}'s @file{DST} argument is optional now. Last
353 @file{SRC} path's element will be used by default.
360 Fix @option{-rx}/@option{-tx} arguments processing in
361 @command{nncp-call} command. They were ignored.
368 Little bugfix in @command{nncp-file} command, where @option{-minsize}
369 option for unchunked transfer was not in KiBs, but in bytes.
377 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
378 temporary file for that.
381 Chunked files transmission appeared with corresponding
382 @command{nncp-reass} command and @option{freqchunked} configuration file
383 entry. Useful for transferring big files over small storage devices.
386 @option{freqminsize} configuration file option, analogue to
387 @option{-minsize} one.
390 @command{nncp-xfer}'s @option{-force} option is renamed to
391 @option{-mkdir} for clarity.
394 @option{-minsize} option is specified in KiBs, not bytes, for
398 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
399 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
400 common prefix and are grouped together for convenience.
403 @command{nncp-cfgenc} command appeared, allowing configuration file
404 encryption/decryption, for keeping it safe without any either OpenPGP or
408 Cryptographic libraries (dependencies) are updated.
415 @item Small @command{nncp-rm} command appeared.
416 @item Cryptographic libraries (dependencies) are updated.
423 Trivial small fix in default niceness level of @command{nncp-file}
424 and @command{nncp-freq} commands.
432 Small fix in @command{nncp-call}, @command{nncp-caller},
433 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
437 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
438 and more convenient to use.
441 @command{nncp-mincfg} command appeared: helper allowing to create
442 minimalistic stripped down configuration file without private keys, that
443 is useful during @command{nncp-xfer} usage.
450 @item Fixed compatibility with Go 1.6.
458 @strong{Incompatible} packet's format change (magic number is changed
459 too): size field is encrypted and is not send in plaintext anymore.
462 @option{-minsize} option gives ability to automatically pad outgoing
463 packets to specified minimal size.
466 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
467 always check new @emph{tx} packets appearance in the background while
468 connected. Remote side is immediately notified.
471 @option{-onlinedeadline} option gives ability to configure timeout of
472 inactivity of online connection, when it could be disconnected. It could
473 be used to keep connection alive for a long time.
476 @option{-maxonlinetime} option gives ability to set maximal allowable
477 online connection aliveness time.
480 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
483 @command{nncp-pkt} command can decompress the data.