• Check it out - we have a chatbot! Go ask TuxBot a question in the Ask Tuxbot section!

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.
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top