4 See also this page @ref{Новости, on russian}.
11 @strong{Incompatible} configuration file format change: YAML is
12 replaced with Hjson, due to its simplicity, without noticeable lack
13 of either functionality or convenience.
16 @strong{Incompatible} plain packet format changes. Older versions are
17 not supported. @code{zlib} compression is replaced with
18 @code{Zstandard}, due to its speed and efficiency, despite library
19 version is not mature enough.
22 Ability to call remote nodes via pipe call of external command, not only
26 @command{nncp-cfgnew} generates configuration file with many
27 comments. @option{-nocomments} option can be used for an old
31 Duplicate filenames have @file{.CTR} suffix, instead of @file{CTR}, to
32 avoid possible collisions with @file{.nncp.chunkCTR}.
35 Files and directories are created with 666/777 permissions by default,
36 allowing control with @command{umask}.
42 Full usage of go modules for dependencies management
43 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
46 Forbid any later GNU GPL version autousage
47 (project's licence now is GNU GPLv3-only).
54 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
62 @strong{Incompatible} encrypted and eblob packet format change: AEAD
63 encryption mode with 128 KiB blocks is used now, because previously
64 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
65 decrypted data to external command. Older versions are not supported.
68 Available free space checking before copying in @command{nncp-xfer},
69 @command{nncp-daemon}, @command{nncp-call(er)}.
72 @command{nncp-call} has ability only to list packets on remote node,
73 without their transmission.
76 @command{nncp-call} has ability to transfer only specified packets.
79 Workability of @option{xxrate} preference in @option{calls}
80 configuration file section.
83 Dependant libraries are updated.
89 Begin using of @code{go.mod} subsystem.
96 @item @command{nncp-daemon} can be run as @command{inetd}-service.
104 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
105 if @file{.seen} exists and treat it like file was already downloaded.
106 Possibly it was transferred out-of-bound and remote side needs to be
110 If higher priority packet is spooled, then @command{nncp-daemon} will
111 queue its sending first, interrupting lower priority transmissions.
114 Simple packet rate limiter added to online-related tools
115 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
118 Ability to specify niceness with symbolic notation:
119 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
122 Changed default niceness levels:
123 for @command{nncp-exec} from 64 to 96,
124 for @command{nncp-freq} from 64 to 160,
125 for @command{nncp-file} from 196 to 224.
133 @strong{Incompatible} @emph{bundle} archive format changes and
134 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
135 valid tar archives, but Go 1.9 made them invalid because of long paths
136 inside. NNCP accidentally was dependant on that bug. Explicit adding of
137 @file{NNCP/} directory in archive restores workability with valid tar
145 Ability to disable relaying at all using @verb{|-via -|} command line option.
153 @strong{Incompatible} plain packet format changes. Older versions are
157 Ability to queue remote command execution, by configuring @option{exec}
158 option in configuration file and using @command{nncp-exec} command:
161 @command{nncp-mail} command is replaced with more flexible
162 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
163 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
165 @option{sendmail} configuration file option is replaced with
166 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
167 @verb{|exec: sendmail: [...]|}.
171 Ability to override @option{via} configuration option for destination
172 node via @option{-via} command line option for following commands:
173 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
176 Chunked files, having size less than specified chunk size, will be sent
177 as an ordinary single file.
180 Exec commands are invoked with additional @env{NNCP_NICE} and
181 @env{NNCP_SELF} environment variables.
184 Files, that are sent as a reply to freq, have niceness level taken from
185 the freq packet. You can set desired niceness during @command{nncp-freq}
186 invocation using @option{-replynice} option.
189 @command{nncp-toss} command can ignore specified packet types during
190 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
194 @command{nncp-file} command uses
195 @option{FreqMinSize}/@option{FreqChunked} configuration file options
196 for @option{-minsize}/@option{-chunked} by default. You can turn this
197 off by specifying zero value.
206 @strong{Incompatible} encrypted/eblob packet format changes. Older
207 versions are not supported.
210 Twofish encryption algorithm is replaced with ChaCha20. It is much more
211 faster. One cryptographic primitive less.
214 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
215 another cryptographic primitive less (assuming that BLAKE2X is nearly
216 identical to BLAKE2).
225 @strong{Incompatible} encrypted packet format changes. Older versions
229 @command{nncp-bundle} command can either create stream of encrypted
230 packets, or digest it. It is useful when dealing with stdin/stdout based
231 transmission methods (like writing to CD-ROM without intermediate
232 prepared ISO image and working with tape drives).
235 @command{nncp-toss} is able to create @file{.seen} files preventing
236 duplicate packets receiving.
239 Single background checksum verifier worker is allowed in
240 @command{nncp-call}. This is helpful when thousands of small inbound
241 packets could create many goroutines.
244 Ability to override path to spool directory and logfile through either
245 command line argument, or environment variable.
248 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
249 @file{.part}, @file{.lock} and temporary files.
254 @section Release 0.12
256 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
260 @section Release 0.11
262 @item @command{nncp-stat}'s command output is sorted by node name.
266 @section Release 0.10
269 @command{nncp-freq}'s @file{DST} argument is optional now. Last
270 @file{SRC} path's element will be used by default.
277 Fix @option{-rx}/@option{-tx} arguments processing in
278 @command{nncp-call} command. They were ignored.
285 Little bugfix in @command{nncp-file} command, where @option{-minsize}
286 option for unchunked transfer was not in KiBs, but in bytes.
294 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
295 temporary file for that.
298 Chunked files transmission appeared with corresponding
299 @command{nncp-reass} command and @option{freqchunked} configuration file
300 entry. Useful for transferring big files over small storage devices.
303 @option{freqminsize} configuration file option, analogue to
304 @option{-minsize} one.
307 @command{nncp-xfer}'s @option{-force} option is renamed to
308 @option{-mkdir} for clarity.
311 @option{-minsize} option is specified in KiBs, not bytes, for
315 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
316 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
317 common prefix and are grouped together for convenience.
320 @command{nncp-cfgenc} command appeared, allowing configuration file
321 encryption/decryption, for keeping it safe without any either OpenPGP or
325 Cryptographic libraries (dependencies) are updated.
332 @item Small @command{nncp-rm} command appeared.
333 @item Cryptographic libraries (dependencies) are updated.
340 Trivial small fix in default niceness level of @command{nncp-file}
341 and @command{nncp-freq} commands.
349 Small fix in @command{nncp-call}, @command{nncp-caller},
350 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
354 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
355 and more convenient to use.
358 @command{nncp-mincfg} command appeared: helper allowing to create
359 minimalistic stripped down configuration file without private keys, that
360 is useful during @command{nncp-xfer} usage.
367 @item Fixed compatibility with Go 1.6.
375 @strong{Incompatible} packet's format change (magic number is changed
376 too): size field is encrypted and is not send in plaintext anymore.
379 @option{-minsize} option gives ability to automatically pad outgoing
380 packets to specified minimal size.
383 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
384 always check new @emph{tx} packets appearance in the background while
385 connected. Remote side is immediately notified.
388 @option{-onlinedeadline} option gives ability to configure timeout of
389 inactivity of online connection, when it could be disconnected. It could
390 be used to keep connection alive for a long time.
393 @option{-maxonlinetime} option gives ability to set maximal allowable
394 online connection aliveness time.
397 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
400 @command{nncp-pkt} command can decompress the data.