[Freeciv-Dev] [bug #21297] Network compression could cause network buffer overflow and cut connection

2013-11-30 Thread Jacob Nevins
Update of bug #21297 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at:

[Freeciv-Dev] [bug #21297] Network compression could cause network buffer overflow and cut connection

2013-11-24 Thread Jacob Nevins
Update of bug #21297 (project freeciv): Status:None = In Progress Assigned to:None = jtn Planned Release: = 2.4.2,2.5.0,2.6.0

[Freeciv-Dev] [bug #21297] Network compression could cause network buffer overflow and cut connection

2013-11-24 Thread Jacob Nevins
Follow-up Comment #3, bug #21297 (project freeciv): I was able to trigger this on Ubuntu with FREECIV_COMPRESSION_LEVEL=0, even when taking extra care to not emit more than MAX_LEN_BUFFER. Reducing the queue max to MAX_LEN_BUFFER/2 or even /4 doesn't seriously reduce the level of compression

[Freeciv-Dev] [bug #21297] Network compression could cause network buffer overflow and cut connection

2013-11-24 Thread Jacob Nevins
Update of bug #21297 (project freeciv): Status: In Progress = Ready For Test ___ Follow-up Comment #4: (Also noticed in passing that conn_compression_flush() can send a compressed packet that's

[Freeciv-Dev] [bug #21297] Network compression could cause network buffer overflow and cut connection

2013-11-23 Thread Jacob Nevins
URL: http://gna.org/bugs/?21297 Summary: Network compression could cause network buffer overflow and cut connection Project: Freeciv Submitted by: jtn Submitted on: Sat Nov 23 21:14:29 2013 Category: None

[Freeciv-Dev] [bug #21297] Network compression could cause network buffer overflow and cut connection

2013-11-23 Thread Jacob Nevins
Follow-up Comment #1, bug #21297 (project freeciv): Current classic ruleset data on trunk sent at game start is about 417kbyte uncompressed, 161kbyte uncompressed (down to ~40%), so doesn't trigger this. In future, sending a big map compressed could trigger the huge queue flush (see discussion

[Freeciv-Dev] [bug #21297] Network compression could cause network buffer overflow and cut connection

2013-11-23 Thread Jacob Nevins
Follow-up Comment #2, bug #21297 (project freeciv): 161kbyte uncompressed I meant 161kbyte *compressed*, of course. ___ Reply to this item at: http://gna.org/bugs/?21297 ___ Message sent