Skip to content

Commit

Permalink
notes on dnsbl
Browse files Browse the repository at this point in the history
  • Loading branch information
erikyo committed Jan 26, 2024
1 parent b9e30de commit ca855e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions admin/CF7_AntiSpam_Admin_Customizations.php
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,8 @@ public function cf7a_print_user_agent() {
/** It prints the dnsbl info text */
public function cf7a_print_dnsbl() {
printf( '<p>%s</p>', esc_html__( 'Check sender ip on DNS Blacklists, DNSBL are real-time lists of proven/recognised spam addresses. These may include lists of addresses of zombie computers or other machines used to send spam, Internet Service Providers (ISPs) that voluntarily host spammers, BUT they could also be users behind a proxy and that is why the method is no longer 100 per cent reliable. Add a DSNBL server url each line ', 'cf7-antispam' ) );
/** Translators: %s%s%s - a spam score of xyz will be added */
printf( '<p><span class="cf7a-option-notice">%s%s%s</span></p>', esc_html__( '⚠️ Use the servers you trust as safe, and consider that for each server reporting the ip a spam score of ', 'cf7-antispam' ), floatval( $this->options['score']['_dnsbl'] ), esc_html__( ' will be added.', 'cf7-antispam' ) );
}

/** It prints the honeypot info text */
Expand Down
5 changes: 0 additions & 5 deletions engine/CF7_AntiSpam_Activator.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,10 @@ public static function init_vars() {
),
'dnsbl_list' => array(
/* ipv4 dnsbl */
'dnsbl-1.uceprotect.net',
'dnsbl-2.uceprotect.net',
'dnsbl-3.uceprotect.net',
'dnsbl.sorbs.net',
'zen.spamhaus.org',
'bl.spamcop.net',
'b.barracudacentral.org',
'dnsbl.dronebl.org',
'all.spamrats.com',
/* ipv6 dnsbl but due to the unlimited number of ipv6 dnsl will have a lower impact */
'bl.ipv6.spameatingmonkey.net',
),
Expand Down

0 comments on commit ca855e8

Please sign in to comment.