MACFilter

Simple MAC Filter for fli4l

Version 0.1 for fli4l 3.2

Author

Florian Schlögl

Florian_Schloegl.Wolfsteam@web.de

Configuration for OPT MACFilter




1.1 Introduction

MACFilter is an OPT that builds a simple MAC filter into your fli4l and allows you to manage it over the httpd website of the fli4l.

1.2 Requirements

Opt MACFilter in version 0.1 requires:

1.3 Settings

Setting in /config/macfilter.txt:

OPT_MACFILTER

Default: OPT_MACFILTER='no'

Activate MACFilter with 'yes'. 'no' deactivates it.

Setting: 'yes', 'no'


MACFILTER_USE_AS_BLACKLIST

Default: MACFILTER_USE_AS_BLACKLIST='yes'

Sets MACFilter as blacklist ('yes') or as whitelist ('yes').

Setting: 'yes', 'no'


MACFILTER_ALLOW_HTTPD_ACCESS

Default: MACFILTER_ALLOW_HTTPD_ACCESS='yes'

Allow httpd access even when a MAC is blocked by MACFilter.
This option should be set when you want to switch between the filters. When it's not set it might occure that you have no access after switching because your MAC is either blocked or not allowed.

Setting: 'yes', 'no'


MACFILTER_LIST_N

Default: MACFILTER_LIST_N='0'

Count of MACs which shall be active upon boot.

Setting: Number of MAC addresses

MACFILTER_LIST_x

MAC address that shall be active on boot.

Setting: MAC address (xx:xx:xx:xx:xx:xx)


MACFILTER_START_BOOT

Default: MACFILTER_START_BOOT='yes'

Optional. Start MACFilter on boot?

Setting: 'yes', 'no'


1.3.1 Expert Settings

MACFILTER_WEB_SECTION

Default: MACFILTER_WEB_SECTION='Firewall'

Systemdefault: MACFILTER_WEB_SECTION='Opt'

Optional. Sets the sub menu for the MACFilter menu.

Setting: Section


MACFILTER_WEB_PRIORITY

Default: MACFILTER_WEB_PRIORITY='500'

Optional. Sets the position for the MACFilter menu in the submenu.

Setting: Number


MACFILTER_CHAIN

Default: MACFILTER_CHAIN='INPUT FORWARD'

Optional. Chains in which the MACFilter adds itself.

Setting: Chains, seperated by Blank


MACFILTER_CHAINPOS

Default: MACFILTER_CHAINPOS='1'

Optional. Sets the position in the chains MACFilter adds itself.

Setting: Number


MACFILTER_DEBUG

Default: MACFILTER_DEBUG='yes'

Optional. Activates the Debug mode for MACFilter.

Setting: 'yes', 'no'


1.4 HTTPD rights

The access right of the OPT HTTPD is used by OPT MACFilter.

The realm name is macfilter and can have the following actions:

Examples:
HTTPD_USER_1_RIGHTS='macfilter:view' # right to view the MAC addresses
HTTPD_USER_2_RIGHTS='macfilter:view,add' # right to view the MAC addresses and add a new one

1.5 Disclaimer

The use of the OPT is at your own risk.

1.6 Index



fli4l-Router

November 16 2008