From e5fe5c859af9c2a0ae5071b0761afe247f31ba0a Mon Sep 17 00:00:00 2001 From: Yorhel Date: Mon, 5 Nov 2012 10:13:10 +0100 Subject: [PATCH] ncdc 1.14 released --- dat/ncdc | 12 +++++--- dat/ncdc-changelog | 9 ++++++ dat/ncdc-install | 24 +++++++-------- dat/ncdc-man | 55 +++++++++++++++++++++++++++++++++- download/ncdc-1.14.tar.gz.asc | 17 +++++++++++ download/ncdc-1.14.tar.gz.md5 | 1 + download/ncdc-1.14.tar.gz.sha1 | 1 + index.cgi | 1 + 8 files changed, 103 insertions(+), 17 deletions(-) create mode 100644 download/ncdc-1.14.tar.gz.asc create mode 100644 download/ncdc-1.14.tar.gz.md5 create mode 100644 download/ncdc-1.14.tar.gz.sha1 diff --git a/dat/ncdc b/dat/ncdc index 476ec91..3ee184d 100644 --- a/dat/ncdc +++ b/dat/ncdc @@ -10,17 +10,21 @@ ncurses interface. =item Latest version -1.13 ([dllink ncdc-1.13.tar.gz download] +1.14 ([dllink ncdc-1.14.tar.gz download] - L - L) Convenient static binaries for Linux: -L<64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.13.tar.gz> - -L<32-bit|http://dev.yorhel.nl/download/ncdc-linux-i486-1.13.tar.gz> - -L. +L<64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.14.tar.gz> - +L<32-bit|http://dev.yorhel.nl/download/ncdc-linux-i486-1.14.tar.gz> - +L. Check the L for more info. +B Compilation against glib versions older than 2.26.0 is broken in the +1.14 release. Use the binaries above, compile the git version, or apply L if you are affected. + =item Development version The latest development version is available from git and can be cloned using diff --git a/dat/ncdc-changelog b/dat/ncdc-changelog index 1bd34bd..ad41ef5 100644 --- a/dat/ncdc-changelog +++ b/dat/ncdc-changelog @@ -1,3 +1,12 @@ +1.14 - 2012-11-04 + - Added BLOM support for ADC ('/hset adc_blom true' to enable it) + - Added section on connection settings to man page + - Fix incorrect char signedness assumption on ARM + - Fix possible crash when downloading small files + - Fix hub counts reported to the hub on login on ADC + - Fix local time display issue when built against musl (0.9.6) + - Removed legacy ncdc-db-upgrade utility + 1.13 - 2012-08-16 - zlib library added as a required dependency - Purge empty directories from share by default diff --git a/dat/ncdc-install b/dat/ncdc-install index e2d04c2..156a42a 100644 --- a/dat/ncdc-install +++ b/dat/ncdc-install @@ -38,11 +38,11 @@ compiling and/or installing it, I also offer statically linked binaries: =over -=item * L +=item * L -=item * L +=item * L -=item * L +=item * L =back @@ -119,9 +119,9 @@ First install some required packages (as root): Then, fetch the ncdc source tarball, extract and build as follows: - wget http://dev.yorhel.nl/download/ncdc-1.13.tar.gz - tar -xf ncdc-1.13.tar.gz - cd ncdc-1.13 + wget http://dev.yorhel.nl/download/ncdc-1.14.tar.gz + tar -xf ncdc-1.14.tar.gz + cd ncdc-1.14 export PATH="$PATH:/usr/perl5/5.10.0/bin" ./configure --prefix=/usr LDFLAGS='-L/usr/gnu/lib -R/usr/gnu/lib' make @@ -169,9 +169,9 @@ required libraries: Then run the following commands to download and install ncdc: - wget http://dev.yorhel.nl/download/ncdc-1.13.tar.gz - tar -xf ncdc-1.13.tar.gz - cd ncdc-1.13 + wget http://dev.yorhel.nl/download/ncdc-1.14.tar.gz + tar -xf ncdc-1.14.tar.gz + cd ncdc-1.14 ./configure --prefix=/usr make sudo make install @@ -213,8 +213,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 http://dev.yorhel.nl/download/ncdc-1.13.tar.gz - tar -xf ncdc-1.13.tar.gz - cd ncdc-1.13 + wget http://dev.yorhel.nl/download/ncdc-1.14.tar.gz + tar -xf ncdc-1.14.tar.gz + cd ncdc-1.14 ./configure --prefix=/usr make install diff --git a/dat/ncdc-man b/dat/ncdc-man index ebb100c..2ca9675 100644 --- a/dat/ncdc-man +++ b/dat/ncdc-man @@ -33,7 +33,6 @@ to setup some basic information and settings: And if you have a direct connection to the internet or if your router allows port forwarding, you may also want to enable active mode: - /set active_ip 13.33.33.7 /set active_port 34194 /set active true @@ -89,6 +88,56 @@ Display ncdc version. =back +=head1 GETTING CONNECTED + +As with most file sharing clients, ncdc supports two modes of being connected: +I and I. In passive mode (the default), you can connect to the +outside world but nobody can connect (directly) to you. When passive, you will +only be able to transfer files with people who are in active mode. In active +mode, however, you will have some port open to the rest of the network to which +other clients can connect. When active, you will be able to transfer files with +everyone and you may get more and faster search results. Configuring active +mode is therefore recommended. + +In many setups, all you need to do to switch to active mode is to set a TCP/UDP +port and enable the C setting: + + /set active_port 34194 + /set active true + +When you connect to a hub, the status bar will tell you whether you are active +or passive on that particular hub, and what IP address is being used to allow +others to connect to you. For most hubs, your IP address will be detected +automatically, but in the event that this fails, you can also set it yourself: + + /set active_ip 13.33.33.7 + +If you are behind a NAT or firewall, you have to ensure that the port you +configured is somehow allowed and/or forwarded. You have a lot of freedom in +configuring ports within ncdc: The C setting is used for +incoming UDP messages, the C setting is used for incoming +encrypted TCP connections, and the C setting is used as a default +for the other two and for all incoming and unencrypted connections. Unlike +other currently available Direct Connect clients, ncdc allows the TLS and TCP +port to be the same, which tends to ease NAT configuration. + +The C command can tell you which ports it expects to be forwarded, and +for which hubs these ports will be used. It only lists hubs on which you are +currently active, so the output will change when you open or close a hub +connection. + +If you have multiple network interfaces, you can force ncdc to use only a +single interface by setting the C setting to the address of that +interface. This affects both outgoing connections (they will be forced to go +through the configured interface) and incoming connections (the ports will be +bound to the configured interface). + +All of the previously mentioned settings can be set globally (with C) and +on a per-hub basis (with C). This allows you to be active on an internet +hub and a LAN-only hub at the same time. It also allows you to be active in one +hub while passive in another, or to use different ports for each hub. + + =head1 INTERACTIVE COMMANDS The following is the list of commands that can be used within ncdc. The /help @@ -339,6 +388,10 @@ The listen port for incoming TLS connections in active mode. Incoming TLS connec The listen port for incoming UDP connections in active mode. Defaults to the `active_port' setting, or to a random number of `active_port' is not set. +=item B + +Whether to support the BLOM extension on ADC hubs. This may decrease the bandwidth usage on the hub connection, in exchange for a bit of computational overhead. Some hubs require this setting to be enabled. This setting requires a reconnect with the hub to be active. + =item B Set to true to automatically connect to the current hub when ncdc starts up. diff --git a/download/ncdc-1.14.tar.gz.asc b/download/ncdc-1.14.tar.gz.asc new file mode 100644 index 0000000..ec0d0da --- /dev/null +++ b/download/ncdc-1.14.tar.gz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAABCgAGBQJQlkl2AAoJEGI5TGmMJzn6cHsQAL2Ck5RJ8WH8wVnSTaFJcNhO +4I0y59jv9WFSEM4/Q4+srga/vwJJLO0bKIYb8wgdjo+vaukONZsGsJc10L745asM +0uoxSaAnkkbcHmnwW+VU3NyNe+wj3W6s1wXj5MM1WbA4oZrBjolsKmxcLpyjYwC4 +d70RPWvOl7ktNrAMqLl5MSp531ouwXkiHg+LH8Ls+LjXGgm7WMCivZH5DQHKA7xc +X6oUuMOZ3hXV5JKypRVtIfWxLZjShi159i67ZprZCQBoBqCEt1rOYvmU1Lhl9RA5 +FcgkG568J5kLp6fo0fetqkAh3b5sB+b94MMhInluTNGjLHvYNUg/p2TRiLY4uuMz +9oKWIJzp58DrD1dqVt3FtSLXvQAMz0LAwWvwMhiCXed/ozjkQCRIhPRRmRL3wJwr +uEp5Bx08PnQAqpDVAaO3Jzp9/hIAqhcfYl6g53DLh8yZdRa7JhgtUreHF3uZ2Drt +NBbgqfjPYZ49IykJiZT+fqudD1/Tx9U1FpA3fxPptnjAbfkFh2NYDTjBCHtaYs0V +3W3yMkYXLMH3KftpmBBFFwgoRFCQ/OhRXqZo3UfExSsdlHytf221qNsoNvQ+2uvC +PQsAvDLZCCeL46il7vhG9qBj9ChnQxlnLb5N/tHthmwsp61UVP2fJU88BUkDVrP/ ++211TnHYzdrzKxnx9vJN +=C/XX +-----END PGP SIGNATURE----- diff --git a/download/ncdc-1.14.tar.gz.md5 b/download/ncdc-1.14.tar.gz.md5 new file mode 100644 index 0000000..db50fbf --- /dev/null +++ b/download/ncdc-1.14.tar.gz.md5 @@ -0,0 +1 @@ +c7a9f4ae51a561c1196456ae0b5718c3 ncdc-1.14.tar.gz diff --git a/download/ncdc-1.14.tar.gz.sha1 b/download/ncdc-1.14.tar.gz.sha1 new file mode 100644 index 0000000..1aaf233 --- /dev/null +++ b/download/ncdc-1.14.tar.gz.sha1 @@ -0,0 +1 @@ +ff2ae3107097ce4cd03862841421f157198217ea ncdc-1.14.tar.gz diff --git a/index.cgi b/index.cgi index 9d34cfb..83c3095 100755 --- a/index.cgi +++ b/index.cgi @@ -12,6 +12,7 @@ BEGIN { ($ROOT = abs_path $0) =~ s{index\.cgi$}{}; } my @changes = ( + [ '2012-11-04', '/ncdc', 'ncdc 1.14 released' ], [ '2012-10-17', '/dump', 'Added reference to my repo of small C libs to the code dump' ], [ '2012-10-07', '/dump#maildir.pl','Added maildir.pl to the code dump' ], [ '2012-09-27', '/ncdu', 'ncdu 1.9 released.' ],