ncdc 1.25

This commit is contained in:
Yorhel 2025-03-04 18:45:21 +01:00
parent 5acc8eee92
commit aab7836077
28 changed files with 149 additions and 33 deletions

View file

@ -14,10 +14,10 @@ or doesn't work as you had expected. Whether I will actually fix it depends on
the nature of the bug, of course, but I do very much value stable and reliable
software.
**Feature requests** are welcome, but I tend to not act on most of them and may
sometimes outright reject a feature if it seems out of scope. It's still good
to have a list of potential features to work on if I feel like making myself
useful, so new ideas are nonetheless appreciated.
**Feature requests** are welcome, but I tend to not act on most of them and
often reject features that seem out of scope. It's still good to have a list of
potential features to work on if I feel like making myself useful, so new ideas
are nonetheless appreciated.
Feel free to send **patches** and **pull requests** for **trivial fixes** for
simple bugs, documentation issues, typos, etc. If the change is trivial to

View file

@ -17,6 +17,9 @@ respective issue tracker or send a mail to
# Entries
`2025-02-16` - ~
: ncdu is a great app. Keep up the great efforts! Respect from Canada! - Adeel Khan at Awake and Shangrila-VHP
`2025-01-12` - alkatraz445
: Absolutely lovely tool. Did the thing fast and quit even quicker. Instant recommendation

View file

