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 Ability to override process umask through configuration file option.
38 Files and directories are created with 666/777 permissions by default,
39 allowing control with @command{umask}.
45 Full usage of go modules for dependencies management
46 (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
49 Forbid any later GNU GPL version autousage
50 (project's licence now is GNU GPLv3-only).
57 @item Workability on GNU/Linux systems and Go 1.10 is fixed.
65 @strong{Incompatible} encrypted and eblob packet format change: AEAD
66 encryption mode with 128 KiB blocks is used now, because previously
67 @command{nncp-toss} did not verify encrypted packet's MAC before feeding
68 decrypted data to external command. Older versions are not supported.
71 Available free space checking before copying in @command{nncp-xfer},
72 @command{nncp-daemon}, @command{nncp-call(er)}.
75 @command{nncp-call} has ability only to list packets on remote node,
76 without their transmission.
79 @command{nncp-call} has ability to transfer only specified packets.
82 Workability of @option{xxrate} preference in @option{calls}
83 configuration file section.
86 Dependant libraries are updated.
92 Begin using of @code{go.mod} subsystem.
99 @item @command{nncp-daemon} can be run as @command{inetd}-service.
107 @command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
108 if @file{.seen} exists and treat it like file was already downloaded.
109 Possibly it was transferred out-of-bound and remote side needs to be
113 If higher priority packet is spooled, then @command{nncp-daemon} will
114 queue its sending first, interrupting lower priority transmissions.
117 Simple packet rate limiter added to online-related tools
118 (@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
121 Ability to specify niceness with symbolic notation:
122 @verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
125 Changed default niceness levels:
126 for @command{nncp-exec} from 64 to 96,
127 for @command{nncp-freq} from 64 to 160,
128 for @command{nncp-file} from 196 to 224.
136 @strong{Incompatible} @emph{bundle} archive format changes and
137 @command{nncp-bundle} workability with Go 1.10+. Bundles must be
138 valid tar archives, but Go 1.9 made them invalid because of long paths
139 inside. NNCP accidentally was dependant on that bug. Explicit adding of
140 @file{NNCP/} directory in archive restores workability with valid tar
148 Ability to disable relaying at all using @verb{|-via -|} command line option.
156 @strong{Incompatible} plain packet format changes. Older versions are
160 Ability to queue remote command execution, by configuring @option{exec}
161 option in configuration file and using @command{nncp-exec} command:
164 @command{nncp-mail} command is replaced with more flexible
165 @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
166 you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
168 @option{sendmail} configuration file option is replaced with
169 @option{exec}. @verb{|sendmail: [...]|} must be replaced with
170 @verb{|exec: sendmail: [...]|}.
174 Ability to override @option{via} configuration option for destination
175 node via @option{-via} command line option for following commands:
176 @command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
179 Chunked files, having size less than specified chunk size, will be sent
180 as an ordinary single file.
183 Exec commands are invoked with additional @env{NNCP_NICE} and
184 @env{NNCP_SELF} environment variables.
187 Files, that are sent as a reply to freq, have niceness level taken from
188 the freq packet. You can set desired niceness during @command{nncp-freq}
189 invocation using @option{-replynice} option.
192 @command{nncp-toss} command can ignore specified packet types during
193 processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
197 @command{nncp-file} command uses
198 @option{FreqMinSize}/@option{FreqChunked} configuration file options
199 for @option{-minsize}/@option{-chunked} by default. You can turn this
200 off by specifying zero value.
209 @strong{Incompatible} encrypted/eblob packet format changes. Older
210 versions are not supported.
213 Twofish encryption algorithm is replaced with ChaCha20. It is much more
214 faster. One cryptographic primitive less.
217 HKDF-BLAKE2b-256 KDF algorithm is replaced with BLAKE2Xb XOF. Yet
218 another cryptographic primitive less (assuming that BLAKE2X is nearly
219 identical to BLAKE2).
228 @strong{Incompatible} encrypted packet format changes. Older versions
232 @command{nncp-bundle} command can either create stream of encrypted
233 packets, or digest it. It is useful when dealing with stdin/stdout based
234 transmission methods (like writing to CD-ROM without intermediate
235 prepared ISO image and working with tape drives).
238 @command{nncp-toss} is able to create @file{.seen} files preventing
239 duplicate packets receiving.
242 Single background checksum verifier worker is allowed in
243 @command{nncp-call}. This is helpful when thousands of small inbound
244 packets could create many goroutines.
247 Ability to override path to spool directory and logfile through either
248 command line argument, or environment variable.
251 @command{nncp-rm} is able to delete outbound/inbound, @file{.seen},
252 @file{.part}, @file{.lock} and temporary files.
257 @section Release 0.12
259 @item Sendmail command is called with @env{NNCP_SENDER} environment variable.
263 @section Release 0.11
265 @item @command{nncp-stat}'s command output is sorted by node name.
269 @section Release 0.10
272 @command{nncp-freq}'s @file{DST} argument is optional now. Last
273 @file{SRC} path's element will be used by default.
280 Fix @option{-rx}/@option{-tx} arguments processing in
281 @command{nncp-call} command. They were ignored.
288 Little bugfix in @command{nncp-file} command, where @option{-minsize}
289 option for unchunked transfer was not in KiBs, but in bytes.
297 Ability to feed @command{nncp-file} from stdin, that uses an encrypted
298 temporary file for that.
301 Chunked files transmission appeared with corresponding
302 @command{nncp-reass} command and @option{freqchunked} configuration file
303 entry. Useful for transferring big files over small storage devices.
306 @option{freqminsize} configuration file option, analogue to
307 @option{-minsize} one.
310 @command{nncp-xfer}'s @option{-force} option is renamed to
311 @option{-mkdir} for clarity.
314 @option{-minsize} option is specified in KiBs, not bytes, for
318 @command{nncp-newcfg} command is renamed to @command{nncp-cfgnew},
319 and @command{nncp-mincfg} to @command{nncp-cfgmin} -- now they have
320 common prefix and are grouped together for convenience.
323 @command{nncp-cfgenc} command appeared, allowing configuration file
324 encryption/decryption, for keeping it safe without any either OpenPGP or
328 Cryptographic libraries (dependencies) are updated.
335 @item Small @command{nncp-rm} command appeared.
336 @item Cryptographic libraries (dependencies) are updated.
343 Trivial small fix in default niceness level of @command{nncp-file}
344 and @command{nncp-freq} commands.
352 Small fix in @command{nncp-call}, @command{nncp-caller},
353 @command{nncp-daemon}: they can segmentation fail sometimes (no data is
357 @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is shorter
358 and more convenient to use.
361 @command{nncp-mincfg} command appeared: helper allowing to create
362 minimalistic stripped down configuration file without private keys, that
363 is useful during @command{nncp-xfer} usage.
370 @item Fixed compatibility with Go 1.6.
378 @strong{Incompatible} packet's format change (magic number is changed
379 too): size field is encrypted and is not send in plaintext anymore.
382 @option{-minsize} option gives ability to automatically pad outgoing
383 packets to specified minimal size.
386 @command{nncp-daemon} and @command{nncp-call}/@command{nncp-caller}
387 always check new @emph{tx} packets appearance in the background while
388 connected. Remote side is immediately notified.
391 @option{-onlinedeadline} option gives ability to configure timeout of
392 inactivity of online connection, when it could be disconnected. It could
393 be used to keep connection alive for a long time.
396 @option{-maxonlinetime} option gives ability to set maximal allowable
397 online connection aliveness time.
400 @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
403 @command{nncp-pkt} command can decompress the data.