tansly / simplepf

Simple packet filtering firewall

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write a userspace helper

tansly opened this issue · comments

Define a grammar for commands.
Parse the command, fill a command struct and write it to /proc/simplepf/rules.

I didn't think alignment issues etc. thoroughly. Is there anything I need to consider while reading/writing the struct?

Need to document this in readme now.