How to programmatically implement a firewall rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI,
I hope all are fine, and happy new year.


I want to implement a rule using libnftnl in C programming. This rule
specifies that a packet with a specific source address and a specific
destination address SHOULD be allowed. All other packet which does not
have that source and destination address MUST be dropped.


Just a little hint would suffice. I need to implement it. Any
direction would be much appreciated.


Thanks,
Khawar
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux