An open API service indexing awesome lists of open source software.

https://github.com/navytitanium/pfs-paranoid

PFsense plugin to receive login alerts (SSH/Web GUI)
https://github.com/navytitanium/pfs-paranoid

login-alert pfsense pfsense-logs ssh-alert

Last synced: 23 days ago
JSON representation

PFsense plugin to receive login alerts (SSH/Web GUI)

Awesome Lists containing this project

README

          

# pfs-paranoid
PFsense plugin to receive login alerts (SSH/Web GUI)

## How does it work ?

The **monitor.sh** script parses the log file `/var/log/auth.log` and sends it to **insert.php** for additional processing and insertion into the local SQLite3 database. If the conditions are met and the entry is new, the script also sends the notifications by utilizing the functions implemented in the pfSense file `/etc/inc/notices.inc`. E.g:

- notify_via_slack($message)
- notify_via_pushover($message)
- notify_via_telegram($message)
- notify_via_smtp($message)

Those settings are predefined by the administrator in: System -> Advanced -> Notifications

# Installation

**monitor.sh** has to be in /tmp/

`chmod +x /tmp/monitor.sh`

**paranoid.php**, **paranoid.inc** and **insert.php** goes in `/usr/local/www/packages/paranoid/`
## Interface

https://pfsense.local/packages/paranoid/paranoid.php

![paranoid.php](Paranoid-Status_Login-monitor.png)

# Todo

Refactor the project to standardize it for pfSense and create a FreeBSD package.