4 See also this page @ref{Новости, on russian}.
11 Fixed @option{onlinedeadline} workability with call addresses that use
12 external commands (@verb{#"|somecmd"#}).
15 @command{nncp-stat} has @option{-pkt} option displaying information
16 about each packet in the spool.
21 @section Release 5.3.0
25 Progress messages contain prefix, describing the running action.
28 Fixed not occurring handshake messages padding.
31 Finish all SP protocol related goroutines, less memory leak.
34 SP protocol generates less socket write calls, thus generating less TCP
38 Check @option{onlinedeadline} and @option{maxonlinetime} options every
39 second, independently from socket reads (up to 10 seconds).
42 Once per minute, if no other traffic exists, PING packets are sent in
43 SP-connection. That allows faster determining of connection unworkability.
46 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
51 @section Release 5.2.1
55 Fixed SP protocol error handling, sometimes causing program panic.
60 @section Release 5.2.0
64 Most commands by default show oneline operations progress.
65 @option{-progress}, @option{-noprogress} command line options,
66 @option{noprogress} configuration file option appeared.
69 Fixed incorrect @command{nncp-check} command return code, that returned
70 bad code when everything is good.
73 Free disk space check during @command{nncp-bundle -rx} call.
78 @section Release 5.1.2
82 @strong{Critical} vulnerability: remote peers authentication could lead
83 to incorrect identification of remote side, allowing foreign encrypted
87 Bugfix: private and public Noise keys were swapped in newly created
88 configuration files, that lead to inability to authenticate online peers.
91 Explicit directories fsync-ing for guaranteed files renaming.
96 @section Release 5.1.1
100 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
105 @section Release 5.1.0
109 @command{nncp-file} can send directories, automatically creating pax
113 Free disk space is checked during outbound packets creation.
116 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
117 file options replaced with the structure:
118 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
121 Added @option{freq.maxsize} configuration file option, forbidding of
122 freq sending larger than specified size.
125 Ability to notify about successfully executed commands (exec) with
126 @option{notify.exec} configuration file option.
131 @section Release 5.0.0
135 @strong{Incompatible} configuration file format change: YAML is
136 replaced with Hjson, due to its simplicity, without noticeable lack
137 of either functionality or convenience.
140 @strong{Incompatible} plain packet format changes. Older versions are
141 not supported. @code{zlib} compression is replaced with
142 @code{Zstandard}, due to its speed and efficiency, despite library
143 version is not mature enough.
146 Ability to call remote nodes via pipe call of external command, not only
150 @command{nncp-cfgnew} generates configuration file with many
151 comments. @option{-nocomments} option can be used for an old
155 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
156 avoid possible collisions with @file{.nncp.chunkCTR}.
159 Ability to override process umask through configuration file option.
162 Files and directories are created with 666/777 permissions by default,
163 allowing control with @command{umask}.
166 Updated dependencies.
169 Full usage of go modules for dependencies management
170 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
173 Forbid any later GNU GPL version autousage
174 (project's licence now is GNU GPLv3-only).
181 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
189 @strong{Incompatible} encrypted and eblob packet format change: AEAD
190 encryption mode with 128 KiB blocks is used now, because previously
191 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
192 decrypted data to external command. Older versions are not supported.
195 Available free space checking before copying in @command{nncp-xfer},
196 @command{nncp-daemon}, @command{nncp-call(er)}.
199 @command{nncp-call} has ability only to list packets on remote node,
200 without their transmission.
203 @command{nncp-call} has ability to transfer only specified packets.
206 Workability of @option{xxrate} preference in @option{calls}
207 configuration file section.
210 Dependant libraries are updated.
216 Begin using of @code{go.mod} subsystem.
223 @item @command{nncp-daemon} can be run as @command{inetd}-service.
231 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
232 if @file{.seen} exists and treat it like file was already downloaded.
233 Possibly it was transferred out-of-bound and remote side needs to be
237 If higher priority packet is spooled, then @command{nncp-daemon} will
238 queue its sending first, interrupting lower priority transmissions.
241 Simple packet rate limiter added to online-related tools
242 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
245 Ability to specify niceness with symbolic notation:
246 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
249 Changed default niceness levels:
250 for @command{nncp-exec} from 64 to 96,
251 for @command{nncp-freq} from 64 to 160,
252 for @command{nncp-file} from 196 to 224.
260 @strong{Incompatible} @emph{bundle} archive format changes and
261 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
262 valid tar archives, but Go 1.9 made them invalid because of long paths
263 inside. NNCP accidentally was dependant on that bug. Explicit adding of
264 @file{NNCP/} directory in archive restores workability with valid tar
272 Ability to disable relaying at all using @verb{|-via -|} command line option.
280 @strong{Incompatible} plain packet format changes. Older versions are
284 Ability to queue remote command execution, by configuring @option{exec}
285 option in configuration file and using @command{nncp-exec} command:
288 @command{nncp-mail} command is replaced with more flexible
289 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
290 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
292 @option{sendmail} configuration file option is replaced with
293 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
294 @verb{|exec: sendmail: [...]|}.
298 Ability to override @option{via} configuration option for destination
299 node via @option{-via} command line option for following commands:
300 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
303 Chunked files, having size less than specified chunk size, will be sent
304 as an ordinary single file.
307 Exec commands are invoked with additional @env{NNCP_NICE} and
308 @env{NNCP_SELF} environment variables.
311 Files, that are sent as a reply to freq, have niceness level taken from
312 the freq packet. You can set desired niceness during @command{nncp-freq}
313 invocation using @option{-replynice} option.
316 @command{nncp-toss} command can ignore specified packet types during
317 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
321 @command{nncp-file} command uses
322 @option{FreqMinSize}/@option{FreqChunked} configuration file options
323 for @option{-minsize}/@option{-chunked} by default. You can turn this
324 off by specifying zero value.
333 @strong{Incompatible} encrypted/eblob packet format changes. Older
334 versions are not supported.
337 Twofish encryption algorithm is replaced with ChaCha20. It is much more
338 faster. One cryptographic primitive less.
341 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
342 another cryptographic primitive less (assuming that BLAKE2X is nearly
343 identical to BLAKE2).
352 @strong{Incompatible} encrypted packet format changes. Older versions
356 @command{nncp-bundle} command can either create stream of encrypted
357 packets, or digest it. It is useful when dealing with stdin/stdout based
358 transmission methods (like writing to CD-ROM without intermediate
359 prepared ISO image and working with tape drives).
362 @command{nncp-toss} is able to create @file{.seen} files preventing
363 duplicate packets receiving.
366 Single background checksum verifier worker is allowed in
367 @command{nncp-call}. This is helpful when thousands of small inbound
368 packets could create many goroutines.
371 Ability to override path to spool directory and logfile through either
372 command line argument, or environment variable.
375 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
376 @file{.part}, @file{.lock} and temporary files.
381 @section Release 0.12
383 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
387 @section Release 0.11
389 @item @command{nncp-stat}'s command output is sorted by node name.
393 @section Release 0.10
396 @command{nncp-freq}'s @file{DST} argument is optional now. Last
397 @file{SRC} path's element will be used by default.
404 Fix @option{-rx}/@option{-tx} arguments processing in
405 @command{nncp-call} command. They were ignored.
412 Little bugfix in @command{nncp-file} command, where @option{-minsize}
413 option for unchunked transfer was not in KiBs, but in bytes.
421 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
422 temporary file for that.
425 Chunked files transmission appeared with corresponding
426 @command{nncp-reass} command and @option{freqchunked} configuration file
427 entry. Useful for transferring big files over small storage devices.
430 @option{freqminsize} configuration file option, analogue to
431 @option{-minsize} one.
434 @command{nncp-xfer}'s @option{-force} option is renamed to
435 @option{-mkdir} for clarity.
438 @option{-minsize} option is specified in KiBs, not bytes, for
442 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
443 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
444 common prefix and are grouped together for convenience.
447 @command{nncp-cfgenc} command appeared, allowing configuration file
448 encryption/decryption, for keeping it safe without any either OpenPGP or
452 Cryptographic libraries (dependencies) are updated.
459 @item Small @command{nncp-rm} command appeared.
460 @item Cryptographic libraries (dependencies) are updated.
467 Trivial small fix in default niceness level of @command{nncp-file}
468 and @command{nncp-freq} commands.
476 Small fix in @command{nncp-call}, @command{nncp-caller},
477 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
481 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
482 and more convenient to use.
485 @command{nncp-mincfg} command appeared: helper allowing to create
486 minimalistic stripped down configuration file without private keys, that
487 is useful during @command{nncp-xfer} usage.
494 @item Fixed compatibility with Go 1.6.
502 @strong{Incompatible} packet's format change (magic number is changed
503 too): size field is encrypted and is not send in plaintext anymore.
506 @option{-minsize} option gives ability to automatically pad outgoing
507 packets to specified minimal size.
510 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
511 always check new @emph{tx} packets appearance in the background while
512 connected. Remote side is immediately notified.
515 @option{-onlinedeadline} option gives ability to configure timeout of
516 inactivity of online connection, when it could be disconnected. It could
517 be used to keep connection alive for a long time.
520 @option{-maxonlinetime} option gives ability to set maximal allowable
521 online connection aliveness time.
524 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
527 @command{nncp-pkt} command can decompress the data.