[Wifidog] Version 1.0

Philippe April papril777 at yahoo.com
Fri Apr 23 19:20:09 EDT 2004


:)

I'll definitely change the procedure that checks the counters first
because it's the easiest (I believe) to change, then I'll see what we can
do for the rest...

Philippe

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>> Sol 2: We include iptables into src_topdir/iptables/, link to libiptc.a
>> AND link with iptables.o to use all the code (we also have to include
>> -ldl) because iptables will load libraries dynamically for matches like
>> MAC (you know, the one we use? :P).
>
> Ok, sounds easy enough to do.
>
>> Then, we could make calls to functions in iptables.c that are a bit
>> easier
>> to work with.
>>
>> In fact, it'd be easier to use the function "do_command()" for pretty
>> much
>> everything and pass it the arguments like we were doing it on the
>> command
>> line.
>>
>> That way, we wouldn't be forking all the time to run iptables commands.
>>
>> ALSO, the good news is that we can use easi-er calls to libiptc to query
>> (querying is much easier) for the counters and all (that will help a
>> lot).
>>
>> Is this something we want to do?
>>
>> What do you all think about linking that way to iptables.o to use
>> functions like "do_command()" (or other functions if they're easy enough
>> to work with)?
>
> I certainly like it better than calling shell scripts.
>
> - --
> Benoit Grégoire, http://step.polymtl.ca/~bock/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFAiZmumZ6zzPlLuwMRAvAMAJsEXOBQ3Q3P0WuqKa5EYk7wAJjOOACfSn3U
> CGtm7nStpr/81i+ximWIdsA=
> =XKnl
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Wifidog mailing list
> Wifidog at isf.waglo.com
> http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com
>
>


_______________________________________________
Wifidog mailing list
Wifidog at isf.waglo.com
http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com



More information about the Wifidog mailing list