[Bug 523540] Review Request: opentracker - BitTorrent Tracker

bugzilla at redhat.com bugzilla at redhat.com
Sat Oct 24 13:03:19 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=523540


Matt Domsch <matt_domsch at dell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|needinfo?(matt_domsch at dell. |
                   |com)                        |




--- Comment #36 from Matt Domsch <matt_domsch at dell.com>  2009-10-24 09:03:16 EDT ---
This is working much better now, thank you.  I installed your libowfat-devel
package on my F11 box, and after building opentracker to link against this new
version, I can start both the IPv4 and IPv6 trackers in parallel.

I have cleaned up the opentracker SPEC and Makefile patch accordingly, and have
posted them at:

http://domsch.com/linux/fedora/opentracker/
(it's the packages with .md1 in the tag)

The Makefile now links in -lgcc to avoid a pthread_cancel error on exit:

# opentracker-ipv6
Parse error in config file: listen.tcp [::1]:6969
Warning: Can't open accesslist file: (null) (but will try to create it later,
if necessary and possible).
PWD: /
^Clibgcc_s.so.1 must be installed for pthread_cancel to work
Aborted


In addition, I cleaned up the Description tags, and am using a single
opentracker user (rather than one for each of ipv4 and ipv6 - I think 2 users
is overkill).  I also fixed the rpmlint warnings (initscripts were set to start
by default).

There is a functional problem with the opentracker code, which I have not
debugged.  If you start opentracker without any config file, it default to
listen on all addresses, both IPv4 and IPv6, even the IPv4-only and IPv6-only
versions.  This is odd, but I think it may be expected behavior.  The argument
to bind() in the case of no requested addresses is to use the all-zeros
(INADDR_ANY), which can bind both protocols.

If you start the v4 tracker with -i ::1 (an IPv6 address), it will fail with an
error.  If you start with -i 127.0.0.1 (an IPv4 address), it succeeds.

Likewise with the v6 tracker.  Using -i ::1, it works, -i 127.0.0.1, it fails
(as one would expect).

But, I haven't figured out the syntax for putting IPv6 addresses in the
/etc/opentracker-ipv6/opentracker-ipv6.conf file.  From the code, the config
file _should_ be:

listen.tcp [::1]:6969

but that fails:

# opentracker-ipv6
Parse error in config file: listen.tcp [::1]:6969


If you can figure out the config file syntax and fix up the provided .conf
files, that should take care of it all.

Thanks,
Matt

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list