12 Jan 2012 00:13
Streaming NNTP bug (redux)
River Tarnell <river <at> RT.UK.EU.ORG>
2012-01-11 23:13:48 GMT
2012-01-11 23:13:48 GMT
Hi, Some time ago I posted about a strange behaviour from INN on my own server: <https://lists.isc.org/pipermail/inn-workers/2011-March/017392.html> Julien wasn't able to reproduce the bug and I never saw that behaviour from any other server, so I never got around to investigating it further (or proving that it wasn't something about my system specifically). However, I've now run across it again, from several of my peers. For example: Jan 11 22:58:39 INFO: feeder: enfer-du-nord[87.98.157.95]:119: invalid response from command [.438 <jektk2$7ja$1 <at> dont-email.me>] Jan 11 23:04:17 INFO: feeder: tomockey[220.157.151.83]:119: invalid response from command [y438 <DkM4jRgkX7fAHPAXlidGc.0.gpbBcspOKKMq7MNTw.AHtQ <at> spot.net>] For the second example I captured a packet trace, which can be seen here: <http://www.rt.uk.eu.org/~river/files/inn_bug.txt> The relevant part is: 23:04:17.699596 IP s151083.ppp.asahi-net.or.jp.nntp > news-transit.rt.uk.eu.org.59499: . 36663:38065(1402) ack 49772 win 1281 <nop,nop, timestamp 4256181521 8> [...] 0x01a0: 6c2e 6d65 3e0d 0a34 3338 203c 6a67 6372 l.me>..438.<jgcr 0x01b0: 6737 6433 6976 7531 376a 7469 6d65 6735 g7d3ivu17jtimeg5 0x01c0: 6564 3130 6674 3267 3466 3962 3261 4034 ed10ft2g4f9b2a <at> 4 0x01d0: 6178 2e63 6f6d 3e0d 0a79 3433 3820 3c44 ax.com>..y438.<D(Continue reading)
Here is the bug (2.5.2nb4 from pkgsrc):
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
e438 <ecedb319-ae53-46a7-91c7-49c21a1d31df <at> p3g2000pbb.googlegroups.com>
$438 <cf2e6318-c7e4-4e4b-b581-7dba723ebc80 <at> iu7g2000pbc.googlegroups.com>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
g438 <jelrgt$hga$5 <at> dont-email.me>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
g438 <jelrgt$hga$5 <at> dont-email.me>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
e438 <1651463140348034694.072087djmartin_nospam-tamu.edu <at> news.eternal-september.org>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
>438 <9n79r6F81mU1 <at> mid.individual.net>
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
e438 <ecedb319-ae53-46a7-91c7-49c21a1d31df <at> p3g2000pbb.googlegroups.com>
It happens every time with this list.
Then I applied your patch and tested again:
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
% ./inntest isis 433 list > out; egrep -v '^(.38|200)' out
RSS Feed