Thread View: news.software.nntp
41 messages
41 total messages
Started by The Gentleman
Sun, 29 Sep 1996 00:00
ANTP Specification
Author: The Gentleman
Date: Sun, 29 Sep 1996 00:00
Date: Sun, 29 Sep 1996 00:00
380 lines
17444 bytes
17444 bytes
NOTE: This should be considered a pre-RFC specification. An RFC should be written after completion of the proof-of-concept demo. The RFC process has become too formalized (IMHO) and lengthy for a serious working document. However, I have written it in my closest approximation of RFC format, to simplify things at that point. The loss of indentation is due to it's being written in Word 6.0, I will find a way to export it with proper indentation eventually. Accelerated News Transport Protocol A Proposed Standard for Batch-Based News Transmission by Users 1. Introduction The current Usenet news system, as defined by RFC 977 and RFC 1036, has been in operation for many years, and as shown itself to be generally a efficient and effective method of transporting network news. However, certain shortcomings have come to light in the face of unprecedented network demand and news participation. ANTP addresses those with a minimum-impact, newsgroup level, user- directed adjunct to the normal transport mechanism. 1.1. A Functional Description of the News Transport System The original news transport system defined by RFC 977 was designed for maximum efficiency in resource use, not in speed or completeness of message availability. A network of news hosts, overlaying parts of the Internet and other networks, transfers news on a flooding mechanism. 1.1.1. A Network for Everything, and Everything has a Network For the purposes of an individual message, Usenet consists of those hosts which carry one or more of the groups that message is addressed to. Hosts which do not will never receive it, for them that article does not exist. Each message can at a maximum reach this subset of the network. Hosts do not carry any of that message's groups are considered inactive for the purposes of that message. 1.1.2. Nominal Functioning of the News Transport Mechanism Under normal circumstances the transport system works by a flooding algorithm, with news peers exchanging articles, and never transporting the same article across the same link twice. No effort is made to accelerate any articles (with the sometimes exception of the control pseudogroup) and what host is a peer of another host is determined by the administrators of those systems. Articles are only exchanged in those groups which are carried by both peers. 1.2. Problems with the News Transport Mechanism Unlike IP packet routing, no general effort is made to identify or correct problems in the news transport mechanism. Although subject to many of the same problems to even stronger degrees, the sheer number and complexity of potential problems, along with a lower priority for attention, means that an individual group which is no longer being properly received at a site will rarely see any active corrective measures. Groups which are more universally carried therefore have more potential paths between two distant sites, and will tend to travel more quickly. Groups which are carried by fewer sites will tend to travel more slowly, and may never complete transfer between distant sites. These problems fall into two general groups, 'lagging' and 'barriers'. 1.2.1. Lagging Lag is defined as the delay between the posting of a message and its reception at a particular site (not the originating site). The lag of a message may be measured in minutes or in days. Occasionally, a message that is weeks old will surface, having been shunted from one high-lag path to another. In general, the average lag for a group is determined by the number of hosts that carry that group, but the non-homogenous nature of group carriage means that the average lag for a group at one site may be radically different than for another. Because news conversations tend to have a daily turnaround when possible, a reader of a group who is suffering high lag in that group at his site will tend to find participation difficult. 1.2.2. Barriers A barrier is combination of propagation paths which blocks the transmission of an article to a site that would otherwise receive that article. This may be caused by there being no possible path between that site and the origin of the message, or by sufficiently high lag between them that the article is removed from transport before being exchanged. Barriers may be full or partial. A full barrier is one that articles for a particular group will not cross if posted only to that group. A partial barrier is usually the result of high lag, and some articles may cross the barrier, although usually considerably after they were originated. 1.3. Users as Agents for a Solution Any solution to these problems must be compatible with the existing news transport system, and must not require personal attention by the administrative personnel of a large number of sites. The first may be accomplished by a 'high-level' approach, incorporating all aspects of existing systems. An obvious avenue for the second is to enable the readers of a group to make the improvements themselves, as they are the most likely to notice a problem, and the most motivated to address it. 2. Functional Overview of ANTP ANTP will bypass the NNTP transport structure through the use of HTTP and FTP to transfer articles to and from any arbitrary site. These articles will then be injected into the news-stream using NNTP's IHAVE or POST commands. Articles will be held in a central 'Clearing House' on a server that is both HTTP and FTP capable. 2.1. Transparent One Group Newsfeed ANTP will transparently implement a one-group newsfeed. Client applications will receive a listing of currently available articles from the 'Clearing House' (CH), compare that against a history file and against those articles currently held in that group by a NNTP server. They will then transfer articles from the CH to the NNTP server that were not previously present on that server, and articles from the NNTP server not present in the CH will be transferred to the CH. Any number of clients may use the same CH, but each CH should be for one group only. 2.2 The Central 'Clearing House' The 'Clearing House' (CH) will be a FTP/HTTP capable server which will be designated as the location for transfer of articles in a particular group. Articles will be sent to the CH via FTP upload, and received from it by HTTP. The CH will have certain mandatory configuration properties, and certain voluntary ones. There will be two general classes of CH, Open and Secure. 2.2.1. Mandatory Configuration The CH 'transfer' directory will be required to be 'world readable' via HTTP. If an open CH, the transfer directory must be also world writeable via anonymous FTP. If a secure CH, it must be writeable by a site-selected username created for the purpose. The name of the transfer directory is not set, but must be known to the client. If the FTP and HTTP directories are not identical, this must also be known to the client. The articles will be placed in the CH by the clients, and must be given filenames that are identical to the message ID's assigned to that article per RFC 822 and RFC 1036. This means that no article may be transferred via ANTP with a message ID longer than 255 characters. Some systems may require a shorter file name, the system limit will then become the maximum usable. No architecture allowing less than 240 character filenames should be used for a CH. The CH must be capable of handling 'collision' between two clients attempting to upload the same article simultaneously by generating an error and refusing the duplicate article. 2.2.2. Optional Configuration To reduce system load from excessively large directory listings a rolling one-week window is suggested. Articles should be 'retired' from the transfer directory on a regular basis. Some retirement mechanism is required, exact details are subject to local option. Secure CH's may be used for moderated groups. In this case, only the moderator would have write access to the transfer directory. Clients should be written to accommodate this, and not attempt uploads to a secure CH for a moderated group. Mirroring of the CH is possible, however such mirroring should be done on a frequent basis, at least 4 full exchanges per day. Mirroring should take place in both directions. 2.3. The ANTP Client ANTP requires 'Smart Clients'. Most of the activity will be initiated by the clients, and most error-protection will be the responsibility of the client. The client must be capable of maintaining a history of handled files, retrieving a list of articles available on the NNTP server and in the CH, and comparing these three lists to determine files to be transferred. It must also be capable actually transferring these files. All this should be done in accordance with RFC's governing the protocols used. 2.3.1. Determining Articles to be Transferred Upon being started, the ANTP client should retrieve a list of absolute message ID's for articles received since the last session from the NNTP server. Either NOV commands or NNTP commands may be used for this purpose, other news database commands may be used as well. The absolute message ID must be recovered, although a local article reference may also be used for streamlining the process. The client should also recover a FTP directory listing of the CH transfer directory. Any articles present in the history file should be eliminated from both lists, and any articles present on both lists should be eliminated from both lists and added to the history file. The client will then have two lists, one with articles available on the NNTP server not present in the CH, and another of articles present in the CH not available on the NNTP server. 2.3.2. Transfer of Articles At this point, the client should begin transferring articles from the server and the CH to local storage. Reception from the NNTP server may be by either NNTP or news database commands such as the NOV set. Reception from the CH will be via HTTP to minimize network loading. The sequence used for this is not significant. After completion of these transfers, uploading of articles should begin. Transfer to the CH will be via FTP, transfer to the NNTP server will be via the IHAVE command by preference. However, as most NNTP servers accept IHAVE only from designated news peers, POST may be used if certain header information can be preserved. When uploading articles to the NNTP server or the CH, the client must be able to deal with error messages caused by collision. After transfer is complete, or an error message has been noted, the absolute message ID for that article should be added to the history file. 2.3.3. Collision Collision will take one of two forms, CH or NNTP. CH collision will be caused by another client having uploaded the article after the client has received the directory listing, but before the client has initiated its own upload. NNTP collision will be caused by the article arriving by traditional transfer prior to the uploading, or by the article being canceled. Other events may also cause collision. The client must be capable of dealing with collision, and of noting these collisions and adding the associated article to the history, to avoid looping. NNTP servers or CH's that will not generate errors in case of collision should not be used with a ANTP client. The client must be capable of testing the NNTP server and CH to ensure that collision will not lead to article duplication. This testing should be done at least once per installation, and repeated as necessary. 2.3.4. Preservation of Absolute Message ID As specified in RFC 822, each article must have a unique message ID. This ID is used by news transport systems to avoid duplication. ANTP clients must take any steps necessary to avoid duplicating messages with new message ID's, and should not be used with NNTP servers that will not allow this. 3. ANTP and Article Headers ANTP clients should preserve pre-existing header lines to the maximum degree possible. When using POST, special care will be taken to preserve certain information. 3.1. Format for ANTP Client-Added Headers All header lines added by the ANTP client will follow a specified format. This format will take the form of: X-ANTP-[Group-name]-[ANTP-client-ID]-[Header-name]: 'Group-name' will be the group for which the ANTP client is being operated. 'ANTP-client-ID' will be a unique string identifying the operator of the ANTP client, such as an email address. 'Header- name' will be a descriptive identifier of the information contained in that header line. All headers must be compliant with RFC 822 and RFC 1036. These ANTP client-added headers will be referred to as 'X-headers' for the remainder of this document. 3.2. Classes of Original Article Headers Headers present in the article before handling by the ANTP client will be classed in one of three ways; Inviolable, Preserved, Disposable, and Normal. Inviolable headers are not to be altered in any way. Preserved headers may be overwritten by the transfer process, but their information will be preserved in an X-header. Disposable headers should be removed during the transport process. Normal Headers will be passed unaltered, and no special effort will be made to protect them. 3.2.1. Headers to be Classed as Inviolable Certain headers are essential to proper message handling, and therefore must be preserved unaltered. These headers include, but are not necessarily limited to: From: Sender: Reply-To: Subject: Approved: Newsgroups: References: Message-ID: Supersedes: X-No-Archive: NNTP servers which will not allow the preservation of these lines must not be used with an ANTP client. 3.2.2. Headers to be Classed as Preserved Certain headers contain information necessary for identifying the source of an article, and may be overwritten by a POST action. These headers should be preserved in an X-header in the form: [X-header]:[Original-Information] In this manner, the original Path: header information for an article in group 'alt.thing' posted to foo.com, transferred via NNTP to bar.com, and then transferred to baz.com by an ANTP client operated by <johndoe@baz.com> would be preserved in the following form: X-ANTP-alt.thing-johndoe@baz.com-Path:news.bar.com!news.foo.com!user Headers to be classed as Preserved shall include, but not necessarily be limited to: Path: NNTP-Posting-Host: Organization: Preservation of these headers will be the responsibility of the ANTP client that uploads them to the CH. 3.2.3. Headers to be Classed as Disposable Headers containing information of purely local interest, such as local article database ID information, will be classed as disposable and removed by the uploading ANTP client. Each client must allow these to be specified by the operating user. Headers classed as Inviolable may not be reclassed as Disposable. 3.2.4. Headers to be Classed as Normal Many other headers may be present in the article, these should be passed unaltered to the CH and NNTP server. No special effort needs to be made to preserve them, as NNTP servers should also pass them unaltered. 3.3. ANTP Identifier Header Each ANTP handled article uploaded to the CH will include one X- header at the end of the header section of the article, which will be used specifically for identifying the last ANTP client that handled the article. This will be a Break: X-header, and will include any additional information that may be needed to identify the operator of the ANTP client: X-ANTP-alt.thing-johndoe@baz.com-Break:1-555-555-1212 This header will be followed by a newline, and then the symbols: <BREAK> This will be used by later ANTP clients to mark the break between article headers and the article body. The article body should follow immediately after the <BREAK> line. 3.4. Article Bodies ANTP clients should not alter the body of articles in any way. All information, including whitespace, should be passed through ANTP clients and the CH unaltered. -- Nature abhors a hero. For one thing, he violates the law of conservation of energy. For another, how can it be the survival of the fittest when the fittest keeps putting himself in situations where he is most likely to be creamed? Solomon Short //.sig created by Inscrutable V0.2a //Please report any irregularities to elcabalero@aol.com
Re: ANTP Specification
Author: Ronald F. Guilmette sez: Reply T...
Date: Sun, 29 Sep 1996 00:00
Date: Sun, 29 Sep 1996 00:00
35 lines
2269 bytes
2269 bytes
In article <52mm8p$54d@library.airnews.net>, The Gentleman <elcabalero@aol.com> wrote: >NOTE: This should be considered a pre-RFC specification. An RFC should >be written after completion of the proof-of-concept demo. The RFC >process has become too formalized (IMHO) and lengthy for a serious >working document. However, I have written it in my closest >approximation of RFC format, to simplify things at that point. The loss >of indentation is due to it's being written in Word 6.0, I will find a >way to export it with proper indentation eventually. > > >Accelerated News Transport Protocol > >A Proposed Standard for Batch-Based >News Transmission by Users Since you are talking about `RFC's above, I assume that you _are_ looking for comments, yes? I offer only the modest comment that this whole thing looks to me like little more that a formalization of what many people (myself) included are already doing today with `slurp'. You have definitely added a number of additional bells and whistles, but like I say, the fundamental thing that your `ANTP' buys for the user seems to be nothing more or less than what `slurp' buys for the user. Did I miss something? -- -- Ron Guilmette, Roseville, CA -------- Infinite Monkeys & Co. ------------ ---- E-mail: rfg @ monkeys . com ------------------------------------------- ------ Copyright (c) 1996 by Ronald F. Guilmette; All rights reserved. -----
Re: ANTP Specification
Author: Bryan Ogawa
Date: Sun, 29 Sep 1996 00:00
Date: Sun, 29 Sep 1996 00:00
312 lines
14358 bytes
14358 bytes
[a courtesy copy has been cc'ed to the sender] elcabalero@aol.com (The Gentleman) writes: I thought this was interesting, and I believe that the prolem you're addressing is real, but I have some concerns about this proposal. [...] >Accelerated News Transport Protocol >A Proposed Standard for Batch-Based >News Transmission by Users [...] >2.2 The Central 'Clearing House' >The 'Clearing House' (CH) will be a FTP/HTTP capable server which >will be designated as the location for transfer of articles in a >particular group. Articles will be sent to the CH via FTP upload, >and received from it by HTTP. The CH will have certain mandatory >configuration properties, and certain voluntary ones. There will be >two general classes of CH, Open and Secure. >2.2.1. Mandatory Configuration >The CH 'transfer' directory will be required to be 'world readable' >via HTTP. If an open CH, the transfer directory must be also world >writeable via anonymous FTP. If a secure CH, it must be writeable >by a site-selected username created for the purpose. The name of >the transfer directory is not set, but must be known to the client. >If the FTP and HTTP directories are not identical, this must also be >known to the client. I understand that there are good political reasons to make transfer directories world readable (specifically, preventing the oligarchical nature of NNTP). However, the reasons that news servers don't accept connections from the world are often legitimate ones. Many people will end up reading news directly off of the CH instead of using it to find and inject news, especially since the CH will ideally represent a world-readable "full feed" of all articles in the group. This sort of requirement makes it less appealing to run the CH. >The articles will be placed in the CH by the clients, and must be >given filenames that are identical to the message ID's assigned to >that article per RFC 822 and RFC 1036. This means that no article >may be transferred via ANTP with a message ID longer than 255 >characters. Some systems may require a shorter file name, the >system limit will then become the maximum usable. No architecture >allowing less than 240 character filenames should be used for a CH. Technical nit: I believe that the recommended practice (and a good idea in any case) is for standards documents to NOT specify an implementation when it's not needed, and I believe it's specifically not needed here. Try saying something like, "The clients must pass the message ID as per RFC 822 and RFC 1036 as the filename of the article, and the server must identify the articles available for download by their message IDs, and accept article requests via message ID." The big thing is to try to NOT tie the implementation to the definition. Eventually, someone will probably want to write a version which works with something unexpected (like database software) and it's better if they are given the freedom to do what they want when they do that. Another problematic case is the directory separator in Message-IDs. I don't believe that either RFC822 or RFC1036 bans the / (the Unix file separator) from Message-IDs, but this would specifically be a problem when uploading to existing FTPs (at least, it's a problem with my ftp server, which is a fairly standard 4.4BSD one), in that my server won't let me upload such a file. Admittedly not a likely problem, as far as I can tell but who knows what creatively anarchistic people will do in the future? This problem extends to download as well. >The CH must be capable of handling 'collision' between two clients >attempting to upload the same article simultaneously by generating >an error and refusing the duplicate article. This is a major concern, as I believe that most current ftp servers do not do this by default (e.g. simultaneous uploads produce no warning and may produce various unexpected results). Solving this problem, if it exists, will rest upon the writers of ftp servers. >2.2.2. Optional Configuration >To reduce system load from excessively large directory listings a >rolling one-week window is suggested. Articles should be 'retired' >from the transfer directory on a regular basis. Some retirement >mechanism is required, exact details are subject to local option. This is a significant problem with current news server software, since Unix (the platform I'm familiar with) takes a time which increases linearly with the number of directory entries to return a directory listing (plain english--double the number of files in a directory, double to time to list the directory). This problem becomes _very_ difficult to address in this suggested implementation, since the design of the protocol seems tied to this implmentation (all articles in one newsgroup sit in one directory). [...] >Mirroring of the CH is possible, however such mirroring should be >done on a frequent basis, at least 4 full exchanges per day. >Mirroring should take place in both directions. This requirement increases the responsibility of CHs, although I can again see reasons for this requirement. >2.3. The ANTP Client >ANTP requires 'Smart Clients'. Most of the activity will be >initiated by the clients, and most error-protection will be the >responsibility of the client. The client must be capable of I think I understand why you are placing the burden on the clients, but I think that this is misguided, since I think it more likely that client-writers will make mistakes (as there will presumably exist more clients than servers (in numbers and in types)). Additionally, it is likely that server-maintainers will be held responsble for errors and problems with this transport mechanism. [...] >from the NNTP server. Either NOV commands or NNTP commands may be >used for this purpose, other news database commands may be used as >well. The absolute message ID must be recovered, although a local >article reference may also be used for streamlining the process. This is the sort of phrasing that should go above. Give the server-writers the sort of freedoms you're giving the client-writers. >The client must be capable of dealing with collision, and of noting >these collisions and adding the associated article to the history, >to avoid looping. NNTP servers or CH's that will not generate >errors in case of collision should not be used with a ANTP client. >The client must be capable of testing the NNTP server and CH to >ensure that collision will not lead to article duplication. This >testing should be done at least once per installation, and repeated >as necessary. This is good, and fits well with what appear to be your operating principles, but I remained concerned about the part you did hand off to the server (preventing simultaneous duplicate uploads). Have you found an ftp server that does this? [...] >3.1. Format for ANTP Client-Added Headers >All header lines added by the ANTP client will follow a specified >format. This format will take the form of: >X-ANTP-[Group-name]-[ANTP-client-ID]-[Header-name]: This header form produces possibly ambiguous headers, which may or may not matter, depending on what you are looking for. Consider the following Groups, headers, and client ID: Newsgroup: alt.john-perry Header: X-Net-Fun.com: ClientID: flames-more@X.Net-Fun.com This should be X-ANTP-alt.john-perry-flames-more@X.Net-Fun.com-X-Net-Fun.com: But this could also come from a post like so: Newsgroup: alt.john-perry-flames Header: Fun.com-X-Net-Fun.com: ClientID: more@X.Net Or, with a bit more playing with other stuff, even more variants. Admittedly, it may not be your intent to produce unambiguously traceable headers (but only produce unique variant headers), but I think that unambiguous headers have something to be said for them. [...] >3.3. ANTP Identifier Header >Each ANTP handled article uploaded to the CH will include one X- >header at the end of the header section of the article, which will >be used specifically for identifying the last ANTP client that >handled the article. This will be a Break: X-header, and will >include any additional information that may be needed to identify >the operator of the ANTP client: >X-ANTP-alt.thing-johndoe@baz.com-Break:1-555-555-1212 I would consider the method used above to be insufficient to identify the operator of the ANTP client. >This header will be followed by a newline, and then the symbols: ><BREAK> >This will be used by later ANTP clients to mark the break between >article headers and the article body. The article body should >follow immediately after the <BREAK> line. Without meaning to flame, why? Unless I'm sorely mistaken (which is possible), there is already an umanbiguous separator of article header and body, an empty line (one which only has CRLF). I don't see the reason for this <BREAK> thing. [...] After reading this through more carefully, I have the following concerns, as well: 1. Security. Netnews is hardly secure, but this introduces yet another way to insert forged postings. And, unlike a fair number of other methods, it's even more difficult for the perpetrator to be traced. To trace a forgery, you will need: a) to realize it is a forgery. b) possibly, the help of the news admin at the site where it was injected by a client. c) possibly, the help of the injecting client. d) the help of all CHs which the message passed through before this, and possibly their site administrators (you will need to trace through anonymous ftp upload logs). e) possibly, additional news hosts, clients, and CHs (not likely, but possibly). f) the help of the administrator of the ISP of the offender. Realize that there is nothing that a large ISP can do to make this attack harder--they must use post-facto means to trace the offender, since they _cannot_ force posters to insert revealing headers (since the CH is NOT their host, and besides, this is happening through anonymous ftp upload, which is decidedly low-security). In addition, it is even more likely that the offending ISP will not face the brunt of complaints, since common posters cannot trace the articles past the CH. In addition, the news administrator at the point where posts are injected also faces complaints, which he/she is most likely to pass on to the person who is propogating the message. Finally, remember that such forged posts may easily be made to ANY newsgroup, since the Newsgroups: line is preserved. 2. The CH admin's burden. It seems to me that this is designed to transport without the need for news administrators or their time. However, the replacement "thankless beast of burden" is the administrator of the CH, and this person is even more ill-equipped than the news admin for the task. For this analysis, the CH admin is presumed to be the person in charge of the FTP and HTTP sites on the CH, and responsible for their upkeep and maintenance. First, the CH admin bears the responsibility for the traffic on the site. They are the ones who get in trouble if people choose to point newsreaders directly at the HTTP site, or upload "nekkid pics" to the FTP server under the guise of new articles (at which point people will start using their web browsers on the results). They are the ones that have to make sure that people don't do things like put in new directories with names like ".. " and stuff like that in them. They are the ones that need to trace back posts forged from their sites, and then they probably can't even kick the offenders of their system, but must politely ask some other entity to do so. A lot of this can be improved by making the CHs protected, and choosing responsible individuals to handle news transport into and out of the newsgroup. 3. If it works, it'll be with us forever. Remember, if what you do is popular, everyone will keep using it for the next decade. Choose wisely now, or everyone will pay tomorrow. 4. You must make news admins happy. While it may seem like news admins are a group of wild and crazy folks who basically let most folks say what they want, beware them if agitated. News admins have the power to completely destroy the ability of ANTP (or things reasonably like it) to work. They can do so by the following actions: 1. Rejecting all articles with ANTP-style headers sent by local posters. 2. Rejecting all articles anywhere with ANTP-style headers. 3. Holding ANTP repost clients liable for all articles posted by them. Realize that you need the good will of news admins to keep this from being stillborn. I expect that most comments from news admins to this proposal will be negative. I encourage you to find and use this commentary as positively as possible, since (1) it will probably be educational if nothing else (I will certainly read responses by others and expect to learn quite a bit), (2) may help you shape this proposal into something better, (3) may spawn new and different ideas which someone else can use. I also encourage you to accept flaming with patience. It's the angry people who are most likely to do things that will doom ANTP as it stands--they are the people you need to convince most that this is a workable idea. I hope my comments are of assistance. -- bryan k. ogawa <bkogawa@primenet.com> <bkogawa@netvoyage.net>
Re: ANTP Specification
Author: Trever Miller
Date: Mon, 30 Sep 1996 00:00
Date: Mon, 30 Sep 1996 00:00
14 lines
1175 bytes
1175 bytes
Hmm, interesting, but not everyone is directly on the 'net as it were. I suspect that this could be done via a few dozen lines of shell script and a procmail filter, transporting the message lists and the messages themselves via mail. -- bug@cyberdex.cuug.ab.ca Keeper of the Alberta B5 Mailing List System Mangler babylon5-request@cyberdex.cuug.ab.ca "The stupider it looks, the more important it probably is." -- J.R. 'Bob' Dobbs
Re: ANTP Specification
Author: The Gentleman
Date: Mon, 30 Sep 1996 00:00
Date: Mon, 30 Sep 1996 00:00
24 lines
1550 bytes
1550 bytes
In article <DyIuzx.1Gy@cyberdex.cuug.ab.ca>,
bug@cyberdex.cuug.ab.ca (Trever Miller) wrote:
}Hmm, interesting, but not everyone is directly on the 'net as it were.
}
}I suspect that this could be done via a few dozen lines of shell script and
}a procmail filter, transporting the message lists and the messages
}themselves via mail.
}
<chuckle> That was my first suggestion. People didn't like it. Very
inefficient of resources, they said. Use HTTP, they said. So I rewrite the
whole concept, and what's the first thing I hear? ROTFLMAO!
Regards,
The gentleman
--
Literature is being taught as though it were only political medicine or
political poison--a view that is not only illiberal but illiterate.
Louis Menand
//.sig created by Inscrutable V0.2a
//Please report any irregularities to elcabalero@aol.com
Re: ANTP Specification
Author: The Gentleman
Date: Mon, 30 Sep 1996 00:00
Date: Mon, 30 Sep 1996 00:00
386 lines
19245 bytes
19245 bytes
In article <52nboh$ork@nnrp1.news.primenet.com>,
bkogawa@primenet.com (Bryan Ogawa) wrote:
}[a courtesy copy has been cc'ed to the sender]
}
}elcabalero@aol.com (The Gentleman) writes:
}
}I thought this was interesting, and I believe that the prolem you're
}addressing is real, but I have some concerns about this proposal.
}>2.2.1. Mandatory Configuration
}
}>The CH 'transfer' directory will be required to be 'world readable'
}>via HTTP. If an open CH, the transfer directory must be also world
}>writeable via anonymous FTP. If a secure CH, it must be writeable
}>by a site-selected username created for the purpose. The name of
}>the transfer directory is not set, but must be known to the client.
}>If the FTP and HTTP directories are not identical, this must also be
}>known to the client.
}
}I understand that there are good political reasons to make transfer
}directories world readable (specifically, preventing the oligarchical
}nature of NNTP). However, the reasons that news servers don't accept
}connections from the world are often legitimate ones. Many people will
}end up reading news directly off of the CH instead of using it to find and
}inject news, especially since the CH will ideally represent a
}world-readable "full feed" of all articles in the group.
}
}This sort of requirement makes it less appealing to run the CH.
This is a possible problem, except that without an index file, you would
be trying to guess a filename that might be 255 characters long, and
deliberately chosen near-randomly. Also, you have only the Message ID, not
the Subject, From, or any other useful fields. I think it would take
deliberate effort in the form of a CGI script to really make it a place to
read the group. In which case, why not use DejaNews?
However, if it does prove to be a problem, I think it likely CH operators
would say to hell with the spec, and use a more selective access model.
}
}>The articles will be placed in the CH by the clients, and must be
}>given filenames that are identical to the message ID's assigned to
}>that article per RFC 822 and RFC 1036. This means that no article
}>may be transferred via ANTP with a message ID longer than 255
}>characters. Some systems may require a shorter file name, the
}>system limit will then become the maximum usable. No architecture
}>allowing less than 240 character filenames should be used for a CH.
}
}Technical nit: I believe that the recommended practice (and a good idea
}in any case) is for standards documents to NOT specify an implementation
}when it's not needed, and I believe it's specifically not needed here. Try
}saying something like, "The clients must pass the message ID as per RFC
}822 and RFC 1036 as the filename of the article, and the server must
}identify the articles available for download by their message IDs, and
}accept article requests via message ID." The big thing is to try to NOT
}tie the implementation to the definition. Eventually, someone will
}probably want to write a version which works with something unexpected
}(like database software) and it's better if they are given the freedom to
}do what they want when they do that.
The placing of an upper limit is neccesary, to keep the CH as simple as
possible, otherwise you would need a constantly updated index file, and have
some serious collision problems or a much more complex CH. Placing a lower
limit on the capability of the CH filename length may be uneccesary. Perhaps
I should just say that no article should be transferred that has an article ID
longer than the maximum filename size for the CH?
}
}Another problematic case is the directory separator in Message-IDs. I
}don't believe that either RFC822 or RFC1036 bans the / (the Unix file
}separator) from Message-IDs, but this would specifically be a problem when
}uploading to existing FTPs (at least, it's a problem with my ftp server,
}which is a fairly standard 4.4BSD one), in that my server won't let me
}upload such a file. Admittedly not a likely problem, as far as I can tell
}but who knows what creatively anarchistic people will do in the future?
}This problem extends to download as well.
Somebody else brought this up, I'll look into a solution. Windows systems
would have an equal problem with the '\' character. I may just look at a few
thousand posts, if I don't see any unacceptable characters, I'll just exclude
them from transport, like excessively long message ID's.
}
}>The CH must be capable of handling 'collision' between two clients
}>attempting to upload the same article simultaneously by generating
}>an error and refusing the duplicate article.
}
}This is a major concern, as I believe that most current ftp servers do not
}do this by default (e.g. simultaneous uploads produce no warning and may
}produce various unexpected results). Solving this problem, if it exists,
}will rest upon the writers of ftp servers.
Which is why I was specific about mentioning it. At least a few FTP
implementations do create errors on collision, many others would simply
overwrite the file that arrived first. This section probably needs a little
revision.
}
}>2.2.2. Optional Configuration
}
}>To reduce system load from excessively large directory listings a
}>rolling one-week window is suggested. Articles should be 'retired'
}>from the transfer directory on a regular basis. Some retirement
}>mechanism is required, exact details are subject to local option.
}
}This is a significant problem with current news server software, since
}Unix (the platform I'm familiar with) takes a time which increases
}linearly with the number of directory entries to return a directory
}listing (plain english--double the number of files in a directory, double
}to time to list the directory). This problem becomes _very_ difficult to
}address in this suggested implementation, since the design of the protocol
}seems tied to this implmentation (all articles in one newsgroup sit in one
}directory).
I may try to look at multiple directories, but this opens another can of
worms.
}
}[...]
}>Mirroring of the CH is possible, however such mirroring should be
}>done on a frequent basis, at least 4 full exchanges per day.
}>Mirroring should take place in both directions.
}
}This requirement increases the responsibility of CHs, although I can again
}see reasons for this requirement.
It's a potential option, and lies outside of the scope I'm addressing. I
included it because it would be possible to have IP as well as NNTP barriers
during peak load. I could leave this portion out, as it is more of a FTP
issue than ANTP.
}
}>2.3. The ANTP Client
}
}>ANTP requires 'Smart Clients'. Most of the activity will be
}>initiated by the clients, and most error-protection will be the
}>responsibility of the client. The client must be capable of
}
}I think I understand why you are placing the burden on the clients, but I
}think that this is misguided, since I think it more likely that
}client-writers will make mistakes (as there will presumably exist more
}clients than servers (in numbers and in types)). Additionally, it is
}likely that server-maintainers will be held responsble for errors and
}problems with this transport mechanism.
Not if the CH spec is kept so simple. If everything devolves on the
Client, the client can more easily be configured to match the particular
circumstances it is dealing with. Which is why I place so much importance on
clients identifying themselves, if they start generating spew, it needs to be
spotted quickly.
}
}[...]
}>from the NNTP server. Either NOV commands or NNTP commands may be
}>used for this purpose, other news database commands may be used as
}>well. The absolute message ID must be recovered, although a local
}>article reference may also be used for streamlining the process.
}
}This is the sort of phrasing that should go above. Give the
}server-writers the sort of freedoms you're giving the client-writers.
Again, smart clients reduces CH host system load, not a small
consideration. I am deliberately departing from the traditional client/server
model with smart servers, to one more in line with modern distributed
computing, where everything possible is placed on the client.
}
}>The client must be capable of dealing with collision, and of noting
}>these collisions and adding the associated article to the history,
}>to avoid looping. NNTP servers or CH's that will not generate
}>errors in case of collision should not be used with a ANTP client.
}>The client must be capable of testing the NNTP server and CH to
}>ensure that collision will not lead to article duplication. This
}>testing should be done at least once per installation, and repeated
}>as necessary.
}
}This is good, and fits well with what appear to be your operating
}principles, but I remained concerned about the part you did hand off to
}the server (preventing simultaneous duplicate uploads). Have you found an
}ftp server that does this?
At least one implementation of an FTP server for Linux does this, and the
standard FTP server for Windows NT. Others will 'fail safe', by overwriting
the first file received. As far as I know, very few would automatically
rename the file.
}
}[...]
}>3.1. Format for ANTP Client-Added Headers
}
}>All header lines added by the ANTP client will follow a specified
}>format. This format will take the form of:
}
}>X-ANTP-[Group-name]-[ANTP-client-ID]-[Header-name]:
}
}Admittedly, it may not be your intent to produce unambiguously traceable
}headers (but only produce unique variant headers), but I think that
}unambiguous headers have something to be said for them.
Since the intent is to make the route traceable, so that a source of
errors may be identified, I should find a different separator. Perhaps '^',
as I have never seen that in a group name or address, and it is 7-bit ASCII.
}
}[...]
}>3.3. ANTP Identifier Header
}
}>Each ANTP handled article uploaded to the CH will include one X-
}>header at the end of the header section of the article, which will
}>be used specifically for identifying the last ANTP client that
}>handled the article. This will be a Break: X-header, and will
}>include any additional information that may be needed to identify
}>the operator of the ANTP client:
}
}>X-ANTP-alt.thing-johndoe@baz.com-Break:1-555-555-1212
}
}I would consider the method used above to be insufficient to identify the
}operator of the ANTP client.
It assumes that the client isn't going to lie. I can't see a way to
establish absolute authentication. A 'Secure' CH can provide that, if
neccesary. Eventually, a 'smart' CH could be created, but it isn't neccesary
to begin with one.
}
}>This header will be followed by a newline, and then the symbols:
}
}><BREAK>
}
}>This will be used by later ANTP clients to mark the break between
}>article headers and the article body. The article body should
}>follow immediately after the <BREAK> line.
}
}Without meaning to flame, why? Unless I'm sorely mistaken (which is
}possible), there is already an umanbiguous separator of article header
}and body, an empty line (one which only has CRLF). I don't see the reason
}for this <BREAK> thing.
Because I'm a lazy bugger in my coding. You're right, I should lose this
one.
}
}[...]
}
}After reading this through more carefully, I have the following concerns,
}as well:
}
}1. Security. Netnews is hardly secure, but this introduces yet another
}way to insert forged postings. And, unlike a fair number of other
}methods, it's even more difficult for the perpetrator to be traced. To
}trace a forgery, you will need:
}
} a) to realize it is a forgery.
} b) possibly, the help of the news admin at the site where it was
} injected by a client.
} c) possibly, the help of the injecting client.
} d) the help of all CHs which the message passed through before this,
} and possibly their site administrators (you will need to
} trace through anonymous ftp upload logs).
} e) possibly, additional news hosts, clients, and CHs (not likely, but
} possibly).
} f) the help of the administrator of the ISP of the offender.
}
}Realize that there is nothing that a large ISP can do to make this attack
}harder--they must use post-facto means to trace the offender, since they
}_cannot_ force posters to insert revealing headers (since the CH is NOT
}their host, and besides, this is happening through anonymous ftp upload,
}which is decidedly low-security). In addition, it is even more likely that
}the offending ISP will not face the brunt of complaints, since common
}posters cannot trace the articles past the CH.
If security problems arise, a change to the 'Secure' CH can be made, at
which point it is as secure as the FTP server hosting the CH. This requires
only getting the admins of the host site to add a user, whose only privilege
is to upload to that directory.
}
}In addition, the news administrator at the point where posts are injected
}also faces complaints, which he/she is most likely to pass on to the
}person who is propogating the message.
}
}Finally, remember that such forged posts may easily be made to ANY
}newsgroup, since the Newsgroups: line is preserved.
}
}2. The CH admin's burden.
}
}It seems to me that this is designed to transport without the need for
}news administrators or their time.
That is one purpose, yes. Admins rarely have time to trace back and find
out exactly why 2/3 of the posts in alt.thing are arriving a week late, when
the rest of the feed is okay. They usually don't class getting a one-group
feed as a worthwhile use of their time, either. And users are unequipped to
do so, as it currently stands.
}
}However, the replacement "thankless beast of burden" is the administrator
}of the CH, and this person is even more ill-equipped than the news
}admin for the task.
Which is why the CH is made as simple as possible. Other than arranging
for the hosting of the CH, and possibly securing it against improper use, his
task is pretty simple. And, after all, he is a volunteer, presumably because
he likes the group.
}
}For this analysis, the CH admin is presumed to be the person in charge of
}the FTP and HTTP sites on the CH, and responsible for their upkeep and
}maintenance.
}
}First, the CH admin bears the responsibility for the traffic on the site.
}They are the ones who get in trouble if people choose to point newsreaders
}directly at the HTTP site, or upload "nekkid pics" to the FTP server under
}the guise of new articles (at which point people will start using their
}web browsers on the results).
Which would make one think twice before using ANTP for
alt.sex.pedophilia.pictures . What FTP site is going to serve as the CH for
that? It's a legal issue, not a technical one. The other issues can be
solved through use of a 'Secure' CH.
}
}They are the ones that have to make sure that people don't do things like
}put in new directories with names like ".. " and stuff like that in them.
}
}They are the ones that need to trace back posts forged from their sites,
}and then they probably can't even kick the offenders of their system, but
}must politely ask some other entity to do so.
}
}A lot of this can be improved by making the CHs protected, and choosing
}responsible individuals to handle news transport into and out of the
}newsgroup.
Again, this is why the specific mention of the 'Secure' CH. If only
'trusted' users have access, the problem becomes much more tractable. Since
even a small (around 12) number of particpants can have a sizable benefit for
the group, this is not a major drawback.
}
}3. If it works, it'll be with us forever.
}
}Remember, if what you do is popular, everyone will keep using it for the
}next decade. Choose wisely now, or everyone will pay tomorrow.
Which is why I am going through this, rather than just building it and
making everyone live with the result.
}
}4. You must make news admins happy.
}
}While it may seem like news admins are a group of wild and crazy folks who
}basically let most folks say what they want, beware them if agitated.
}News admins have the power to completely destroy the ability of ANTP (or
}things reasonably like it) to work. They can do so by the following
}actions:
}
} 1. Rejecting all articles with ANTP-style headers sent by local
} posters.
} 2. Rejecting all articles anywhere with ANTP-style headers.
} 3. Holding ANTP repost clients liable for all articles posted
} by them.
}
}Realize that you need the good will of news admins to keep this from being
}stillborn.
I am on fairly good terms with most of the admins I know on the net, and I
am trying to design this to prevent extra headaches for them. Yes, their
tacit permission is necessary for its use. But since articles can only hit
their server if they have already started carrying that group, it shouldn't be
any extra headaches for them.
}
}I expect that most comments from news admins to this proposal will be
}negative. I encourage you to find and use this commentary as positively
}as possible, since (1) it will probably be educational if nothing else (I
}will certainly read responses by others and expect to learn quite a bit),
}(2) may help you shape this proposal into something better, (3) may spawn
}new and different ideas which someone else can use.
Sounds fine to me. I hope that admins will not be reflexively hostile to
it, it really can make their lives simpler.
}
}I also encourage you to accept flaming with patience. It's the angry
}people who are most likely to do things that will doom ANTP as it
}stands--they are the people you need to convince most that this is a
}workable idea.
Yeah, I know. I hope to walk this tightrope successfully.
}
}I hope my comments are of assistance.
}
Much, thank you.
Regards,
The Gentleman
--
There comes a time in the affairs of man when he must take the bull by the
tail and face the situation
W. C. Fields
//.sig created by Inscrutable V0.2a
//Please report any irregularities to elcabalero@aol.com
Re: ANTP Specification
Author: Bryan Ogawa
Date: Mon, 30 Sep 1996 00:00
Date: Mon, 30 Sep 1996 00:00
332 lines
15730 bytes
15730 bytes
elcabalero@aol.com (The Gentleman) writes: >In article <52nboh$ork@nnrp1.news.primenet.com>, > bkogawa@primenet.com (Bryan Ogawa) wrote: >}elcabalero@aol.com (The Gentleman) writes: [...] What would you think of divorcing ANTP completely (or almost completely) from the actual transport protocol, by specifying the way that files are named, articles are posted and preserved, and so on, but ignoring whether the user is using ftp, http, gopher, wais, smtp, uucp, or even some super-nntp to move the articles? I have some ideas on how to make the client more complicated so that you can use ftp without any assumption that it will do anything reasonable if the same file is uploaded twice. [...] >}I understand that there are good political reasons to make transfer >}directories world readable (specifically, preventing the oligarchical >}nature of NNTP). However, the reasons that news servers don't accept >}connections from the world are often legitimate ones. Many people will >}end up reading news directly off of the CH instead of using it to find and >}inject news, especially since the CH will ideally represent a >}world-readable "full feed" of all articles in the group. >} >}This sort of requirement makes it less appealing to run the CH. > This is a possible problem, except that without an index file, you would >be trying to guess a filename that might be 255 characters long, and >deliberately chosen near-randomly. Also, you have only the Message ID, not >the Subject, From, or any other useful fields. I think it would take >deliberate effort in the form of a CGI script to really make it a place to >read the group. In which case, why not use DejaNews? Yeah, mostly true, I admit, but why not allow CH's to use authentication at their own option? > However, if it does prove to be a problem, I think it likely CH operators >would say to hell with the spec, and use a more selective access model. Yes. :) >} >}>The articles will be placed in the CH by the clients, and must be >}>given filenames that are identical to the message ID's assigned to >}>that article per RFC 822 and RFC 1036. This means that no article >}>may be transferred via ANTP with a message ID longer than 255 >}>characters. Some systems may require a shorter file name, the >}>system limit will then become the maximum usable. No architecture >}>allowing less than 240 character filenames should be used for a CH. >} >}Technical nit: I believe that the recommended practice (and a good idea >}in any case) is for standards documents to NOT specify an implementation >}when it's not needed, and I believe it's specifically not needed here. Try >}saying something like, "The clients must pass the message ID as per RFC >}822 and RFC 1036 as the filename of the article, and the server must >}identify the articles available for download by their message IDs, and >}accept article requests via message ID." The big thing is to try to NOT >}tie the implementation to the definition. Eventually, someone will >}probably want to write a version which works with something unexpected >}(like database software) and it's better if they are given the freedom to >}do what they want when they do that. > The placing of an upper limit is neccesary, to keep the CH as simple as >possible, otherwise you would need a constantly updated index file, and have >some serious collision problems or a much more complex CH. Placing a lower >limit on the capability of the CH filename length may be uneccesary. Perhaps >I should just say that no article should be transferred that has an article ID >longer than the maximum filename size for the CH? I believe there is an upper limit on Message-ID length as it is. However, I think that there is a way to store the files without needing to worry about message-ID length, about what happens when two clients upload at the same time, or about illegal characters in message-IDs. What about each client (a) uploading articles to a separate, private area (based upon some agreement with the CH), and (b) uploading an index of the files it sent after it finishes transmission? The index would contain a message-ID and pathname, like so: <199609302004.NAA05727@foo.primenet.com> bkogawa/199609301533/file000001 <199609250959.CAA07754@foo.netvoyage.net> bkogawa/199609301553/file000002 [the rest of the entries look like this, too] [EOF] (that's the literal letters '[EOF]' at the end of the file, preceded by a tab.) This means that in the directory bkogawa/199609301533, file file000001 is the message with ID (well, you can see it). The uploaded indexes are saved to their own special subdirectory. The client is responsible to download all of the new index files it finds in this subdirectory. The [EOF] is there so that the client can tell if the other client is finished uploading any particular index file--if it hasn't, it either ignores it or marks it to be re-checked the next time it runs. No file is ever written twice. The client uploads the index AFTER it has uploaded the articles, so there's no way for another client to find message-ids and filenames for articles that haven't been uploaded yet. Since each client has its own upload directory, no file is ever written simultaneously (it's the client's responsibility to never run twice at the same time. If it can happen, it needs to become two separate clients.) Disadvantages are: a) it somewhat presumes an implementation with a heirarchical file system (e.g. directories and files and subdirectories), although it might be possible to make a non-heirarchical implementation (just probably not over ftp--imagine a server which accepts commands like "uploading new index file", or "download all index files since <date>"). b) the directory that might get overfilled is the index directory, although the worst case is that there is one index per message, in which case the directory is still overflowed, and there's significant overhead of doing all of the cd's. This could be cured by the "reaper" rewriting the index files to consolidate them (once every few hours, or once a day). Other advantages: a) The reaper (program that expires old articles and possibly rewrites indexes) can be a remote client, just like all of the other programs (this is actually true of your proposed solution, too). Then the CH just has to provide disk space and access. b) The client doesn't have to download old index files, since it already knows which ones it has seen before. [...] >}>The CH must be capable of handling 'collision' between two clients >}>attempting to upload the same article simultaneously by generating >}>an error and refusing the duplicate article. >} >}This is a major concern, as I believe that most current ftp servers do not >}do this by default (e.g. simultaneous uploads produce no warning and may >}produce various unexpected results). Solving this problem, if it exists, >}will rest upon the writers of ftp servers. > Which is why I was specific about mentioning it. At least a few FTP >implementations do create errors on collision, many others would simply >overwrite the file that arrived first. This section probably needs a little The second is the behavior I expect, which may or may not be a good thing. What happens if one client starts uploading, then the second starts uploading and finishes, then the first client finishes? [...] > I may try to look at multiple directories, but this opens another can of >worms. Yes, I guess it does, but I think it's worth it, since you can then ignore the collisions issue. [... I was concerned about CH maintainers getting blamed ...] > Not if the CH spec is kept so simple. If everything devolves on the >Client, the client can more easily be configured to match the particular >circumstances it is dealing with. Which is why I place so much importance on >clients identifying themselves, if they start generating spew, it needs to be >spotted quickly. Yes. Have you considered something akin to the Path: line, except with email addresses? E.g.: X-ANTP-Path: <bkogawa@primenet.com><elcabalero@aol.com><tale@uu.net> And just have the clients append themselves to the header whenever they handle the article? >} >}[...] >}>from the NNTP server. Either NOV commands or NNTP commands may be >}>used for this purpose, other news database commands may be used as >}>well. The absolute message ID must be recovered, although a local >}>article reference may also be used for streamlining the process. >} >}This is the sort of phrasing that should go above. Give the >}server-writers the sort of freedoms you're giving the client-writers. > Again, smart clients reduces CH host system load, not a small >consideration. I am deliberately departing from the traditional client/server >model with smart servers, to one more in line with modern distributed >computing, where everything possible is placed on the client. OK. This makes sense. I hope this round of suggestions is in line with this philosophy. [...] > At least one implementation of an FTP server for Linux does this, and the >standard FTP server for Windows NT. Others will 'fail safe', by overwriting >the first file received. As far as I know, very few would automatically >rename the file. If you're just worrying about renamings, then I agree--most ftp servers won't do that. > Since the intent is to make the route traceable, so that a source of >errors may be identified, I should find a different separator. Perhaps '^', >as I have never seen that in a group name or address, and it is 7-bit ASCII. Possibly. I don't think ^ is legal in hostnames or newsgroup names. I don't know if it's legal in email addresses. See above for a different idea. [...] >}>X-ANTP-alt.thing-johndoe@baz.com-Break:1-555-555-1212 >} >}I would consider the method used above to be insufficient to identify the >}operator of the ANTP client. > It assumes that the client isn't going to lie. I can't see a way to >establish absolute authentication. A 'Secure' CH can provide that, if >neccesary. Eventually, a 'smart' CH could be created, but it isn't neccesary >to begin with one. I was mostly concerned about the ambiguity problem and the forged posting via upload to a CH problem, but you've addressed those pretty well. >}>This header will be followed by a newline, and then the symbols: >} >}><BREAK> [...] >}Without meaning to flame, why? Unless I'm sorely mistaken (which is [...] > Because I'm a lazy bugger in my coding. You're right, I should lose this >one. Heh... :) [...] > If security problems arise, a change to the 'Secure' CH can be made, at >which point it is as secure as the FTP server hosting the CH. This requires >only getting the admins of the host site to add a user, whose only privilege >is to upload to that directory. I'd encourage you to make a "Secure" CH the default, to head off problems at the pass. If people want to run insecure CH's, then they can, but it seems to me that you might as well specify higher security now. :) [...] > Again, this is why the specific mention of the 'Secure' CH. If only >'trusted' users have access, the problem becomes much more tractable. Since >even a small (around 12) number of particpants can have a sizable benefit for >the group, this is not a major drawback. Yes. >}3. If it works, it'll be with us forever. >} >}Remember, if what you do is popular, everyone will keep using it for the >}next decade. Choose wisely now, or everyone will pay tomorrow. > Which is why I am going through this, rather than just building it and >making everyone live with the result. And I, for one, am thankful that you're taking the time to do it. [...] >}Realize that you need the good will of news admins to keep this from being >}stillborn. > I am on fairly good terms with most of the admins I know on the net, and I >am trying to design this to prevent extra headaches for them. Yes, their >tacit permission is necessary for its use. But since articles can only hit >their server if they have already started carrying that group, it shouldn't be >any extra headaches for them. Yes, presumably so. My major concerns were using CHs to forge posts and client spew, but you're putting in the right things to help minimize these things. >}I expect that most comments from news admins to this proposal will be >}negative. I encourage you to find and use this commentary as positively >}as possible, since (1) it will probably be educational if nothing else (I >}will certainly read responses by others and expect to learn quite a bit), >}(2) may help you shape this proposal into something better, (3) may spawn >}new and different ideas which someone else can use. > Sounds fine to me. I hope that admins will not be reflexively hostile to >it, it really can make their lives simpler. [...] Since you haven't been flamed yet, I consider this a good sign. :) I think I was too afraid of heated discussion. More stuff 1. Since one of these new versions of http is supposed to allow uploads, it seems like a good idea to not tie this specifically to ftp if you don't have to. 1a. If you are using ftp, though, you might as well as use ftp for the downloading as well. 2. I favor getting rid of the requirement about handling simultaneous uploads, so that the CH has no responsibility whatsoever except to provide space. At the very least, I favor the client being able to determine this feature of the ftp server automatically. :) 3. You asked about slurp. If I recall correctly, slurp is considered a bad boy, since it uses the NEWNEWS command, which is inefficient under INN. I recommend suck, which replaces slurp, and works a lot like the slrn newsreader (it goes into each group you're subscribed to and finds the new news less intrusively). suck 3.2.0 is available from the following ftp sites: Site1 = sunsite.unc.edu Path1 = /pub/Linux/system/Mail/news File1 = suck-3.2.0.tar.gz Site2 = tsx-11.mit.edu Path2 = /pub/linux/sources/sbin File2 = suck-3.2.0.tar.gz suck *can* be used in combination with a news server on a unix box to do what you're trying to do with ANTP, or probably could become the start of an ANTP implementation for Unix and clones. >} >}I hope my comments are of assistance. >} > Much, thank you. You're welcome. I'm interested in this idea--I think it could help to improve newsfeeds for a lot of poorly-propogated groups. -- bryan k. ogawa <bkogawa@primenet.com> <bkogawa@netvoyage.net>
Re: ANTP Specification
Author: The Gentleman
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
369 lines
17859 bytes
17859 bytes
In article <52pl7q$s20@nnrp1.news.primenet.com>,
bkogawa@primenet.com (Bryan Ogawa) wrote:
}elcabalero@aol.com (The Gentleman) writes:
}
}>In article <52nboh$ork@nnrp1.news.primenet.com>,
}> bkogawa@primenet.com (Bryan Ogawa) wrote:
}
}>}elcabalero@aol.com (The Gentleman) writes:
}
}[...]
}
}What would you think of divorcing ANTP completely (or almost completely)
}from the actual transport protocol, by specifying the way that files are
}named, articles are posted and preserved, and so on, but ignoring whether
}the user is using ftp, http, gopher, wais, smtp, uucp, or even some
}super-nntp to move the articles?
With reservations, it sounds good. The less tied to other protocols it
is, the better it can adapt. The hard part is going to be figuring out what
assumptions it can do without.
}
}I have some ideas on how to make the client more complicated so that you
}can use ftp without any assumption that it will do anything reasonable if
}the same file is uploaded twice.
}
Just what I need, the client to be *more* complicated. You do realize I
have to write the first one, don't you? ;)
}[...]
}
}> This is a possible problem, except that without an index file, you would
}>be trying to guess a filename that might be 255 characters long, and
}>deliberately chosen near-randomly. Also, you have only the Message ID, not
}>the Subject, From, or any other useful fields. I think it would take
}>deliberate effort in the form of a CGI script to really make it a place to
}>read the group. In which case, why not use DejaNews?
}
}Yeah, mostly true, I admit, but why not allow CH's to use authentication
}at their own option?
You're right. Leave open the idea of a smart CH that can force client
authentication, as well. And, at the same time, the possibility of a group
archive. Lot of possibilities, since it's on a web server anyway.
}
}> However, if it does prove to be a problem, I think it likely CH
operators
}>would say to hell with the spec, and use a more selective access model.
}
}Yes. :)
}
So why not write it in at the beginning, is what you're saying? Okay,
okay, but why anyone would be so paranoid as to think people would abuse the
net is beyond me. ;)
}>}
}> The placing of an upper limit is neccesary, to keep the CH as simple as
}>possible, otherwise you would need a constantly updated index file, and have
}>some serious collision problems or a much more complex CH. Placing a lower
}>limit on the capability of the CH filename length may be uneccesary.
Perhaps
}>I should just say that no article should be transferred that has an article
ID
}>longer than the maximum filename size for the CH?
}
}I believe there is an upper limit on Message-ID length as it is. However,
}I think that there is a way to store the files without needing to worry
}about message-ID length, about what happens when two clients upload at the
}same time, or about illegal characters in message-IDs. What about each
}client (a) uploading articles to a separate, private area (based upon some
}agreement with the CH), and (b) uploading an index of the files it sent
}after it finishes transmission? The index would contain a message-ID and
}pathname, like so:
}
}<199609302004.NAA05727@foo.primenet.com> bkogawa/199609301533/file000001
}<199609250959.CAA07754@foo.netvoyage.net> bkogawa/199609301553/file000002
I'd think a separator such as a ',' would be good. Makes parsing lines
with unpredictable lengths much easier.
}[the rest of the entries look like this, too]
} [EOF]
}
}(that's the literal letters '[EOF]' at the end of the file, preceded by a
}tab.)
}
}This means that in the directory bkogawa/199609301533, file file000001 is
}the message with ID (well, you can see it).
}
}The uploaded indexes are saved to their own special subdirectory. The
}client is responsible to download all of the new index files it finds in
}this subdirectory. The [EOF] is there so that the client can tell if the
}other client is finished uploading any particular index file--if it
}hasn't, it either ignores it or marks it to be re-checked the next time it
}runs. No file is ever written twice. The client uploads the index AFTER
}it has uploaded the articles, so there's no way for another client to find
}message-ids and filenames for articles that haven't been uploaded yet.
Which means no unpredictable results if a client tries to download a
half-uploaded article file. I just thought of that, looking at this. New
directories for every session seem like kindof overkill, since you'll never
need to list them anyway.
}
}Since each client has its own upload directory, no file is ever written
}simultaneously (it's the client's responsibility to never run twice at the
}same time. If it can happen, it needs to become two separate clients.)
Definitely, under this model. A 'smart' CH could handle it, but that's
for the future.
}
}Disadvantages are:
}
}a) it somewhat presumes an implementation with a heirarchical file system
}(e.g. directories and files and subdirectories), although it might be
}possible to make a non-heirarchical implementation (just probably not over
}ftp--imagine a server which accepts commands like "uploading new index
}file", or "download all index files since <date>").
Definitely possible. I don't want to assume them at the beginning, but I
won't exclude them. And it doesn't assume a heirarchal structure neccesarily:
<199609302004.NAA05727@foo.primenet.com>,cgibin/antp?bkogawa+file000001
<199609250959.CAA07754@foo.netvoyage.net>,cgibin/antp?bkogawa+file000002
See what I am saying?
}
}b) the directory that might get overfilled is the index directory,
}although the worst case is that there is one index per message, in
}which case the directory is still overflowed, and there's significant
}overhead of doing all of the cd's. This could be cured by the "reaper"
}rewriting the index files to consolidate them (once every few hours, or
}once a day).
If we allow the possibility of HTTP uploads, then eventually all of this
can be handled by a 'smart' CH, a CGI program. In the meantime, a special
client could do it.
}
}Other advantages:
}
}a) The reaper (program that expires old articles and possibly rewrites
}indexes) can be a remote client, just like all of the other programs (this
}is actually true of your proposed solution, too). Then the CH just has to
}provide disk space and access.
I was assuming that housecleaning would be done by a client. In the
future, it could be done by a smart CH. For now, it's better to be able to
assume that the CH is just a dumb server, with no special capabilities.
}
}b) The client doesn't have to download old index files, since it already
}knows which ones it has seen before.
c) The client can work off of specific URL's for everything but the index
directory listing. That means a major increase in speed. In the future, even
that could be done by a 'smart' CH.
d)Three or four articles could be transferred simultaneously, so that you get
full use of the available bandwidth (probably over a modem connection), and
don't waste huge amounts of time waiting for HTTP connections to be
established. At peak periods, it can take close to a minute before the actual
files start coming back after a GET, this helps you keep it from being wasted.
That's why Web browsers usually run four simultaneous connections.
}
}[...]
}>}>The CH must be capable of handling 'collision' between two clients
}>}>attempting to upload the same article simultaneously by generating
}>}>an error and refusing the duplicate article.
}>}
}>}This is a major concern, as I believe that most current ftp servers do not
}>}do this by default (e.g. simultaneous uploads produce no warning and may
}>}produce various unexpected results). Solving this problem, if it exists,
}>}will rest upon the writers of ftp servers.
}
}> Which is why I was specific about mentioning it. At least a few FTP
}>implementations do create errors on collision, many others would simply
}>overwrite the file that arrived first. This section probably needs a little
}
}The second is the behavior I expect, which may or may not be a good thing.
}What happens if one client starts uploading, then the second starts
}uploading and finishes, then the first client finishes?
Yick. No way to predict, every FTP server might handle it differently.
Some might not handle it the same way every time. Some might even fall down
and go boom.
}
}[...]
}> I may try to look at multiple directories, but this opens another can of
}>worms.
}
}Yes, I guess it does, but I think it's worth it, since you can then ignore
}the collisions issue.
Yeah, it solves more problems than it causes. It requires a very special
client for housekeeping, but that's doable.
}
}[... I was concerned about CH maintainers getting blamed ...]
}> Not if the CH spec is kept so simple. If everything devolves on the
}>Client, the client can more easily be configured to match the particular
}>circumstances it is dealing with. Which is why I place so much importance
on
}>clients identifying themselves, if they start generating spew, it needs to
be
}>spotted quickly.
}
}Yes. Have you considered something akin to the Path: line, except with
}email addresses? E.g.:
}
}X-ANTP-Path: <bkogawa@primenet.com><elcabalero@aol.com><tale@uu.net>
}
}And just have the clients append themselves to the header whenever they
}handle the article?
}
That was why I specified that the Break: header must be last. But that
won't ensure that the ones above are in the right order. Why not use what you
suggest above, but append the actual path to it? Prepend it. Whatever. That
kills two birds with one stone, and more accurately reflects its real course.
}>}
}>}[...]
}>}>from the NNTP server. Either NOV commands or NNTP commands may be
}>}>used for this purpose, other news database commands may be used as
}>}>well. The absolute message ID must be recovered, although a local
}>}>article reference may also be used for streamlining the process.
}>}
}>}This is the sort of phrasing that should go above. Give the
}>}server-writers the sort of freedoms you're giving the client-writers.
}
}> Again, smart clients reduces CH host system load, not a small
}>consideration. I am deliberately departing from the traditional
client/server
}>model with smart servers, to one more in line with modern distributed
}>computing, where everything possible is placed on the client.
}
}OK. This makes sense. I hope this round of suggestions is in line with
}this philosophy.
}
Yeah, it allows for smart CH's, but only assumes the client is. That is
definitely better, allows more room for improvement. Without having to chase
down a few hundred or more client users.
}[...]
}
}> Since the intent is to make the route traceable, so that a source of
}>errors may be identified, I should find a different separator. Perhaps '^',
}>as I have never seen that in a group name or address, and it is 7-bit ASCII.
}
}Possibly. I don't think ^ is legal in hostnames or newsgroup names. I
}don't know if it's legal in email addresses. See above for a different
}idea.
A good one. I'll still keep the X-header format, though. No guessing how
many different CH's and clients a message might pass through. Unique headers
are worth the effort. No need to stomp the Posting-Host and Org lines, for
any of the stages. Might need them for tracing.
}
}> If security problems arise, a change to the 'Secure' CH can be made, at
}>which point it is as secure as the FTP server hosting the CH. This requires
}>only getting the admins of the host site to add a user, whose only privilege
}>is to upload to that directory.
}
}I'd encourage you to make a "Secure" CH the default, to head off problems
}at the pass. If people want to run insecure CH's, then they can, but it
}seems to me that you might as well specify higher security now. :)
}
Yeah. If we've learned anything, it's that wide-open systems get abused.
The multiple directories angle almost requires a secure model, though. You
could let people create directories, I guess.
}[...]
}>}Realize that you need the good will of news admins to keep this from being
}>}stillborn.
}
}> I am on fairly good terms with most of the admins I know on the net, and
I
}>am trying to design this to prevent extra headaches for them. Yes, their
}>tacit permission is necessary for its use. But since articles can only hit
}>their server if they have already started carrying that group, it shouldn't
be
}>any extra headaches for them.
}
}Yes, presumably so. My major concerns were using CHs to forge posts and
}client spew, but you're putting in the right things to help minimize these
}things.
With all the time I spend in nanam, I know that if I leave wide-open holes
for the spammers, spewers, and forgers, they'll take full advantage. And spew
is a bad thing. Most of the time, the first person to notice client spew
would be the person operating the client. He's probably reading news while
the client is adding to it. And he isn't going to be happy about it, that's
his favorite group he just filled with junk.
}
}> Sounds fine to me. I hope that admins will not be reflexively hostile
to
}>it, it really can make their lives simpler.
}[...]
}
}Since you haven't been flamed yet, I consider this a good sign. :) I
}think I was too afraid of heated discussion.
I half expected a chorus of 'Shut up, you Windoze newbie you.' or even
less polite things.
}
}More stuff
}
}1. Since one of these new versions of http is supposed to allow uploads,
}it seems like a good idea to not tie this specifically to ftp if you don't
}have to.
}
}1a. If you are using ftp, though, you might as well as use ftp for the
}downloading as well.
I used HTTP for downloading because it places an absolute minimum of
burden on the system. FTP got in there because things like a directory
listing would require a smart CH without it, and HTTP uploads are unproven.
Eventually, everything could be done by HTTP. Tying an experimental protocol
to an experimental protocol didn't seem to be the wisest move, right now.
}
}2. I favor getting rid of the requirement about handling simultaneous
}uploads, so that the CH has no responsibility whatsoever except to provide
}space. At the very least, I favor the client being able to determine this
}feature of the ftp server automatically. :)
I'll ditch the simultaneous uploads. To many ifs. And explicitly leave
open the idea of HTTP uploads, that opens a lot of potential avenues.
}
}3. You asked about slurp. If I recall correctly, slurp is considered a
}bad boy, since it uses the NEWNEWS command, which is inefficient under
}INN. I recommend suck, which replaces slurp, and works a lot like the
}slrn newsreader (it goes into each group you're subscribed to and finds
}the new news less intrusively). suck 3.2.0 is available from the
}following ftp sites:
}
}Site1 = sunsite.unc.edu
}Path1 = /pub/Linux/system/Mail/news
}File1 = suck-3.2.0.tar.gz
}
}Site2 = tsx-11.mit.edu
}Path2 = /pub/linux/sources/sbin
}File2 = suck-3.2.0.tar.gz
}
}suck *can* be used in combination with a news server on a unix box to do
}what you're trying to do with ANTP, or probably could become the start of
}an ANTP implementation for Unix and clones.
Yeah. But right now it depends on there being servers that are wide-open
to reading. Those will be getting less and less common, as they are being
heavily used for binaries, and costing a fortune in bandwidth. And it doesn't
really allow for separate users to pool their efforts. Although I have a
Windows background, I'm trying to avoid making this OS specific. I jump
through enough hoops because protocols assume a Unix system. Things that you
can do with a simple shell script in Unix can take a major effort in Windows.
}
}>}
}>}I hope my comments are of assistance.
}>}
}> Much, thank you.
}
}You're welcome. I'm interested in this idea--I think it could help to
}improve newsfeeds for a lot of poorly-propogated groups.
Yeah. What good are 20,000 groups if half of them get such poor
propagation that nobody uses them? How much fun is a alt.* group if the feed
drops 2/3 of the articles, and the rest show up a week late?
Regards,
The Gentleman
--
I never resist temptation, because I have found that things that are bad for
me do not tempt me.
George Bernard Shaw
//.sig created by Inscrutable V0.2a
//Please report any irregularities to elcabalero@aol.com
Re: ANTP Specification
Author: The Gentleman
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
91 lines
4932 bytes
4932 bytes
In article <52qiou$3oi@news-e2b.gnn.com>, Jimrtex@gnn.com (Jim Riley) wrote:
}
}In article <52mm8p$54d@library.airnews.net> The Gentleman wrote:
}
}>Accelerated News Transport Protocol
}
}Let's make sure I understand this proposal.
}
}The client will contact both the Clearing House (CH) server and a NNTP
}server and get a list of the messaged IDs of the articles available on
}both. The client will then transfer the articles that the CH does
}not have from the NNTP server, and that the NNTP server does not have
}from the CH. The content of the CH server and the NNTP server are
}synchronized, and the user of the client has access to a set of
}articles that is more complete, and receives them in a more timely
}fashion than if the articles were transported solely by flood propagation.
}
}If their are serveral clients at dispersed sites, then the contents
}of the CH will tend to represent the canonical content of the group/
}
}Am I understanding correctly?
}
Yes, this would all be a fairly accurate assessment.
}
}Now some questions.
}
}-- What if it becomes widespread practice for clients to use ANTP?
}This would seem logical since a user would be interested in the most
}complete and timely set of articles available.
}
}With more and more contact with the CH, fewer articles would propagate
}using the flood mechanism, as more and more are transported using ANTP.
}In a worst-case scenario, all articles would be transported from the CH
}to all NNTP servers that have ANTP-utilizing readers interested in a group.
}This would seem to put a heavy load burden on the CH. And would this
}method of propagation be less efficient for NNTP servers than the
}server-to-server feeding?
I think this would become self-limiting. No CH could handle the
entire load of a newsgroup's readers, even comparatively small groups would
swamp it and force the closing of the CH. Since only a dozen or so
participants are necessary to have a major benefit for the group, the
remainder have much less incentive to particpate, as they are already getting
a virtually complete feed.
}
}-- Why would someone using an ANTP client particularly care about
}transmitting articles from his NNTP server to the CH? He is satisfied
}with getting the latest and greatest, and perhaps getting his own
}contributions to the CH. But why would he have any particular concern
}expending any effort (and time) accelerating the articles of others which
}he already has access to. And since the ANTP client is capable of
}getting the articles directly from the CH, why would he pass them along
}to his NNTP server? Why wouldn't the client simply retrieve them from
}the CH server and read them? At its most refined level, the ANTP
}client would just become a newsreader coordinating content from the
}NNTP server and the CH, and not facilitating any exchange between the
}two.
Because he would be uploading much less than he was downloading, usually.
The time savings of not passing them on to the CH is minimal. Also, the
operator of the CH could easily notice that a client's traffic was all
one-way, and cut him off if he felt there was malfeasance.
}
}-- Do you see ANTP as being more used by less universal groups, where
}the set of NNTP servers that carry the group are fewer. In effect, a
}possible alternative to mailing lists where there is not a particular
}concern about public visiblity and participation.
The 'marginal' groups, especially in alt.*, that are currently struggling
to deal with poor propagation, would get the most pronounced benefit, yes.
Many groups are having this problem, it is likely to get more pronounced.
This is one place where Usenet is having scaling problems.
}
}-- Does anyone remember when Archie Plutonium suggested that their was
}a web-based standard for content on news groups? Was he just ahead of
}his time?
}
I don't get it.
Regards,
The Gentleman
--
There's a way of transferring funds that is even faster than electronic
banking. It's called marriage.
James Holt McGavran
//.sig created by Inscrutable V0.2a
//Please report any irregularities to elcabalero@aol.com
Re: ANTP Specification
Author: Koen Malfliet
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
46 lines
3349 bytes
3349 bytes
In article <52nipe$55s@library.airnews.net>, elcabalero@aol.com (The Gentleman) wrote: ]In article <52nboh$ork@nnrp1.news.primenet.com>, bkogawa@primenet.com (Bryan Ogawa) wrote: ]}Technical nit: I believe that the recommended practice (and a good idea ]}in any case) is for standards documents to NOT specify an implementation ]}when it's not needed, and I believe it's specifically not needed here. Try ]}saying something like, "The clients must pass the message ID as per RFC ]}822 and RFC 1036 as the filename of the article, and the server must ]}identify the articles available for download by their message IDs, and ]}accept article requests via message ID." The big thing is to try to NOT ]}tie the implementation to the definition. Eventually, someone will ]}probably want to write a version which works with something unexpected ]}(like database software) and it's better if they are given the freedom to ]}do what they want when they do that. ] The placing of an upper limit is neccesary, to keep the CH as simple as ]possible, otherwise you would need a constantly updated index file, and have ]some serious collision problems or a much more complex CH. Placing a lower ]limit on the capability of the CH filename length may be uneccesary. Perhaps ]I should just say that no article should be transferred that has an article ]ID longer than the maximum filename size for the CH? The key words were the difference between "AS the filename" and "THE filename". In the current RFCs, all that's required is something behaving as if there were files. The fact that you want http and ftp directories to be the same would pose some difficulties for database programmers. The fact that you require files may be just too much. File systems like we know them now may not be around 10 years from now. (they will, but not on state-of-the-art implementations) They may all be replaced by some object goo. "retrievable by article ID" and "stored separately" may be a safer choice of words than "filename" and "file". One other thing: Today's new group creation isn't a have versus have-not fight. If every group will need some server to carry the group, some poor souls may find their group without a CH. Soc.culture.poor-countries, anyone? Alt.* groups will, of course, have to go. I wonder: Under those circumstances, is ANTP still necessary? Or will groups without a CH remain on NNTP-only subsets of usenet? In which case, you'd have a tough case motivating anyone to set up a CH for any group. ================================================= Koen Malfliet, Belgium E-mail : mkm@glo.be
Re: ANTP Specification
Author: Julio Sanchez
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
37 lines
2348 bytes
2348 bytes
In article <52np0p$58m@segfault.monkeys.com> spam_me@monkeys.com (Ronald F. Guilmette sez: Reply To This Address Only If You Are A Stupid E-mail Spammer) writes: > I offer only the modest comment that this whole thing looks to me like > little more that a formalization of what many people (myself) included > are already doing today with `slurp'. Or suck, or ... But slurp or suck are just ways to feed news to a real server. The proposal seems to assume that the user who wants this does not manage a real news server (if she did, she could arrange a feed for it, only willing sites are needed and the proposal is already postulating the existance of one or more willing sites). So it's only a matter of having a site willing to accept anonymous access for selected groups. This is the model of funet.fi that provides an open server for just the sfnet.* groups. If you have a capable reader, you can read the groups from there. If you manage a server and you really can't get a good feed for a group, you could suck it from the reference site. It's only a matter of organization and someone willing to donate the resources to act as a CH. But it does not matter if you use NNTP or HTTP or whatever. You need it anyway. So why introduce new mechanisms? I fail to see the need for this proposal. Julio -- Julio Sanchez, SGI Soluciones Globales Internet Tel: (91) 804 28 37 Fax: (91) 804 14 05 WWW: http://www.esegi.es jsanchez@esegi.es jsanchez@gmv.es PGP Key fingerprint = E5 29 93 6F 41 4E 00 E2 90 11 A1 8C 72 D0 DE 71
Re: ANTP Specification
Author: Trever Miller
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
42 lines
2602 bytes
2602 bytes
The Gentleman (elcabalero@aol.com) wrote: : In article <DyIuzx.1Gy@cyberdex.cuug.ab.ca>, : bug@cyberdex.cuug.ab.ca (Trever Miller) wrote: : }Hmm, interesting, but not everyone is directly on the 'net as it were. : } : }I suspect that this could be done via a few dozen lines of shell script and : }a procmail filter, transporting the message lists and the messages : }themselves via mail. : } : <chuckle> That was my first suggestion. People didn't like it. Very : inefficient of resources, they said. Use HTTP, they said. So I rewrite the : whole concept, and what's the first thing I hear? ROTFLMAO! Hey, why make it more complicated than it has to be? For those that have access to the news spool directly and mail access, but no direct i-net access, a few dozen lines of shell and procmail/filter scripts seems to me to be the simpliest way of implementing this. I guess it wouldn't work for those that are stuck with getting their news via nntp, but don't a some ISP's offer unix shell access as well as the usual ppp/slip? Anyhoot, the original idea was to help users propagate "backwater" groups that aren't being distributed as far and wide and reliably as the more mainstream ones, right? There isn't going to be a whole lot of traffic on any particular backwater group unless the church of spamtology decides to start spamming it. If I'm bored enough some evening this week, I'll mangle up a first stab at an email based implementation of user-level newsgroup feed patching. If I'm really bored I'll put pgp authentication in. -- bug@cyberdex.cuug.ab.ca Keeper of the Alberta B5 Mailing List System Mangler babylon5-request@cyberdex.cuug.ab.ca "The stupider it looks, the more important it probably is." -- J.R. 'Bob' Dobbs
Re: ANTP Specification
Author: The Gentleman
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
28 lines
1884 bytes
1884 bytes
In article <x0iv8v3ulq.fsf@melmac.gmv.es>,
Julio Sanchez <jsanchez@esegi.es> wrote:
}
}It's only a matter of organization and someone willing to donate the
}resources to act as a CH. But it does not matter if you use NNTP or
}HTTP or whatever. You need it anyway. So why introduce new
}mechanisms? I fail to see the need for this proposal.
}
Because the existing mechanisms are not available to users for the most
part, only to those with higher levels of access, and are not particularly
responsive to problems in particular individual groups. Suck and slurp are
dependant on the existence of servers that are wide-open to reading, which is
likely to become less and less common, as they are abused for the downloading
of large volumes of binaries. Also, suck and slurp do not, as presently used,
make any provision for several particpants to pool their efforts.
Regards,
The Gentleman
--
There's a way of transferring funds that is even faster than electronic
banking. It's called marriage.
James Holt McGavran
//.sig created by Inscrutable V0.2a
//Please report any irregularities to elcabalero@aol.com
Re: ANTP Specification
Author: Jim Riley
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
65 lines
3530 bytes
3530 bytes
In article <52mm8p$54d@library.airnews.net> The Gentleman wrote: >Accelerated News Transport Protocol Let's make sure I understand this proposal. The client will contact both the Clearing House (CH) server and a NNTP server and get a list of the messaged IDs of the articles available on both. The client will then transfer the articles that the CH does not have from the NNTP server, and that the NNTP server does not have from the CH. The content of the CH server and the NNTP server are synchronized, and the user of the client has access to a set of articles that is more complete, and receives them in a more timely fashion than if the articles were transported solely by flood propagation. If their are serveral clients at dispersed sites, then the contents of the CH will tend to represent the canonical content of the group/ Am I understanding correctly? Now some questions. -- What if it becomes widespread practice for clients to use ANTP? This would seem logical since a user would be interested in the most complete and timely set of articles available. With more and more contact with the CH, fewer articles would propagate using the flood mechanism, as more and more are transported using ANTP. In a worst-case scenario, all articles would be transported from the CH to all NNTP servers that have ANTP-utilizing readers interested in a group. This would seem to put a heavy load burden on the CH. And would this method of propagation be less efficient for NNTP servers than the server-to-server feeding? -- Why would someone using an ANTP client particularly care about transmitting articles from his NNTP server to the CH? He is satisfied with getting the latest and greatest, and perhaps getting his own contributions to the CH. But why would he have any particular concern expending any effort (and time) accelerating the articles of others which he already has access to. And since the ANTP client is capable of getting the articles directly from the CH, why would he pass them along to his NNTP server? Why wouldn't the client simply retrieve them from the CH server and read them? At its most refined level, the ANTP client would just become a newsreader coordinating content from the NNTP server and the CH, and not facilitating any exchange between the two. -- Do you see ANTP as being more used by less universal groups, where the set of NNTP servers that carry the group are fewer. In effect, a possible alternative to mailing lists where there is not a particular concern about public visiblity and participation. -- Does anyone remember when Archie Plutonium suggested that their was a web-based standard for content on news groups? Was he just ahead of his time? -- Jim Riley
Re: ANTP Specification
Author: Bryan Ogawa
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
345 lines
15930 bytes
15930 bytes
elcabalero@aol.com (The Gentleman) writes: >bkogawa@primenet.com (Bryan Ogawa) wrote: >}elcabalero@aol.com (The Gentleman) writes: >}>bkogawa@primenet.com (Bryan Ogawa) wrote: >}>}elcabalero@aol.com (The Gentleman) writes: Yes, we've been having this discussion for a while. [...] >}What would you think of divorcing ANTP completely (or almost completely) >}from the actual transport protocol, by specifying the way that files are [...] > With reservations, it sounds good. The less tied to other protocols it >is, the better it can adapt. The hard part is going to be figuring out what >assumptions it can do without. True. >} >}I have some ideas on how to make the client more complicated so that you >}can use ftp without any assumption that it will do anything reasonable if >}the same file is uploaded twice. >} > Just what I need, the client to be *more* complicated. You do realize I >have to write the first one, don't you? ;) Hey... if you keep going like this, someone will write six variants for you! (That's kinda what I meant when I said that it might give other people ideas. :) ) Seriously--the protocol as it stands would not be horribly difficult to write in perl--probably 8 hours of work for an alpha, or less. :) [...] >}Yeah, mostly true, I admit, but why not allow CH's to use authentication >}at their own option? > You're right. Leave open the idea of a smart CH that can force client >authentication, as well. And, at the same time, the possibility of a group >archive. Lot of possibilities, since it's on a web server anyway. Yup. I think that you should start out with authenticating CH's to avoid the forgery problem, as well as unwanted reader-only clients. >}> However, if it does prove to be a problem, I think it likely CH >operators >}>would say to hell with the spec, and use a more selective access model. >} >}Yes. :) >} > So why not write it in at the beginning, is what you're saying? Okay, >okay, but why anyone would be so paranoid as to think people would abuse the >net is beyond me. ;) That is what I'm saying, and you know why, I'm sure. :) [..] >}I believe there is an upper limit on Message-ID length as it is. However, >}I think that there is a way to store the files without needing to worry >}about message-ID length, about what happens when two clients upload at the >}same time, or about illegal characters in message-IDs. What about each >}client (a) uploading articles to a separate, private area (based upon some >}agreement with the CH), and (b) uploading an index of the files it sent >}after it finishes transmission? The index would contain a message-ID and >}pathname, like so: >} >}<199609302004.NAA05727@foo.primenet.com> bkogawa/199609301533/file000001 >}<199609250959.CAA07754@foo.netvoyage.net> bkogawa/199609301553/file000002 > I'd think a separator such as a ',' would be good. Makes parsing lines >with unpredictable lengths much easier. I would recommend using one ' ' (space) as the separator, since it's slightly less likely to appear in a Message-ID or filename, but that's just me. :) >}[the rest of the entries look like this, too] >} [EOF] >} >}(that's the literal letters '[EOF]' at the end of the file, preceded by a >}tab.) >} >}This means that in the directory bkogawa/199609301533, file file000001 is >}the message with ID (well, you can see it). >} >}The uploaded indexes are saved to their own special subdirectory. The >}client is responsible to download all of the new index files it finds in >}this subdirectory. The [EOF] is there so that the client can tell if the >}other client is finished uploading any particular index file--if it >}hasn't, it either ignores it or marks it to be re-checked the next time it >}runs. No file is ever written twice. The client uploads the index AFTER >}it has uploaded the articles, so there's no way for another client to find >}message-ids and filenames for articles that haven't been uploaded yet. > Which means no unpredictable results if a client tries to download a >half-uploaded article file. I just thought of that, looking at this. New >directories for every session seem like kindof overkill, since you'll never >need to list them anyway. The major reason for that is because that way, the client never has to remember which filenames he has already used. Clients which do remember can continue to use the same directory. It's expected that clients can create directories at will. [...] >}Disadvantages are: >} >}a) it somewhat presumes an implementation with a heirarchical file system >}(e.g. directories and files and subdirectories), although it might be >}possible to make a non-heirarchical implementation (just probably not over >}ftp--imagine a server which accepts commands like "uploading new index >}file", or "download all index files since <date>"). > Definitely possible. I don't want to assume them at the beginning, but I >won't exclude them. And it doesn't assume a heirarchal structure neccesarily: ><199609302004.NAA05727@foo.primenet.com>,cgibin/antp?bkogawa+file000001 ><199609250959.CAA07754@foo.netvoyage.net>,cgibin/antp?bkogawa+file000002 > See what I am saying? very nifty. One thing is that the client may need to be able to determine the (possible) difference between upload and download directory paths. This could present a problem, but shouldn't be horribly hard to do (maybe just a configuration option?) [...] >}Other advantages: >} >}a) The reaper (program that expires old articles and possibly rewrites >}indexes) can be a remote client, just like all of the other programs (this >}is actually true of your proposed solution, too). Then the CH just has to >}provide disk space and access. > I was assuming that housecleaning would be done by a client. In the >future, it could be done by a smart CH. For now, it's better to be able to >assume that the CH is just a dumb server, with no special capabilities. Yeah. This works well, I think. [...] >c) The client can work off of specific URL's for everything but the index >directory listing. That means a major increase in speed. In the future, even >that could be done by a 'smart' CH. Since a smart CH is probably going to just list the directory anyway, it's not a big savings. >d)Three or four articles could be transferred simultaneously, so that you get >full use of the available bandwidth (probably over a modem connection), and >don't waste huge amounts of time waiting for HTTP connections to be >established. At peak periods, it can take close to a minute before the actual >files start coming back after a GET, this helps you keep it from being wasted. > That's why Web browsers usually run four simultaneous connections. >} >}[...] >}>}>The CH must be capable of handling 'collision' between two clients >}>}>attempting to upload the same article simultaneously by generating >}>}>an error and refusing the duplicate article. >}>} >}>}This is a major concern, as I believe that most current ftp servers do not >}>}do this by default (e.g. simultaneous uploads produce no warning and may >}>}produce various unexpected results). Solving this problem, if it exists, >}>}will rest upon the writers of ftp servers. >} >}> Which is why I was specific about mentioning it. At least a few FTP >}>implementations do create errors on collision, many others would simply >}>overwrite the file that arrived first. This section probably needs a little >} >}The second is the behavior I expect, which may or may not be a good thing. >}What happens if one client starts uploading, then the second starts >}uploading and finishes, then the first client finishes? > Yick. No way to predict, every FTP server might handle it differently. >Some might not handle it the same way every time. Some might even fall down >and go boom. Yup. I have learned that file locking in Unix is nasty, ad-hoc, untrusted, untrustworthy, and non-portable. If you don't need it, don't use it. :) >} >}[...] >}> I may try to look at multiple directories, but this opens another can of >}>worms. >} >}Yes, I guess it does, but I think it's worth it, since you can then ignore >}the collisions issue. > Yeah, it solves more problems than it causes. It requires a very special >client for housekeeping, but that's doable. You'd be surprised, though, how easy it might be to write such a client. And if you do have more features on the CH (like the ability to run perl scripts) it is nearly trivial. [...] >}Yes. Have you considered something akin to the Path: line, except with >}email addresses? E.g.: >} >}X-ANTP-Path: <bkogawa@primenet.com><elcabalero@aol.com><tale@uu.net> >} >}And just have the clients append themselves to the header whenever they >}handle the article? >} > That was why I specified that the Break: header must be last. But that >won't ensure that the ones above are in the right order. Why not use what you >suggest above, but append the actual path to it? Prepend it. Whatever. That >kills two birds with one stone, and more accurately reflects its real course. Hm. An idea. The cases that might be hard to work with is something like this: poster->nntp->nntp->nntp->uucp->nntp->antp->antp->nntp->nntp->antp->antp->nntp There should be a way to determine where the antp posters stood in the chain. The problem is that email addresses might not be pretty in the Path: line (otherwise I might just suggest that). The other issue, of course, is that newsreaders might not trust the original path line to be truthful. So it is a good idea to preserve the Path: line somehow. Maybe like this: Path: nntp.primenet.com!news.foo.bar.com!nntp.foo.edu!notformail When I download the article and put it on the ANTP site, I add: X-ANTP-Path: <bkogawa@primenet.com>!nntp.primenet.com!news.foo.bar.com! nntp.foo.edu!notformail (note this would be one line) If someone else posted it back up, it'd be: X-ANTP-Path: <tale@uu.net>!<bkogawa@primenet.com>!nntp.primenet.com! news.foo.bar.com!nntp.foo.edu!notformail But the Path: header would become naked. Potential problem--do some news servers use Path: to reject duplicate articles based upon transferring site (e.g. themselves?) vs. Message-ID? I know cnews uses Message-ID, and I think INN does as well. [...] >}OK. This makes sense. I hope this round of suggestions is in line with >}this philosophy. >} > Yeah, it allows for smart CH's, but only assumes the client is. That is >definitely better, allows more room for improvement. Without having to chase >down a few hundred or more client users. Yes. I think it's important that the default be "deny clients access to CH" so that they are required to do a positive thing (beg CH admin for access) to get access. Especially since they can probably: a) forge posts via this mechanism b) destroy the entire contents of the CH c) get the CH admin in trouble > A good one. I'll still keep the X-header format, though. No guessing how >many different CH's and clients a message might pass through. Unique headers >are worth the effort. No need to stomp the Posting-Host and Org lines, for >any of the stages. Might need them for tracing. Yeah, that's a good idea. Another suggestion: X-ANTP-Saved-<client-ID>: <put whole header here> X-ANTP-Saved-<client-ID>: <put whole header here> X-ANTP-Saved-<client-ID>: <put whole header here> X-ANTP-Saved-<client-ID>: <put whole header here> [as many times as needed] Example: X-ANTP-Saved-<bkogawa@primenet.com>: Organization: Primenet X-ANTP-Saved-<bkogawa@primenet.com>: NNTP-Posting-Host: usr01.primenet.com X-ANTP-Saved-<bkogawa@primenet.com>: Sender: bkogawa@primenet.com I believe that user-generated headers can appear multiple times in a single message. [...] > With all the time I spend in nanam, I know that if I leave wide-open holes >for the spammers, spewers, and forgers, they'll take full advantage. And spew >is a bad thing. Most of the time, the first person to notice client spew >would be the person operating the client. He's probably reading news while >the client is adding to it. And he isn't going to be happy about it, that's >his favorite group he just filled with junk. Both good points. [...] > I used HTTP for downloading because it places an absolute minimum of >burden on the system. FTP got in there because things like a directory >listing would require a smart CH without it, and HTTP uploads are unproven. >Eventually, everything could be done by HTTP. Tying an experimental protocol >to an experimental protocol didn't seem to be the wisest move, right now. No, but allowing for its future existence does seem wise. :) [...] > I'll ditch the simultaneous uploads. To many ifs. And explicitly leave >open the idea of HTTP uploads, that opens a lot of potential avenues. Good. While you can expect admins to do some things to help, installing a new ftp server is probably not one of them. :) [...] > Yeah. But right now it depends on there being servers that are wide-open >to reading. Those will be getting less and less common, as they are being Actally, what I was thinking about was using suck to provide the news server half of ANTP--making it that much easier to code. The other thing you could do is ship rpost bundles of the articles around the internet to people with personal news servers. :) >heavily used for binaries, and costing a fortune in bandwidth. And it doesn't >really allow for separate users to pool their efforts. Although I have a >Windows background, I'm trying to avoid making this OS specific. I jump >through enough hoops because protocols assume a Unix system. Things that you >can do with a simple shell script in Unix can take a major effort in Windows. [...] Yes. I think that building an ANTP client under Unix would be much easier than under Windows. Have you looked at getting perl for Windows and using that? perl provides some very nice features perfect for this sort of thing (like '($message_id, $path) = split(/\s+/);', which would take care of the possibility of arbitrary numbers of spaces between the message ID and the path :) ) I think that Windows clients are a partially good thing (any reasonably clueful person could improve their feed if they can find a willing CH), but two disadvantages are that it's much harder to write such a beast in windows, and that making a client easier to use may allow people who are less knowledgeable about news to use it. Using perl for windows may address those concerns (while possibly adding the problem that it raises the bar excessively). -- bryan k. ogawa <bkogawa@primenet.com> <bkogawa@netvoyage.net>
Re: ANTP Specification
Author: The Gentleman
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
33 lines
2002 bytes
2002 bytes
In article <52somo$3k5@papaioea.manawatu.gen.nz>,
alan@papaioea.manawatu.gen.nz (Alan Brown) wrote:
}In article <52na80$s21@library.airnews.net>,
}The Gentleman <elcabalero@aol.com> wrote:
}
}>}I suspect that this could be done via a few dozen lines of shell script and
}>}a procmail filter, transporting the message lists and the messages
}>}themselves via mail.
}>}
}> <chuckle> That was my first suggestion. People didn't like it. Very
}>inefficient of resources, they said. Use HTTP, they said. So I rewrite the
}>whole concept, and what's the first thing I hear? ROTFLMAO!
}
}Why not be flexible and write a standard which can do both http and mail?
}
That's where we've moved to. Me and Bryan Ogawa have exchanged several
messages on this topic, it's evolved a lot from what I posted.
Regards,
The Gentleman
(BTW, Bryan, you're getting coauthorship credit on this, unless you object.
But *my* name's going first. ;) )
--
Plato had slaves...George Washington had slaves...So, do I feel intrinsically
better than these two men? Of course I do! They're dead!
Todd Andrew Reid
//.sig created by Inscrutable V0.2a
//Please report any irregularities to elcabalero@aol.com
Re: ANTP Specification
Author: Bryan Ogawa
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
270 lines
13123 bytes
13123 bytes
elcabalero@aol.com (The Gentleman) writes: >bkogawa@primenet.com (Bryan Ogawa) wrote: >}elcabalero@aol.com (The Gentleman) writes: >}>bkogawa@primenet.com (Bryan Ogawa) wrote: >}>}elcabalero@aol.com (The Gentleman) writes: >}>}>bkogawa@primenet.com (Bryan Ogawa) wrote: >}>}>}elcabalero@aol.com (The Gentleman) writes: >}Hey... if you keep going like this, someone will write six variants for >}you! (That's kinda what I meant when I said that it might give other >}people ideas. :) ) Seriously--the protocol as it stands would not be >}horribly difficult to write in perl--probably 8 hours of work for an >}alpha, or less. :) >} > Yeah, somebody was talking about implementing it with SMTP. I don't think >SMTP will work too well, though. It would, if you could leave a daemon >running at one or both ends, but otherwise you have to broadcast messages that >may not be needed at the other end. Yeah. You'd either have to do flooding (the traditional NNTP method, just over SMTP--not too hard, but not terribly efficient), or a query and response (e.g. a mail autoresponder). I've written the latter, and I think it would be possible to write a general file server that could be used for this purpose, or just borrow someone else's (look for mailing list management software). > Still, I'm surprised that nobody ever tried to do it earlier. I guess >feed inconsistencies have gotten a lot more pronounced in the last couple of >years. A lot fewer sites carrying a truly full feed. I'm surprised, too, but I think Usenet and NNTP is reaching a bunch of barriers at once. I've seen news server modifications to stop using the heirarchical news spool model in the name of performance, the return of NNTPv2 (see the announcement in news.softwaare.nntp), INN 1.4unoff4 AND 1.5b1, a request from the current maintainer of suck for alternatives to suck's behavior, and complaints and suggestions about Netscape's behavior as a news client, all in the past six months (and in the cases except unoff4 and the news server mods, stuff in the past *week*). [...] > Yeah, I'm used to explicit separators. ' ' is whitespace, only time I >worry about it is to get rid of it or add it. Treating it as useful data >isn't the way I normally do things. Anyway, I thought that ',' was illegal in >message ID's and Unix file names? Nope, ',' is legal in filenames, at least, but then, so are spaces. Of course, you can use the URL %20 thing to get around both of these characters in URLs. I'd have to reread RFC822 to see about Message-IDs. Bah. RFC822 seems to be saying that just about anything can be in a Message-ID. Bah. Now, it's possible to write an RFC822 compliant Message-ID parser, but it won't be trivial. I think there might be a regular expression which matches them, though. [...] >}The major reason for that is because that way, the client never has to >}remember which filenames he has already used. Clients which do remember >}can continue to use the same directory. It's expected that clients can >}create directories at will. >} > Okay, I'll leave the possibility, but recommend a client remembers the >last file it did. Of course, if it forgets, or doesn't keep track, it could >always look at its own directory and find out where it left it. True. [...] >}very nifty. One thing is that the client may need to be able to determine >}the (possible) difference between upload and download directory paths. >}This could present a problem, but shouldn't be horribly hard to do (maybe >}just a configuration option?) >} > Seems like it to me. It needs to be different, anyway. Even though the >same machine acts as a FTP and HTTP server, the directory for each is usually >different: >http://www.foo.com/~johndoe >ftp://ftp.foo.com/pub/users/j/johndoe/html/ >would often be the same directory. A simple mask is all it takes. Treat them >as URL's, which are not really heirarchal, but include heirarchies as a >special case. [...] >}Since a smart CH is probably going to just list the directory anyway, it's >}not a big savings. > Not if it is keeping the files in some kind of internal database. If we >stick to the idea of URL's rather than directories, it turns the directory >based system into a special case of a larger scheme, and much more extendable. Ah. Good point. [...] >}You'd be surprised, though, how easy it might be to write such a client. >}And if you do have more features on the CH (like the ability to run >}perl scripts) it is nearly trivial. >} > Yeah. Oh well, it doesn't matter much to me which system it runs best on. > There are certain unfair advantages to evolving a OS side-by-side with a >protocol stack, you know? Yes. This is it exactly. :) I still like Win clients, since I think that having multiple implementations from the get-go is good, but the fact is that the things that this thing is trying to talk to (NNTP, HTTP, and FTP) are all Unixy. [...] >}If someone else posted it back up, it'd be: >} >}X-ANTP-Path: <tale@uu.net>!<bkogawa@primenet.com>!nntp.primenet.com! >} news.foo.bar.com!nntp.foo.edu!notformail >} >}But the Path: header would become naked. > Yes, but that can't be helped. Still, it is not too hard to figure out: >Path:news.baz.com!news.foo.com!uu.net!user >X-ANTP-Path: <tale@uu.net>!<bkogawa@primenet.com>!nntp.primenet.com! > news.foo.bar.com!nntp.foo.edu!notformail >Then, if it then gets picked up by another client: >X-ANTP-Path:<johndoe@baz.com>!news.bar.com!news.foo.com!uu.net!user! > <tale@uu.net>!<bkogawa@primenet.com>!nntp.primenet.com! > news.foo.bar.com!nntp.foo.edu!notformail >All on one line, of course. This would take people some time to get used to, >but it's no less traceable than any other Path: header. > The Path: would only be truly naked if you used IHAVE instead of POST, in >which case you could put something harmless in there. On POST, it's just >going to over-ride it anyway. Good point. [...] > All of them should use Message-ID, according to RFC 977. The path is used >to hyper-optimize transfer, an upstream feed will never issue an IHAVE for a >message that you are in the path of. But, once you reject with the code that >says don't retry (I forget which one it is, but I remember it does exist), it >won't ask you again. OK. I knew INN was using it for some reason or another... [...] >}Yes. I think it's important that the default be "deny clients access to >}CH" so that they are required to do a positive thing (beg CH admin for >}access) to get access. Especially since they can probably: >} a) forge posts via this mechanism >} b) destroy the entire contents of the CH >} c) get the CH admin in trouble > Bigtime, if they choose a *really* illegal file to put on your server. >Yeah, I think we'll have to go with a secure default. Let people take their >chances if they want, but they won't be able to blaim me. Very good. :) [...suggestion about X-ANTP-Headers snipped...] >}I believe that user-generated headers can appear multiple times in a >}single message. >} > I'm not sure that's true on all systems, and I know at least some servers >choke on more than one ':' in a header line. AirNews is one, I can't put them >in the Subject: line. Also, that doesn't really identify what group the >client was acting on, a crossposted message might be handled by several. I think this behavior is a little messed up. :( > They might even be the same operator. <johndoe@baz.com> downloads an >article to group A, which is also crossposted to group B. Then, he runs the >client for group B, and uploads the same article to a different CH. He >appears twice in the pseudo-path, but the other lines will explain what >happened. This is a good point. [...talking about a runaway client spewing news and security...] > He's highly motivated to turn the bot off at that point, and find out what >broke, ain't he? If we secure things so that only trusted users are involved, >then it's as secure as the server it's on. And if they break that, there's >legal issues, a little spew cleanup is minor by comparison. Yes, although all of those flying passwords will make cautious admins, well, cautious. [...] >}Good. While you can expect admins to do some things to help, installing a >}new ftp server is probably not one of them. :) >} > The first few trying to talk them into hosting a CH will have enough of a >problem, since it will require limited access for users that are not at that >site. Really, it's less of a risk than a web-server in the first place, but >admins *can* be amazingly conservative. Well, I dunno. Login IDs are a big bugaboo, especially shared logins, where it's much harder to tell whether traffic's legitimate and there's often a lot of finger pointing (no, I don't know anything about the copy of /etc/passwd in my account, my little brother uses my account and he uses IRC a lot). However, with some assistance from the admin, multiple separate accounts on a single machine could be used, with fairly long, hard to guess (but easy to sniff :( ) passwords. Basically, you use the Unix group concept and a bunch of chmods by the clients, to let the reaper have access to delete the files. Not too hard, and it gives the admin those logging records he or she craves. >}[...] >}> Yeah. But right now it depends on there being servers that are >wide-open >}>to reading. Those will be getting less and less common, as they are being >} >}Actally, what I was thinking about was using suck to provide the news >}server half of ANTP--making it that much easier to code. The other thing >}you could do is ship rpost bundles of the articles around the internet to >}people with personal news servers. :) > 'rpost'? Please, loan the newbie a clue, what is 'rpost'? Actually, this should be rnews -- I was confused when I was writing this message. :) What I was refering to was a system for batching news for delivery over UUCP. Basically, think a bunch of articles separated by a line of the form: #! rnews <# bytes> The basic idea would be to send the messages as you get them in bunches to a bunch of other folks who would then post them up on their own personal news servers. Your server would filter duplicates and post all of the new articles, automagically, to all of the participants. Shipment would probably be via UUCP over TCP or SMTP. The shipment would be in the rnews bundles, as above. Of course, news admins can implement this on their own, as someone pointed out. The problem is that most admins aren't going to do this for alt.swedish.chef.bork.bork.bork . [...] > Perl for Windows is giving me extremely inconsistent results when I access >the TCP/IP stack. Between that and my *very* limited knowledge of perl, I'd >rather stick with what I know. I already have code for FTP, HTTP, and NNTP >through Winsock, I can just hack together a Frankenstein monster to start with >(they're in 3 different apps). If some Unix type beats me to the punch, oh >well. It's results I really want, not brownie points for my OS (Which Bill >would take the credit for, anyway). I might take a crack at a Unix version of the client, but I think that a Win version is a positive thing. > Come to think of, if we are talking about URL's rather than directories, >SMTP would work. I'm not sure that it would be fast enough, but a daemon on >the server could be set up to respond with index listings, files, whatever. >Lag time would be a killer, maybe. If you're expecting results back soon, yes. However, if you don't care if they get delayed a minute or twenty, it's probably plenty fast. The indexes can be flooded (since everyone needs to see all of them, anyway), but requests (and messages) can be request-driven. >Regards, > The Gentleman -- bryan k. ogawa <bkogawa@primenet.com> <bkogawa@netvoyage.net>
Re: ANTP Specification
Author: The Gentleman
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
71 lines
4599 bytes
4599 bytes
In article <52s6n1$50@rhea.glo.be>, mkm@glo.be (Koen Malfliet) wrote:
}In article <52nipe$55s@library.airnews.net>,
} elcabalero@aol.com (The Gentleman) wrote:
}]In article <52nboh$ork@nnrp1.news.primenet.com>,
} bkogawa@primenet.com (Bryan Ogawa) wrote:
}]}Technical nit: I believe that the recommended practice (and a good idea
}]}in any case) is for standards documents to NOT specify an implementation
}]}when it's not needed, and I believe it's specifically not needed here. Try
}]}saying something like, "The clients must pass the message ID as per RFC
}]}822 and RFC 1036 as the filename of the article, and the server must
}]}identify the articles available for download by their message IDs, and
}]}accept article requests via message ID." The big thing is to try to NOT
}]}tie the implementation to the definition. Eventually, someone will
}]}probably want to write a version which works with something unexpected
}]}(like database software) and it's better if they are given the freedom to
}]}do what they want when they do that.
}
}] The placing of an upper limit is neccesary, to keep the CH as simple as
}]possible, otherwise you would need a constantly updated index file, and have
}]some serious collision problems or a much more complex CH. Placing a lower
}]limit on the capability of the CH filename length may be uneccesary.
Perhaps
}]I should just say that no article should be transferred that has an article
}]ID longer than the maximum filename size for the CH?
}The key words were the difference between "AS the filename" and "THE
}filename". In the current RFCs, all that's required is something behaving
}as if there were files. The fact that you want http and ftp directories
}to be the same would pose some difficulties for database programmers.
}The fact that you require files may be just too much.
}File systems like we know them now may not be around 10 years from now.
}(they will, but not on state-of-the-art implementations)
}They may all be replaced by some object goo. "retrievable by article ID"
}and "stored separately" may be a safer choice of words than "filename" and
}"file".
Yeah, we've already moved the concept beyond using explicit filenames, or
even being bound to a directory structure.
}
}One other thing: Today's new group creation isn't a have versus have-not
}fight. If every group will need some server to carry the group, some
}poor souls may find their group without a CH. Soc.culture.poor-countries,
}anyone? Alt.* groups will, of course, have to go. I wonder: Under those
}circumstances, is ANTP still necessary? Or will groups without a CH
}remain on NNTP-only subsets of usenet? In which case, you'd have a tough
}case motivating anyone to set up a CH for any group.
}
I can't see ANTP replacing NNTP. Even a small group would totally
overwhelm present servers. ANTP would in no way be a replacement for normal
article propagation, merely an adjunct to it. The whole purpose of the
excercise is to *strengthen* comparatively weak groups, strong groups don't
really need it. A dozen or so users could dramatically improve the
propagation of a group.
Right now, the catch-as-catch-can nature of newsgroup carriage is killing
many of the smaller ones. We have 20,000 groups, and close to half are empty
except for spam, because messages either don't propagate from one side of the
net to the other, or are so slow at doing so that discussion is impossible.
Regards,
The Gentleman
--
My atheism, like that of Spinoza, is true piety towards the universe and
denies only gods fashioned by men in their own image, to be servants of their
human interests.
George Santayana
//.sig created by Inscrutable V0.2a
//Please report any irregularities to elcabalero@aol.com
Re: ANTP Specification
Author: Alan Brown
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
21 lines
1514 bytes
1514 bytes
In article <52na80$s21@library.airnews.net>, The Gentleman <elcabalero@aol.com> wrote: >}I suspect that this could be done via a few dozen lines of shell script and >}a procmail filter, transporting the message lists and the messages >}themselves via mail. >} > <chuckle> That was my first suggestion. People didn't like it. Very >inefficient of resources, they said. Use HTTP, they said. So I rewrite the >whole concept, and what's the first thing I hear? ROTFLMAO! Why not be flexible and write a standard which can do both http and mail? AB -- One net to rule them all, one net to find them, one net to bring them all, using Unix to bind them.
Re: ANTP Specification
Author: Robin Stephenson
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
43 lines
2293 bytes
2293 bytes
>>>>> "Gent" == The Gentleman <elcabalero@aol.com> wrote:
[...]
Gent> Yeah, I'm used to explicit separators. ' ' is whitespace,
Gent> only time I worry about it is to get rid of it or add it.
Gent> Treating it as useful data isn't the way I normally do things.
Gent> Anyway, I thought that ',' was illegal in message ID's and Unix
Gent> file names?
[...]
Commas aren't illegal in unix file names:
rstephen@penyfan:...tis/content 4907 > touch \,
rstephen@penyfan:...tis/content 4908 > ls -l \,
-rw-rw-r-- 1 rstephen tis 0 Oct 2 10:53 ,
They don't appear to be illegal in Message-IDs either (this is from
RFC 822):
# Once a field has been unfolded, it may be viewed as being composed
# of a field-name followed by a colon (":"), followed by a field-body,
# and terminated by a carriage-return/line-feed. The field-name must
# be composed of printable ASCII characters (i.e., characters that
# have values between 33. and 126., decimal, except colon). The
# field-body may be composed of any ASCII characters, except CR or
# LF. (While CR and/or LF may be present in the actual text, they are
# removed by the action of unfolding the field.)
Incidentally, it appears that your news software `News Xpress Version
1.0 Beta #4' breaks when quoting `long' lines, resulting in something
like this:
|<--- please pretend that this is the 80 character point
> this is a broken
quoted line
> followed by
another one
--
Robin Stephenson - send mail with subject `send pgp key' for my key
Do Not Use Staples
Re: ANTP Specification
Author: Curt Welch
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
25 lines
1696 bytes
1696 bytes
I'm sorry. But I just don't get it. Why not just use a standard news sever for the CH? It seems to me that anyone that can set up a CH could just as easily set up a standard news server that only carred a single group, or a small set of groups they wanted to act as the CH for. They could then set up standard NNTP feeds to any site willing to help solve the propagation problems. And, like with your ANTP scheme, if the remote sites weren't willing to help, the CH could let various users run slurp-like software to read from their ISP's news spool and transport to the CH, and visa versa. There's lots of software out there that already does all this with NNTP etc. Why do you we need a new scheme? The problem doesn't seem to me to be one of a lack of protocols and standards. The problem is finding someone to run the CH. Curt Welch curt@kcwc.com
Re: ANTP Specification
Author: Ronald F. Guilmette sez: Reply T...
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
36 lines
2292 bytes
2292 bytes
In article <52nboh$ork@nnrp1.news.primenet.com>, Bryan Ogawa <bkogawa@primenet.com> wrote: >[...] >>Accelerated News Transport Protocol > >>A Proposed Standard for Batch-Based >>News Transmission by Users >[...] >Technical nit: I believe that the recommended practice (and a good idea >in any case) is for standards documents to NOT specify an implementation >when it's not needed, and I believe it's specifically not needed here... >... The big thing is to try to NOT >tie the implementation to the definition. Eventually, someone will >probably want to write a version which works with something unexpected >(like database software) and it's better if they are given the freedom to >do what they want when they do that. This reminds me of a rather non-technical objection which is somewhat more than just a `nit'. Ideally, before you start standardizing something, you shopuld have at least one ``proof of concept'' and/or ``model implementation''. Doing otherwise puts the cart before the horse. If you don't understand that, then you haven't been looking at the quagmire that the C++ standardization committee has been stuck in for the past eon or so. -- -- Ron Guilmette, Roseville, CA -------- Infinite Monkeys & Co. ------------ ---- E-mail: rfg @ monkeys . com ------------------------------------------- ------ Copyright (c) 1996 by Ronald F. Guilmette; All rights reserved. -----
Re: ANTP Specification
Author: Bryan Ogawa
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
47 lines
2665 bytes
2665 bytes
Curt Welch <curt@kcwc.com> writes: >I'm sorry. But I just don't get it. >Why not just use a standard news sever for the CH? >It seems to me that anyone that can set up a CH could just >as easily set up a standard news server that only carred >a single group, or a small set of groups they wanted >to act as the CH for. They could then set up standard >NNTP feeds to any site willing to help solve the propagation >problems. And, like with your ANTP scheme, if the remote >sites weren't willing to help, the CH could let various >users run slurp-like software to read from their ISP's news >spool and transport to the CH, and visa versa. There's lots >of software out there that already does all this with NNTP etc. >Why do you we need a new scheme? To me, ANTP looks like a way that a group of average users (versus a group with a member who has administrative-level access to a net-connected machine) can dramatically improve the propogation of their favorite low-traffic newsgroup. NNTP feeding can go on, easily, if there's a group advocate who is a news admin who's willing to feed the group to other sites/volunteers. Maybe people should explore that option more often (since the major part of this work is actually re-injecting the articles in multiple places). ANTP, however, requires one volunteer to offer up drive space and bandwidth on an http server to feed the group to the volunteers. Considering the prevalence of "personal home page space", this sort of access is much easier to come by. >The problem doesn't seem to me to be one of a lack of >protocols and standards. The problem is finding someone >to run the CH. I agree with you. I believe that ANTP could help by lowering the bar for CH administrators. >Curt Welch >curt@kcwc.com -- bryan k. ogawa <bkogawa@primenet.com> <bkogawa@netvoyage.net>
Re: ANTP Specification
Author: Curt Welch
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
40 lines
2182 bytes
2182 bytes
In article <5312pr$us_005@library.airnews.net>, elcabalero@aol.com (The Gentleman) writes: > One, > switching ISP's is not always an option. Two, what if you have three > groups > you like, and no available ISP gets more than two of them well? Three, > asking other people to switch ISP's is not going to make you popular. From your answer, it sounds like news propagation is more of a problem that I thought. Interesting... I wrote: > }Then there's this issue. When injecting news into your > }local system, you can't use POST. POST creates a new > }message ID, which means the article you POSTed would become > }a duplicate - i.e. SPAM! > Actually, spew. And that isn't true, 99%+ of NNTP servers accept a > client-provided Message-ID on POST. Maybe it would help if I knew what I was talking about before I POSTed! :) Well, this is why I posted, to learn something new! Ok, so maybe there really is a justified need for something like what you are working on. It still sounds like a backwards solution to the problem to me, but I see no harm in trying it. You might also think about creating a client that could copy news directly from one server to another - without the need for the CH. Anyone with access to two servers could use that and no one would need to set up the CH. And, with those clients, you could use a standard NNTP news server set up to carry only one or a few groups to act as your CH. Curt Welch curt@kcwc.com
Re: ANTP Specification
Author: Ronald F. Guilmette sez: Reply T...
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
49 lines
2986 bytes
2986 bytes
In article <x0iv8v3ulq.fsf@melmac.gmv.es>,
Julio Sanchez <jsanchez@esegi.es> wrote:
>In article <52np0p$58m@segfault.monkeys.com> spam_me@monkeys.com (Ronald F. Guilmette sez: Reply To This Address Only If You Are A Stupid E-mail Spammer) writes:
>
>> I offer only the modest comment that this whole thing looks to me like
>> little more that a formalization of what many people (myself) included
>> are already doing today with `slurp'.
>
>Or suck, or ...
>
>But slurp or suck are just ways to feed news to a real server. The
>proposal seems to assume that the user who wants this does not manage
>a real news server...
Well, if you don't run your own server, then you just run a news reader,
and point it at some server which is run by someone else. We can do
that today, with existing protocols and with code that's already written
and available. Case closed.
> (if she did, she could arrange a feed for it, only
>willing sites are needed and the proposal is already postulating the
>existance of one or more willing sites).
>
>So it's only a matter of having a site willing to accept anonymous
>access for selected groups. This is the model of funet.fi that
>provides an open server for just the sfnet.* groups. If you have a
>capable reader, you can read the groups from there. If you manage a
>server and you really can't get a good feed for a group, you could
>suck it from the reference site.
>
>It's only a matter of organization and someone willing to donate the
>resources to act as a CH. But it does not matter if you use NNTP or
>HTTP or whatever.
Right. That's my feeling too. We already have NNTP and slurp uses it.
And that solutions works today.
>You need it {NNTP or HTTP} anyway. So why introduce new
>mechanisms? I fail to see the need for this proposal.
My sentiments exactly.
--
-- Ron Guilmette, Roseville, CA -------- Infinite Monkeys & Co. ------------
---- E-mail: rfg @ monkeys . com -------------------------------------------
------ Copyright (c) 1996 by Ronald F. Guilmette; All rights reserved. -----
Is it just SLURP with a fancy wrapper? (was: Re: ANTP Specification)
Author: Ronald F. Guilmette sez: Reply T...
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
108 lines
5918 bytes
5918 bytes
In article <52orkd$2co_008@library.airnews.net>, The Gentleman <elcabalero@aol.com> wrote: >In article <52np0p$58m@segfault.monkeys.com>, > spam_me@monkeys.com (Ronald F. Guilmette sez: Reply To This Address Only If >You Are A Stupid E-mail Spammer) wrote: >}I offer only the modest comment that this whole thing looks to me like >}little more that a formalization of what many people (myself) included >}are already doing today with `slurp'. You have definitely added a >}number of additional bells and whistles, but like I say, the fundamental >}thing that your `ANTP' buys for the user seems to be nothing more or >}less than what `slurp' buys for the user. >... > Anyway, if I understand what 'slurp' is, pulling articles off of a >news-server that is open, then yes, the result is similar. I only care about the results. What else is there (other than mental masturbation)? (Please excuse my frank choice of language to get my point across.) >The methodology is considerably more formal... Methodology doesn't pay my rent or the electric bill. OK. Look. I'm really not trying to be unnecessarily confrontational here. I understand that you have very good intentions, and that you're trying to help, but I'm just a very practical-oriented guy. When someone comes forward with a proposal for a new standard, I just feel compelled to ask ``What does it buy me, above and beyond what I already have?'' I don't feel that you have answered that question adequately yet. You are like most of us with an engineering background. You see that the current solutions to this problem or that problem (e.g. sucking news) are entirely ad-hoc and put together with spit and bubble-gum. So you say to yourself ``Gee! We should really formalize and standardize are really _nice_ protocol for this job! Not just continue to use these ad-hoc solutions.'' But if the ad-hoc solutions work OK, then you are solving a non-problem. And that's all I'm saying. It's a non- problem. Or more accurately, this is a problem which already has a practical solution which is in daily used *now*. Furthermore, your proposed solution... which took several pages to explain... appears to me to be a rather Rube Goldberg collection of complexity. I don't like complex. I like simple. I have spent most of my professional carreer _fighting_ complexity. So now I skim your proposal and I say to myself ``Whew! If this is the cure, then I think that maybe I'll just learn to live with the disease!'' >... and isn't dependant on news-servers that may deny >permission at any time... Any news server may deny permission at any time. That is life. That is fundamental and unchangable reality. What are you going to do? Hold a gun to the head of every sysadmin and force him to leave certain services open at all times regardless of the possible consequences for his load, his security, his site, and his users? Remember too that there is another reason why _any_ arbitrary server may deny service at _any_ arbitrary time... It may be down. > but you still get articles from one machine to >another. >} >}Did I miss something? > > Several thing, the way that I see it. One, the technical skill needed for >'slurping' is considerably greater. OK. I was trying to be polite above, but now I'm gonna have to be blunt. Bullshit! Slurp is trivial to install and trivial to run. Your proposal on the other hand went on for page after page after page, and my eyes glazed over just skimming it. > Two, 'slurping' makes it difficult for >you to pool your efforts with others. With ANTP, easily several dozen users >could pool their efforts, drastically improving the quality of that group >world-wide. Alright. Finally maybe we have found a justification that I might not argue with... only because I haven't the vaguest idea what you are talk- ing about. Please elaborate, and please keep it brief. Don't get me wrong. You may have a great proposal. It may save humanity and civilization as we know it for all I know. But you started out by presenting a VERY detailed and complex proposal for a SOLUTION and although I _did_ look for it, I didn't see any statement near the front of your or- iginal posting in this thread of what the PROBLEM to be solved was/is. That's my objection. You seem to be starting from a solution that you like, and working backwards to try to find a problem that suits your solution. Please state the problem up front, and also please state what other solutions are already available (e.g. `slurp', `suck') and what (if any) disadvantages they have. *Then* present your alternative. -- -- Ron Guilmette, Roseville, CA -------- Infinite Monkeys & Co. ------------ ---- E-mail: rfg @ monkeys . com ------------------------------------------- ------ Copyright (c) 1996 by Ronald F. Guilmette; All rights reserved. -----
Re: ANTP Specification
Author: Bryan Ogawa
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
203 lines
10512 bytes
10512 bytes
elcabalero@aol.com (The Gentleman) writes: >bkogawa@primenet.com (Bryan Ogawa) wrote: >}elcabalero@aol.com (The Gentleman) writes: >}>bkogawa@primenet.com (Bryan Ogawa) wrote: >}>}elcabalero@aol.com (The Gentleman) writes: >}>}>bkogawa@primenet.com (Bryan Ogawa) wrote: >}>}>}elcabalero@aol.com (The Gentleman) writes: >}>}>}>bkogawa@primenet.com (Bryan Ogawa) wrote: >}>}>}>}elcabalero@aol.com (The Gentleman) writes: > FTP->Mail gateways have already been done, you could modify that for the >purpose. Current 'mailto:' URL's may not allow for authentication, I'll have >to look. Yup. > Okay, <http://www.w3.org/pub/WWW/Addressing/rfc1738.txt> says that >'mailto:' is the address, and the address only. I'll have to come up with >some way of changing that. Probably make it consistent with the other >schemes, like HTTP and FTP, that do allow for passwords and file >identification. And I'll have to explicitly state that it's a hack, and >future develoments in URL's may make it obsolete, and even unusasble. > Unfortunately, they set aside the 'mailto:' as *not* referring to a data >object. Oh well. [... lots of things being done to news ...] > And we're talking about rebuilding the cancel mechanism, and getting >serious about NoCeM. A lot of things just percolated to the top all at once. > The way news works is in for some major changes in the next few months. >}[...] >}> Yeah, I'm used to explicit separators. ' ' is whitespace, only time I >}>worry about it is to get rid of it or add it. Treating it as useful data >}>isn't the way I normally do things. Anyway, I thought that ',' was illegal >in >}>message ID's and Unix file names? >} >}Nope, ',' is legal in filenames, at least, but then, so are spaces. Of >}course, you can use the URL %20 thing to get around both of these >}characters in URLs. I'd have to reread RFC822 to see about Message-IDs. >} >}Bah. RFC822 seems to be saying that just about anything can be in a >}Message-ID. Bah. > Which is a major pain. We need something that can be used for an explicit >separator, or else we have to use fixed fields, which wastes ridiculous >amounts of space. Maybe we can use the top half of 8-bit ASCII? Gah. We can >across HTTP and FTP, but SMTP *might* break. You usually wouldn't have a >problem, though, unless a mail server in the middle is 'enforcing' the RFC by >stripping the high bit. >}[...suggestion about X-ANTP-Headers snipped...] >}>}I believe that user-generated headers can appear multiple times in a >}>}single message. >}>} >}> I'm not sure that's true on all systems, and I know at least some >servers >}>choke on more than one ':' in a header line. AirNews is one, I can't put >them >}>in the Subject: line. Also, that doesn't really identify what group the >}>client was acting on, a crossposted message might be handled by several. >} >}I think this behavior is a little messed up. :( > Unforunately, if it's broke, but it's out there, you gotta deal with it. >Still, RFC 822 says that a ':' is the only 7 bit character you can't use in an >article header line, except once, between the identifier and the info. Maybe >that could be our separator in the index files? 7-bit, and we need it in only >the one place. Hm... are you sure?? I'm pretty sure they're legal, they just need to be quoted. The reason this looks tricky in RFC822 is because it's using these as tokens in a grammar for a lexical analyzer--all of the funny characters are mostly only legal as quoted characters. I suspect that something like :: may be illegal except in a quoted string. Anyway, it is not such a horrible thing (just a pain to program if you don't use a lexer), and another option is to separate Message-ID and reference with CRLF (which the program can interpret out of the file). >}[...] >}>}Good. While you can expect admins to do some things to help, installing a >}>}new ftp server is probably not one of them. :) >}>} >}> The first few trying to talk them into hosting a CH will have enough of >a >}>problem, since it will require limited access for users that are not at that >}>site. Really, it's less of a risk than a web-server in the first place, but >}>admins *can* be amazingly conservative. >} >}Well, I dunno. Login IDs are a big bugaboo, especially shared logins, >}where it's much harder to tell whether traffic's legitimate and there's >}often a lot of finger pointing (no, I don't know anything about the copy >}of /etc/passwd in my account, my little brother uses my account and he >}uses IRC a lot). However, with some assistance from the admin, multiple >}separate accounts on a single machine could be used, with fairly long, >}hard to guess (but easy to sniff :( ) passwords. Basically, you use the >}Unix group concept and a bunch of chmods by the clients, to let the reaper >}have access to delete the files. > Yeah, that would work. More sophisticated systems could change the >password according to some hard-to-guess formula. Anyway, that's an >implementation issue. >} >}Not too hard, and it gives the admin those logging records he or she >}craves. >} > What, he might want to know who's been on his system? This is still the sticking point for getting CHs implemented--system administrator overhead on the CH (not CH admin overhead--I'm presuming CH admins are dedicated, but not in a position to do what they'd like on the machine). Even with shared logins, you'll have to find a more than run of the mill sysadmin to set this up for you or let you run it with shared logins. I have another idea, though, that I think lowers the amount of admin-convincing required. What about using SMTP to upload, and HTTP to download? The SMTP uploads can either be accepted by a mail filter (I know procmail or a perl script could do the filtering), or in the worse case, by a specialized POP mail client run by the account owner. Either a dedicated account, a specialized secret subject line, or a mail alias lets the POP client or script determine which messages are incoming articles and where to store the files (and this client is the only one that needs to access the http site via ftp). Indexes are used as before, with the expectation that the clients search the http index before uploading files. The uploading client can be in charge of verifying index files. This way, there's basically nothing special about the CH, although the CH admin may need to run a special client (the "master client"?) to make sure the articles make it to the http download area. http access is easily controllable via .htaccess and htpasswd (not secure, but since there is no upload via http, and since the only benefit of cracking passwords is being able to read the articles a few hours earlier than ususual, I consider this acceptable). the smtp upload access is protected either with a special header (X-Password: squeamish ossifrage), or something in the Subject: line (the ENTIRE article, including headers, is put in the message body, so the email's headers can be used for any purpose and munged appropriately, although you may need to watch out for "From " quoting, possibly by shifting every line over by a space). I think that smtp uploads make sense if you're trying to minimize system administrator involvement, concern, and attention, because it uses a well-established service to accept uploads. [... idea for downloading via SMTP ...] }If you're expecting results back soon, yes. However, if you don't care if >}they get delayed a minute or twenty, it's probably plenty fast. The >}indexes can be flooded (since everyone needs to see all of them, anyway), >}but requests (and messages) can be request-driven. >} > No reason not to make the index request-driven. Then, the daemon can >filter duplicates, remove those added by that client, and generally optimize >things. True, especially in this case. > Okay, I'm going to rewrite the spec, and post it again. Sounds good, although I think that SMTP upload with HTTP download is promising because it's lowest-common-denominator. Someone asked what the purpose of ANTP was since current news software can allow for what ANTP offers, and pointed out that the hard part was finding a CH. This made me realize that ANTP's reason for existence is because finding CH's is hard, and the utmost effort should be made to lower the difficulty of being a CH. Email uploads work to that goal, not for technical reasons (it'd be easier to just sit back and let clients do everything, instead of having to set up procmail scripts or constantly run a specialized client), but for administrative/political ones. It might be a good idea to implement both ideas in concert (both ftp and smtp uploading). > See why I didn't try to go straight to the RFC process? This thing has >evolved more in three days then it would have in three months as an RFC. > BTW, would you like co-authorship credit on this? I wouldn't mind, but it's up to you. One last note: the NNTP part of an ANTP client (the part which pulls new messages) is potentially subject to the "sucking feed" issues mentioned in another news.software.nntp thread. At some point, it might be worth a read. bryan -- bryan k. ogawa <bkogawa@primenet.com> <bkogawa@netvoyage.net>
Re: ANTP Specification
Author: Julio Sanchez
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
80 lines
4382 bytes
4382 bytes
In article <52r8sb$244@library.airnews.net> elcabalero@aol.com (The Gentleman) writes: > In article <x0iv8v3ulq.fsf@melmac.gmv.es>, > Julio Sanchez <jsanchez@esegi.es> wrote: > } > }It's only a matter of organization and someone willing to donate the > }resources to act as a CH. But it does not matter if you use NNTP or > }HTTP or whatever. You need it anyway. So why introduce new > }mechanisms? I fail to see the need for this proposal. > } > Because the existing mechanisms are not available to users for > the most part, only to those with higher levels of access, You are postulating that current problems can be solved by setting up willing FTP and HTTP sites that will provide the articles to anyone and allow anyone to post (all this restricted to one or a few groups). I postulate that you can achieve the same by having sites willing to have open NNTP servers for reading and posting, though restricted to one or a few groups and I offered news.funet.fi as proof of concept. The server run for Trumpet Winsocks is another. Microsoft is another. You need in both cases sites willing to take the heat (bandwidth, storage, process, etc.). You need cooperating managers (and owners) at those sites. Or are we talking protocol wars here? You can set up your own news server that only carries one or a few groups. > and are > not particularly responsive to problems in particular individual > groups. If you setup a server as I describe you can act as a CH for a group and users can get all the articles from there even if their News admin blocks it. They just point their newsreaders to that site. Many newsreaders will let you manage several newsservers. If your news admin does not oppose the group, she can set up a sucking feed, and you will get the group even if her feeds don't carry it (but you can also maintain a list of sites willing to exchange real feeds for it, always better than sucking the group, vmsnet.* and linux.* are or were examples of this). You can work around any censorship or unwillingness with your own effort and using current NNTP software as long as you have a willing site and some organization. Those you need in either case. > Suck and slurp are dependant on the existence of servers > that are wide-open to reading, which is likely to become less and > less common, as they are abused for the downloading of large volumes > of binaries. The CH sets up one restricted to the groups for which it is a CH. It can even be dedicated to carrying just those groups. Either you have a willing site or you don't. It does not matter if wide open servers on the Internet appear or disappear. The CH is, by definition, willing. So it does not disappear. > Also, suck and slurp do not, as presently used, make > any provision for several particpants to pool their efforts. Suck does. Rpost will put new articles back to the CH, automatically, without manual intervention. Users of the server linked to the CH will post as usual and articles will appear at the CH. If you read the group directly off the CH, your newsreader will post to it. You can even upfeed the CH with what you receive at your own server from your regular feeds. Rpost is not very efficient at doing this, but will always be more efficient than FTP. Regards, Julio -- Julio Sanchez, SGI Soluciones Globales Internet Tel: (91) 804 28 37 Fax: (91) 804 14 05 WWW: http://www.esegi.es jsanchez@esegi.es jsanchez@gmv.es PGP Key fingerprint = E5 29 93 6F 41 4E 00 E2 90 11 A1 8C 72 D0 DE 71
Re: ANTP Specification
Author: Ronald F. Guilmette sez: Reply T...
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
69 lines
3577 bytes
3577 bytes
In article <52r8sb$244@library.airnews.net>, The Gentleman <elcabalero@aol.com> wrote: >In article <x0iv8v3ulq.fsf@melmac.gmv.es>, > Julio Sanchez <jsanchez@esegi.es> wrote: >} >}It's only a matter of organization and someone willing to donate the >}resources to act as a CH. But it does not matter if you use NNTP or >}HTTP or whatever. You need it anyway. So why introduce new >}mechanisms? I fail to see the need for this proposal. >} > Because the existing mechanisms are not available to users for the most >part, only to those with higher levels of access... I frankly don't know what the devil you are talking about. Please elaborate. >...and are not particularly >responsive to problems in particular individual groups. Problems? Problems such as what? Please elaborate? >Suck and slurp are >dependant on the existence of servers that are wide-open to reading... NOT TRUE! I use slurp on a daily basis, so I can speak with some authority here. Slurp is dependent upon the existance of exactly ONE news server which is wide open (to me at least) for reading. So freaking what? When I signed up for an ISP account, guess what I got access to? That's right. I got access to ONE news server which is completely open to me for either reading or posting. Case closed. Problem solved. Everyone should get their news service from whomever they get their Internet services from... and I believe that that is pretty much the rule as of this point in time. I mean that I believe that things already work this way for the vast majority (99% ?) of people who have any kind of Internet access. The vast majority of such people already have access to at least one ``open'' news server... i.e. the one which is owned and operated by their ISP or backbone provider. > which is >likely to become less and less common, as they are abused for the downloading >of large volumes of binaries. I download large volumes of binaries on a regular basis from my ISP's news server. My ISP doesn't give a shit. This is part of the service I'm paying him for. If I use too much connect time, he'll start charg- ing me more dollars every month, and then he'll be happy again. So what's the problem? > Also, suck and slurp do not, as presently used, >make any provision for several particpants to pool their efforts. Please elaborate? -- -- Ron Guilmette, Roseville, CA -------- Infinite Monkeys & Co. ------------ ---- E-mail: rfg @ monkeys . com ------------------------------------------- ------ Copyright (c) 1996 by Ronald F. Guilmette; All rights reserved. -----
Re: ANTP Specification
Author: Rich Salz
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
11 lines
938 bytes
938 bytes
>Now, it's possible to write an RFC822 compliant Message-ID parser, but it >won't be trivial. Sure it is. Use the code from INN. Your proposals will be taken more seriously if you are more familiar with the RFC's and some implementations of them. /r$
Re: ANTP Specification
Author: Christopher B. Browne
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
34 lines
2508 bytes
2508 bytes
In article <3253EC8D.41C67EA6@kcwc.com>, Curt Welch wrote: >However, there are tons of ISPs and other vendors that will >sell you Usenet news. Here in the D.C. area, there are >over 200 ISPs to choose from. If your ISP doesn't have a >good feed, (and won't fix the problem for you), switch. If >other people trying to use the group always seem to be days >behind in their feed, ask them to switch ISPs. There's not much of an excuse for this. A satellite connection to a full feed costs $40 a month (plus ~$1k for a dish). That's *got* to be cheaper than the portion of T1 pipeline required to load 600-odd MB per day from a neighbour's news server, unless they're so close that you can splice an extra couple direct Ethernet lines. Granted, it's good to have backup feeds, and you *must* have a route to get news back to the folks feeding the satellite. (The news must go out.) But outgoing traffic is certainly less intense for *all* sites than the incoming traffic. I don't write nearly as much news as I read. >You must use IHAVE to feed news through NNTP. And most ISP's >(as far as I known) don't allow ppp type Internet accounts to >feed news with IHAVE (because of abuse problems). In other words, in order to provide news in a fashion compatible with existing software, you need a "honest-to-goodness" news server *somewhere.* -- Christopher B. Browne, cbbrowne@unicomp.net, chris_browne@sdt.com Web: http://www.conline.com/~cbbrowne SAP Basis Consultant, UNIX Guy Windows NT - How to make a 100 MIPS Linux workstation perform like an 8 MHz 286
Re: ANTP Specification
Author: Curt Welch
Date: Thu, 03 Oct 1996 00:00
Date: Thu, 03 Oct 1996 00:00
66 lines
3717 bytes
3717 bytes
Bryan Ogawa wrote: > ANTP, however, requires one volunteer to offer up drive space and > bandwidth on an http server to feed the group to the volunteers. > Considering the prevalence of "personal home page space", this sort of > access is much easier to come by. Ok, so ANTP is a system to allow users, who don't have an internet server, to help fix news propagation problems. I can understand the need for that. But its the wrong solution. If companies (ISPs etc.) aren't providing the services their customers need, the ultimate solution is for someone to start a new service to solve the problem. I for one am doing just that -- but my service won't be available for some time -- and it won't fix everyone's problems with poor feeds. However, there are tons of ISPs and other vendors that will sell you Usenet news. Here in the D.C. area, there are over 200 ISPs to choose from. If your ISP doesn't have a good feed, (and won't fix the problem for you), switch. If other people trying to use the group always seem to be days behind in their feed, ask them to switch ISPs. And, even without a full time Internet connection, you can always go back to using UUCP to turn a PC into a news site. The problem with ANTP is that the CH will be acting just like a news server, and will have all the admin problems that all news servers have. If you limit the ability of people to feed news to the CH, then the CH admin will have to monitor the "feeds", and deal with ongoing changes. If you allow anyone to feed news, then you open up the door for people to inject forged articls, spam, forged control messages, etc. Your CH software needs to deal with lots of issues like checking dates and tossing old news (to prevent old articles from being re-enjected into the system), as well as the obvious problems of preventing duplicate messages and managing disk space. It takes a lot of work to get all this "right". Then there's this issue. When injecting news into your local system, you can't use POST. POST creates a new message ID, which means the article you POSTed would become a duplicate - i.e. SPAM! You must use IHAVE to feed news through NNTP. And most ISP's (as far as I known) don't allow ppp type Internet accounts to feed news with IHAVE (because of abuse problems). So, before any of your users could actually use your system, they would have to pay extra to get a real news feed account from their ISP. ppp accounts cost $15 to $20/mo these days. But I'd guess most people would have to pay more like $50/mo before they would be allowed to feed news into their ISPs local system. If you are willing to pay that, why not just pay $25 for a good ISP and and not waste any of your time trying to fix the problems of the cheap ISP? Curt Welch curt@kcwc.com
Re: ANTP Specification
Author: Chris Lewis
Date: Fri, 04 Oct 1996 00:00
Date: Fri, 04 Oct 1996 00:00
28 lines
1907 bytes
1907 bytes
In article <5319fm$hpu@paperboy.osf.org>, Rich Salz <rsalz@osf.org> wrote: >>Now, it's possible to write an RFC822 compliant Message-ID parser, but it >>won't be trivial. >Sure it is. Use the code from INN. >Your proposals will be taken more seriously if you are more familiar >with the RFC's and some implementations of them. In INN 1.4 it's an RFC1036-compliant parser, rather than an RFC822 - RFC822 is _far_ more lenient. The reason why I looked is because newsgate mail2news was allowing SMTP messageids to INN that INN refused. newsgate was disallowing some, but wasn't blocking enough, so INN was dropping the articles on the floor that newsgate liked. I borrowed INN's RFC1036 parser and put it in newsgate, so newsgate will know to transmute messageids at the same time INN demands. It is, however, possible that I missed a RFC822 parser somewhere else in the INN release that isn't used in an operational news server. -- "I can't stand this proliferation of paperwork. It's useless to fight the forms. You've got to kill the people producing them." -- Vladimir Kabaidze, 64, General Director of Ivanovo Machine Building Works
Re: ANTP Specification
Author: Ronald F. Guilmette sez: Reply T...
Date: Fri, 04 Oct 1996 00:00
Date: Fri, 04 Oct 1996 00:00
31 lines
2300 bytes
2300 bytes
In article <52si2g$oes@library.airnews.net>, The Gentleman <elcabalero@aol.com> wrote: >... The whole purpose of the >excercise is to *strengthen* comparatively weak groups, strong groups don't >really need it. A dozen or so users could dramatically improve the >propagation of a group. > > Right now, the catch-as-catch-can nature of newsgroup carriage is killing >many of the smaller ones. We have 20,000 groups, and close to half are empty >except for spam, because messages either don't propagate from one side of the >net to the other, or are so slow at doing so that discussion is impossible. And we know this how? Excuse me, but you have no statistics to back up that claim. I agree that there are lots of newsgroups which have nothing left in them except the occasional spam. But what makes you think that those groups are `dying' as opposed to dead? What makes you think that anyone out there is posting anything other than spam to the aforementioned newsgroups? Maybe the groups in question are devoid of anything but spam simply because the groups in question are devoid of anything but spam. -- -- Ron Guilmette, Roseville, CA -------- Infinite Monkeys & Co. ------------ ---- E-mail: rfg @ monkeys . com ------------------------------------------- ------ Copyright (c) 1996 by Ronald F. Guilmette; All rights reserved. -----
Re: ANTP Specification
Author: Seth Breidbart
Date: Sat, 05 Oct 1996 00:00
Date: Sat, 05 Oct 1996 00:00
26 lines
1477 bytes
1477 bytes
In article <52rtol$i0_009@library.airnews.net>, The Gentleman <elcabalero@aol.com> wrote: >In article <52rsuq$39k@nnrp1.news.primenet.com>, >bkogawa@primenet.com (Bryan Ogawa) wrote: >}Yes, we've been having this discussion for a while. Mind if someone else breaks in? >}I believe that user-generated headers can appear multiple times in a >}single message. >} > I'm not sure that's true on all systems, and I know at least some servers >choke on more than one ':' in a header line. AirNews is one, I can't put them >in the Subject: line. What? Most articles have Subject: Re: something Any server that can't handle followups is in serious trouble. Seth
Re: ANTP Specification
Author: Seth Breidbart
Date: Sat, 05 Oct 1996 00:00
Date: Sat, 05 Oct 1996 00:00
17 lines
1151 bytes
1151 bytes
In article <52mm8p$54d@library.airnews.net>, The Gentleman <elcabalero@aol.com> wrote: >3.1. Format for ANTP Client-Added Headers > >All header lines added by the ANTP client will follow a specified >format. This format will take the form of: > >X-ANTP-[Group-name]-[ANTP-client-ID]-[Header-name]: I don't think it should start with "X-". Since this is (to be) and RFC, it can (and should) use the rest of the alphabet. How about just "ANTP-"? Seth
Re: ANTP Specification
Author: Rich Salz
Date: Mon, 07 Oct 1996 00:00
Date: Mon, 07 Oct 1996 00:00
16 lines
1238 bytes
1238 bytes
In <533eo5$3a8_008@library.airnews.net> elcabalero@aol.com (The Gentleman) writes: >I do it on a PC, it will be in Pascal. Is INN in Pascal? You know it isn't, >you wrote it. And you're unable to read C in order to determine the algorithm? > Criticism will be taken more seriously if it is not accompanied by >insults. Sorry if you were insulted. My impression is that the primary participants in this discussion didn't have much experience with NNTP implementations or deployment. /r$
Re: ANTP Specification
Author: Paul Eggert
Date: Tue, 08 Oct 1996 00:00
Date: Tue, 08 Oct 1996 00:00
25 lines
1858 bytes
1858 bytes
elcabalero@aol.com (The Gentleman) writes: >In article <5319fm$hpu@paperboy.osf.org>, rsalz@osf.org (Rich Salz) wrote: >}Sure it is. Use the code from INN. > In this case, we are talking about doing this on a PC, or in a script. If >I do it on a PC, it will be in Pascal. Is INN in Pascal? You know it isn't, >you wrote it. Actually, I published the original C-language RFC 1036 parser in <#*tyo2'~n@twinsun.com> (1990-11-22); Rich Salz adapted it for INN and gave me a nice credit in the source (which you would have seen if you'd read the source :-). Any scheme that relies on disallowing certain otherwise valid chars in a Message-ID is bound to founder on real Message-IDs. If you don't allow `/', for example, you'll reject about 0.25% of news articles by my statistics. Many FAQs put `/' in Message-IDs; e.g. see <lsi-cad-faq/part1_844742479@bird.ece.ucdavis.edu> (1996-10-08). By the way, it's a tribute to Rich Salz's efforts that nearly half of all Message-IDs contain `$'.
Re: ANTP Specification
Author: Rich Salz
Date: Sat, 12 Oct 1996 00:00
Date: Sat, 12 Oct 1996 00:00
22 lines
1577 bytes
1577 bytes
In <53dbla$2ta@light.twinsun.com> eggert@twinsun.com (Paul Eggert) writes: >Actually, I published the original C-language RFC 1036 parser >in <#*tyo2'~n@twinsun.com> (1990-11-22); Rich Salz >adapted it for INN and gave me a nice credit in the source As I recall, we had some email exchanges where you helped refine my revisions. Or, more bluntly, you fixed the bugs in my port. :) Didn't you also have a really cool script that built up a killer egrep pattern for valid Message-ID's? >By the way, it's a tribute to Rich Salz's efforts that nearly >half of all Message-IDs contain `$'. I think that was your idea; I used INN as the separator first. Not sure what kind of tribute it is -- just that INN is generating half of the world's Message-ID's? Hmm... then why don't I get more anniversary cards? :) /r$
Re: ANTP Specification
Author: Alan Brown
Date: Sun, 13 Oct 1996 00:00
Date: Sun, 13 Oct 1996 00:00
19 lines
1407 bytes
1407 bytes
In article <slrn558ot3.ip.cbbrowne@wolfe.brownes.org>, Christopher B. Browne <cbbrowne@unicomp.net> wrote: >There's not much of an excuse for this. A satellite connection to a full >feed costs $40 a month (plus ~$1k for a dish). That's assuming you can see a satellite carrying a full newsfeed. I'd love to run a sat feed. Anyone know of a bird with a footprint covering 40 S, 178 E ? AB -- One net to rule them all, one net to find them, one net to bring them all, using Unix to bind them.
Re: ANTP Specification
Author: Rich Salz
Date: Thu, 17 Oct 1996 00:00
Date: Thu, 17 Oct 1996 00:00
13 lines
1183 bytes
1183 bytes
In <530pg1$32k_003@library.airnews.net> elcabalero@aol.com (The Gentleman) writes: >}If you don't understand that, then you haven't been looking at the >}quagmire that the C++ standardization committee has been stuck in for >}the past eon or so. > > And that son-of-1036 is wallowing in. If you believe what you just wrote, then you are woefully ignorant of the state of affairs of a key portion of the Usenet development community. /r$
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