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
24 Check @option{onlinedeadline} and @option{maxonlinetime} options every
25 second, independently from socket reads (up to 10 seconds).
28 Once per minute, if no other traffic exists, PING packets are sent in
29 SP-connection. That allows faster determining of connection unworkability.
34 @section Release 5.2.1
38 Fixed SP protocol error handling, sometimes causing program panic.
43 @section Release 5.2.0
47 Most commands by default show oneline operations progress.
48 @option{-progress}, @option{-noprogress} command line options,
49 @option{noprogress} configuration file option appeared.
52 Fixed incorrect @command{nncp-check} command return code, that returned
53 bad code when everything is good.
56 Free disk space check during @command{nncp-bundle -rx} call.
61 @section Release 5.1.2
65 @strong{Critical} vulnerability: remote peers authentication could lead
66 to incorrect identification of remote side, allowing foreign encrypted
70 Bugfix: private and public Noise keys were swapped in newly created
71 configuration files, that lead to inability to authenticate online peers.
74 Explicit directories fsync-ing for guaranteed files renaming.
79 @section Release 5.1.1
83 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
88 @section Release 5.1.0
92 @command{nncp-file} can send directories, automatically creating pax
96 Free disk space is checked during outbound packets creation.
99 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
100 file options replaced with the structure:
101 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
104 Added @option{freq.maxsize} configuration file option, forbidding of
105 freq sending larger than specified size.
108 Ability to notify about successfully executed commands (exec) with
109 @option{notify.exec} configuration file option.
114 @section Release 5.0.0
118 @strong{Incompatible} configuration file format change: YAML is
119 replaced with Hjson, due to its simplicity, without noticeable lack
120 of either functionality or convenience.
123 @strong{Incompatible} plain packet format changes. Older versions are
124 not supported. @code{zlib} compression is replaced with
125 @code{Zstandard}, due to its speed and efficiency, despite library
126 version is not mature enough.
129 Ability to call remote nodes via pipe call of external command, not only
133 @command{nncp-cfgnew} generates configuration file with many
134 comments. @option{-nocomments} option can be used for an old
138 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
139 avoid possible collisions with @file{.nncp.chunkCTR}.
142 Ability to override process umask through configuration file option.
145 Files and directories are created with 666/777 permissions by default,
146 allowing control with @command{umask}.
149 Updated dependencies.
152 Full usage of go modules for dependencies management
153 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
156 Forbid any later GNU GPL version autousage
157 (project's licence now is GNU GPLv3-only).
164 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
172 @strong{Incompatible} encrypted and eblob packet format change: AEAD
173 encryption mode with 128 KiB blocks is used now, because previously
174 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
175 decrypted data to external command. Older versions are not supported.
178 Available free space checking before copying in @command{nncp-xfer},
179 @command{nncp-daemon}, @command{nncp-call(er)}.
182 @command{nncp-call} has ability only to list packets on remote node,
183 without their transmission.
186 @command{nncp-call} has ability to transfer only specified packets.
189 Workability of @option{xxrate} preference in @option{calls}
190 configuration file section.
193 Dependant libraries are updated.
199 Begin using of @code{go.mod} subsystem.
206 @item @command{nncp-daemon} can be run as @command{inetd}-service.
214 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
215 if @file{.seen} exists and treat it like file was already downloaded.
216 Possibly it was transferred out-of-bound and remote side needs to be
220 If higher priority packet is spooled, then @command{nncp-daemon} will
221 queue its sending first, interrupting lower priority transmissions.
224 Simple packet rate limiter added to online-related tools
225 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
228 Ability to specify niceness with symbolic notation:
229 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
232 Changed default niceness levels:
233 for @command{nncp-exec} from 64 to 96,
234 for @command{nncp-freq} from 64 to 160,
235 for @command{nncp-file} from 196 to 224.
243 @strong{Incompatible} @emph{bundle} archive format changes and
244 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
245 valid tar archives, but Go 1.9 made them invalid because of long paths
246 inside. NNCP accidentally was dependant on that bug. Explicit adding of
247 @file{NNCP/} directory in archive restores workability with valid tar
255 Ability to disable relaying at all using @verb{|-via -|} command line option.
263 @strong{Incompatible} plain packet format changes. Older versions are
267 Ability to queue remote command execution, by configuring @option{exec}
268 option in configuration file and using @command{nncp-exec} command:
271 @command{nncp-mail} command is replaced with more flexible
272 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
273 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
275 @option{sendmail} configuration file option is replaced with
276 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
277 @verb{|exec: sendmail: [...]|}.
281 Ability to override @option{via} configuration option for destination
282 node via @option{-via} command line option for following commands:
283 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
286 Chunked files, having size less than specified chunk size, will be sent
287 as an ordinary single file.
290 Exec commands are invoked with additional @env{NNCP_NICE} and
291 @env{NNCP_SELF} environment variables.
294 Files, that are sent as a reply to freq, have niceness level taken from
295 the freq packet. You can set desired niceness during @command{nncp-freq}
296 invocation using @option{-replynice} option.
299 @command{nncp-toss} command can ignore specified packet types during
300 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
304 @command{nncp-file} command uses
305 @option{FreqMinSize}/@option{FreqChunked} configuration file options
306 for @option{-minsize}/@option{-chunked} by default. You can turn this
307 off by specifying zero value.
316 @strong{Incompatible} encrypted/eblob packet format changes. Older
317 versions are not supported.
320 Twofish encryption algorithm is replaced with ChaCha20. It is much more
321 faster. One cryptographic primitive less.
324 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
325 another cryptographic primitive less (assuming that BLAKE2X is nearly
326 identical to BLAKE2).
335 @strong{Incompatible} encrypted packet format changes. Older versions
339 @command{nncp-bundle} command can either create stream of encrypted
340 packets, or digest it. It is useful when dealing with stdin/stdout based
341 transmission methods (like writing to CD-ROM without intermediate
342 prepared ISO image and working with tape drives).
345 @command{nncp-toss} is able to create @file{.seen} files preventing
346 duplicate packets receiving.
349 Single background checksum verifier worker is allowed in
350 @command{nncp-call}. This is helpful when thousands of small inbound
351 packets could create many goroutines.
354 Ability to override path to spool directory and logfile through either
355 command line argument, or environment variable.
358 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
359 @file{.part}, @file{.lock} and temporary files.
364 @section Release 0.12
366 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
370 @section Release 0.11
372 @item @command{nncp-stat}'s command output is sorted by node name.
376 @section Release 0.10
379 @command{nncp-freq}'s @file{DST} argument is optional now. Last
380 @file{SRC} path's element will be used by default.
387 Fix @option{-rx}/@option{-tx} arguments processing in
388 @command{nncp-call} command. They were ignored.
395 Little bugfix in @command{nncp-file} command, where @option{-minsize}
396 option for unchunked transfer was not in KiBs, but in bytes.
404 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
405 temporary file for that.
408 Chunked files transmission appeared with corresponding
409 @command{nncp-reass} command and @option{freqchunked} configuration file
410 entry. Useful for transferring big files over small storage devices.
413 @option{freqminsize} configuration file option, analogue to
414 @option{-minsize} one.
417 @command{nncp-xfer}'s @option{-force} option is renamed to
418 @option{-mkdir} for clarity.
421 @option{-minsize} option is specified in KiBs, not bytes, for
425 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
426 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
427 common prefix and are grouped together for convenience.
430 @command{nncp-cfgenc} command appeared, allowing configuration file
431 encryption/decryption, for keeping it safe without any either OpenPGP or
435 Cryptographic libraries (dependencies) are updated.
442 @item Small @command{nncp-rm} command appeared.
443 @item Cryptographic libraries (dependencies) are updated.
450 Trivial small fix in default niceness level of @command{nncp-file}
451 and @command{nncp-freq} commands.
459 Small fix in @command{nncp-call}, @command{nncp-caller},
460 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
464 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
465 and more convenient to use.
468 @command{nncp-mincfg} command appeared: helper allowing to create
469 minimalistic stripped down configuration file without private keys, that
470 is useful during @command{nncp-xfer} usage.
477 @item Fixed compatibility with Go 1.6.
485 @strong{Incompatible} packet's format change (magic number is changed
486 too): size field is encrypted and is not send in plaintext anymore.
489 @option{-minsize} option gives ability to automatically pad outgoing
490 packets to specified minimal size.
493 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
494 always check new @emph{tx} packets appearance in the background while
495 connected. Remote side is immediately notified.
498 @option{-onlinedeadline} option gives ability to configure timeout of
499 inactivity of online connection, when it could be disconnected. It could
500 be used to keep connection alive for a long time.
503 @option{-maxonlinetime} option gives ability to set maximal allowable
504 online connection aliveness time.
507 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
510 @command{nncp-pkt} command can decompress the data.