Thread View: news.software.nntp
4 messages
4 total messages
Started by Matt Dillon
Wed, 25 Feb 1998 00:00
Diablo 1.15 released, *EXPERIMENTAL*
Author: Matt Dillon
Date: Wed, 25 Feb 1998 00:00
Date: Wed, 25 Feb 1998 00:00
28 lines
1635 bytes
1635 bytes
Diablo 1.15 has been released.
This is an EXPERIMENTAL release and you may have problems compiling it.
bug reports should be sent to diablo-bugs@backplane.com or posted to
this group.
The news transit portion of this release is very close to 1.14 and,
assuming you can compile it, should be of production quality.
The reader subsystem portion of this release is EXPERIMENTAL and
should not be used on production machines yet. It's good enough
to start bashing on, but needs a bunch of work. For example, this
release will not properly expire the overview information and the
spool-server priority stuff doesn't work yet, and lots of other
problems.
Any and all feedback is appreciated.
-Matt
--
Matthew Dillon Engineering, BEST Internet Communications, Inc.
<dillon@best.net>, include original article w/ any response.
do not under any circumstances send email to joeblow@bigspender.idiom.com
and, for gods sake, don't email bucktram@popserver.idiom.com
Re: Diablo 1.15 released, *EXPERIMENTAL*
Author: Michael Malone
Date: Sat, 28 Feb 1998 00:00
Date: Sat, 28 Feb 1998 00:00
74 lines
2749 bytes
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])
) {
Re: Diablo 1.15 released, *EXPERIMENTAL*
Author: Michael Malone
Date: Sat, 28 Feb 1998 00:00
Date: Sat, 28 Feb 1998 00:00
40 lines
2171 bytes
2171 bytes
Matt Dillon wrote:
> Diablo 1.15 has been released.
I've downloaded and installed 1.15 under linux 2.0.33, with only some
minor modifications.
However, when an incoming connection is made, the dns lookup fails.
If I do an strace on one of the "dns startup" forks, I get:
[root@flamenco diablo]# strace -s 80 -p 24495
read(19, "\2\0\0w\313;\30\311\0\0\0\0\0\0\300\310\2\0}{\313;\30\307\0\0\0\0\0\0\300\310\0\0"..., 64) = 64
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
bind(3, {sin_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("203.59.24.201")}, 16) = 0
fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
connect(3, {sin_family=AF_INET, sin_port=htons(113), sin_addr=inet_addr("203.59.24.199")}, 16) = -1 EINPROGRESS (Operation now in progress)
fstat(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40007000
ioctl(1, TCGETS, 0xbffff1bc) = -1 ENOTTY (Not a typewriter)
oldselect(4, NULL, [3], NULL, {10, 0}) = 1 (out [3], left {10, 0})
fcntl(3, F_SETFL, O_RDONLY) = 0
write(3, "32123, 119\r\n", 12) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
[root@flamenco diablo]#
diablo reader is running on 203.59.24.201. I'm trying to connect from 203.59.24.199.
It will accept connections from 127.0.0.1 or 203.59.24.201 itself. Anywhere else
just gives:
Trying 203.59.24.201...
Connected to flamenco.iinet.net.au.
Escape character is '^]'.
Connection closed by foreign host.
It doesn't matter whether the host is in dreader.hosts or not.
MM
Diablo 1.16-test2 released, *EXPERIMENTAL*
Author: Matt Dillon
Date: Wed, 04 Mar 1998 00:00
Date: Wed, 04 Mar 1998 00:00
26 lines
1612 bytes
1612 bytes
Diablo 1.16-test2 is now available on my site.
This is an EXPERIMENTAL release. Production sites should run 1.14.
This release fixes all known reader-related bugs in 1.16-test1 and
1.15-rel *EXCEPT* that file descriptor passing still doesn't work under
IRIX and Solaris boxes (no programmers have sent me patches yet for
those OS's).
Specifically, this should fix the reverse AUTH problem and should fix
the snprintf() missing problems (I wrote my own), though you may still
have to set HAVE_SNPRINTF properly for your OS in lib/config.h (email
me back if you do have to change that).
These are still experimental releases.
-Matt
--
Matthew Dillon Engineering, BEST Internet Communications, Inc.
<dillon@best.net>, include original article w/ any response.
do not under any circumstances send email to joeblow@bigspender.idiom.com
and, for gods sake, don't email bucktram@popserver.idiom.com
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