/proc/net/ip_conntrack problems

Taral taral@taral.net
Sat, 3 Nov 2001 12:51:06 -0600


--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 03, 2001 at 10:02:03AM +0100, Harald Welte wrote:
> On Mon, Oct 29, 2001 at 04:32:12PM -0600, Taral wrote:
> > Okay, maybe this is a better forum for this. I'm losing lines from
> > /proc/net/ip_conntrack if I don't use a large enough buffer. Why is
> > this? The code is broken, but it's broken too subtly for me to work out.
>=20
> I'm not too familiar with the file I/O code in the kernel, but maybe if y=
ou
> don't read out the whole table in one operation, the contents of the table
> changes before your read out the next part.
>=20
> > Taral <taral@taral.net>

No, I verified that one too. We definitely seem to be losing lines
somehow. I posted to the netfilter list, but still no reply there..

I think this is a bug in list_conntracks.

--=20
Taral <taral@taral.net>
This message is digitally signed. Please PGP encrypt mail to me.
"Any technology, no matter how primitive, is magic to those who don't
understand it." -- Florence Ambrose

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjvkPJoACgkQoQQF8xCPwJQBWwCePczXk8mRpccnkL7zssQkt7wc
OmwAnjtpScBDxuV1cu+ypYKfh5XqN98u
=ojnP
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--