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.
20 @section Release 5.0.0
24 @strong{Incompatible} configuration file format change: YAML is
25 replaced with Hjson, due to its simplicity, without noticeable lack
26 of either functionality or convenience.
29 @strong{Incompatible} plain packet format changes. Older versions are
30 not supported. @code{zlib} compression is replaced with
31 @code{Zstandard}, due to its speed and efficiency, despite library
32 version is not mature enough.
35 Ability to call remote nodes via pipe call of external command, not only
39 @command{nncp-cfgnew} generates configuration file with many
40 comments. @option{-nocomments} option can be used for an old
44 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
45 avoid possible collisions with @file{.nncp.chunkCTR}.
48 Ability to override process umask through configuration file option.
51 Files and directories are created with 666/777 permissions by default,
52 allowing control with @command{umask}.
58 Full usage of go modules for dependencies management
59 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
62 Forbid any later GNU GPL version autousage
63 (project's licence now is GNU GPLv3-only).
70 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
78 @strong{Incompatible} encrypted and eblob packet format change: AEAD
79 encryption mode with 128 KiB blocks is used now, because previously
80 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
81 decrypted data to external command. Older versions are not supported.
84 Available free space checking before copying in @command{nncp-xfer},
85 @command{nncp-daemon}, @command{nncp-call(er)}.
88 @command{nncp-call} has ability only to list packets on remote node,
89 without their transmission.
92 @command{nncp-call} has ability to transfer only specified packets.
95 Workability of @option{xxrate} preference in @option{calls}
96 configuration file section.
99 Dependant libraries are updated.
105 Begin using of @code{go.mod} subsystem.
112 @item @command{nncp-daemon} can be run as @command{inetd}-service.
120 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
121 if @file{.seen} exists and treat it like file was already downloaded.
122 Possibly it was transferred out-of-bound and remote side needs to be
126 If higher priority packet is spooled, then @command{nncp-daemon} will
127 queue its sending first, interrupting lower priority transmissions.
130 Simple packet rate limiter added to online-related tools
131 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
134 Ability to specify niceness with symbolic notation:
135 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
138 Changed default niceness levels:
139 for @command{nncp-exec} from 64 to 96,
140 for @command{nncp-freq} from 64 to 160,
141 for @command{nncp-file} from 196 to 224.
149 @strong{Incompatible} @emph{bundle} archive format changes and
150 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
151 valid tar archives, but Go 1.9 made them invalid because of long paths
152 inside. NNCP accidentally was dependant on that bug. Explicit adding of
153 @file{NNCP/} directory in archive restores workability with valid tar
161 Ability to disable relaying at all using @verb{|-via -|} command line option.
169 @strong{Incompatible} plain packet format changes. Older versions are
173 Ability to queue remote command execution, by configuring @option{exec}
174 option in configuration file and using @command{nncp-exec} command:
177 @command{nncp-mail} command is replaced with more flexible
178 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
179 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
181 @option{sendmail} configuration file option is replaced with
182 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
183 @verb{|exec: sendmail: [...]|}.
187 Ability to override @option{via} configuration option for destination
188 node via @option{-via} command line option for following commands:
189 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
192 Chunked files, having size less than specified chunk size, will be sent
193 as an ordinary single file.
196 Exec commands are invoked with additional @env{NNCP_NICE} and
197 @env{NNCP_SELF} environment variables.
200 Files, that are sent as a reply to freq, have niceness level taken from
201 the freq packet. You can set desired niceness during @command{nncp-freq}
202 invocation using @option{-replynice} option.
205 @command{nncp-toss} command can ignore specified packet types during
206 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
210 @command{nncp-file} command uses
211 @option{FreqMinSize}/@option{FreqChunked} configuration file options
212 for @option{-minsize}/@option{-chunked} by default. You can turn this
213 off by specifying zero value.
222 @strong{Incompatible} encrypted/eblob packet format changes. Older
223 versions are not supported.
226 Twofish encryption algorithm is replaced with ChaCha20. It is much more
227 faster. One cryptographic primitive less.
230 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
231 another cryptographic primitive less (assuming that BLAKE2X is nearly
232 identical to BLAKE2).
241 @strong{Incompatible} encrypted packet format changes. Older versions
245 @command{nncp-bundle} command can either create stream of encrypted
246 packets, or digest it. It is useful when dealing with stdin/stdout based
247 transmission methods (like writing to CD-ROM without intermediate
248 prepared ISO image and working with tape drives).
251 @command{nncp-toss} is able to create @file{.seen} files preventing
252 duplicate packets receiving.
255 Single background checksum verifier worker is allowed in
256 @command{nncp-call}. This is helpful when thousands of small inbound
257 packets could create many goroutines.
260 Ability to override path to spool directory and logfile through either
261 command line argument, or environment variable.
264 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
265 @file{.part}, @file{.lock} and temporary files.
270 @section Release 0.12
272 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
276 @section Release 0.11
278 @item @command{nncp-stat}'s command output is sorted by node name.
282 @section Release 0.10
285 @command{nncp-freq}'s @file{DST} argument is optional now. Last
286 @file{SRC} path's element will be used by default.
293 Fix @option{-rx}/@option{-tx} arguments processing in
294 @command{nncp-call} command. They were ignored.
301 Little bugfix in @command{nncp-file} command, where @option{-minsize}
302 option for unchunked transfer was not in KiBs, but in bytes.
310 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
311 temporary file for that.
314 Chunked files transmission appeared with corresponding
315 @command{nncp-reass} command and @option{freqchunked} configuration file
316 entry. Useful for transferring big files over small storage devices.
319 @option{freqminsize} configuration file option, analogue to
320 @option{-minsize} one.
323 @command{nncp-xfer}'s @option{-force} option is renamed to
324 @option{-mkdir} for clarity.
327 @option{-minsize} option is specified in KiBs, not bytes, for
331 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
332 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
333 common prefix and are grouped together for convenience.
336 @command{nncp-cfgenc} command appeared, allowing configuration file
337 encryption/decryption, for keeping it safe without any either OpenPGP or
341 Cryptographic libraries (dependencies) are updated.
348 @item Small @command{nncp-rm} command appeared.
349 @item Cryptographic libraries (dependencies) are updated.
356 Trivial small fix in default niceness level of @command{nncp-file}
357 and @command{nncp-freq} commands.
365 Small fix in @command{nncp-call}, @command{nncp-caller},
366 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
370 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
371 and more convenient to use.
374 @command{nncp-mincfg} command appeared: helper allowing to create
375 minimalistic stripped down configuration file without private keys, that
376 is useful during @command{nncp-xfer} usage.
383 @item Fixed compatibility with Go 1.6.
391 @strong{Incompatible} packet's format change (magic number is changed
392 too): size field is encrypted and is not send in plaintext anymore.
395 @option{-minsize} option gives ability to automatically pad outgoing
396 packets to specified minimal size.
399 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
400 always check new @emph{tx} packets appearance in the background while
401 connected. Remote side is immediately notified.
404 @option{-onlinedeadline} option gives ability to configure timeout of
405 inactivity of online connection, when it could be disconnected. It could
406 be used to keep connection alive for a long time.
409 @option{-maxonlinetime} option gives ability to set maximal allowable
410 online connection aliveness time.
413 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
416 @command{nncp-pkt} command can decompress the data.