lunatik icon indicating copy to clipboard operation
lunatik copied to clipboard

update README with luanetfilter base API

Open sheharyaar opened this issue 1 year ago • 7 comments

Update base API details for basic registering and callbacks of netfilter modules using Lunatik. See #105

sheharyaar avatar May 02 '24 16:05 sheharyaar

@sheharyaar please provide an example of how you are planning to use this API; it might be a simple script for dropping everything.

lneto avatar May 02 '24 19:05 lneto

Added a sample example, this example may change a bit in the future, depending on the work progress.

sheharyaar avatar May 03 '24 08:05 sheharyaar

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 ;-)

lneto avatar May 03 '24 10:05 lneto

@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)..

lneto avatar May 04 '24 09:05 lneto

Changes: added some extra parameters for match and target, these parameters will be refined while working on the APIs.

sheharyaar avatar May 05 '24 06:05 sheharyaar

@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..

lneto avatar May 05 '24 11:05 lneto

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.

sheharyaar avatar May 05 '24 11:05 sheharyaar

This is done in PR #151.

sheharyaar avatar Jul 24 '24 16:07 sheharyaar