search for: outifac

Displaying 2 results from an estimated 2 matches for "outifac".

Did you mean: outiface
2013 Dec 12
3
Puppetlabs-firewall and Logging
...;', log_prefix => ''ssh_in '' } firewall { ''011 ssh_in'': chain => ''ssh_in'', action => ''accept'' } *This works for DNS:* firewall { ''016 fwd to dns_out'': chain => ''OUTPUT'', outiface => ''eth0'', destination => ''10.x8.x0.x5'', proto => ''udp'', port => ''53'', action => ''accept'', } firewall { ''016 fwd to dns_out'': chain => ''OUTPUT'', outif...
2003 Dec 26
2
[Bug 84] Unaligned access in ip_tables.c:ip_packet_match
...) { dprintf("VIA in mismatch (%s vs %s).%s\n", @@ -164,11 +172,11 @@ ip_packet_match(const struct iphdr *ip, return 0; } - for (i = 0, ret = 0; i < IFNAMSIZ/sizeof(unsigned long); i++) { - ret |= (((const unsigned long *)outdev)[i] - ^ ((const unsigned long *)ipinfo->outiface)[i]) - & ((const unsigned long *)ipinfo->outiface_mask)[i]; - } + for (i = 0, ret = 0; i < IFNAMSIZ; i++) { + ret |= (outdev[i] + ^ ipinfo->outiface[i]) + & ipinfo->outiface_mask[i]; + } if (FWINV(ret != 0, IPT_INV_VIA_OUT)) { dprintf("VIA out mismatch (%s...