🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Gregory Geller Tue, 23 Mar 1999 00:00
INN2.2 incoming.conf ( bug? )
#36109
Author: Gregory Geller
Date: Tue, 23 Mar 1999 00:00
40 lines
1625 bytes
We are testing out a INN2.2 server. 

In our incoming.conf:

peer my_peer {
    hostname: "host1.domain.com, host2.domain.com, host3.domain.com"
}

Is there some limit to the amount of hosts I can put on a single hostname
entry?  I get to host13 and everything is fine.  I get to 14, reload the
file and see a syntax error in the log.  I remove 14, reload, and STILL
get a syntax error, usually at a line that is a comment.  The only way to
fix is to shutdown the server and restart.  

If it's not a hostname limit, then perhaps it is a limit on the length of
the line.  However I tried using '\' to continue on a new line, and got
similar results.  Is this a bug?  

One more question.  Instead of listing hosts by name, can I list an entire 
network of hosts?  Something like:

peer my_peer {
   hostname: A.B.C.*
}


Thank you.



++ Gregory Geller	|  Cybergate, Inc  
++ Sys Admin		|  Systems Programmer
 
"It pays to be obvious, especially when you
have a reputation for subtlety." 
--  Hober Mallow     


Re: INN2.2 incoming.conf ( bug? )
#36219
Author: Heiko Schlichting
Date: Sun, 28 Mar 1999 00:00
28 lines
1673 bytes
Gregory Geller <gregg1@gate.net> writes:
> [innfeed.conf]
>Is there some limit to the amount of hosts I can put on a single hostname
>entry?

Unfortunately there is a limit and the limit is 255 bytes which often makes
problems. This should be dynamic and only limited by to amount of RAM but
at this time it isn't. The error message for long lines are often very
confusing (e.g. reporting problems with a host '}' in line 0). A workaround
is the following patch: it increases the limit to 8191 chars per line. A
real solution would be dynamic allocation of memory.

Heiko

--- rc.c.org    Wed Jan 27 16:27:29 1999
+++ rc.c        Tue Mar 16 22:30:58 1999
@@ -532,7 +532,7 @@
   register char *s;
   register char *t;
   char          *word;
-  static   char  buff[SMBUF];
+  static   char  buff[BIG_BUFFER]; /* HSG */
   register BOOL flag;
 
   if (*buff == '\0') {


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