antonioribeiro / firewall

Firewall package for Laravel applications
BSD 3-Clause "New" or "Revised" License
1.39k stars 162 forks source link

Notes in the database table #141

Open yormy opened 5 years ago

yormy commented 5 years ago

Would be cool if I could add notes to the database entry why this ip was blocked/ whitelisted. or some indication who this IP belongs to

icweb commented 5 years ago

Firewall is currently doing this in the laravel.log files. If you do something like log to the database instead of a local log file, you could essentially achieve this. I agree it would be a nice feature, but it seems a little redundant given Laravel's new logging capabilities.

Hope this helps: https://github.com/danielme85/laravel-log-to-db

yormy commented 5 years ago

I guess I was not clear, I meant when entering a IP to be blocked or an IP to whitelist, I would love to make a memo's who's IP it is, ie : xxx.xxx.xx.xxx | whitelist | home office of pete xxx.xxx.xx.xxx | whitelist | work office of pete