4 See also this page @ref{Новости, on russian}.
11 Fixed incorrect logic of @option{onlinedeadline} timeout, where
12 connection won't take into account incoming packets events and will
13 forcefully disconnect.
18 @section Release 5.3.1
22 Fixed @option{onlinedeadline} workability with call addresses that use
23 external commands (@verb{#"|somecmd"#}).
26 @command{nncp-stat} has @option{-pkt} option displaying information
27 about each packet in the spool.
32 @section Release 5.3.0
36 Progress messages contain prefix, describing the running action.
39 Fixed not occurring handshake messages padding.
42 Finish all SP protocol related goroutines, less memory leak.
45 SP protocol generates less socket write calls, thus generating less TCP
49 Check @option{onlinedeadline} and @option{maxonlinetime} options every
50 second, independently from socket reads (up to 10 seconds).
53 Once per minute, if no other traffic exists, PING packets are sent in
54 SP-connection. That allows faster determining of connection unworkability.
57 @command{nncp-toss} uses lock-file to prevent simultaneous tossing.
62 @section Release 5.2.1
66 Fixed SP protocol error handling, sometimes causing program panic.
71 @section Release 5.2.0
75 Most commands by default show oneline operations progress.
76 @option{-progress}, @option{-noprogress} command line options,
77 @option{noprogress} configuration file option appeared.
80 Fixed incorrect @command{nncp-check} command return code, that returned
81 bad code when everything is good.
84 Free disk space check during @command{nncp-bundle -rx} call.
89 @section Release 5.1.2
93 @strong{Critical} vulnerability: remote peers authentication could lead
94 to incorrect identification of remote side, allowing foreign encrypted
98 Bugfix: private and public Noise keys were swapped in newly created
99 configuration files, that lead to inability to authenticate online peers.
102 Explicit directories fsync-ing for guaranteed files renaming.
107 @section Release 5.1.1
111 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
116 @section Release 5.1.0
120 @command{nncp-file} can send directories, automatically creating pax
124 Free disk space is checked during outbound packets creation.
127 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
128 file options replaced with the structure:
129 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
132 Added @option{freq.maxsize} configuration file option, forbidding of
133 freq sending larger than specified size.
136 Ability to notify about successfully executed commands (exec) with
137 @option{notify.exec} configuration file option.
142 @section Release 5.0.0
146 @strong{Incompatible} configuration file format change: YAML is
147 replaced with Hjson, due to its simplicity, without noticeable lack
148 of either functionality or convenience.
151 @strong{Incompatible} plain packet format changes. Older versions are
152 not supported. @code{zlib} compression is replaced with
153 @code{Zstandard}, due to its speed and efficiency, despite library
154 version is not mature enough.
157 Ability to call remote nodes via pipe call of external command, not only
161 @command{nncp-cfgnew} generates configuration file with many
162 comments. @option{-nocomments} option can be used for an old
166 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
167 avoid possible collisions with @file{.nncp.chunkCTR}.
170 Ability to override process umask through configuration file option.
173 Files and directories are created with 666/777 permissions by default,
174 allowing control with @command{umask}.
177 Updated dependencies.
180 Full usage of go modules for dependencies management
181 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
184 Forbid any later GNU GPL version autousage
185 (project's licence now is GNU GPLv3-only).
192 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
200 @strong{Incompatible} encrypted and eblob packet format change: AEAD
201 encryption mode with 128 KiB blocks is used now, because previously
202 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
203 decrypted data to external command. Older versions are not supported.
206 Available free space checking before copying in @command{nncp-xfer},
207 @command{nncp-daemon}, @command{nncp-call(er)}.
210 @command{nncp-call} has ability only to list packets on remote node,
211 without their transmission.
214 @command{nncp-call} has ability to transfer only specified packets.
217 Workability of @option{xxrate} preference in @option{calls}
218 configuration file section.
221 Dependant libraries are updated.
227 Begin using of @code{go.mod} subsystem.
234 @item @command{nncp-daemon} can be run as @command{inetd}-service.
242 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
243 if @file{.seen} exists and treat it like file was already downloaded.
244 Possibly it was transferred out-of-bound and remote side needs to be
248 If higher priority packet is spooled, then @command{nncp-daemon} will
249 queue its sending first, interrupting lower priority transmissions.
252 Simple packet rate limiter added to online-related tools
253 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
256 Ability to specify niceness with symbolic notation:
257 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
260 Changed default niceness levels:
261 for @command{nncp-exec} from 64 to 96,
262 for @command{nncp-freq} from 64 to 160,
263 for @command{nncp-file} from 196 to 224.
271 @strong{Incompatible} @emph{bundle} archive format changes and
272 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
273 valid tar archives, but Go 1.9 made them invalid because of long paths
274 inside. NNCP accidentally was dependant on that bug. Explicit adding of
275 @file{NNCP/} directory in archive restores workability with valid tar
283 Ability to disable relaying at all using @verb{|-via -|} command line option.
291 @strong{Incompatible} plain packet format changes. Older versions are
295 Ability to queue remote command execution, by configuring @option{exec}
296 option in configuration file and using @command{nncp-exec} command:
299 @command{nncp-mail} command is replaced with more flexible
300 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
301 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
303 @option{sendmail} configuration file option is replaced with
304 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
305 @verb{|exec: sendmail: [...]|}.
309 Ability to override @option{via} configuration option for destination
310 node via @option{-via} command line option for following commands:
311 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
314 Chunked files, having size less than specified chunk size, will be sent
315 as an ordinary single file.
318 Exec commands are invoked with additional @env{NNCP_NICE} and
319 @env{NNCP_SELF} environment variables.
322 Files, that are sent as a reply to freq, have niceness level taken from
323 the freq packet. You can set desired niceness during @command{nncp-freq}
324 invocation using @option{-replynice} option.
327 @command{nncp-toss} command can ignore specified packet types during
328 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
332 @command{nncp-file} command uses
333 @option{FreqMinSize}/@option{FreqChunked} configuration file options
334 for @option{-minsize}/@option{-chunked} by default. You can turn this
335 off by specifying zero value.
344 @strong{Incompatible} encrypted/eblob packet format changes. Older
345 versions are not supported.
348 Twofish encryption algorithm is replaced with ChaCha20. It is much more
349 faster. One cryptographic primitive less.
352 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
353 another cryptographic primitive less (assuming that BLAKE2X is nearly
354 identical to BLAKE2).
363 @strong{Incompatible} encrypted packet format changes. Older versions
367 @command{nncp-bundle} command can either create stream of encrypted
368 packets, or digest it. It is useful when dealing with stdin/stdout based
369 transmission methods (like writing to CD-ROM without intermediate
370 prepared ISO image and working with tape drives).
373 @command{nncp-toss} is able to create @file{.seen} files preventing
374 duplicate packets receiving.
377 Single background checksum verifier worker is allowed in
378 @command{nncp-call}. This is helpful when thousands of small inbound
379 packets could create many goroutines.
382 Ability to override path to spool directory and logfile through either
383 command line argument, or environment variable.
386 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
387 @file{.part}, @file{.lock} and temporary files.
392 @section Release 0.12
394 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
398 @section Release 0.11
400 @item @command{nncp-stat}'s command output is sorted by node name.
404 @section Release 0.10
407 @command{nncp-freq}'s @file{DST} argument is optional now. Last
408 @file{SRC} path's element will be used by default.
415 Fix @option{-rx}/@option{-tx} arguments processing in
416 @command{nncp-call} command. They were ignored.
423 Little bugfix in @command{nncp-file} command, where @option{-minsize}
424 option for unchunked transfer was not in KiBs, but in bytes.
432 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
433 temporary file for that.
436 Chunked files transmission appeared with corresponding
437 @command{nncp-reass} command and @option{freqchunked} configuration file
438 entry. Useful for transferring big files over small storage devices.
441 @option{freqminsize} configuration file option, analogue to
442 @option{-minsize} one.
445 @command{nncp-xfer}'s @option{-force} option is renamed to
446 @option{-mkdir} for clarity.
449 @option{-minsize} option is specified in KiBs, not bytes, for
453 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
454 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
455 common prefix and are grouped together for convenience.
458 @command{nncp-cfgenc} command appeared, allowing configuration file
459 encryption/decryption, for keeping it safe without any either OpenPGP or
463 Cryptographic libraries (dependencies) are updated.
470 @item Small @command{nncp-rm} command appeared.
471 @item Cryptographic libraries (dependencies) are updated.
478 Trivial small fix in default niceness level of @command{nncp-file}
479 and @command{nncp-freq} commands.
487 Small fix in @command{nncp-call}, @command{nncp-caller},
488 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
492 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
493 and more convenient to use.
496 @command{nncp-mincfg} command appeared: helper allowing to create
497 minimalistic stripped down configuration file without private keys, that
498 is useful during @command{nncp-xfer} usage.
505 @item Fixed compatibility with Go 1.6.
513 @strong{Incompatible} packet's format change (magic number is changed
514 too): size field is encrypted and is not send in plaintext anymore.
517 @option{-minsize} option gives ability to automatically pad outgoing
518 packets to specified minimal size.
521 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
522 always check new @emph{tx} packets appearance in the background while
523 connected. Remote side is immediately notified.
526 @option{-onlinedeadline} option gives ability to configure timeout of
527 inactivity of online connection, when it could be disconnected. It could
528 be used to keep connection alive for a long time.
531 @option{-maxonlinetime} option gives ability to set maximal allowable
532 online connection aliveness time.
535 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
538 @command{nncp-pkt} command can decompress the data.