[PLUG] problem with bridging, iptables, and wireless

Elliott Mitchell ehem at m5p.com
Thu Jan 18 04:31:09 UTC 2007


>From: Russell Senior <russell at personaltelco.net>
> I think you answer your own question.  Just turn off all that iptables
> crap.  If you really need it, add it back gradually until it stops
> working and then figure out what's wrong with the part that breaks it.

Alas that leaves you open while you debug it. There is a much simpler way
though. Every iptables rule has a byte counter. To see it, use the "-v"
option to iptables when using "-L". -Z will zero the counters. If you
understand your traffic, you can simply use the counters on the existing
rules to figure out where packets are disappearing. If that doesn't work,
then insert extra rules with no jump target that match the packets you're
interested in. Once you find a rule whose counter is lagging behind the
others, that is where the problem is.

This of course assumes the guess of it being filtered out somewhere is
correct.


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         EHeM at gremlin.m5p.com PGP 8881EF59         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
    \___\_|_/82 04 A1 3C C7 B1 37 2A*E3 6E 84 DA 97 4C 40 E6\_|_/___/





More information about the PLUG mailing list