35 Commitit (64060294ab58dfd07a95a24a1500602421748da9)

Tekijä SHA1 Viesti Päivämäärä
  Richard Nyberg 8b04af7e91 Find and ban peers with bad data. 16 vuotta sitten
  Richard Nyberg 89a95cbdf5 Split peer information. Make id hash functions available. 16 vuotta sitten
  Richard Nyberg 05329268d5 Add IPv6 support. 16 vuotta sitten
  Richard Nyberg c4379cdfb9 Send keepalives. 19 vuotta sitten
  Richard Nyberg 2a462baead Btpd could be DOS'ed by incoming connections that never send any data. 19 vuotta sitten
  Richard Nyberg 9f4070eeb8 There's now one list with requests per piece instead of one per block. The 19 vuotta sitten
  Richard Nyberg 1c14af0ab4 Add peer_full function. 19 vuotta sitten
  Richard Nyberg 2d21101699 * Move the network related parts of the torrent struct to a sub struct. 20 vuotta sitten
  Richard Nyberg 2e63eaf8ea Rename p->net to p->in and net_state to input_state. Move code to where it 20 vuotta sitten
  Richard Nyberg 00fc2ce31e Rates should be unsigned long. Compute total, torrent and peer rates. 20 vuotta sitten
  Richard Nyberg c285b374f8 The mega whitespace patch. 20 vuotta sitten
  Richard Nyberg 005ce9d2c2 * Removed the heartbeat and btpd_seconds. Note that this breaks the tracker. 20 vuotta sitten
  Richard Nyberg a01ffd8423 * Get rid of net_bw_hz and run the bw stuff at one hz. 20 vuotta sitten
  Richard Nyberg a93803cdb2 More name changes from "cm_" to more appropriate names. 20 vuotta sitten
  Richard Nyberg 3f6d7576a5 Use a flag (PF_DO_UNWANT) to indicate that we should send an uninterest 20 vuotta sitten
  Richard Nyberg e025c4743a Add a new net state to get the index and begin fields from piece messages 20 vuotta sitten
  Richard Nyberg 0cae0e478d Have a peer event for keep alives too. Its only function is to log atm. 20 vuotta sitten
  Richard Nyberg e5cd773d85 Wait until we don't have any unanswered requests on a peer before 20 vuotta sitten
  Richard Nyberg 28fcbed3c5 #include <limits.h> to be sure to get IOV_MAX. 20 vuotta sitten
  Richard Nyberg 80214ff0fb Code shuffle. 20 vuotta sitten
  Richard Nyberg 9ba7dc69fc Put the net state related data in its own sub struct. 20 vuotta sitten
  Richard Nyberg 2bc4a5d83a Constify some functions. 20 vuotta sitten
  Richard Nyberg f963072983 Better method of reading data from peers. btpd could send data to peers 20 vuotta sitten
  Richard Nyberg 32a88ff5d8 Rewrite of the code for receiving data from peers. 20 vuotta sitten
  Richard Nyberg f31e2d8b89 * Allocate request messages on piece creation. The request objects can 20 vuotta sitten
  Richard Nyberg eaf95339c7 Set an upper limit on how many piece messages to queue for 20 vuotta sitten
  Richard Nyberg 2acdcff5a6 * Rearrange some code. Mostly from net to net_buf and peer. 20 vuotta sitten
  Richard Nyberg 9cc1ffda34 Rework the outgoing network buffers. The buffers now contain more 20 vuotta sitten
  Richard Nyberg 6bcb6d3816 Code shuffle. 20 vuotta sitten
  Richard Nyberg ce0e134bc4 Increase the number of requests to pipe to 10. 20 vuotta sitten
  Richard Nyberg 0502d4bf92 Rework the download algorithm. This isn't tested yet, but it compiles 20 vuotta sitten
  Richard Nyberg 474c7b5b3a * Better interface between the net and peer code. 20 vuotta sitten
  Richard Nyberg b529666a82 Use compact mode for tracker requests. 20 vuotta sitten
  Richard Nyberg c375a92236 Rename TAILQ to BTPDQ to avoid macro redefinition, 20 vuotta sitten
  Richard Nyberg dd0d462afa Import btpd-0.1. 20 vuotta sitten