🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Antonio Querubin Mon, 21 Sep 1998 00:00
enabling xrefslave causes excess rejects
#31573
Author: Antonio Querubin
Date: Mon, 21 Sep 1998 00:00
12 lines
1186 bytes
I've been trying to use the xrefslave feature in INN 2.1 to synchronize
the active file in one news server to that of another running INN 1.4 (the
older INN feeds the new version).  However, when xrefslave is turned on in
the downstream server a lot of articles are rejected with a '437 Invalid
Xref header ""' error message in the news log file.  Does use of xrefslave
require additional configuration in the upstream server to work properly?

-- 
Antonio Querubin  
tony@iniki.dod.hawaii.gov / ah6bw@hawaii.ampr.org

Re: enabling xrefslave causes excess rejects
#31560
Author: Mark Hittinger
Date: Mon, 21 Sep 1998 00:00
71 lines
2852 bytes
tony@news.dod.hawaii.gov (Antonio Querubin) writes:
>I've been trying to use the xrefslave feature in INN 2.1 to synchronize
>the active file in one news server to that of another running INN 1.4 (the
>older INN feeds the new version).  However, when xrefslave is turned on in
>the downstream server a lot of articles are rejected with a '437 Invalid
>Xref header ""' error message in the news log file.  Does use of xrefslave
>require additional configuration in the upstream server to work properly?

There is a bug in the older INN xrefslave patch.  It does not generate
xref headers for articles which are not crossposted.  I've appended a
patch for art.c which basically gets rid of a boolean test.  That test
causes xref headers to only be generated for crossposted articles.  We
want to ditch that and generate xref for an article even if it is only
posted to one group.

Regards,

Mark Hittinger
ICGNetcom/DallasOps
bugs@freebsd.netcom.com

xrefslave patch patch for art.c :-)

*** art.c.5	Wed Sep 17 11:23:42 1997
--- art.c.6	Fri Oct 10 21:11:35 1997
***************
*** 601,607 ****
  	ARTheaders[_lines].Found = 1;
      }
  
-     if (CrossPosted) {
  	/* Install in header table; STRLEN("Xref: ") == 6. */
  	vp->iov_base = "Xref: ";
  	vp->iov_len = 6;
--- 601,606 ----
***************
*** 609,615 ****
  	vp->iov_base = HDR(_xref);
  	vp->iov_len  = ARTheaders[_xref].Length;
  	size += (vp++)->iov_len;
-     } 
  
      end = vp;
      vp->iov_base = NL;
--- 608,613 ----
***************
*** 659,665 ****
      (void)sprintf(bytesbuff, "Bytes: %ld\n", size);
      for (i = strlen(bytesbuff), vp = iov; vp < end; vp++)
        i += vp->iov_len;
-     if (!CrossPosted)
        i += ARTheaders[_xref].Length;
  
      if (Headers.Data == NULL) {
--- 657,662 ----
***************
*** 673,682 ****
  
      /* Add the data. */
      BUFFset(&Headers, bytesbuff, strlen(bytesbuff));
-     if (!CrossPosted) {
          BUFFappend(&Headers, "Xref: ", 6);
  	BUFFappend(&Headers, HDR(_xref), ARTheaders[_xref].Length);
-     }
      for (vp = iov; vp < end; vp++)
  	BUFFappend(&Headers, vp->iov_base, vp->iov_len);
      Data->Headers = &Headers;
--- 670,677 ----


Re: enabling xrefslave causes excess rejects
#31594
Author: Fluffy
Date: Tue, 22 Sep 1998 00:00
10 lines
1157 bytes
bill davidsen <davidsen@tmr.com> wrote:
> Did 1.4 have the -x option? The oldest source I could find is 1.4unoff3,
> and it's there.

1.4sec has it, FWIW.
-- 
Meow!


Re: enabling xrefslave causes excess rejects
#31597
Author: bill davidsen
Date: Tue, 22 Sep 1998 00:00
20 lines
1676 bytes
In article <6u6gb9$9gl$1@iniki.dod.hawaii.gov>,
Antonio Querubin <tony@news.dod.hawaii.gov> wrote:
| I've been trying to use the xrefslave feature in INN 2.1 to synchronize
| the active file in one news server to that of another running INN 1.4 (the
| older INN feeds the new version).  However, when xrefslave is turned on in
| the downstream server a lot of articles are rejected with a '437 Invalid
| Xref header ""' error message in the news log file.  Does use of xrefslave
| require additional configuration in the upstream server to work properly?

Did 1.4 have the -x option? The oldest source I could find is 1.4unoff3,
and it's there.

--
bill davidsen (davidsen@tmr.com)
  "The action you see on fishing programs is something like the women
in _Playboy_. Not actually *fake*, but not remotely typical of the
average person's experience."  -me


Re: enabling xrefslave causes excess rejects
#31612
Author: Antonio Querubin
Date: Tue, 22 Sep 1998 00:00
10 lines
835 bytes
: Xref header ""' error message in the news log file.  Does use of xrefslave
: require additional configuration in the upstream server to work properly?

I just noticed a '-x' parameter for INND 1.4 and will give that a try.

--
Antonio Querubin
tony@lava.net / ah6bw@hawaii.ampr.org

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads