Feature #43
closed
Web based firewall BLOCK LIST option
Added by Demian Biscocho almost 14 years ago.
Updated about 12 years ago.
Assignee:
Januarius Manipol
Description
There should be a "-I" option for the » GO FIREWALL : ADD NEW / MODIFY BLOCK LIST under COMMAND category. This will insert instead of append (-A) the firewall ruleset which will automatically block the attacking IP address.
Files
Demian Biscocho wrote:
There should be a "-I" option for the » GO FIREWALL : ADD NEW / MODIFY BLOCK LIST under COMMAND category. This will insert instead of append (-A) the firewall ruleset which will automatically block the attacking IP address.
Updating...
- File gofirewall-fix.tar.gz added
########################################################################
# gofirewall-fix.tar.gz - Bug fix for the GoAutoDial CE 2.1 GO Firewall.
# Also added Whitelist for the firewall.
#
# - Chris Lomuntad <[email protected]>
#
# Files included on the compressed file:
# g_fire_blocklist.diff
# g_menu.diff
# go_firewall.pl.diff
# g_fire_whitelist.php
# README.txt
#
########################################################################
1. Extract the file gofirewall-fix.tar.gz on the folder /var/www/html/goautodial/
2. Patch the g_fire_blocklist.php & g_menu.php file using
patch -p0 -i g_fire_blocklist.diff
patch -p0 -i g_menu.diff
3. Move go_firewall.pl.diff on the folder /usr/share/goautodial/
4. Patch the go_firewall.pl file using
patch -p0 -i go_firewall.pl.diff
- File deleted (
gofirewall-fix.tar.gz)
Forgot to include the MYSQL table creation on the README.txt file to use for the Firewall Whitelist page.
Below is the step to add
go_firewall_whitelist on your database:
- Type mysql -p on the terminal and type your password to connect to the mysql server.
- Then type use goautodial; to select the database goautodial.
- Copy & paste the code below to create a new table on the goautodial database.
create table go_firewall_whitelist (
white_id INT(20) NOT NULL PRIMARY KEY auto_increment,
command enum('-A','-I') default '-I',
type enum('INPUT','OUTPUT','FORWARD') default 'INPUT',
source varchar(200),
target enum('ACCEPT') default 'ACCEPT',
active ENUM('Y','N') default 'N',
description varchar(150)
);
- You're done. You can now use the Firewall's Whitelist.
- Status changed from New to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF
Go to top