Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From wp-fail2ban-redux - check commenters #6

Open
szepeviktor opened this issue Jan 1, 2018 · 3 comments
Open

From wp-fail2ban-redux - check commenters #6

szepeviktor opened this issue Jan 1, 2018 · 3 comments

Comments

@szepeviktor
Copy link
Owner

szepeviktor commented Jan 1, 2018

add_action( 'comment_post', array( $this, 'comment_spam' ), 10, 2 );
add_action( 'wp_set_comment_status', array( $this, 'comment_spam' ), 10, 2 );
add_filter( 'xmlrpc_pingback_error', array( $this, 'xmlrpc_pingback_error' ), 1 );

https://github.com/thebrandonallen/wp-fail2ban-redux/blob/develop/wp-fail2ban-redux/classes/class-wp-fail2ban-redux.php#L99

@szepeviktor szepeviktor changed the title From wp-fail2ban-redux - commenting From wp-fail2ban-redux - check commenting Jan 1, 2018
@szepeviktor szepeviktor changed the title From wp-fail2ban-redux - check commenting From wp-fail2ban-redux - check commenters Jan 1, 2018
@szepeviktor
Copy link
Owner Author

@lkraav Could you help me by providing comment traffic logs for me?

My clients have no websites with comment activity.

@lkraav
Copy link

lkraav commented Apr 1, 2019

Wdym "comment traffic logs"?

@szepeviktor
Copy link
Owner Author

szepeviktor commented Apr 1, 2019

Something like json_encode($_POST and $_SERVER[HTTP_*] and IP and UA)

https://github.com/szepeviktor/waf4wordpress/blob/master/http-analyzer/waf4wordpress-http-analyzer.php#L278-L307

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants