Thread View: news.software.nntp
7 messages
7 total messages
Started by B'ichela
Thu, 30 May 2002 00:00
I am having a headache with NNTP-1.5.12.1 compiling the server, also appoligies
Author: B'ichela
Date: Thu, 30 May 2002 00:00
Date: Thu, 30 May 2002 00:00
37 lines
2701 bytes
2701 bytes
As I was plodding through the source code. I ran into some snags with the xmit and xfer dirs. The main server dir compiles file. but with these two dirs they are using system entries I DON't Have. I hate to consider releasing a frontend for cnews that will possibly "bomb" on people. Thus I would like to set this frontend up for readers only. Where in server directory do these routines get called? I want to send a nice little error to the remote nntp and exit. say an error like error 502 Access to server denied. I only want to sent this to people who are NOT readers. If that is the wrong error. let me know please. This is valuable for another reason, I don't have a practical way to test the nntp transfer sections other than the reader mode. Of course I would release the full source code with cnews, In fact I am working at tieing the two programs together with ONE configuration file. Still not sure what to call this version. Cnews-1.00? or Cnews.cr.H+nntpd? Suggestions welcome. Now, to that man I blasted with both barrels about him suggesting I compile the original code. I am sorry I snapped at you. I am not good at C other than at a rudimentry level. My education was in higher languages such as Cobol, Fortran and Microsoft Basic. It was wrong of me to blowup at you. Yet, what I really needed was an explaination for __SERR and the response sounded more like a rant. I really wish someone else would help with the nntp-1.5.12.1 sourcecode and porting it to properly work with glibc-2.2.3 for Linux, for this I am poorly prepared, Adding new features to the C-News batch files is easier for me to handle. Email me if you want to give me a hand. my email address is mdalene@home.ctol.net -- B'ichela
Re: I am having a headache with NNTP-1.5.12.1 compiling the server, also appoligies
Author: itsy bitsy meowbot
Date: Thu, 30 May 2002 08:34
Date: Thu, 30 May 2002 08:34
55 lines
3607 bytes
3607 bytes
B'ichela wrote: > As I was plodding through the source code. I ran into some > snags with the xmit and xfer dirs. The main server dir compiles file. > but with these two dirs they are using system entries I DON't Have. Don't worry too much about the xfer and xmit stuff. There are alternatives all over, including nntplink and some bundled in the C News distribution and By the way, are you aware that the last "official" version of nntpd was 1.5.12.2, and that the new-york.net version is still newer? > I hate to consider releasing a frontend for cnews that will > possibly "bomb" on people. There are bigger problems lurking in nntpd, incorrect handling of long lines being the worst one. Now that people are experimenting with almost-binary articles, that really needs to be fixed. > Thus I would like to set this frontend up > for readers only. Where in server directory do these routines get > called? I want to send a nice little error to the remote nntp and > exit. say an error like > error 502 Access to server denied. I only want to sent this to people > who are NOT readers. The directories where you are having problems are for transmitting news, not receiving it. They're separate programs independent of nntpd. Do make sure you get msgidd working. That one is kind of important to have. > If that is the wrong error. let me know please. > This is valuable for another reason, I don't have a practical way to > test the nntp transfer sections other than the reader mode. That's okay. Unlike INN, there are no separate transfer and reader modes in nntpd. What's allowed is controlled by nntp_access. > Of course I would release the full source code with cnews, In > fact I am working at tieing the two programs together with ONE > configuration file. Before going there, it might be worthwhile to untangle at least some of the mess of #ifdefs. There is some truly ancient code in there that virtually nobody uses any more. > It was wrong of me to blowup at you. Yet, what I really > needed was an explaination for __SERR and the response sounded more > like a rant. I really wish someone else would help with the > nntp-1.5.12.1 sourcecode and porting it to properly work with > glibc-2.2.3 for Linux, for this I am poorly prepared, At this point, it might even be better to start from scratch.
Re: I am having a headache with NNTP-1.5.12.1 compiling the server, also appoligies
Author: Abelardo Tordo
Date: Thu, 30 May 2002 10:56
Date: Thu, 30 May 2002 10:56
13 lines
1438 bytes
1438 bytes
In news.software.nntp, B'ichela <mdalene@pinkrose.local.net> wrote: > like a rant. I really wish someone else would help with the > nntp-1.5.12.1 sourcecode and porting it to properly work with > glibc-2.2.3 for Linux, for this I am poorly prepared, Adding new May be you want to have a look at http://packages.debian.org/testing/news/nntp.html From there you can download the debian diff against the original source. Debian version is linked to libc6 2.2.5. Regards.
Re: I am having a headache with NNTP-1.5.12.1 compiling the server, also appoligies
Author: B'ichela
Date: Thu, 30 May 2002 22:37
Date: Thu, 30 May 2002 22:37
80 lines
5091 bytes
5091 bytes
In article <MPG.175fae1ab041536b989697@litterbox.meowing.net>, itsy bitsy meowbot wrote: > Don't worry too much about the xfer and xmit stuff. There are > alternatives all over, including nntplink and some bundled in the C News > distribution and Phew! I knew of the replacements. but I was unsure if the system would work without those two sections. Seems that the compiled server does not call those two as subprograms. I just disabled making them in the makefile. > By the way, are you aware that the last "official" version of nntpd was > 1.5.12.2, and that the new-york.net version is still newer? I have both. Not sure if the New-York.net version is still copyrighted as it was modified for a New York ISP. as for nntpd-1.5.12.2 I am not sure just how much of a difference exists between that and the nntpd-1.5.12.1 that is now called nntpd-1.5.12.1-bichela in the new cnews-cr.h package. I am using both the cnews-cr.h and nntpd-1.5.12.1-bichela now. I need to use the cnews makefile to cp the rnews and inews programs to /usr/bin and /usr/news otherwise as it is nntpd-1.5.12.1-bichela is not gonna work well (I knew I forgot something!). Being both are in the same package one can modify conf.h to correct my blunders. Not worth sending a diff out right now for. > almost-binary articles, that really needs to be fixed. Or Slrn's default of stuffing the nntpd buffer and waiting for the newsgroup info to pop up. In both instances it sounds like a buffer overrun. perhaps doubling or tripling the size of the buffer would help. I got around slrn's 'feature' when the author sent me the line to add to my .slrnrc file. > The directories where you are having problems are for transmitting news, > not receiving it. They're separate programs independent of nntpd. Thanks for the clue. in that case nntpd is ready for a beta test. > Do make sure you get msgidd working. That one is kind of important to > have. It compiles cleanly now. I don't use it though as the last time I muffed with it in 2001, I used to have rpost from the suck package blast up all of my news up the nntpd. and msgidd would just merrily write each article up in the seen database. then when an individual went to send a msg the database was so huge that it took like 3 seconds to confirm it wasn't a dupe! A suggestion for those using suck. if you want to screen dupes. Don't use msgidd to do it unless you want local postings to drag a little. Let the cnews history database do the work. it works in the background and the poor user will not be waiting for the articale to get done positng. Besides using /usr/bin/rnews to send the news bundle takes less work than rposting articles to your local newserver. If you would like to test this package for me I would appreciate it. it should show up on ftp://metalab.unc.edu/pub/Linux/Incoming soon. then it will be moved to ftp://metalab.unc.edu/pub/Linux/system/news/transport after a few weeks in the spotlight. its cnews-cr.h.tar.gz. > >> If that is the wrong error. let me know please. >> This is valuable for another reason, I don't have a practical way to >> test the nntp transfer sections other than the reader mode. > > That's okay. Unlike INN, there are no separate transfer and reader > modes in nntpd. What's allowed is controlled by nntp_access. > >> Of course I would release the full source code with cnews, In >> fact I am working at tieing the two programs together with ONE >> configuration file. > > Before going there, it might be worthwhile to untangle at least some of > the mess of #ifdefs. There is some truly ancient code in there that > virtually nobody uses any more. Noticed that! Only as I said earlier, I am not very fluent at C. When the package shows up on Metalab perhaps someone who is more fluent in C can clean it up. I am like the babelfish, I chop it badly. If you want to make natives happy. get a human who is fluent in their native language. > At this point, it might even be better to start from scratch. Are you volenteering ;) -- B'ichela
Re: I am having a headache with NNTP-1.5.12.1 compiling the server, also appoligies
Author: B'ichela
Date: Thu, 30 May 2002 22:43
Date: Thu, 30 May 2002 22:43
26 lines
2080 bytes
2080 bytes
In article <yzWEv.v@ID-129647.user.dfncis.de>, Abelardo Tordo wrote: > In news.software.nntp, B'ichela <mdalene@pinkrose.local.net> wrote: > >> like a rant. I really wish someone else would help with the >> nntp-1.5.12.1 sourcecode and porting it to properly work with >> glibc-2.2.3 for Linux, for this I am poorly prepared, Adding new > > May be you want to have a look at > http://packages.debian.org/testing/news/nntp.html > From there you can download the debian diff against the original > source. Debian version is linked to libc6 2.2.5. I have that one also. but these two sections xmit and xfer will not even fixed with the debian patches. I believe the latest debian diff (37 I believe it was) and it fixed everything but these two directories. the nntp_1.5.12.1-14.diff.gz patch from debian did not fix the date problem. (its really simple, one of the includes that Linux needed was not moved to the bsd44 defs from the sysv4 defs. Using the nntp_1.5.12.1-37.diff.gz patched version as a guide I corrected that in the original file before I slipped the y2k patches on it. -- B'ichela
Re: I am having a headache with NNTP-1.5.12.1 compiling the server, also appoligies
Author: itsy bitsy meowbot
Date: Fri, 31 May 2002 00:15
Date: Fri, 31 May 2002 00:15
11 lines
1586 bytes
1586 bytes
B'ichela wrote: > In article <MPG.175fae1ab041536b989697@litterbox.meowing.net>, > itsy bitsy meowbot wrote: > > At this point, it might even be better to start from scratch. > Are you volenteering ;) Dunno. What is the state of multithreading under Lunix these days? In the past it's been a wee bit annoying.
Re: I am having a headache with NNTP-1.5.12.1 compiling the server, also appoligies
Author: B'ichela
Date: Fri, 31 May 2002 02:50
Date: Fri, 31 May 2002 02:50
16 lines
1643 bytes
1643 bytes
In article <MPG.176089d2a2db81dd98969a@litterbox.meowing.net>, itsy bitsy meowbot wrote: > Dunno. What is the state of multithreading under Lunix these days? In > the past it's been a wee bit annoying. I'm not sure, Depends on how far back you are going. Being most Linux systems now are using Glibc 2.2.3 or later. I have not heard any complaints about threading. I would like to allow the nntp to run either by the tcp wrappers or as a daemon. For the daemon you may want threading. Yet to be honest, I am not really sure what threading is. -- B'ichela
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