pryorda / sonicwallRuleParser

Parses Sonicwall rules, groups, and services from settings export.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sonicwall Rule Parser

Parses Sonicwall Rules, Groups, and Services from a settings export file.

Example Usage

python ./parser.py sampleExport.exp

==========================================================
================== Firewall Rules ========================
==========================================================

Source Zone,Dest Zone,Source Net,Dest Net, Dest Service, Action, Comment
LAN,WAN,Any,Blaze Meter Group,HTTP,Allow,ExampleRule

==========================================================
================== Address Objects =======================
==========================================================

Address Name,Zone,IP,Subnet
Blaze Meter Group,WAN,0.0.0.0,0.0.0.0
BlazeMeter 1 (US East),WAN,204.222.243.199,255.255.255.255
BlazeMeter 2 (US East),WAN,204.222.243.199,255.255.255.255

==========================================================
================== Address Groups ========================
==========================================================

Blaze Meter Group
        BlazeMeter 1 (US East)
        BlazeMeter 2 (US East)


==========================================================
================== Service Objects =======================
==========================================================

Service Name, Start Port, EndPort, Protocol, ObjectType

==========================================================
================== Service Groups ========================
==========================================================

About

Parses Sonicwall rules, groups, and services from settings export.


Languages

Language:Python 99.2%Language:Shell 0.8%