Re: ipfw on just inbound and not outbound

2015-05-21 Thread hiren panchasara
On 05/21/15 at 12:42P, hiren panchasara wrote: > Getting back to this now to see if I can avoid ipfw on outgoing packets. > > @@ -500,7 +507,7 @@ ipfw_hook(int onoff, int pf) > hook_func = (pf == AF_LINK) ? ipfw_check_frame : ipfw_check_packet; > > (void) (onoff ? pfil_add_hook :

Re: ipfw on just inbound and not outbound

2015-05-21 Thread hiren panchasara
Getting back to this now to see if I can avoid ipfw on outgoing packets. @@ -500,7 +507,7 @@ ipfw_hook(int onoff, int pf) hook_func = (pf == AF_LINK) ? ipfw_check_frame : ipfw_check_packet; (void) (onoff ? pfil_add_hook : pfil_remove_hook) - (hook_func, NULL, PFIL_IN |