|
|
|
|
|
|
|
|
|
|
|
|
(int, string, dictionary,
string)
|
|
dictionary
|
|
(int, string, dictionary,
string)
|
|
(int, string, dictionary,
string)
|
|
(int, string, dictionary,
string)
|
|
int
|
add_data(self,
infohash,
event,
ip,
paramslist)
Add the received data from the peer to the cache. |
source code
|
|
dictionary
|
peerlist(self,
infohash,
stopped,
tracker,
is_seed,
return_type,
rsize,
supportcrypto)
Create a list of peers to return to the client. |
source code
|
|
(int, string, dictionary,
string)
|
get(self,
connection,
path,
headers,
httpreq)
Respond to a GET request to the tracker. |
source code
|
|
|
|
|
|
|
|
|
|
remove_from_state(self,
*l)
Remove all the input parameter names from the current state. |
source code
|
|
|
|
save_state(self)
Save the state file to disk. |
source code
|
|
|
|
parse_allowed(self)
Periodically parse the directory and list for allowed
torrents. |
source code
|
|
|
|
read_ip_lists(self)
Periodically parse the allowed and banned IPs lists. |
source code
|
|
|
|
|
|
|
expire_downloaders(self)
Periodically remove all old downloaders from the cached data. |
source code
|
|
|
|
cache_default(self)
the default cache entry for new caches |
source code
|
|
|
Filter.Filter
|
Filter
the filter to use for disallowing connecting peers
|
string
|
aggregate_forward
URL to forward all non-multitracker connections to
|
string
|
aggregate_password
password to use when forwarding non-multitracker connections
|
string
|
aggregator_key
the password to use to verify connecting trackers
|
boolean
|
allow_get
whether torrets can be downloaded from the info page
|
dictionary
|
allowed
the torrents that are allowed to be tracked, keys are the info
hashes, values are the torrent data
|
|
DebTorrent.subnetparse.IP_List
|
allowed_IPs
the IPs that are allowed to connect, or None if all are
|
dictionary
|
allowed_dir_blocked
unparseable torrent files found in the allowed directory
|
dictionary
|
allowed_dir_files
torrent files found in the allowed directory
|
int
|
allowed_ip_mtime
the last modification time of the allowed IPs file
|
int
|
allowed_list_mtime
the last modification time of the list of allowed torrents
file
|
|
DebTorrent.iprangeparse.IP_List
|
banned_IPs
the IPs that are not allowed to connect
|
int
|
banned_ip_mtime
the last modification time of the banned IPs file
|
list of list of
dictionary
|
becache
keys are the infohashes, values are the cached peer data.
|
|
unknown
|
cached
unknown
|
|
unknown
|
cached_t
unknown
|
int
|
cachetime
elasped time since starting for caclulating cache refreshes
|
dictionary
|
completed
keys are info hashes, values are the number of peers that have
completed downloading the entire torrent
|
dictionary
|
config
the configuration parameters
|
|
DebTorrent.ConfigDir.ConfigDir
|
configdir
the configuration and cache directory manager
|
string
|
dedicated_seed_id
dedicated seed ID to expect from clients
|
dictionary
|
downloads
keys are info hashes, values are dictionaries with keys the peer
IDs of peers connected to that torrent and values the dictionaries of
information about the peer
|
string
|
favicon
file containing x-icon data
|
boolean
|
is_aggregator
whether to act as a data aggregator rather than a tracker
|
dictionary
|
is_seeded
keys are info hashes, values are true if the torrent has a
dedicated seed connected
|
boolean
|
keep_dead
whether to keep dead torrents after they expire
|
int
|
natcheck
how many times to check if a downloader is behind a NAT
|
boolean
|
only_local_override_ip
whether to ignore the "ip" parameter from machines which
aren't on local network IPs
|
int
|
parse_dir_interval
seconds between reloading of the allowed directory or file, and
the lists of allowed and banned IPs
|
float
|
prevtime
the last time downloaders were expired from the cache
|
|
DebTorrent.RawServer.RawServer
|
rawserver
the server to use for scheduling
|
int
|
reannounce_interval
seconds downloaders should wait between reannouncements
|
int
|
response_size
default number of peers to send in an info message
|
int
|
save_state_interval
seconds between saving the state file
|
dictionary
|
seedcount
keys are info hashes, values are the number of seeds connected to
that torrent
|
boolean
|
show_names
whether to display names from allowed dir
|
dictionary
|
state
the current state information for the tracking
|
|
T2T.T2TList
|
t2tlist
the list of tracker to tracker connections
|
int
|
timeout_downloaders_interval
seconds between expiring downloaders
|
dictionary
|
times
keys are info hashes, values are dictionaries with keys the peer
IDs of peers connected to that torrent and values the last time the
peer was seen
|
string
|
trackerid
the randomly generated tracker ID of this tracker
|
boolean
|
uq_broken
whether URL quoting of '+' is broken
|