@ -10,6 +10,12 @@ crap I've written over the years. :)
<!-- These announcements are parsed by mkfeed.pl, see that file for formatting -->
## Announcements <a href="/feed.atom"><img src="/img/feed_icon.png" alt="Atom feed"></a>
`2025-03-04` - ncdc 1.25 released <!-- tags: ncdc, link: /ncdc -->
: Adds support for IP to country lookups through
[libloc](https://www.ipfire.org/location/), as a more free alternative to
the MaxMind country database. [Homepage](/ncdc) -
[Changelog](/ncdc/changes).
`2024-11-19` - ncdu 2.7 released <!-- tags: ncdu, link: /ncdu -->
: Adds support for transparent compression for JSON import and export, tilde
expansion in the config file, new `--export-block-size` and `--compress`

View file

@ -5,14 +5,14 @@ Ncdc is a lightweight direct connect client with a friendly ncurses interface.
## Get ncdc! <a href="/ncdc/feed.atom"><img src="/img/feed_icon.png" alt="Atom feed"></a>
Latest version
: 1.24.1 (2024-07-18 - [ncdc-1.24.1.tar.gz](/download/ncdc-1.24.1.tar.gz)
: 1.25 (2025-03-04 - [ncdc-1.25.tar.gz](/download/ncdc-1.25.tar.gz)
\- [changes](https://dev.yorhel.nl/ncdc/changes))
Convenient static binaries for Linux:
[x86-64](/download/ncdc-linux-x86_64-1.24.tar.gz) -
[i486](/download/ncdc-linux-i486-1.24.tar.gz) -
[ARM](/download/ncdc-linux-arm-1.24.tar.gz) -
[AArch64](/download/ncdc-linux-aarch64-1.24.tar.gz). Check the
[x86-64](/download/ncdc-linux-x86_64-1.25.tar.gz) -
[i486](/download/ncdc-linux-i486-1.25.tar.gz) -
[ARM](/download/ncdc-linux-arm-1.25.tar.gz) -
[AArch64](/download/ncdc-linux-aarch64-1.25.tar.gz). Check the
[installation instructions](/ncdc/install) for more info.
Development version
@ -31,6 +31,10 @@ Community
- `adcs://dc.blicky.net:2780/` - For real-time chat.<br>
<small>TLS fingerprint as of 2024-10-04 is 5ZFSEGG26HUYZ7NXD6BARU6JHGLF7WNCP3LNYEFACMPRDFJKUEVA.</small>
Project Status
: Passive maintenance. No active development has been happening for a while,
but I'm still around to implement fixes and the occasional feature update.
Packages and ports
: Are available for the following systems:
[Arch Linux](https://aur.archlinux.org/packages/ncdc/) -
@ -83,11 +87,12 @@ And special features not commonly found in other clients:
Since the above list is getting larger and larger every time, it may be more
interesting to list a few features that are (relatively) common in other DC
clients, but which ncdc doesn't do. Yet.
clients, but which ncdc doesn't do.
- NAT Traversal,
- OP features (e.g. client detection, file list scanning and other useful stuff for OPs),
- SOCKS support.
Of course, there are many more features that could be implemented or improved.
These will all be addressed in later versions (hopefully :).
Of course, there are many more features that could be implemented or improved,
but given development is currently kind of dead, there's a good chance none of
it will happen anytime soon.

View file

@ -27,10 +27,10 @@ this page are of course highly welcomed as well. :-)
If you just want to get ncdc running without going through the trouble of
compiling and/or installing it, I also offer statically linked binaries:
- [Linux, x86-64](/download/ncdc-linux-x86_64-1.24.tar.gz)
- [Linux, i486](/download/ncdc-linux-i486-1.24.tar.gz)
- [Linux, ARM](/download/ncdc-linux-arm-1.24.tar.gz)
- [Linux, AArch64](/download/ncdc-linux-aarch64-1.24.tar.gz)
- [Linux, x86-64](/download/ncdc-linux-x86_64-1.25.tar.gz)
- [Linux, i486](/download/ncdc-linux-i486-1.25.tar.gz)
- [Linux, ARM](/download/ncdc-linux-arm-1.25.tar.gz)
- [Linux, AArch64](/download/ncdc-linux-aarch64-1.25.tar.gz)
To use them, simply download and extract the tarball, and then run `./ncdc` on
the command line.
@ -42,6 +42,9 @@ architecture, please bug me and I'll see what I can do.
# System-specific instructions
(These instructions have not been tested in a long time, there's a good chance
they may not work anymore)
## Android
An [convenient installer](http://code.ivysaur.me/ncdcinstaller.html) is
@ -88,9 +91,9 @@ Ncdc is available in [Homebrew](https://formulae.brew.sh/formula/ncdc).
Compile & install from source:
doas pkg_add -i glib2
ftp https://dev.yorhel.nl/download/ncdc-1.24.1.tar.gz
tar zxvf ncdc-1.24.1.tar.gz
cd ncdc-1.24.1
ftp https://dev.yorhel.nl/download/ncdc-1.25.tar.gz
tar zxvf ncdc-1.25.tar.gz
cd ncdc-1.25
./configure NCURSES_CFLAGS="-lncurses" NCURSES_LIBS="-lncursesw"\
CPPFLAGS="-I/usr/include -I/usr/local/include"\
LDFLAGS="-L/usr/lib -L/usr/local/lib"
@ -107,9 +110,9 @@ First install some required packages (as root):
Then, fetch the ncdc source tarball, extract and build as follows:
wget https://dev.yorhel.nl/download/ncdc-1.24.1.tar.gz
tar -xf ncdc-1.24.1.tar.gz
cd ncdc-1.24.1
wget https://dev.yorhel.nl/download/ncdc-1.25.tar.gz
tar -xf ncdc-1.25.tar.gz
cd ncdc-1.25
export PATH="$PATH:/usr/perl5/5.10.0/bin"
./configure --prefix=/usr LDFLAGS='-L/usr/gnu/lib -R/usr/gnu/lib'
make
@ -140,9 +143,9 @@ install the required libraries:
Then run the following commands to download and install ncdc:
wget https://dev.yorhel.nl/download/ncdc-1.24.1.tar.gz
tar -xf ncdc-1.24.1.tar.gz
cd ncdc-1.24.1
wget https://dev.yorhel.nl/download/ncdc-1.25.tar.gz
tar -xf ncdc-1.25.tar.gz
cd ncdc-1.25
./configure --prefix=/usr
make
sudo make install
@ -168,8 +171,8 @@ website](http://cygwin.com/) and use it to install the following packages:
Then open a Cygwin terminal and run the following commands to download,
compile, and install ncdc:
wget https://dev.yorhel.nl/download/ncdc-1.24.1.tar.gz
tar -xf ncdc-1.24.1.tar.gz
cd ncdc-1.24.1
wget https://dev.yorhel.nl/download/ncdc-1.25.tar.gz
tar -xf ncdc-1.25.tar.gz
cd ncdc-1.25
./configure --prefix=/usr
make install

View file

@ -501,7 +501,7 @@ Tell the OS to flush the file (disk) cache for file contents read while hashing
=item B<geoip_cc> <path>|disabled
Path to the GeoIP2 Country database file (GeoLite2-Country.mmdb), or 'disabled' to disable GeoIP lookups. The database can be downloaded from https://dev.maxmind.com/geoip/geoip2/geolite2/.
Path to the GeoIP2 Country database file (GeoLite2-Country.mmdb), or 'disabled' to disable GeoIP lookups through maxmind. The database can be downloaded from https://dev.maxmind.com/geoip/geoip2/geolite2/.
=item B<hash_rate> <speed>
@ -521,6 +521,10 @@ Specifies the address of the local network interface to use for connecting to th
If no IPv4 address is specified, '0.0.0.0' is added automatically. Similarly, if no IPv6 address is specified, '::' is added automatically. The address that is actually used depends on the IP version actually used. That is, if you're on an IPv6 hub, then ncdc will listen on the specified IPv6 address. Note that, even if the hub you're on is on IPv6, ncdc may still try to connect to another client over IPv4, at which point the socket will be bound to the configured IPv4 address.
=item B<location_db> <path>|disabled
Path to the IPFire location database, or 'disabled' to disable GeoIP lookups through libloc. The database can be downloaded from https://www.ipfire.org/location/install.
=item B<log_debug> <boolean>
Log debug messages to stderr.log in the session directory. It is highly recommended to enable this setting if you wish to debug or hack ncdc. Be warned, however, that this may generate a lot of data if you're connected to a large hub.
@ -994,7 +998,7 @@ see the same uploaded file several times with a different file offset.
=head1 LICENSE
Copyright (C) Yoran Heling <projects@yorhel.nl>
Copyright (C) Yorhel <projects@yorhel.nl>
ncdc is distributed under the MIT license, please read the COPYING file for
more information.
@ -1008,6 +1012,6 @@ support and discussions.
=head1 AUTHOR
ncdc is written by Yoran Heling <projects@yorhel.nl>
ncdc is written by Yorhel <projects@yorhel.nl>
Web: L<https://dev.yorhel.nl/ncdc>

View file

@ -16,7 +16,7 @@ for (split /\n\n/, join '', grep !/^#/, <>) {
print "\n";
for (split /\r?\n\s+-\s+/) {
s/([*_\\])/\\$1/g;
s/([*_\\])/\\$1/g if !/`/;
s/--/\\--/g if !/`/;
print " - $_\n" if $_;
}

View file

@ -9,7 +9,7 @@ my $cgi = CGI::Minimal->new;
die if $cgi->truncated;
my $msg = $cgi->param('message');
my $spam = $msg =~ /<a href/;
my $spam = $msg =~ /<a href/ || $msg =~ /^katana/;
if (!$spam) {
open my $S, '|-', qw'/usr/sbin/sendmail -t -f dev@yorhel.nl' or die $!;

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmfHOhoACgkQYjlMaYwn
OfqoNBAAtrwMv5E7v6IeoUu9UXO6zS5nGiMV4OFcBSf6q2gLz5WmJs7rGGjVmj9B
Dj21P1msNX4PZLk8G+AoRPsCGqP7lQ1mVSug1OD2e8hDBGO3uk5tgFEP5BDZ7qUP
z4qAB4pVy4MVckPoWtf6l4ysf27HSIYPRWzxTUDFkWJ0FBjGQ4nc72zO4LQ9Jhtt
Zet3HbjCkMXC1m7RNHq6bibBizF4LKKp+QaExVM1lG05ug52Hz/0P5ETwGx0X67X
25nieztA6jnNqxeYN8MG+HPr37uibma95/VryDpHinpCap3d1C+bY6oj0DdWwUFA
2MeJ0nD6BCpEbwXrMg8Ifuw9p+ob7hFqQ3uEkNgYhGkCgCL33m24T/4wvKbmn8hU
pJFIxphWBuysx8ho8y00nSYgcCFcAPtRDSudR0bpZsr2aQLOSLp7sxt/qaqvR7L0
NgpP+B5fmcuV9TpSYF7pCaidHOVcgGjfrTKXofAuU9DhLPGgTUjZheJ+wuZEu4bo
i4LFHvCOfQecfuf1lXrlse+1rqB9qpF1NtLNw6vFQjSSl7H3e1LEWW8xvKqPK/Pd
izLP9Dotupe9YP1935GZPf2IawhdkKsyOa+VgkZmp/3N9nVRcRtNA+irS1ju/01i
+YCf8OIEYKLd7xvZirPkehwGVdAy1wWbrspPSi5TaBnvTd9YDa4=
=QQdb
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
00de1bf7926c3f29a0ca4ea85a96e562 ncdc-1.25.tar.gz

View file

@ -0,0 +1 @@
41270b6151184ecba2e016a84cfd08a678e50c41 ncdc-1.25.tar.gz

View file

@ -0,0 +1 @@
b9be58e7dbe677f2ac1c472f6e76fad618a65e2f8bf1c7b9d3d97bc169feb740 ncdc-1.25.tar.gz

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmfHOhwACgkQYjlMaYwn
OfrhCxAAw0GIwc8sjKgXvtDy8OAA/s29HKOE7dKZhOg+L0mNiEms5X8uLWP26jLT
e4ycy2a9XcNCFhsZsM5IAt1iKHAyo7sMwPdDPJaStch9T7XIYJq2tcgf2KN7LsE6
bfV1njTUbmfB1a9TRqhg6FxMZawmouXdnphRH8PzPYRVHKyWZoER4KUzAIxXtvy8
xNsV+AwxSoqhDDW3dok5+D/0L6/uidTAF8rCak73VpXAc7dnaiLa8wC9HcEFui6Z
EsJ2b2EmPmg+6OqKsmoxpLd2kFBBcU4ARhlHP1Qjc6NV56BpL02GN/GstZkku2ID
rPdf9n2rDXC0bF6rtFDHH4wFTBe9M0VSwbwfaUMM9jNuHJbrKBa/Amw3lS65ngXS
Ao0VFnlEXEJSfSp450E6hm5tCeoq8mHVEOLpDIwHPOqTvRXZgYBuF+lPGGuCPMvy
VStgwp/oaTU3H8DInsuHXZa24rWfWylXQF+Va2xvmPWOnwBziLLM+jKa7vFUpCvp
fqp7iICpvzJ/6qCBe+xWWe0cuzoTMBLX21/yZNXQjFVSniJvkiPyjLomignY5/6u
MJTRRyes1tdxoeZMDki5vsnirIoSCzVy0vHRxKoLp1eV2nold3Ge3jcFlaXWrAeH
Xu07wh+sCMPrUsT1UIw8umMvanYHJ1iU/t1EBw5zyDMgpr/bT1c=
=t4fG
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
5da2384450950dcbad7828ecc82bd573 ncdc-linux-aarch64-1.25.tar.gz

View file

@ -0,0 +1 @@
ee1a4e9981df722d8fdeca3ae5f2315c8cc60e68 ncdc-linux-aarch64-1.25.tar.gz

View file

@ -0,0 +1 @@
f4a1ab32acab2feb85de42f24d0a9ce4d298d83dc49a0cfa90acb1b7cf5e2818 ncdc-linux-aarch64-1.25.tar.gz

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmfHOhwACgkQYjlMaYwn
Ofp4ww//Q0gXD14LHmTUELzcYVUGhbBRPzrwHcUnWf8UR+yuUEc/usB2N3uwuQst
QDiIHqO3G62cnkOJYc1s3VknH+ccGDvwN1FWiw9B7N4lMcLm81p0aHwBAhE0/5Dr
3yicaAWfvVelOEfsXDGhZqJ2afhEavtX9KoV95m25HVtDIhTn6vtnaZRa4QoWIsT
STxkH2mC4QgX8B+/YW5WFHmLrOQx+6oyvlvuzwPUPA5/wTXWqLvcWBpIxJOhvlmq
EPRfi0ChokVvP1PFYFehAUkYJVR9NVvkt4L0oc5vXJn4WEJjChNqfEab0oRt0oJZ
jWJbnWJYJEROwp+L0ikizjuDdrX3qHf5QAr7+44iP+qTw+nX+trpoaRLhanFQi+O
4YOrrVz9jBDwf8SActuIJVBdO8agqs2aPAe9HXS3sA2AvfV2kiImkNPgX9P83lxJ
SDTRmUwj/MQ5iSLrL45leJUu4UA26y0JUi5ZGOCODMd110W+C9TnFnmgYTVg/liF
OV/HTy7z8wnSOboF50bcrIBCwjQfEhsVcNx4bFXvaJeyx3YY0K8xnur8/VW7NRU7
yKBJTDJqIUd8W3F/RAXg4ecqnzpq6wqcAl+03XdHSdp3dSYbP+gc9hj4UAoUOvow
J1sayL+xiUBMS7AmmLmScporg5Etq6107GYxgyskmS+G/w5abD8=
=q0Ep
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
f8f3f30985f0f31e382c7fc76dcc9fe3 ncdc-linux-arm-1.25.tar.gz

View file

@ -0,0 +1 @@
718bc33e93a4755982bab960af4068bd41a98f4a ncdc-linux-arm-1.25.tar.gz

View file

@ -0,0 +1 @@
2bbf7cf8285462982d60ca3cf3095822f3f7fa97438e0a5bf317f46bf8788f06 ncdc-linux-arm-1.25.tar.gz

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmfHOhwACgkQYjlMaYwn
OfpXAQ//WaX+EADIv8kzg5K6/eNISTvzvUtJtwD/dEpcU6fjbtAzrMUo+itPd486
bc3b5+nhsYbxxQE70B5fC592b8ptSaoVgS7snk0kgK01YwqAsSp4Ugihe93sePB9
zM1THcCV0AJ3KLYy/GHTFT7Y7q+CzMHdwpsBB66hMcvcgBl9WiR5DgWhkkVdBuDG
qX9z4nnZ0zfSxhEDwrVD6LcEXkG/kV5TfmRtpOSTzsFBm2LWF6UNMq9mE+3w5nOw
6xKLR+8QCqAjbHVrxdB5LT4cliSZdbXKgpTAD8Xd6eer4Fck8mx68URa/qcNt3dV
sh8wr3IUM0elBiUcUv/AFeRNpbO69Gg3oPjWYybf2jXFLNHef7XFvUgQW3LpWPdk
n+vF5aW9ajYwQRXEM+5EcxojGrUtDQcL8Ce6OslbmJngCtAuDp/Nx6nLbfk5PB9K
CMBYLFfwlPMVVcxf5meUG4nCjVPlwjWNjyHVl+JLjqK7u6nh4B89mBoBHSOlTKan
jwkrU+BaOW49USHu8k8+4gsBSezDK6EOpOriDb4hbkZ3hR/xUHzaTkvXOMzeuBKb
V8I/1gj5HhZ0EWlSY1nfSexL06pY6TrtYOkHrS4FPu24/hSkoGrd2Ibm/JLgRbui
udwYlI64L7g/velzBmwTSJFJSdbcocoPeUwx6eyfhuvpVZBePVI=
=nHZA
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
b933735e4eb917dbbc5ccecdc09f930e ncdc-linux-i486-1.25.tar.gz

View file

@ -0,0 +1 @@
7a4600481de246010626bb69b32239016498f755 ncdc-linux-i486-1.25.tar.gz

View file

@ -0,0 +1 @@
7ff8d42771623fa0ee6fcc27963d7205e8630d67709341e665386cd0f89b0ea1 ncdc-linux-i486-1.25.tar.gz

View file

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEdEYNMrgIEOupr6LpYjlMaYwnOfoFAmfHOhwACgkQYjlMaYwn
OfrqOA//dx7lWn9MzTqgouH6S3yueYknFCZthGjPx685XA/8h8gCbwgF6qPkWAOk
WwJh3NrjRXgiwXNAquKZtzrRzB+zhizcMK3Tna1E+aA8qWMBGKtLvu/HfqiHUO3R
IIMze/dwrnid2OgpCFsoOxLm0vLABrB1nFciIuBpuzIF7RP8Lho0wHUESWCRhyMP
e/ec0DPfBqVTGYs80e50vRCiLGIdYzR1Vg6hfetsqVbvSJ+Nf+amnoRwVwyVXrp4
7lDfOAe0pm0mZktmCW/cdKY5YbXlBmh2sQ1fyfbTSocy4The5+Hfiw19cqKoVVdC
Y/N9A3srn4Qvfy3YmXVtyLqEXEkl1l8aaN5+tRqKKcwPtm1FnMVPUBAsKmxUa1dr
ishD0kilqaeVknwXREA+f5cP4MWUa3xgP7/8//vf8VDh8SZqqTr/vHKNXmM/OeD4
027iJC2vWSL43XLgkenV8849SbWpAUps7APWhBCnV3Lg6t82qif4jrVkNZtwEFrL
YEKKl7Ie5BhBQ6NySIZj/KsOcPcsPW7+iK78PQB0H02KvWcbEYC2GLMrdJg2uK0h
nZIQW0hhakkK/iK2kZaXnza9MTrGorgbPHQN4YlcYYtP4VkChLpaUF++9LZ3mAzz
ngVOySM2JV83srwxm9Atr4s7zMPoqMyNvAK+6OuXZm9hiMS9F20=
=W6cV
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
67b877cde9470a2cf0dca0cfe1dceffb ncdc-linux-x86_64-1.25.tar.gz

View file

@ -0,0 +1 @@
661beb96ba9964940df0d3025faf8a7d42bd01b2 ncdc-linux-x86_64-1.25.tar.gz

View file

@ -0,0 +1 @@
f95d8443bee7cf4a063a48fef9ba6828770b2031c9696da1b34296897d66400c ncdc-linux-x86_64-1.25.tar.gz