pingd.conf
configuration file for the Echolot ping daemon
- Provided by: echolot (Version: 2.1.8-8)
- Report a bug
configuration file for the Echolot ping daemon
The file pingd.conf sets configuration parameters for Echolot pingd(1). It is a Perl script that gets eval()ed from within pingd. It has to set the values in the $CONFIG hash.
Default: none
Example: 'sitename' => 'testsite',
In "pinger@remailer.example.com" the localpart is "pinger".
Default: none
Example: 'my_localpart' => 'pinger',
In "pinger@remailer.example.com" the domain part is "remailer.example.com".
Default: none
Example: 'my_domain' => 'remailer.example.com',
Default: none
Example: 'operator_address' => 'remop@example.org',
It is used in several templates.
If it is an empty string Echolot does not make use of user defined mailboxes but rather encodes the message type etc in a Comment/Realname part of an address.
The use of recipient_delimiter is strongly recommended if your MTA setup supports it.
Default: 'recipient_delimiter' => '+',
Example: 'recipient_delimiter' => '-',
'recipient_delimiter' => '',
Example addresses:
with + as a recipient delimiter:
pinger+conf.1=1035540778=1dd23d97@example.org
without recipient delimiter:
pinger@example.org (conf.2=1035541597=3baa2ae5)
Default: 'dev_random' => '/dev/random',
Default: 'dev_urandom' => '/dev/urandom',
Default: 'sendmail' => '/usr/sbin/sendmail',
Example: 'sendmail' => '/usr/lib/sendmail',
hash_len is the number of characters to include in the email address.
Default: 'hash_len' => 8,
Example: 'hash_len' => 4,
Default: 'seconds_per_day' => 24*60*60,
Default: 'stats_days' => 12,
Default: 'fetch_new' => 1,
Example: 'fetch_new' => 0,
Default: 'ping_new' => 1,
Example: 'ping_new' => 0,
Default: 'show_new' => 1,
Example: 'show_new' => 0,
Default: 'separate_rlists' => 0,
Example: 'separate_rlists' => 1,
Default: 'combined_list' => 0,
Example: 'combined_list' => 1,
Default: 'thesaurus' => 1,
Example: 'thesaurus' => 0,
Default: 'fromlines' => 1,
Example: 'fromlines' => 0,
Default: 'stats_sort_by_latency' => 0,
Example: 'stats_sort_by_latency' => 1,
Default: 'processmail' => 60, # every minute
Example: 'processmail' => 5*60, # every 5 minutes
Default: 'buildstats' => 5*60, # every 5 minutes
Example: 'buildstats' => 60*60, # hourly
Default: 'chainping_update' => 4*60*60, # chain stats should never
# be older than 4 hours
Default: 'buildkeys' => 8*60*60, # every 8 hours
Example: 'buildkeys' => 24*60*60, # daily
Default: 'buildthesaurus' => 60*60, # hourly
Example: 'buildthesaurus' => 24*60*60, # daily
Default: 'commitprospectives' => 8*60*60, # every 8 hours
Example: 'commitprospectives' => 24*60*60, # daily
Default: 'expire' => 24*60*60, # daily
Example: 'expire' => 8*60*60, # every 8 hours
Default: 'getkeyconf_interval' => 5*60, # send out requests
# every 5 minutes
'getkeyconf_every_nth_time' => 24*60/5, # send out the same
# request to the same
# remailer once a day
Example: 'getkeyconf_interval' => 10*60,
'getkeyconf_every_nth_time' => 2*24*60/10, # new request every
# other day
Default: 'check_resurrection' => 7*24*60*60, # weekly
Example: 'check_resurrection' => 14*24*60*60, # every other week
Default: 'pinger_interval' => 5*60, # send out pings every 5 minutes
'ping_every_nth_time' => 24, # send out pings to the same remailer every 24 calls, i.e. every 2 hours
Example: 'pinger_interval' => 60, # send out pings every minute
'ping_every_nth_time' => 60, # send out pings to the same remailer every 60 calls, i.e. every hour
Default: 'chainpinger_interval' => 5*60, # send out pings every 5 minutes
'chainping_every_nth_time' => 2016, # send out pings to the same chain every 2016 calls, i.e. week
'chainping_ic_every_nth_time' => 288, # send out pings to broken or unknown chains every 288 calls, i.e. daily
Default: 'addresses_default_ttl' => 5, # getkeyconf seconds (days if getkeyconf is 24*60*60, the default)
Example: 'addresses_default_ttl' => 7,
Default: 'check_resurrection_ttl' => 8, # check_resurrection seconds (weeks if check_resurrection is 7*24*60*60, the default)
Example: 'check_resurrection_ttl' => 4,
Default: 'prospective_addresses_ttl' => 5*24*60*60, # 5 days
Example: 'prospective_addresses_ttl' =>14*24*60*60, # 2 weeks
Default: 'reliable_auto_add_min' => 6,
Example: 'reliable_auto_add_min' => 3,
Default: 'expire_keys' => 5*24*60*60, # 5 days
Example: 'expire_keys' => 7*24*60*60, # 1 week
Default: 'expire_confs' => 5*24*60*60, # 5 days
Example: 'expire_confs' => 7*24*60*60, # 1 week
Default: 'expire_pings' => 12*24*60*60, # 12 days
Default: 'expire_chainpings' => 12*24*60*60, # 12 days
Default: 'expire_thesaurus' => 21*24*60*60, # 2 weeks
Example: 'expire_thesaurus' => 7*24*60*60, # 1 week
Default: 'expire_fromlines' => 5*24*60*60, # 5 days
Example: 'expire_fromlines' => 7*24*60*60, # 1 week
Default: 'metadata_backup' => 8*60*60, # 8 hours
Example: 'metadata_backup' => 24*60*60, # daily
Default: 'metadata_backup_count' => 32, # keep the last 32 backups
Example: 'metadata_backup_count' => 4, # keep 4 rotations
Default: 'summary' => 24*60*60, # daily
Default: 'summary' => 12*60*60, # twice a day
Default: The directory in which pingd is.
Example: 'homedir' => '/home/pinger/echolot',
Default: 'mailin' => 'mail',
Example: 'mailin' => '/var/mail/echolot',
Default: 'mailerrordir' => 'mail-errors',
Default: 'save_errormails' => 0,
Example: 'save_errormails' => 1,
Default: 'resultdir' => 'results',
Default: 'thesaurusdir' => 'results/thesaurus',
Default: 'thesaurusindexfile' => 'results/thesaurus/index',
Default: 'fromlinesindexfile' => 'results/from',
Default: 'private_resultdir' => 'results.private',
Default: 'indexfilebasename' => 'echolot',
Example: 'indexfilebasename' => 'index',
Default: 'gnupghome' => 'gnupghome',
If gnupg is an empty string, the "GnuPG::Interface" default (usually gpg) is used.
Default: 'gnupg' => '',
Example: 'gnupg' => '/home/pinger/bin/myGnuPG',
Default: 'gzip' => 'gzip',
Default: 'mixhome' => 'mixhome',
Example: 'mixhome' => '/home/pinger/Mix',
Default: 'mixmaster' => 'mix',
Example: 'mixmaster' => '/home/pinger/Mix/mix',
Default: 'tmpdir' => 'tmp',
Default: 'commands_file' => 'commands.txt',
Default: 'pidfile' => 'pingd.pid',
Default: 'broken1' => 'broken1.txt',
Example content:
(havenco cmeclax)
(frog3 nycrem)
Default: 'broken2' => 'broken2.txt',
Example content:
(freedom lcs)
(* xganon)
Default: 'sameop' => 'sameop.txt',
Example content:
(xganon2 xganon)
(cracker redneck)
Default: 'logfile' => 'pingd.log',
Example: 'logfile' => '/var/log/echolot/pingd.log',
Default: 'loglevel' => 'info',
Example: 'loglevel' => 'debug',
Default: 'write_meta_files' => 1,
Default: 'meta_extension' => '.meta',
random_garbage is the top limit for the amount of bytes to add. The actual number is randomly generated and uniformly distributed over [0, random_garbage]
Default: 'random_garbage' => '8192',
Default: 'do_chainpings' => 1,
Default: 'show_chainpings' => 1,
Default: 'chainping_fudge' => 0.3, # if less than 0.3 * rel1 * rel2 make it, the chain is really broken
Default: 'chainping_grace' => 1.5, # don't count pings sent no longer than 1.5 * (lat1 + lat2) ago
Default: 'chainping_period' => 12*24*60*60, # 12 days
Default: 'chainping_minsample' => 3, # have at least sent 3 pings before judging any chain
Default: chainping_allbad_factor => 0.5, # at least 50% of possible chains (A x) need to fail for (A *) to be listed in broken chains
Default: 'do_pings' => {
'cpunk-dsa' => 1,
'cpunk-rsa' => 1,
'cpunk-clear' => 1,
'mix' => 1
},
Default: which_chainpings => {
'cpunk' => [ qw{cpunk-dsa cpunk-rsa cpunk-clear} ],
'mix' => [ qw{mix} ]
},
This means that in the case of cpunk chain pings we prefer using cpunk-dsa over cpunk-rsa which in turn we prefer to cpunk-clear. For mix there's only mix.
By default days 1 to 4 count fully (with weight 1), the older they are the less they count.
Default: pings_weight => [ qw{0.5 1.0 1.0 1.0 1.0 0.9 0.8 0.5 0.3 0.2 0.2 0.1 } ],
The outer hash keys are for language selection.
Default: 'templates' => {
'default' => {
'thesaurusindexfile' => 'templates/thesaurusindex.html',
'mlist' => 'templates/mlist.html',
'mlist2' => 'templates/mlist2.html',
'rlist' => 'templates/rlist.html',
'rlist-rsa' => 'templates/rlist-rsa.html',
'rlist-dsa' => 'templates/rlist-dsa.html',
'rlist-clear' => 'templates/rlist-clear.html',
'rlist2' => 'templates/rlist2.html',
'rlist2-rsa' => 'templates/rlist2-rsa.html',
'rlist2-dsa' => 'templates/rlist2-dsa.html',
'rlist2-clear' => 'templates/rlist2-clear.html',
'clist' => 'templates/clist.html',
},
'de' => {
'thesaurusindexfile' => 'templates/thesaurusindex.de.html',
....
},
'pl' => {
'thesaurusindexfile' => 'templates/thesaurusindex.pl.html',
....
}
};
Default: 'echolot_css' => 'templates/echolot.css',
Default: 'remailerxxxtext' => "Hello,\n".
"\n".
"This message requests remailer configuration data. The pinging software thinks\n".
"<TMPL_VAR NAME=\"address\"> is a remailer. Either it has been told so by the\n".
"maintainer of the pinger or it found the address in a remailer-conf or\n".
"remailer-key reply of some other remailer.\n".
"\n".
"If this is _not_ a remailer, you can tell this pinger that and it will stop\n".
"sending you those requests immediately (otherwise it will try a few more times).\n".
"Just reply and make sure the following is the first line of your message:\n".
" not a remailer\n".
"\n".
"If you want to talk to a human please mail <TMPL_VAR NAME=\"operator_address\">.\n",
Peter Palfrader <peter@palfrader.org>
Please report them at <URL:http://alioth.debian.org/projects/echolot/>