🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26569

Re: Diablo 1.15 released, *EXPERIMENTAL*

#26569
From: Michael Malone
Date: Sat, 28 Feb 1998 00:00
74 lines
2749 bytes
Michael Malone wrote:
> However, when an incoming connection is made, the dns lookup fails.

Following up to my own article!  The problem appears to be in
the identd check.  I've removed the GetAuthUser call from DnsTask
and it is all working now.

So to get diablo reader to compile and run under linux 2.0.33,
you need to apply the following patch:


diff -cr diablo/XMakefile.inc diablo.new/XMakefile.inc
*** diablo/XMakefile.inc	Thu Feb 26 11:12:32 1998
--- diablo.new/XMakefile.inc	Sat Feb 28 13:22:27 1998
***************
*** 17,23 ****
  .set CC		cc
  #endif
  
! .set LFLAGS	-Lobj -ldiablo -lutil -lm
  .set IDIR	/news
  .set MDIR	/usr/local/man
  
--- 17,23 ----
  .set CC		cc
  #endif
  
! .set LFLAGS	-Lobj -ldiablo -lm
  .set IDIR	/news
  .set MDIR	/usr/local/man
  
diff -cr diablo/dreaderd/dns.c diablo.new/dreaderd/dns.c
*** diablo/dreaderd/dns.c	Wed Feb 25 13:10:31 1998
--- diablo.new/dreaderd/dns.c	Sat Feb 28 15:01:57 1998
***************
*** 36,42 ****
  
  	stprintf("reverse auth %s", inet_ntoa(dreq.dr_RSin.sin_addr));
  
! 	GetAuthUser(&dreq.dr_LSin, &dreq.dr_RSin, dres.dr_User, sizeof(dres.dr_User));
  
  	stprintf("dns lookup %s", inet_ntoa(dreq.dr_RSin.sin_addr));
  
--- 36,42 ----
  
  	stprintf("reverse auth %s", inet_ntoa(dreq.dr_RSin.sin_addr));
  
! /*	GetAuthUser(&dreq.dr_LSin, &dreq.dr_RSin, dres.dr_User, sizeof(dres.dr_User)); */
  
  	stprintf("dns lookup %s", inet_ntoa(dreq.dr_RSin.sin_addr));
  
diff -cr diablo/util/dexpireover.c diablo.new/util/dexpireover.c
*** diablo/util/dexpireover.c	Thu Feb 26 10:34:31 1998
--- diablo.new/util/dexpireover.c	Sat Feb 28 13:23:03 1998
***************
*** 165,171 ****
  	    char *tmp = malloc(strlen(OverviewHome) + 32);
  
  	    while ((den = readdir(dir)) != NULL) {
! 		if (den->d_namlen == 2 && 
  		    isalnum(den->d_name[0]) &&
  		    isalnum(den->d_name[1])
  		) {
--- 165,171 ----
  	    char *tmp = malloc(strlen(OverviewHome) + 32);
  
  	    while ((den = readdir(dir)) != NULL) {
! 		if (den->d_reclen == 2 && 
  		    isalnum(den->d_name[0]) &&
  		    isalnum(den->d_name[1])
  		) {

Technical Details
Message-ID: <6d8ecu$up3$1@news.iinet.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <6d2ml1$onm$1@flea.best.net> <6d8bhd$tih$1@news.iinet.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <6d8ecu$up3$1@news.iinet.net.au>
Subject: Re: Diablo 1.15 released, *EXPERIMENTAL*
Date: Sat, 28 Feb 1998 00:00:00 +0000
From: mmalone@creole.iinet.net.au (Michael Malone)
References: <6d2ml1$onm$1@flea.best.net> <6d8bhd$tih$1@news.iinet.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 329398308
Organization: iiNet Technologies
Newsgroups: news.software.nntp