s would be appreciated
thanks
Brian
here is a boiled down set of rules that I use:
#!/bin/sh
cmd="ipfw add"
skip="skipto 700"
oif=dc0
iif=re0
log="log logamount 1000"
ks="keep-state"
ipfw -f flush
$cmd 098 allow all from any to an
Hi all
I have now for days tried to find some info on polling the ipfw counters
via ipfw, and there's lots of people suggesting just to use the exec
param in net-snmp.
However, is it possible in any way with either bsnmpd or net-snmp to
poll those counters with out alot of magic (shell script glu
();
+ for (m = mn = m0; m != NULL; m = mn) {
+ mn = m->m_nextpkt;
+ m->m_nextpkt = NULL;
+ ip_output(m, NULL, NULL, 0, NULL, NULL);
+ }
done:
callout_reset(&ipfw_timeout, dyn_keepalive_period*hz, ipfw_tick, NULL);
}
--