4 See also this page @ref{Новости, on russian}.
11 @command{nncp-file} can send directories, automatically creating pax
15 Free disk space is checked during outbound packets creation.
18 @option{freq}, @option{freqminsize}, @option{freqchunked} configuration
19 file options replaced with the structure:
20 @option{freq: @{path: ..., minsize: ..., chunked: ...@}}.
23 Added @option{freq.maxsize} configuration file option, forbidding of
24 freq sending larger than specified size.
29 @section Release 5.0.0
33 @strong{Incompatible} configuration file format change: YAML is
34 replaced with Hjson, due to its simplicity, without noticeable lack
35 of either functionality or convenience.
38 @strong{Incompatible} plain packet format changes. Older versions are
39 not supported. @code{zlib} compression is replaced with
40 @code{Zstandard}, due to its speed and efficiency, despite library
41 version is not mature enough.
44 Ability to call remote nodes via pipe call of external command, not only
48 @command{nncp-cfgnew} generates configuration file with many
49 comments. @option{-nocomments} option can be used for an old
53 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
54 avoid possible collisions with @file{.nncp.chunkCTR}.
57 Ability to override process umask through configuration file option.
60 Files and directories are created with 666/777 permissions by default,
61 allowing control with @command{umask}.
67 Full usage of go modules for dependencies management
68 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
71 Forbid any later GNU GPL version autousage
72 (project's licence now is GNU GPLv3-only).
79 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
87 @strong{Incompatible} encrypted and eblob packet format change: AEAD
88 encryption mode with 128 KiB blocks is used now, because previously
89 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
90 decrypted data to external command. Older versions are not supported.
93 Available free space checking before copying in @command{nncp-xfer},
94 @command{nncp-daemon}, @command{nncp-call(er)}.
97 @command{nncp-call} has ability only to list packets on remote node,
98 without their transmission.
101 @command{nncp-call} has ability to transfer only specified packets.
104 Workability of @option{xxrate} preference in @option{calls}
105 configuration file section.
108 Dependant libraries are updated.
114 Begin using of @code{go.mod} subsystem.
121 @item @command{nncp-daemon} can be run as @command{inetd}-service.
129 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
130 if @file{.seen} exists and treat it like file was already downloaded.
131 Possibly it was transferred out-of-bound and remote side needs to be
135 If higher priority packet is spooled, then @command{nncp-daemon} will
136 queue its sending first, interrupting lower priority transmissions.
139 Simple packet rate limiter added to online-related tools
140 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
143 Ability to specify niceness with symbolic notation:
144 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
147 Changed default niceness levels:
148 for @command{nncp-exec} from 64 to 96,
149 for @command{nncp-freq} from 64 to 160,
150 for @command{nncp-file} from 196 to 224.
158 @strong{Incompatible} @emph{bundle} archive format changes and
159 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
160 valid tar archives, but Go 1.9 made them invalid because of long paths
161 inside. NNCP accidentally was dependant on that bug. Explicit adding of
162 @file{NNCP/} directory in archive restores workability with valid tar
170 Ability to disable relaying at all using @verb{|-via -|} command line option.
178 @strong{Incompatible} plain packet format changes. Older versions are
182 Ability to queue remote command execution, by configuring @option{exec}
183 option in configuration file and using @command{nncp-exec} command:
186 @command{nncp-mail} command is replaced with more flexible
187 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
188 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
190 @option{sendmail} configuration file option is replaced with
191 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
192 @verb{|exec: sendmail: [...]|}.
196 Ability to override @option{via} configuration option for destination
197 node via @option{-via} command line option for following commands:
198 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
201 Chunked files, having size less than specified chunk size, will be sent
202 as an ordinary single file.
205 Exec commands are invoked with additional @env{NNCP_NICE} and
206 @env{NNCP_SELF} environment variables.
209 Files, that are sent as a reply to freq, have niceness level taken from
210 the freq packet. You can set desired niceness during @command{nncp-freq}
211 invocation using @option{-replynice} option.
214 @command{nncp-toss} command can ignore specified packet types during
215 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
219 @command{nncp-file} command uses
220 @option{FreqMinSize}/@option{FreqChunked} configuration file options
221 for @option{-minsize}/@option{-chunked} by default. You can turn this
222 off by specifying zero value.
231 @strong{Incompatible} encrypted/eblob packet format changes. Older
232 versions are not supported.
235 Twofish encryption algorithm is replaced with ChaCha20. It is much more
236 faster. One cryptographic primitive less.
239 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
240 another cryptographic primitive less (assuming that BLAKE2X is nearly
241 identical to BLAKE2).
250 @strong{Incompatible} encrypted packet format changes. Older versions
254 @command{nncp-bundle} command can either create stream of encrypted
255 packets, or digest it. It is useful when dealing with stdin/stdout based
256 transmission methods (like writing to CD-ROM without intermediate
257 prepared ISO image and working with tape drives).
260 @command{nncp-toss} is able to create @file{.seen} files preventing
261 duplicate packets receiving.
264 Single background checksum verifier worker is allowed in
265 @command{nncp-call}. This is helpful when thousands of small inbound
266 packets could create many goroutines.
269 Ability to override path to spool directory and logfile through either
270 command line argument, or environment variable.
273 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
274 @file{.part}, @file{.lock} and temporary files.
279 @section Release 0.12
281 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
285 @section Release 0.11
287 @item @command{nncp-stat}'s command output is sorted by node name.
291 @section Release 0.10
294 @command{nncp-freq}'s @file{DST} argument is optional now. Last
295 @file{SRC} path's element will be used by default.
302 Fix @option{-rx}/@option{-tx} arguments processing in
303 @command{nncp-call} command. They were ignored.
310 Little bugfix in @command{nncp-file} command, where @option{-minsize}
311 option for unchunked transfer was not in KiBs, but in bytes.
319 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
320 temporary file for that.
323 Chunked files transmission appeared with corresponding
324 @command{nncp-reass} command and @option{freqchunked} configuration file
325 entry. Useful for transferring big files over small storage devices.
328 @option{freqminsize} configuration file option, analogue to
329 @option{-minsize} one.
332 @command{nncp-xfer}'s @option{-force} option is renamed to
333 @option{-mkdir} for clarity.
336 @option{-minsize} option is specified in KiBs, not bytes, for
340 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
341 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
342 common prefix and are grouped together for convenience.
345 @command{nncp-cfgenc} command appeared, allowing configuration file
346 encryption/decryption, for keeping it safe without any either OpenPGP or
350 Cryptographic libraries (dependencies) are updated.
357 @item Small @command{nncp-rm} command appeared.
358 @item Cryptographic libraries (dependencies) are updated.
365 Trivial small fix in default niceness level of @command{nncp-file}
366 and @command{nncp-freq} commands.
374 Small fix in @command{nncp-call}, @command{nncp-caller},
375 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
379 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
380 and more convenient to use.
383 @command{nncp-mincfg} command appeared: helper allowing to create
384 minimalistic stripped down configuration file without private keys, that
385 is useful during @command{nncp-xfer} usage.
392 @item Fixed compatibility with Go 1.6.
400 @strong{Incompatible} packet's format change (magic number is changed
401 too): size field is encrypted and is not send in plaintext anymore.
404 @option{-minsize} option gives ability to automatically pad outgoing
405 packets to specified minimal size.
408 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
409 always check new @emph{tx} packets appearance in the background while
410 connected. Remote side is immediately notified.
413 @option{-onlinedeadline} option gives ability to configure timeout of
414 inactivity of online connection, when it could be disconnected. It could
415 be used to keep connection alive for a long time.
418 @option{-maxonlinetime} option gives ability to set maximal allowable
419 online connection aliveness time.
422 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
425 @command{nncp-pkt} command can decompress the data.