Displaying 2 results from an estimated 2 matches for "myfirewall".
2003 Apr 25
0
[Bug 85] New: couldn't write file ,call syscall ,ex. sys_open
...ice.h>
#include <linux/config.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/spinlock.h>
#include <asm-i386/segment.h>
#include <asm-i386/uaccess.h>
#include <linux/netfilter_ipv4.h>
static unsigned int myfirewall(unsigned int hooknum,struct sk_buff **skb,
const struct net_device *in,
const struct net_device *out,int (*okfn)(struct sk_buff*))
{
mm_segment_t old_fs =get_fs() ;
mm_segment_t new_fs =get_ds();
printk("The old fs is [%lu]\n",old_fs.seg) ;
printk("The neww fs is [%lu]\n &quo...
2012 Dec 04
4
puppetlabs-firewall scope
Hello,
I can''t figure out how I can use the module puppetlabs-firewall only
for some targeted nodes.
If I put :
resources { "firewall": purge => true }
in top scope (i.e. site.pp),
then all the firewall rules on all my nodes are purged. Even for nodes
for which I don''t apply any module containing specific firewall { ...
} resources.
If I put it in a module