About connbytes
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · On Tue, Nov 09, 2004 at 02:17:25AM -0300, [email protected] wrote:
Hello,
I've been trying to get the connbytes module working but apparently the CVS/SVN libipt_connbytes.c is outdated (for example it uses sinfo->frominstead of
sinfo->count.from). If you've been mantaining it, can you send me your latest version?
Which particular version of ipt_connbytes are you talking about?
at least the 2.6.x version from subversion appears to use 'count.from' consistently.
I don't have anything else than current subversion.
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie
I have the same problem with an outdated libopt_connbytes.c
The latest snapshot ftp://ftp.netfilter.org/pub/iptables/snapshot/iptables-1.3.0-20041114.tar.bz2 as well as the most recent browsable version I can find
http://cvs.netfilter.org/cgi-bin/viewcvs.cgi/trunk/iptables/extensions/libipt_connbytes.c?rev=3071&view=markup
are both old.
Can you give us a link to the current subversion version you refer to?
Thanks,
--Mike Carlton
Quoted 23 lines · Harald Welte
Quoted 5 lines · On Tue, Nov 09, 2004 at 02:17:25AM -0300, [email protected] wrote:
Hello,
I've been trying to get the connbytes module working but apparently the CVS/SVNlibipt_connbytes.cis outdated (for example it usessinfo->from
instead ofsinfo->count.from). If you've been mantaining it, can you send me your latest version?Which particular version of
ipt_connbytesare you talking about?at least the 2.6.x version from subversion appears to use 'count.from' consistently.
I don't have anything else than current subversion.
--
- Harald Welte <[email protected]> http://www.netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
Looks like there is a difference in the development stage between the lastest iptables connbytes and the kernel connbytes (different struct expected in ipt_connbytes.h). It was not useable, at least the last time I checked (9/2004).
The solution I found was to patch the kernel with the connbytes patch from pom patch-o-matic-ng-20040621 and use the lastest iptables.
Be warned, that version uses 32-bit counters (4gb per conntrack entry limit) but I shouldn't be a problem in most cases. Anyway, it shouldn't be so difficult to change them to 64-bit.
If you need I can send you a patch for 2.6.7 kernel so you can skip the pom part. You don't need to patch iptables, connbytes is already included but you'll need to recompile iptables against you patched kernel so the connbytes extension is included in the compilation.
--
Claudio
Quoted 41 lines · Mike Carlton
I have the same problem with an outdated
libopt_connbytes.cThe latest snapshot ftp://ftp.netfilter.org/pub/iptables/snapshot/iptables-1.3.0-20041114.tar.bz2 as well as the most recent browsable version I can find
http://cvs.netfilter.org/cgi-bin/viewcvs.cgi/trunk/iptables/extensions/libipt_connbytes.c?rev=3071&view=markupare both old.
Can you give us a link to the current subversion version you refer to?
Thanks,
--Mike CarltonQuoted 24 lines · Harald Welte
Quoted 5 lines · On Tue, Nov 09, 2004 at 02:17:25AM -0300, [email protected] wrote:
Hello,
I've been trying to get the connbytes module working but apparently the CVS/SVNlibipt_connbytes.cis outdated (for example it usessinfo->from
instead ofsinfo->count.from). If you've been mantaining it, can you send me your latest version?Which particular version of
ipt_connbytesare you talking about?at least the 2.6.x version from subversion appears to use 'count.from' consistently.
I don't have anything else than current subversion.
--
- Harald Welte <[email protected]> http://www.netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
Quoted 10 lines · Mike Carlton
I have the same problem with an outdated
libopt_connbytes.cThe latest snapshot ftp://ftp.netfilter.org/pub/iptables/snapshot/iptables-1.3.0-20041114.tar.bz2 as well as the most recent browsable version I can find
http://cvs.netfilter.org/cgi-bin/viewcvs.cgi/trunk/iptables/extensions/libipt_connbytes.c?rev=3071&view=markupare both old.
Can you give us a link to the current subversion version you refer to?
I'm sorry. I misinterpreted the original mail and thought the claim was that header file and kernel code were out ouf sync. In fact, the libipt_connbytes.c really was out of sync with the kernel implementation.
I've now spent a couple of minutes and tried to bring libipt_connbytes in sync with the kernel part in patch-o-matic-ng (Rev. 3284)
Unfortunately I lack the time for testing beyond the 'compile test'. If you could provide any feedback, that would be appreciated.
Quoted 2 lines
Thanks,
--Mike Carlton
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie