• We did not send an email asking for donations - please read this post.

Filter syslog

gabrielbadea

New Member
Joined
Aug 1, 2022
Messages
2
Reaction score
0
Credits
20
Hello,

I have the following problem,

I have a filter for fail2ban that bans me when the message appears: PTY read or GRE write failed", the problem is that this message also appears when the user wants to connect and the internet fails.

I want to filter if it is possible for syslog to show this error only when the message "Peer failed CHAP authentication" also appears, this message only appears when the password is wrong.

The log is saved in /var/log/syslog

Any answer is welcome.

Thank you!
 


OP
G

gabrielbadea

New Member
Joined
Aug 1, 2022
Messages
2
Reaction score
0
Credits
20
Sorry, I forgot to specify, I have debian 11.3

If you need other details, please let me know.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top