tansly / simplepf Goto Github PK
View Code? Open in Web Editor NEWSimple packet filtering firewall
License: GNU General Public License v2.0
Simple packet filtering firewall
License: GNU General Public License v2.0
Add a mechanism to remove a specific rule from a chain.
May idenfity rules with an integer id, but how does the user know which rule is which? Of course by consulting the rule list that we dump in proc, see #7.
Define a grammar for commands.
Parse the command, fill a command struct and write it to /proc/simplepf/rules
.
Document:
A few printk
s won't hurt noone.
Default accept policy does not always make sense. Give an option to set the default policy.
However, default deny policy would be too strict for this kind of a packet filter. Without an option to allow a range of ports etc. it will be simply unusable.
For more practical configuration, and for a default deny policy to be even marginally practical (#10), there needs to be a way to match a range of ports, IP addresses etc.
Don't let user set port numbers for ICMP filters or ICMP types for UDP/TCP filters.
Without this sanitization, nothing will break; the fields will just be ignored. But we can at least warn the user.
Need an option to apply rules to specific interfaces.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.