4 See also this page @ref{Новости, on russian}.
14 Build system is moved from Makefiles to @url{http://cr.yp.to/redo.html, redo}.
15 This should not influence package maintainers, because minimal @command{redo}
16 implementation is included in tarball.
21 @section Release 5.3.3
25 More various error checks.
33 @section Release 5.3.2
37 Fixed incorrect logic of @option{onlinedeadline} timeout, where
38 connection won't take into account incoming packets events and will
39 forcefully disconnect.
44 @section Release 5.3.1
48 Fixed @option{onlinedeadline} workability with call addresses that use
49 external commands (@verb{#"|somecmd"#}).
52 @command{nncp-stat} has @option{-pkt} option displaying information
53 about each packet in the spool.
58 @section Release 5.3.0
62 Progress messages contain prefix, describing the running action.
65 Fixed not occurring handshake messages padding.
68 Finish all SP protocol related goroutines, less memory leak.
71 SP protocol generates less socket write calls, thus generating less TCP
75 Check @option{onlinedeadline} and @option{maxonlinetime} options every
76 second, independently from socket reads (up to 10 seconds).
79 Once per minute, if no other traffic exists, PING packets are sent in
80 SP-connection. That allows faster determining of connection unworkability.
83 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
88 @section Release 5.2.1
92 Fixed SP protocol error handling, sometimes causing program panic.
97 @section Release 5.2.0
101 Most commands by default show oneline operations progress.
102 @option{-progress}, @option{-noprogress} command line options,
103 @option{noprogress} configuration file option appeared.
106 Fixed incorrect @command{nncp-check} command return code, that returned
107 bad code when everything is good.
110 Free disk space check during @command{nncp-bundle -rx} call.
115 @section Release 5.1.2
119 @strong{Critical} vulnerability: remote peers authentication could lead
120 to incorrect identification of remote side, allowing foreign encrypted
124 Bugfix: private and public Noise keys were swapped in newly created
125 configuration files, that lead to inability to authenticate online peers.
128 Explicit directories fsync-ing for guaranteed files renaming.
133 @section Release 5.1.1
137 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
142 @section Release 5.1.0
146 @command{nncp-file} can send directories, automatically creating pax
150 Free disk space is checked during outbound packets creation.
153 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
154 file options replaced with the structure:
155 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
158 Added @option{freq.maxsize} configuration file option, forbidding of
159 freq sending larger than specified size.
162 Ability to notify about successfully executed commands (exec) with
163 @option{notify.exec} configuration file option.
168 @section Release 5.0.0
172 @strong{Incompatible} configuration file format change: YAML is
173 replaced with Hjson, due to its simplicity, without noticeable lack
174 of either functionality or convenience.
177 @strong{Incompatible} plain packet format changes. Older versions are
178 not supported. @code{zlib} compression is replaced with
179 @code{Zstandard}, due to its speed and efficiency, despite library
180 version is not mature enough.
183 Ability to call remote nodes via pipe call of external command, not only
187 @command{nncp-cfgnew} generates configuration file with many
188 comments. @option{-nocomments} option can be used for an old
192 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
193 avoid possible collisions with @file{.nncp.chunkCTR}.
196 Ability to override process umask through configuration file option.
199 Files and directories are created with 666/777 permissions by default,
200 allowing control with @command{umask}.
203 Updated dependencies.
206 Full usage of go modules for dependencies management
207 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
210 Forbid any later GNU GPL version autousage
211 (project's licence now is GNU GPLv3-only).
218 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
226 @strong{Incompatible} encrypted and eblob packet format change: AEAD
227 encryption mode with 128 KiB blocks is used now, because previously
228 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
229 decrypted data to external command. Older versions are not supported.
232 Available free space checking before copying in @command{nncp-xfer},
233 @command{nncp-daemon}, @command{nncp-call(er)}.
236 @command{nncp-call} has ability only to list packets on remote node,
237 without their transmission.
240 @command{nncp-call} has ability to transfer only specified packets.
243 Workability of @option{xxrate} preference in @option{calls}
244 configuration file section.
247 Dependant libraries are updated.
253 Begin using of @code{go.mod} subsystem.
260 @item @command{nncp-daemon} can be run as @command{inetd}-service.
268 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
269 if @file{.seen} exists and treat it like file was already downloaded.
270 Possibly it was transferred out-of-bound and remote side needs to be
274 If higher priority packet is spooled, then @command{nncp-daemon} will
275 queue its sending first, interrupting lower priority transmissions.
278 Simple packet rate limiter added to online-related tools
279 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
282 Ability to specify niceness with symbolic notation:
283 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
286 Changed default niceness levels:
287 for @command{nncp-exec} from 64 to 96,
288 for @command{nncp-freq} from 64 to 160,
289 for @command{nncp-file} from 196 to 224.
297 @strong{Incompatible} @emph{bundle} archive format changes and
298 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
299 valid tar archives, but Go 1.9 made them invalid because of long paths
300 inside. NNCP accidentally was dependant on that bug. Explicit adding of
301 @file{NNCP/} directory in archive restores workability with valid tar
309 Ability to disable relaying at all using @verb{|-via -|} command line option.
317 @strong{Incompatible} plain packet format changes. Older versions are
321 Ability to queue remote command execution, by configuring @option{exec}
322 option in configuration file and using @command{nncp-exec} command:
325 @command{nncp-mail} command is replaced with more flexible
326 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
327 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
329 @option{sendmail} configuration file option is replaced with
330 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
331 @verb{|exec: sendmail: [...]|}.
335 Ability to override @option{via} configuration option for destination
336 node via @option{-via} command line option for following commands:
337 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
340 Chunked files, having size less than specified chunk size, will be sent
341 as an ordinary single file.
344 Exec commands are invoked with additional @env{NNCP_NICE} and
345 @env{NNCP_SELF} environment variables.
348 Files, that are sent as a reply to freq, have niceness level taken from
349 the freq packet. You can set desired niceness during @command{nncp-freq}
350 invocation using @option{-replynice} option.
353 @command{nncp-toss} command can ignore specified packet types during
354 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
358 @command{nncp-file} command uses
359 @option{FreqMinSize}/@option{FreqChunked} configuration file options
360 for @option{-minsize}/@option{-chunked} by default. You can turn this
361 off by specifying zero value.
370 @strong{Incompatible} encrypted/eblob packet format changes. Older
371 versions are not supported.
374 Twofish encryption algorithm is replaced with ChaCha20. It is much more
375 faster. One cryptographic primitive less.
378 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
379 another cryptographic primitive less (assuming that BLAKE2X is nearly
380 identical to BLAKE2).
389 @strong{Incompatible} encrypted packet format changes. Older versions
393 @command{nncp-bundle} command can either create stream of encrypted
394 packets, or digest it. It is useful when dealing with stdin/stdout based
395 transmission methods (like writing to CD-ROM without intermediate
396 prepared ISO image and working with tape drives).
399 @command{nncp-toss} is able to create @file{.seen} files preventing
400 duplicate packets receiving.
403 Single background checksum verifier worker is allowed in
404 @command{nncp-call}. This is helpful when thousands of small inbound
405 packets could create many goroutines.
408 Ability to override path to spool directory and logfile through either
409 command line argument, or environment variable.
412 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
413 @file{.part}, @file{.lock} and temporary files.
418 @section Release 0.12
420 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
424 @section Release 0.11
426 @item @command{nncp-stat}'s command output is sorted by node name.
430 @section Release 0.10
433 @command{nncp-freq}'s @file{DST} argument is optional now. Last
434 @file{SRC} path's element will be used by default.
441 Fix @option{-rx}/@option{-tx} arguments processing in
442 @command{nncp-call} command. They were ignored.
449 Little bugfix in @command{nncp-file} command, where @option{-minsize}
450 option for unchunked transfer was not in KiBs, but in bytes.
458 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
459 temporary file for that.
462 Chunked files transmission appeared with corresponding
463 @command{nncp-reass} command and @option{freqchunked} configuration file
464 entry. Useful for transferring big files over small storage devices.
467 @option{freqminsize} configuration file option, analogue to
468 @option{-minsize} one.
471 @command{nncp-xfer}'s @option{-force} option is renamed to
472 @option{-mkdir} for clarity.
475 @option{-minsize} option is specified in KiBs, not bytes, for
479 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
480 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
481 common prefix and are grouped together for convenience.
484 @command{nncp-cfgenc} command appeared, allowing configuration file
485 encryption/decryption, for keeping it safe without any either OpenPGP or
489 Cryptographic libraries (dependencies) are updated.
496 @item Small @command{nncp-rm} command appeared.
497 @item Cryptographic libraries (dependencies) are updated.
504 Trivial small fix in default niceness level of @command{nncp-file}
505 and @command{nncp-freq} commands.
513 Small fix in @command{nncp-call}, @command{nncp-caller},
514 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
518 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
519 and more convenient to use.
522 @command{nncp-mincfg} command appeared: helper allowing to create
523 minimalistic stripped down configuration file without private keys, that
524 is useful during @command{nncp-xfer} usage.
531 @item Fixed compatibility with Go 1.6.
539 @strong{Incompatible} packet's format change (magic number is changed
540 too): size field is encrypted and is not send in plaintext anymore.
543 @option{-minsize} option gives ability to automatically pad outgoing
544 packets to specified minimal size.
547 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
548 always check new @emph{tx} packets appearance in the background while
549 connected. Remote side is immediately notified.
552 @option{-onlinedeadline} option gives ability to configure timeout of
553 inactivity of online connection, when it could be disconnected. It could
554 be used to keep connection alive for a long time.
557 @option{-maxonlinetime} option gives ability to set maximal allowable
558 online connection aliveness time.
561 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
564 @command{nncp-pkt} command can decompress the data.