Thread View: news.software.nntp
6 messages
6 total messages
Started by Dave Navarro
Mon, 28 May 2001 11:46
NNTP programming
Author: Dave Navarro
Date: Mon, 28 May 2001 11:46
Date: Mon, 28 May 2001 11:46
30 lines
1819 bytes
1819 bytes
Can someone point me to a newsgroup on NNTP programming? I'm writing code for accessing newsgroups and I ran into a problem with AUTHINFO. When I send: AUTHINFO USER username AUTHINFO PASS password I get the following response from Earthlink: 200 EarthLink News Service Ready (Typhoon v1.2.4) >>POST 480 Authentication Required >> AUTHINFO USER 381 More Authentication Required >> AUTHINFO PASS 502 Authentication Failed It says that Authentication fails. According to RFC 2980 I should send the authentication data as plain text. The user name and password I am sending are valid because I am using them right now in Gravity to post this message. Thanks for any help anyone can provide. --Dave
Re: NNTP programming
Author: Dave Navarro
Date: Mon, 28 May 2001 13:36
Date: Mon, 28 May 2001 13:36
12 lines
1484 bytes
1484 bytes
In article <MPG.157c048c1413afff989680@news.earthlink.net>, dave@basicguruCOM.nospam says... > Can someone point me to a newsgroup on NNTP programming? > > I'm writing code for accessing newsgroups and I ran into a problem with > AUTHINFO. As always... A bug in my code. I was sending the user info for both the name and password.... sigh. --Dave
Re: NNTP programming
Author: those who know me have no need o...
Date: Mon, 28 May 2001 14:20
Date: Mon, 28 May 2001 14:20
16 lines
1230 bytes
1230 bytes
<MPG.157c048c1413afff989680@news.earthlink.net> divulged: >Can someone point me to a newsgroup on NNTP programming? this is it. >The user name and password I am sending are valid because I am using >them right now in Gravity to post this message. since you've already solved this i won't worry about it. i'll make a general statement, consider enabling gravity's connection logging for these sorts of investigations. -- okay, have a sig then
Re: NNTP programming
Author: Johnny Favorite
Date: Mon, 28 May 2001 16:10
Date: Mon, 28 May 2001 16:10
14 lines
1638 bytes
1638 bytes
Dave Navarro wrote: > As always... A bug in my code. I was sending the user info for both > the name and password.... sigh. I had that type of problem many times while writing my newsreader. So very early on I added a log to record all lines sent and received. Saved me all sorts of headaches! I also wrote my own news server simulator so that A) I wouldn't accidentally send crap to my normal news server that it might not like, possibly making the administrator mad at me, and B) my simulator never times out on me and yanks my connection, so I can sit in the debugger staring at my code for as long as I want.
Re: NNTP programming
Author: those who know me have no need o...
Date: Mon, 28 May 2001 21:15
Date: Mon, 28 May 2001 21:15
19 lines
1724 bytes
1724 bytes
<PM0003855E95B04E95@cobalt.oceania.com> divulged: >I also wrote my own news server simulator it's trivial to setup a local server, whether that's inn or hamster. still, a server that you can force to do things that real servers don't usually do, but which are allowed or have been seen in the wild can be much easier than installing 15 different servers. >my simulator never times out on me and yanks my connection, so I can >sit in the debugger staring at my code for as long as I want. that can be handy, but it means that you probably haven't tested your reconnect code nearly as well as you might have if your server we're closer to the real things. -- okay, have a sig then
Re: NNTP programming
Author: Johnny Favorite
Date: Mon, 28 May 2001 21:43
Date: Mon, 28 May 2001 21:43
26 lines
2274 bytes
2274 bytes
those who know me have no need of my name wrote: > it's trivial to setup a local server, whether that's inn or hamster. Trivial for you, maybe. I've busted enough brane cells up against UNIX-centric apps in the past to be wary. My news server simulator turned out to be trivial enough. Basically it does nothing but read in commands, figures out what text file to open, and sends back the contents. The only command it knows how to handle by itself is QUIT. > still, a server that you can force to do things that real servers > don't usually do, but which are allowed or have been seen in the wild > can be much easier than installing 15 different servers. Yes. That was my main consideration. Say I want to see what happens if the connection times out due to Internet weirdness. With my fake server I can make it "time out" at exactly the same place over and over again. > that can be handy, but it means that you probably haven't tested your > reconnect code nearly as well as you might have if your server we're > closer to the real things. It might be an issue if I *had* any reconnect code! If the connection dies the user has to start it over again.
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