Giter VIP home page Giter VIP logo

fail2ban-telegram-notification's Introduction

Hi there, I'm Shafiq - aka Musha

  • I'm a Developer and Network Admin
  • I'm using vuejs as my front end framework
  • I'm also learning Go for my future project

shafiqsaaidin's GitHub Stats

Top Langs

fail2ban-telegram-notification's People

Contributors

amirhosseinkarimi avatar shafiqsaaidin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fail2ban-telegram-notification's Issues

ssh-server is a virtual package

Tried installing with the command sudo apt install vsftpd fail2ban ssh-server`, for the following:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ssh-server is a virtual package provided by:
  openssh-server 1:7.4p1-10+deb9u3
  lsh-server 2.1-11
  dropbear-bin 2016.74-5
You should explicitly select one to install.

E: Package 'ssh-server' has no installation candidate

Fixed it by using sudo apt install vsftpd fail2ban openssh-server instead.

Script fail2ban-telegram.sh could not be found

Hello,

fail2ban-telegram script could not be executed:

2020-07-16 16:14:09,366 fail2ban.utils [1]: ERROR b6524f70 -- exec: /home/pi/fail2ban/scripts/fail2ban-telegram.sh start
2020-07-16 16:14:09,366 fail2ban.jail [1]: DEBUG Starting jail 'sshd-ddos'
2020-07-16 16:14:09,367 fail2ban.utils [1]: ERROR b6524f70 -- stderr: '/bin/sh: /home/pi/fail2ban/scripts/fail2ban-telegram.sh: not found'
2020-07-16 16:14:09,367 fail2ban.utils [1]: ERROR b6524f70 -- returned 127
2020-07-16 16:14:09,367 fail2ban.utils [1]: INFO HINT on 127: "Command not found". Make sure that all commands in '/home/pi/fail2ban/scripts/fail2ban-telegram.sh start' are in the PATH of fail2ban-server pr$
2020-07-16 16:14:09,368 fail2ban.actions [1]: ERROR Failed to start jail 'sshd' action 'telegram': Error starting action Jail('sshd')/telegram: 'Script error'

But the same script /scripts/fail2ban-telegram.sh I can execute manually and send telegram. Do you have any idea how to solve this?

Thank You!

Receiving 2x messages

Got it working in conjunction with linuxserver/letsencrypt package with fail2ban integrated. When I start or stop letsencrypt I do receive a Telegram massage, but 2 times. Any idea whats causing this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.