4 See also this page @ref{Новости, on russian}.
11 Progress messages contain prefix, describing the running action.
16 @section Release 5.2.1
20 Fixed SP protocol error handling, sometimes causing program panic.
25 @section Release 5.2.0
29 Most commands by default show oneline operations progress.
30 @option{-progress}, @option{-noprogress} command line options,
31 @option{noprogress} configuration file option appeared.
34 Fixed incorrect @command{nncp-check} command return code, that returned
35 bad code when everything is good.
38 Free disk space check during @command{nncp-bundle -rx} call.
43 @section Release 5.1.2
47 @strong{Critical} vulnerability: remote peers authentication could lead
48 to incorrect identification of remote side, allowing foreign encrypted
52 Bugfix: private and public Noise keys were swapped in newly created
53 configuration files, that lead to inability to authenticate online peers.
56 Explicit directories fsync-ing for guaranteed files renaming.
61 @section Release 5.1.1
65 Fixed workability of @command{nncp-file} with @option{-chunked 0} option.
70 @section Release 5.1.0
74 @command{nncp-file} can send directories, automatically creating pax
78 Free disk space is checked during outbound packets creation.
81 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
82 file options replaced with the structure:
83 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
86 Added @option{freq.maxsize} configuration file option, forbidding of
87 freq sending larger than specified size.
90 Ability to notify about successfully executed commands (exec) with
91 @option{notify.exec} configuration file option.
96 @section Release 5.0.0
100 @strong{Incompatible} configuration file format change: YAML is
101 replaced with Hjson, due to its simplicity, without noticeable lack
102 of either functionality or convenience.
105 @strong{Incompatible} plain packet format changes. Older versions are
106 not supported. @code{zlib} compression is replaced with
107 @code{Zstandard}, due to its speed and efficiency, despite library
108 version is not mature enough.
111 Ability to call remote nodes via pipe call of external command, not only
115 @command{nncp-cfgnew} generates configuration file with many
116 comments. @option{-nocomments} option can be used for an old
120 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
121 avoid possible collisions with @file{.nncp.chunkCTR}.
124 Ability to override process umask through configuration file option.
127 Files and directories are created with 666/777 permissions by default,
128 allowing control with @command{umask}.
131 Updated dependencies.
134 Full usage of go modules for dependencies management
135 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
138 Forbid any later GNU GPL version autousage
139 (project's licence now is GNU GPLv3-only).
146 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
154 @strong{Incompatible} encrypted and eblob packet format change: AEAD
155 encryption mode with 128 KiB blocks is used now, because previously
156 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
157 decrypted data to external command. Older versions are not supported.
160 Available free space checking before copying in @command{nncp-xfer},
161 @command{nncp-daemon}, @command{nncp-call(er)}.
164 @command{nncp-call} has ability only to list packets on remote node,
165 without their transmission.
168 @command{nncp-call} has ability to transfer only specified packets.
171 Workability of @option{xxrate} preference in @option{calls}
172 configuration file section.
175 Dependant libraries are updated.
181 Begin using of @code{go.mod} subsystem.
188 @item @command{nncp-daemon} can be run as @command{inetd}-service.
196 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
197 if @file{.seen} exists and treat it like file was already downloaded.
198 Possibly it was transferred out-of-bound and remote side needs to be
202 If higher priority packet is spooled, then @command{nncp-daemon} will
203 queue its sending first, interrupting lower priority transmissions.
206 Simple packet rate limiter added to online-related tools
207 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
210 Ability to specify niceness with symbolic notation:
211 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
214 Changed default niceness levels:
215 for @command{nncp-exec} from 64 to 96,
216 for @command{nncp-freq} from 64 to 160,
217 for @command{nncp-file} from 196 to 224.
225 @strong{Incompatible} @emph{bundle} archive format changes and
226 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
227 valid tar archives, but Go 1.9 made them invalid because of long paths
228 inside. NNCP accidentally was dependant on that bug. Explicit adding of
229 @file{NNCP/} directory in archive restores workability with valid tar
237 Ability to disable relaying at all using @verb{|-via -|} command line option.
245 @strong{Incompatible} plain packet format changes. Older versions are
249 Ability to queue remote command execution, by configuring @option{exec}
250 option in configuration file and using @command{nncp-exec} command:
253 @command{nncp-mail} command is replaced with more flexible
254 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
255 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
257 @option{sendmail} configuration file option is replaced with
258 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
259 @verb{|exec: sendmail: [...]|}.
263 Ability to override @option{via} configuration option for destination
264 node via @option{-via} command line option for following commands:
265 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
268 Chunked files, having size less than specified chunk size, will be sent
269 as an ordinary single file.
272 Exec commands are invoked with additional @env{NNCP_NICE} and
273 @env{NNCP_SELF} environment variables.
276 Files, that are sent as a reply to freq, have niceness level taken from
277 the freq packet. You can set desired niceness during @command{nncp-freq}
278 invocation using @option{-replynice} option.
281 @command{nncp-toss} command can ignore specified packet types during
282 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
286 @command{nncp-file} command uses
287 @option{FreqMinSize}/@option{FreqChunked} configuration file options
288 for @option{-minsize}/@option{-chunked} by default. You can turn this
289 off by specifying zero value.
298 @strong{Incompatible} encrypted/eblob packet format changes. Older
299 versions are not supported.
302 Twofish encryption algorithm is replaced with ChaCha20. It is much more
303 faster. One cryptographic primitive less.
306 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
307 another cryptographic primitive less (assuming that BLAKE2X is nearly
308 identical to BLAKE2).
317 @strong{Incompatible} encrypted packet format changes. Older versions
321 @command{nncp-bundle} command can either create stream of encrypted
322 packets, or digest it. It is useful when dealing with stdin/stdout based
323 transmission methods (like writing to CD-ROM without intermediate
324 prepared ISO image and working with tape drives).
327 @command{nncp-toss} is able to create @file{.seen} files preventing
328 duplicate packets receiving.
331 Single background checksum verifier worker is allowed in
332 @command{nncp-call}. This is helpful when thousands of small inbound
333 packets could create many goroutines.
336 Ability to override path to spool directory and logfile through either
337 command line argument, or environment variable.
340 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
341 @file{.part}, @file{.lock} and temporary files.
346 @section Release 0.12
348 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
352 @section Release 0.11
354 @item @command{nncp-stat}'s command output is sorted by node name.
358 @section Release 0.10
361 @command{nncp-freq}'s @file{DST} argument is optional now. Last
362 @file{SRC} path's element will be used by default.
369 Fix @option{-rx}/@option{-tx} arguments processing in
370 @command{nncp-call} command. They were ignored.
377 Little bugfix in @command{nncp-file} command, where @option{-minsize}
378 option for unchunked transfer was not in KiBs, but in bytes.
386 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
387 temporary file for that.
390 Chunked files transmission appeared with corresponding
391 @command{nncp-reass} command and @option{freqchunked} configuration file
392 entry. Useful for transferring big files over small storage devices.
395 @option{freqminsize} configuration file option, analogue to
396 @option{-minsize} one.
399 @command{nncp-xfer}'s @option{-force} option is renamed to
400 @option{-mkdir} for clarity.
403 @option{-minsize} option is specified in KiBs, not bytes, for
407 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
408 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
409 common prefix and are grouped together for convenience.
412 @command{nncp-cfgenc} command appeared, allowing configuration file
413 encryption/decryption, for keeping it safe without any either OpenPGP or
417 Cryptographic libraries (dependencies) are updated.
424 @item Small @command{nncp-rm} command appeared.
425 @item Cryptographic libraries (dependencies) are updated.
432 Trivial small fix in default niceness level of @command{nncp-file}
433 and @command{nncp-freq} commands.
441 Small fix in @command{nncp-call}, @command{nncp-caller},
442 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
446 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
447 and more convenient to use.
450 @command{nncp-mincfg} command appeared: helper allowing to create
451 minimalistic stripped down configuration file without private keys, that
452 is useful during @command{nncp-xfer} usage.
459 @item Fixed compatibility with Go 1.6.
467 @strong{Incompatible} packet's format change (magic number is changed
468 too): size field is encrypted and is not send in plaintext anymore.
471 @option{-minsize} option gives ability to automatically pad outgoing
472 packets to specified minimal size.
475 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
476 always check new @emph{tx} packets appearance in the background while
477 connected. Remote side is immediately notified.
480 @option{-onlinedeadline} option gives ability to configure timeout of
481 inactivity of online connection, when it could be disconnected. It could
482 be used to keep connection alive for a long time.
485 @option{-maxonlinetime} option gives ability to set maximal allowable
486 online connection aliveness time.
489 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
492 @command{nncp-pkt} command can decompress the data.