[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Trouble with posting articles



Detlev Jäckel schrieb am Sonntag, den 14. April 2002:

> Sory, but leafnode version 1.9.21 does not help.

Ouch. That's what I get for not testing against NewsCache servers (don't
have these around to test).

Please try this patch:

1. save this mail
2. cd to your unpacked leafnode source
3. patch -p0 <THISMAIL
4. install leafnode as usual
5. report back if it helps. If it does, leafnode 1.9.22 is near...

*** nntputil.c.orig	Sun Apr 14 14:46:36 2002
--- nntputil.c	Sun Apr 14 14:46:46 2002
***************
*** 282,288 ****
  		syslog(LOG_INFO, "connected to %s:%d, reply: %d",
  		       inet_ntoa(s_in.sin_addr), (int)ntohs(s_in.sin_port),
  		       reply);
! 		if (!strstr(lastreply(), "NewsCache"))
  		    stat_is_evil = 1;
  		else
  		    stat_is_evil = 0;
--- 282,288 ----
  		syslog(LOG_INFO, "connected to %s:%d, reply: %d",
  		       inet_ntoa(s_in.sin_addr), (int)ntohs(s_in.sin_port),
  		       reply);
! 		if (strstr(lastreply(), "NewsCache"))
  		    stat_is_evil = 1;
  		else
  		    stat_is_evil = 0;

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list