Skip to content
This repository
tag: v0.14

Feb 07, 2009

  1. Richard Nyberg

    Text updates for btpd 0.14.

    authored February 08, 2009
  2. Richard Nyberg

    Find and ban peers with bad data.

    Log which peer contributed what to a piece. Do not try to download the
    same piece from the same peers. Don't download at all from peers implicated
    in 3 bad pieces. When a previously bad piece has been downloaded successfully
    the bad peer(s) can be found and banned.
    authored February 07, 2009

Feb 06, 2009

  1. Richard Nyberg

    Split peer information. Make id hash functions available.

    struct peer is now peer and meta_peer. meta_peer can be used as
    a handle that won't be affected if a peer vanishes. The meta_peers
    are kept in a hash table to enable fast lookup by peer id.
    authored February 06, 2009
  2. Richard Nyberg

    Iterate throught the htbl instead of building an array first.

    authored February 06, 2009
  3. Richard Nyberg

    We must now set the ratio when creating hash tables.

    authored February 06, 2009
  4. Richard Nyberg

    Hashtable tweaks.

    o Added ability to set the ratio items:buckets.
    o One can remove items while iterating.
    o _htbl_tov now allocates the result array, _htbl_fillv acts as the old
      _htbl_tov did.
    authored February 06, 2009

Feb 03, 2009

  1. Richard Nyberg

    Make net->piece_count properly aligned.

    The misalignment caused btpd to not work properly on machines like
    the NSLU2. Reported by John Caldwell.
    authored February 03, 2009
  2. Richard Nyberg

    Set logmask from commandline.

    authored February 03, 2009
  3. Richard Nyberg

    More tracker logging, and use switch for log type.

    authored February 03, 2009
  4. Richard Nyberg

    Fix port type confusion.

    Btpd will now be able to use high ports for itself and trackers again.
    authored February 03, 2009

Jan 30, 2009

  1. Richard Nyberg

    Use only IPv4 by default.

    Unfortunately there are some useless IPv6 trackers that will
    be used instead of their more usefull IPv4 counterparts when
    IPv6 is enabled.
    
    The -4 and -6 options are tweaked once again. If -6 is given
    only IPv6 will be used. If both are given both will be used
    and otherwise only IPv4 will be used.
    
    The IPvX stuff should probably be set per torrent in the future.
    authored January 30, 2009
  2. Richard Nyberg

    Set failures on individual trackers, not on tiers.

    Unfortunately many don't understand the tracker tiers and put unrelated
    trackers in the same tier. Thus btpd can't assume that a failure from one
    tracker in a tier is valid for all trackers in that tier.
    authored January 30, 2009

Jan 29, 2009

  1. Richard Nyberg

    Make the timer code work on MacOS as well.

    authored January 29, 2009
  2. Richard Nyberg

    Stop complaints on printf argument types on MacOS.

    authored January 29, 2009
  3. Richard Nyberg

    Remove unneeded addrinfo flag which doesn't exist on MacOS.

    authored January 29, 2009
  4. Richard Nyberg

    Make sure required versions of autotools are used.

    authored January 29, 2009
  5. Richard Nyberg

    Rename timer* to evtimer*.

    authored January 29, 2009

Jan 26, 2009

  1. Richard Nyberg

    Make the COPYRIGHT file match reality again.

    authored January 26, 2009
  2. Richard Nyberg

    Show tracker counts in btcli stat.

    The counts are for "reachable" trackers, ie. trackers that haven't
    timed out or been disabled for one reason or other.
    authored January 26, 2009
  3. Richard Nyberg

    Change options to: '-4' => Ipv4 only, '-6' => IPv6 only.

    authored January 26, 2009
  4. Richard Nyberg

    Better start from scratch on udp tracker support.

    authored January 26, 2009
  5. Richard Nyberg

    Improve the torrent stop and btpd shutdown sequences.

    Torrents are now considered stopped and may be restarted even if
    the stop event haven't been sent the trackers yet. The same holds
    for the del and add commands.
    
    A btpd process in shutdown mode that only have stopped torrents,
    but is still sending the stop event to trackers, will release
    resources that would block a new btpd to start. It will the
    silently exit when it's finished with the trackers.
    
    This also makes the timeout parameter for shutdown unnecessary.
    authored January 25, 2009
  6. Richard Nyberg

    More files to ignore.

    authored January 26, 2009
  7. Richard Nyberg

    Use the correct macro to make automake happy.

    Reported by <bsdfan666@cyberdude.com>.
    authored January 24, 2009
  8. Richard Nyberg

    Fix a typo in an error message.

    authored January 24, 2009
  9. Richard Nyberg

    Print the result of, and not the address of, getpid().

    authored January 24, 2009
  10. Richard Nyberg

    Rethink the tracker client code somewhat.

    btpd now uses all tiers in parallel, so a torrent with two tiers will
    essentially be treated by btpd as a torrent with two trackers to send
    each event to. This is not quite what the multitrackes standard says,
    but it's much easier to implement reasonable behaviour this way.
    
    btpd is going to report the number of good trackers for a torrent
    instead of the number of errors, but for now just report zero errors.
    authored January 21, 2009

Jan 15, 2009

  1. Richard Nyberg

    git clean is a better way to clean the tree.

    authored January 15, 2009

Jan 13, 2009

  1. Richard Nyberg

    Add IPv6 support.

    Btpd can now use both ipv4 and ipv6. The new options -4 and -6 toggles
    use of ip v4 and v6 respectively. They are both used by default.
    Remove restrictions on the --ip option since the spec allows to be a
    dns name. Ultimately this option may need to be changed on a per
    tracker/torrent basis.
    authored January 14, 2009
  2. Richard Nyberg

    Added macros for checking supported compiler flags.

    authored January 13, 2009
  3. Richard Nyberg

    Start previously active torrents after log file setup.

    authored January 13, 2009

Jan 12, 2009

  1. Richard Nyberg

    Test for working snprintf at startup.

    authored January 12, 2009
  2. Richard Nyberg

    Let the initial process linger until the daemon is initialized.

    This enables us to report errors in the btpd init sequence to the
    shell by non zero exit code.
    Changed from flock to lockf because of solaris troubles. I may
    be confused though.
    authored January 12, 2009
  3. Richard Nyberg

    Don't use the bsd err and warn family of functions. Solaris doesn't h…

    …ave them.
    authored January 12, 2009
  4. Richard Nyberg

    Provide own implementation of asprintf if it's missing.

    authored January 12, 2009
Something went wrong with that request. Please try again.