Thread View: news.software.nntp
20 messages
20 total messages
Started by Robert A. Yetman
Wed, 06 Nov 1996 00:00
ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Robert A. Yetman
Date: Wed, 06 Nov 1996 00:00
Date: Wed, 06 Nov 1996 00:00
127 lines
5196 bytes
5196 bytes
This is to announce the release of suck-3.3.1 ---------------------------------------------------------------------- PREFACE ======= Original Author - Tim Smith (tzs@coho.halcyon.com) Maintainers - March 1995 - Sven Goldt (goldt@math.tu-berlin.de) July 1995 - Robert A. Yetman (boby@pixi.com) Current Maintainer - boby@pixi.com Japanese Docs - Motoharu Kubo (mkubo@st.rim.or.jp) Italian Docs - Giuseppe De Marco (gdm@rebel.net) INTRODUCTION ============ The primary use for suck is to feed a local INN or CNEWS server, without the remote NNTP feeding you articles. This package contains the following software for copying news from an NNTP server to your local machine, and copying replies back up to an NNTP server. The suck/rpost combination allows you to run your own INN/CNEWS site, controlling where you get your news, and where you post outgoing articles. Suck/rpost use only standard NNTP commands that are used by your favorite news reader (tin, xvnews, strn) such as POST and ARTICLE. If you can use tin or xvnews against a NNTP site, than you can use Suck/Rpost. suck Pull a small newsfeed from an NNTP server lpost Gives one article fetched by suck to the local server. rpost Posts article(s) to an NNTP server (like inews) using the POST command testhost Check to see what commands your host recognizes or get the active or new list. ************************************************************************ NOTE: Suck will not work with obsolete NNTP servers that can't handle the xhdr command. inn-1.4sec has its own NNTP server that can handle xhdr, cnews.CR-G has no own NNTP server so it depends on which NNTP server you connect to cnews. NOTE2: This code assumes an ANSI-compliant compiler, it will NOT work with old compilers (Such as Sun's) which don't accept function prototypes. You could try using the unprotoize program included in gcc, but then if you are going to get that, why not just build gcc? :) NOTE3: The Makefile assumes you are using GNU make, other makes may or may not work. LOCATION ======== Site1 = sunsite.unc.edu Path1 = /pub/Linux/system/Mail/news File1 = suck-3.3.1.tar.gz Site2 = tsx-11.mit.edu Path2 = /pub/linux/sources/sbin File2 = suck-3.3.1.tar.gz THANKS to all the users who have sent me mail, both good and bad. A DOUBLE THANKS to the v3.0 beta-testers: - harleys@io.org - jh@yahoo.com - maho@Uni-paderborn.de - paonia@home.welcomehome.org - stuart@mannet.mcb.net - tom@mtanet.com They helped me work out quite a few bugs with portability problems. ************************************************************************ If you don't see a feature that you asked for, it is because I have rejected it for various reasons, usually because I can't find a graceful way to implement it in the code, or I don't think that it is something that is needed by most of the users. ---------------------------HOW-TO-USE------------------------------------- 1. run ./configure 2. If your history file is not a flat file, edit the top of the Makefile. 3. Edit suck_config.h - lots of configurable stuff here 4. Make it. (make CFLAGS=-O2, make install) 5. Create a sucknewsrc - which groups to download (see suck man pg) 6. Take a look at sample/get.news(.innxmit or .rnews) These scripts show the whole scheme, from sucking news to posting replies to your remote host. Use .innxmit if you are using INND, or .rnews if you are using CNEWS. The get.news.innxmit is the script I actually use, since I am running INND. 7. READ THE MAN PAGES ************************************************************************** MAJOR CHANGES FROM 3.3.0 -> 3.3.1 * Fixed bug in the printing of the failed log in rpost. * Changed the way suck handles negative nrs in sucknewsrc. Used to be suck would just get the high message number and not download any messages. Now specifying a negative number will cause it to download the last X number of messages, eg -100, will cause suck to download the latest 100 messages. * added -k option to suck, to handle NON-standard msnews.microsoft.com which doesn't return the standard error number on the XHDR command. (k stands for kludge). * added NNTP authorization to testhost. ************************************************************************** IDEAS FOR FUTURE REVISIONS 1. Store messages in news/group/nr style format 2. Internationalize, allow the screen messages to be in a different language. -- boby@pixi.com (Robert A. Yetman)
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: James Fidell
Date: Thu, 07 Nov 1996 00:00
Date: Thu, 07 Nov 1996 00:00
19 lines
1430 bytes
1430 bytes
In article <01bbcca5$fe4670c0$9709afc6@velocity>,
"Len Rose" <len@netsys.com> writes:
> This code is evil and causes great harm to servers. The very concept
> "sucks".
> It truly is the bane of any large provider.
But where there are those of us who have to pay large phone bills to
stay on line for any length of time, it's one of the best ways to get
news to our local machines so we don't have to stay on-line.
James.
--
"Yield to temptation -- | Work: james@corp.netcom.net.uk
it may not pass your way again" | Play: james@hermione.demon.co.uk
| http://www.netcom.net.uk/~james/
- Lazarus Long | James Fidell
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Len Rose
Date: Thu, 07 Nov 1996 00:00
Date: Thu, 07 Nov 1996 00:00
19 lines
871 bytes
871 bytes
This code is evil and causes great harm to servers. The very concept "sucks". It truly is the bane of any large provider. -- Len Rose len@netsys.com http://www.netsys.com Robert A. Yetman <boby@pixi.com> wrote in article <55oomn$o6@pixi.com>... > This is to announce the release of suck-3.3.1 > [deleted]..
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Evan Champion
Date: Thu, 07 Nov 1996 00:00
Date: Thu, 07 Nov 1996 00:00
20 lines
1396 bytes
1396 bytes
James Fidell wrote: > > In article <01bbcca5$fe4670c0$9709afc6@velocity>, > "Len Rose" <len@netsys.com> writes: > > This code is evil and causes great harm to servers. The very concept > > "sucks". > > It truly is the bane of any large provider. > > But where there are those of us who have to pay large phone bills to > stay on line for any length of time, it's one of the best ways to get > news to our local machines so we don't have to stay on-line. Actually, UUCP is probably the best way of doing it, but those who concerned with suck users should just install inn 1.5b1 which has suck countermeasures enabled by default. Evan
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Brad Templeton
Date: Thu, 07 Nov 1996 00:00
Date: Thu, 07 Nov 1996 00:00
49 lines
2410 bytes
2410 bytes
In article <01bbcca5$fe4670c0$9709afc6@velocity>, Len Rose <len@netsys.com> wrote: >This code is evil and causes great harm to servers. The very concept >"sucks". >It truly is the bane of any large provider. > >-- >Len Rose >len@netsys.com >http://www.netsys.com > >Robert A. Yetman <boby@pixi.com> wrote in article <55oomn$o6@pixi.com>... >> This is to announce the release of suck-3.3.1 >> > >[deleted].. > > Sucking feeds are a two edged sword. Designed correctly, they can actually be a great boon, because the feeding site doesn't have to administer the feed of the recipient, just control what they can receive and can't. But right now it's not efficient, and in some cases it provides no security on distributions, so that sites can get articles they should not be getting. To do this efficiently there are two ways you could do it: a) More traditional feed, pulled from a batch file, with the feeding controlled by commands sent up from the remote site, as in dynafeed and some other tools. This is efficient because the decision to feed is made for all sites simultaneously while the article and all headers are in RAM. b) Better use of headers and overview file records to avoid both retransmission of articles and forbid transmission of non-permitted articles. Means putting the Distribution line in the overview database so the server can quickly decide if a sucking site should get an article. I don't know how well the current sucking tools work, do they keep a newsrc file and interpret the Xref: header so that they won't ask for the same article twice? -- Brad Templeton, publisher, ClariNet Communications Corp. info@clari.net The net's #1 E-Newspaper (1,400,000 paid sbscrbrs.) http://www.clari.net/brad/
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Sven Goldt
Date: Thu, 07 Nov 1996 00:00
Date: Thu, 07 Nov 1996 00:00
14 lines
963 bytes
963 bytes
Len Rose (len@netsys.com) wrote: : This code is evil and causes great harm to servers. The very concept : "sucks". : It truly is the bane of any large provider. You should read ->inn-1.5b1: LIKE_PULLERS considered harmful<- in this newsgroup. Sven -- The only limits are in your mind !
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Robert Nichols
Date: Fri, 08 Nov 1996 00:00
Date: Fri, 08 Nov 1996 00:00
25 lines
1671 bytes
1671 bytes
In article <01bbcca5$fe4670c0$9709afc6@velocity>, Len Rose <len@netsys.com> wrote: :This code is evil and causes great harm to servers. The very concept :"sucks". :It truly is the bane of any large provider. My provider (one of the largest in the Chicago area) has told me they have "no problem -- no problem at all" with the way I am sucking news. A couple of other local providers have said they would also not mind my doing that if I switched to them as a provider. It probably has something to do with my sucking news mainly between the hours of 2 AM and 6 AM and therefore using their resources very little during their peak usage periods. As with many things, you can use it in a way that helps everyone, or be a large PITA with it. -- Bob Nichols rnichols@interaccess.com Finger rnichols@cluster.interaccess.com for PGP public key. PGP public key 1024/9A9C7955 Key fingerprint = 2F E5 82 F8 5D 06 A2 59 20 65 44 68 87 EC A7 D7
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Robert A. Yetman
Date: Fri, 08 Nov 1996 00:00
Date: Fri, 08 Nov 1996 00:00
19 lines
1254 bytes
1254 bytes
In article <55tlgn$2v1@fugue.clari.net>, brad@clarinet.com (Brad Templeton) writes: >I don't know how well the current sucking tools work, do they keep a >newsrc file and interpret the Xref: header so that they won't ask for >the same article twice? >-- I am the maintainer of "suck", and I can answer your questions. suck does keep its own sucknewsrc, and only downloads groups from that file. Suck doesn't check the xref, but it does keep track of all message-ids to avoid downloading cross-posted messages. suck can also check the local history file to avoid downloading messages posted on previous days. -- boby@pixi.com (Robert A. Yetman)
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: jbuchana
Date: Fri, 08 Nov 1996 00:00
Date: Fri, 08 Nov 1996 00:00
27 lines
1843 bytes
1843 bytes
In article <01bbcca5$fe4670c0$9709afc6@velocity>, Len Rose <len@netsys.com> wrote: >This code is evil and causes great harm to servers. The very concept >"sucks". >It truly is the bane of any large provider. From a previous thread, I gather that some people suck (or attempt to suck) a full feed. That's probably the problem that you refer to. They should arrange for a normal feed if they really need everything. suck, as far as I know, is intended to be used to feed small local news spools used by one or two people. I do this myself. I run suck several times a day with a cron job and only retrieve 10 or so groups. Not a big problem for my provider, it never take more than a minute or so to run,and that's mostly due to a slow modem. Don't blame the program, blame those misusing it... Jim Buchanan c22jrb@dawg.delcoelect.com jbuchana@holli.com =================== http://www.holli.com/~jbuchana ======================= "Sing me a song, you're a singer, Do me a wrong, you're a bringer of evil. The devil is never a maker, the less that you give, you're a taker." -Ronnie James Dio ==================== http://hybiss.delcoelect.com ========================
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Paul Southworth
Date: Sat, 09 Nov 1996 00:00
Date: Sat, 09 Nov 1996 00:00
12 lines
789 bytes
789 bytes
In article <561h2b$gum@fugue.clari.net>, Brad Templeton <brad@clarinet.com> wrote: > >I do hope sucking feeds don't use the newnews command. "suck" does not. "slurp" does. --Paul
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Brad Templeton
Date: Sat, 09 Nov 1996 00:00
Date: Sat, 09 Nov 1996 00:00
38 lines
2210 bytes
2210 bytes
In article <560eof$oh@pixi.com>, Robert A. Yetman <boby@pixi.com> wrote: >I am the maintainer of "suck", and I can answer your questions. suck >does keep its own sucknewsrc, and only downloads groups from that file. > >Suck doesn't check the xref, but it does keep track of all message-ids >to avoid downloading cross-posted messages. suck can also check the >local history file to avoid downloading messages posted on previous days. Adequate if you will cover every article in a batch, but if the session is interrupted will cause multiple downloads of articles. But still it needs to get the message-id to check, I presume it does an XOVER for this? Still more efficient to process the Xref line then, as then you don't have to do the XOVER But you do still try to pull cancelled articles, a slight waste. A batch article command might be handy to make this sort of thing more efficient. And you load the active file with each session, which is not as efficient as an outgoing feed. A remote controlled outgoing feed remains the most efficient, but of course is somewhat harder to set up. I know a lot of people didn't run dynafeed because you needed the remote site to set up dynafeed on their end, while sucking programs don't require the remote site let you be anything but a reader. I do hope sucking feeds don't use the newnews command. > >-- >boby@pixi.com (Robert A. Yetman) > > -- Brad Templeton, publisher, ClariNet Communications Corp. info@clari.net The net's #1 E-Newspaper (1,400,000 paid sbscrbrs.) http://www.clari.net/brad/
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: James Brister
Date: Sat, 09 Nov 1996 00:00
Date: Sat, 09 Nov 1996 00:00
17 lines
1200 bytes
1200 bytes
rnichols@interaccess.com (Robert Nichols) writes: > As with many things, you can use it in a way that helps everyone, or be > a large PITA with it. Exactly. I have nothing against pull feeds in general, but there are enough miscreants out there, that the default should be to make them as difficult as possible, and the ISPs that know what they're getting into, and have no problem with that, can turn it on. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Sven Goldt
Date: Sun, 10 Nov 1996 00:00
Date: Sun, 10 Nov 1996 00:00
30 lines
1643 bytes
1643 bytes
Brad Templeton (brad@clarinet.com) wrote: : Adequate if you will cover every article in a batch, but if the session : is interrupted will cause multiple downloads of articles. If the session is interrupted, suck will restart where it has been interrupted and not from the very beginning. : But still it needs to get the message-id to check, I presume it does : an XOVER for this? Still more efficient to process the Xref line then, : as then you don't have to do the XOVER suck uses xhdr. : efficient. And you load the active file with each session, which is You should really examine suck before you claim things that aren't true. Why should suck load the active file ? The newsgroup names that are of interest will be read from sucknewsrc. : I do hope sucking feeds don't use the newnews command. Again - read the docs or the code before you judge it. Sven (Ex-Maintainer of suck) -- The only limits are in your mind !
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Tim Smith
Date: Sun, 10 Nov 1996 00:00
Date: Sun, 10 Nov 1996 00:00
11 lines
877 bytes
877 bytes
Len Rose <len@netsys.com> wrote: >This code is evil and causes great harm to servers. The very concept >"sucks". >It truly is the bane of any large provider. Are you sure you are not confusing suck with slurp? --Tim Smith
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Paul D. Smith
Date: Mon, 11 Nov 1996 00:00
Date: Mon, 11 Nov 1996 00:00
30 lines
1934 bytes
1934 bytes
%% James Brister <brister@vix.com> writes:
jb> rnichols@interaccess.com (Robert Nichols) writes:
>> As with many things, you can use it in a way that helps everyone, or be
>> a large PITA with it.
jb> Exactly. I have nothing against pull feeds in general, but there
jb> are enough miscreants out there, that the default should be to
jb> make them as difficult as possible, and the ISPs that know what
jb> they're getting into, and have no problem with that, can turn it
jb> on.
Well, maybe the _right_ solution is to change INN, etc. to allow pull
feeds only during certain hours... even something as simple as adding a
ctlinnd option (or something) to enable/disable pull feeds would be
fine, admins could add cron jobs to handle it.
The problem now is you have to stop/restart innd to change the setting
(right?)
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions--Bay Networks takes no responsibility for them.
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Paul D. Smith
Date: Mon, 11 Nov 1996 00:00
Date: Mon, 11 Nov 1996 00:00
30 lines
1852 bytes
1852 bytes
%% James Brister <brister@vix.com> writes:
jb> psmith@baynetworks.com (Paul D. Smith) writes:
>> Well, maybe the _right_ solution is to change INN, etc. to allow pull
>> feeds only during certain hours... even something as simple as adding a
>> ctlinnd option (or something) to enable/disable pull feeds would be
>> fine, admins could add cron jobs to handle it.
jb> It's not (yet) a run-time option--compile time-only, so to toggle
jb> you'd need two binaries. It's nothing to do with innd
jb> though--nnrpd is all that's involved.
Ah. Right.
Well, anyway, it still seems like the Right Thing is to make it a
runtime option, that way admins could restrict it during busy hours, but
still allow pull feeds when things are less active.
IMHO, anyway :)
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions--Bay Networks takes no responsibility for them.
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Mark Andrews
Date: Mon, 11 Nov 1996 00:00
Date: Mon, 11 Nov 1996 00:00
21 lines
1425 bytes
1425 bytes
In article <55oomn$o6@pixi.com> boby@pixi.com writes: >This is to announce the release of suck-3.3.1 > >---------------------------------------------------------------------- >MAJOR CHANGES FROM 3.3.0 -> 3.3.1 > >* added -k option to suck, to handle NON-standard msnews.microsoft.com > which doesn't return the standard error number on the XHDR command. > (k stands for kludge). > How can it be non-standard when there is no standard. Xwhatever are "private" extensions outside of the standards. I'll agree that the return code does not match that produced by c-news/inn but that does not make it wrong. Annoying, frustrating but not wrong. Mark
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: James Brister
Date: Mon, 11 Nov 1996 00:00
Date: Mon, 11 Nov 1996 00:00
21 lines
1332 bytes
1332 bytes
psmith@baynetworks.com (Paul D. Smith) writes: > Well, maybe the _right_ solution is to change INN, etc. to allow pull > feeds only during certain hours... even something as simple as adding a > ctlinnd option (or something) to enable/disable pull feeds would be > fine, admins could add cron jobs to handle it. > > The problem now is you have to stop/restart innd to change the setting > (right?) It's not (yet) a run-time option--compile time-only, so to toggle you'd need two binaries. It's nothing to do with innd though--nnrpd is all that's involved. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: James Brister
Date: Tue, 12 Nov 1996 00:00
Date: Tue, 12 Nov 1996 00:00
15 lines
983 bytes
983 bytes
psmith@baynetworks.com (Paul D. Smith) writes: > Well, anyway, it still seems like the Right Thing is to make it a > runtime option Probably 50% of the config.data file could be (and will be) a run time option... James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: ANNOUNCE suck-3.3.1 - grab news from a remote server
Author: Eric S. Johansson
Date: Wed, 13 Nov 1996 00:00
Date: Wed, 13 Nov 1996 00:00
38 lines
2263 bytes
2263 bytes
James Brister (brister@vix.com) wrote: : rnichols@interaccess.com (Robert Nichols) writes: : > As with many things, you can use it in a way that helps everyone, or be : > a large PITA with it. : Exactly. I have nothing against pull feeds in general, but there are enough : miscreants out there, that the default should be to make them as difficult : as possible, and the ISPs that know what they're getting into, and have no : problem with that, can turn it on. forgive me if I'm stating the obvious but sucking feeds came about because of two issues. The first being that intermittently connected sites needed a way of getting news and second as a way of controlling what news feeds one received without needing a human on the other end. It seems to me that both needs could be satisfied while preserving the nntp push model if we expanded the protocol to handle something like the latest extension to sendmail (ETRN??)and a way for the downstream site to control its newsgroups. ETRN Is a way of telling a site to push email to a specified destination. It's more secure then the previous smtp command TURN and the model may be useful as a way of telling an nntp server to start pushing news. Controlling one's feed is another interesting problem and there are numerous security issues around that. But that's a topic for another day. I've got to get back to work. --- eric -- Eric S. Johansson ka1eec esj@harvee.billerica.ma.us This message was composed almost entirely by DragonDictate. k9 wisdom as translated by DD: "look homeward wrong aroma"
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