Project

General

Profile

Actions

Feature #43

closed

Web based firewall BLOCK LIST option

Added by Demian Biscocho over 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Januarius Manipol
Category:
Features
Target version:
-
Start date:
07/27/2011
Due date:
% Done:

100%

Estimated time:

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

iptables01.png (23.9 KB) iptables01.png Demian Biscocho, 07/27/2011 05:18 PM
gofirewall-fix.tar.gz (4.71 KB) gofirewall-fix.tar.gz Updated diff files. Chris Lomuntad, 08/08/2011 11:51 AM
Actions #1

Updated by Demian Biscocho over 12 years ago

Actions #2

Updated by Januarius Manipol over 12 years ago

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...

Actions #3

Updated by Chris Lomuntad over 12 years ago

  • 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 <chris@goautodial.com>
# 
# 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
Actions #4

Updated by Chris Lomuntad over 12 years ago

  • File deleted (gofirewall-fix.tar.gz)
Actions #5

Updated by Chris Lomuntad over 12 years ago

Updated diff files.

Actions #6

Updated by Chris Lomuntad over 12 years ago

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:
  1. Type mysql -p on the terminal and type your password to connect to the mysql server.
  2. Then type use goautodial; to select the database goautodial.
  3. 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)
    );
    
  4. You're done. You can now use the Firewall's Whitelist.
Actions #7

Updated by Demian Biscocho about 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF

Go to top