666 |
the format: (kind, period, url), where kind is either |
the format: (kind, period, url), where kind is either |
667 |
'server.met' for a server.met file containing ed2k server, or |
'server.met' for a server.met file containing ed2k server, or |
668 |
'comments.met' for a file of comments, or |
'comments.met' for a file of comments, or |
669 |
'guarding.p2p' for a blocklist file, or |
'guarding.p2p' for a blocklist file (also in gz/bz2/zip format), or |
670 |
'ocl' for file in the ocl format containing overnet peers, or |
'ocl' for file in the ocl format containing overnet peers, or |
671 |
'contact.dat' for an contact.dat file containing overnet peers, |
'contact.dat' for an contact.dat file containing overnet peers, |
672 |
and period is the period between updates (in hours), |
and period is the period between updates (in hours), |
696 |
(list_option Url.option) [] |
(list_option Url.option) [] |
697 |
|
|
698 |
let ip_blocking = define_expert_option current_section ["ip_blocking"] |
let ip_blocking = define_expert_option current_section ["ip_blocking"] |
699 |
"IP blocking list filename (peerguardian format)" |
"IP blocking list filename (peerguardian format), can also be in gz/bz2/zip format" |
700 |
string_option "guarding.p2p" |
string_option "" |
701 |
|
|
702 |
let _ = |
let _ = |
703 |
option_hook ip_blocking (fun _ -> |
option_hook ip_blocking (fun _ -> |