- finished write a filter of vens
- finished write a grammar of vens
- finished desgin the object format
- finished write a simple parser that can use grammar to parse out result
- store parse info to database
- precompile grammar module (this works)
- write objects to db (a save subroutine in Firewall::Object)
- finished chinese support
Begin parsing: VENS/10.109.32.168
Load package ... OK
...
OBJECT/address venus: 10.109.32.166~10.109.32.255 192.168.1.101
GROUPS/service ...
POLICY....
....
Compelte. Total 0.20 sec
OBJECT : (TYPE,) STRING, VALUE
TYPE : ADDRESS | SERVICE | ADDRESS_GROUP | SERVICE_GROUP
| SCHEDULE | INTERFACE
INSERT INTO (tablename) (fields) VALUES (values)
Save As Array Reference
POLICY : ACTION, SRC_IF, DST_IF, SRC_IP, DST_IP, SERVICE, SCHEDULE,
STATUS
Save As Array Reference