update README with luanetfilter base API
Update base API details for basic registering and callbacks of netfilter modules using Lunatik. See #105
@sheharyaar please provide an example of how you are planning to use this API; it might be a simple script for dropping everything.
Added a sample example, this example may change a bit in the future, depending on the work progress.
Added a sample example, this example may change a bit in the future, depending on the work progress.
no worries; the goal of this task is only to define a base API for starting the implementation.. the plan is to develop it incrementally and improve it over time ;-)
@sheharyaar btw, these commits should be squashed.. no need to split those changes in separate commits.. you may want to use --fixup while you are still make changes and then rebase -i --autosquash in the end (or time to time)..
Changes: added some extra parameters for match and target, these parameters will be refined while working on the APIs.
@sheharyaar perhaps a good introductory task is to create the skeleton luanetfilter module with exposing only some netfilter definitions using the Lunatik flags support.. it will be a good opportunity to figure out how to use such facilities and how to integrate a new module in the framework..
I agree, I will study the current features available in lunatik and how we can extend it, depending on the needs felt in this module. Alongside, I will create a skeleton module for this.
This is done in PR #151.