Article View: alt.free.newsservers
Article #135579Re: posting via command line
From: VanguardLH
Date: Thu, 13 Oct 2011 20:33
Date: Thu, 13 Oct 2011 20:33
91 lines
6025 bytes
6025 bytes
anyone wrote: > I'm trying to post via tioat.net, and when I follow the directions > listed below which I found by googling, the only response I get from the > tioat.net server is > > 500 What? > > I tried to google for a FAQ or help for posting to this server, but I'm > not having any luck. Can anyone here help? If this is the wrong place > to post this, please let me know and I'll bugger off to where I should > be posting this. Many thanks. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > type the following command: > telnet tioat.net 119 > > you will connect immediately to the NNTP port at tioat.net without > authentication. Then, all that is required is to paste a preformat > article with a proper RFC newsheader. > > Subject: anything > Date: your choice > Newsgroup: your choice - likely only one at a time - but feel to test more > From: anyone <any...@anywhere.tld> > Organization: your choice > Message-ID: <anynumbers5orCharacters@anywhere.com or net or org or > anything> > > You message body goes here. For example..... > > ok. > all done .... then all you need to do to complete the evening at > tioat.net 119 is type a simple dot . > tells the news admin's software at tioat.net 119 that you're > all set and finished with your post. It's just that simple. I have never bothered to use or even try tioat. The following assumes they are running some NNTP server into where you telnet on port 119. The 500 status code from an NNTP server means it doesn't understand the *command* that you gave it. "If the command is not recognized, or if it is an optional command that is not implemented by the server, the response code 500 MUST be returned" (RFC 3977, section 3.2.1). Did you send it any COMMANDS? You never mentioned issuing any NNTP commands. It looks like you're just trying to send it a string (data). Since tioat has an NNTP (network news transfer protocol) server listening at port 119, presumably you are to use NNTP commands to establish a session and send messages. You are doing from the command line what a newsreader would do regarding the sending of commands and data. So do you know the NNTP command set? The single dot character (actually ".\n" - dot newline) tells the server when the data string (your article) *ends*. The "." as the termination character is why you get screwed if your article contains that in a line (i.e., a ".\n" line in your message would look like the end of the string). You need send a command to tell the server when you *start* sending the data string (your article with headers and body). There are plenty of online articles available for you to figure out how to use NNTP and learn its command set. You could read the RFCs for NNTP, like http://www.rfc-editor.org/rfc/rfc3977.txt. Peruse section 6.3 about posting and look at the examples. You need to use the POST command (IHAVE is for servers to peer an existing article). Happy reading up on the NNTP commands. Tis why most users stick with a newsreader where someone else had to figure out all the commands, their order, and interpret the statuses returned by the commands. If you are running telnet to send the NNTP command, be prepared to know what the various status codes mean that get returned from each command you send to the server. If you are using a script, it will need to understand the status codes and have conditional branching based on those status values. tioat may not have provided any instructions because (1) They're too lazy to bother writing web pages to provide help or to run a web server; (2) They figure their users are going to use newsreaders (NNTP clients); and, (3) They assume anyone using their telnet server already understands the command set and functionality of an NNTP server. >From tracking down tioat.net, this is a home user around Boca Raton, FL running an NNTP server on their home PC and using DynDNS for DNS lookups to redirect connects to whatever is the dynamic IP address their ISP currently assigned to them for a personal-use DSL account and is probably violating BellSouth/AT&T's TOS by running a publicly accessible server on a personal-use account. Since I'm not interested in using this Usenet injection node, I have no experience with nor any desire to investigate its reliability, up-time, bandwidth, posting delay, peering relationships, retention period, carried newsgroups, platform (OS & hardware), or if the guy even has a UPS on his home PC.
Technical Details
Message-ID:
<j77hvk$k3b$1@news.albasani.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!feeder.news-service.com!news.albasani.net!.POSTED!not-for-mailReferences:
<rnFlq.7188$aL3.3476@newsfe22.iad>Show Full Headers
Complete Article Headers
Message-ID: <j77hvk$k3b$1@news.albasani.net> Subject: Re: posting via command line Date: Thu, 13 Oct 2011 15:33:58 -0500 From: VanguardLH <V@nguard.LH> References: <rnFlq.7188$aL3.3476@newsfe22.iad> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!feeder.news-service.com!news.albasani.net!.POSTED!not-for-mail Newsgroups: alt.free.newsservers Organization: Usenet denizen Lines: 91 Sender: VanguardLH <no-email> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net oo4hGM1oQyugDUn3PDNEOPFJZkAuY1FRHoSSRQ2iyBGMmymce+8B0GoMiLsTfDxXQjcTSIq/1iTUyqMgk4toFiAV8zx+X50xDKooiZzgIRxJ2SKV1WtgRXCV5VWYDPhG NNTP-Posting-Date: Thu, 13 Oct 2011 20:33:56 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="CwPrhqpEJEBKLrKKpkrxm3XmKhGlAoJn55fZ1CQlZEfyxo7OvCc4BUJAN+xMZsvgsMfSq6I4+AXOtbHp0ZozLYh8JNTLKPgWu4vwj3fDnQZlrWqg+zX801I5xf0bawbT"; mail-complaints-to="abuse@albasani.net" Keywords: VanguardLH VLH811 User-Agent: 40tude_Dialog/2.0.15.41 Cancel-Lock: sha1:CA8y4SDNsmPIHJFfKpmW6cKHMHg=