Bug#446959: the 'bind=' option in debtorrent-client.conf limits _both_ the torrent and the http port.

2007-10-16 Thread Florian Attenberger
Package: debtorrent
Version: 0.1.4.2
Severity: normal

Subject sais it all. Obviously I wouldn't want to restrict torrent
access just to restrict http access.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23.1 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debtorrent depends on:
ii  adduser   3.105  add and remove users and groups
ii  python2.4.4-6An interactive high-level object-o
ii  python-support0.7.4  automated rebuilding support for p

Versions of packages debtorrent recommends:
pn  apt-transport-debtorrent   none(no description available)
ii  python-crypto  2.0.1+dfsg1-2 cryptographic algorithms and proto

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446959: the 'bind=' option in debtorrent-client.conf limits _both_ the torrent and the http port.

2007-10-16 Thread Cameron Dale
tags 446959 pending
thanks

On 10/16/07, Florian Attenberger [EMAIL PROTECTED] wrote:
 Subject sais it all. Obviously I wouldn't want to restrict torrent
 access just to restrict http access.

Instead of just making the 'bind' option work for HTTP only, I added a
new option 'apt_bind' that will bind only the apt requests, while the
original 'bind' will bind the peer requests. It seems the original
'bind' option may be useful to some (perhaps if they have multiple
interfaces?). So, you'll want to leave the 'bind' option blank, and
just specify the 'apt_bind' option.

I've uploaded the fixed package to my repository as version 0.1.4.3 if
you want to try it out, since the just released version means this fix
might not get released for a while. You can find more information
here:

http://debian.camrdale.org/

Thanks,
Cameron



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]