FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Connecting To Synchronet NNTP Server
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Connecting To Synchronet NNTP Server [message #166991] Sat, 14 April 2012 13:45 Go to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
Greetings all Smile

I run a Synchronet BBS and would like to offer my users the ability to read/respond to the message bases using FudForum. Everything is setup to retrieve messages from the BBS (using NNTP) but when either a response is made to an existing message or a new message is created in FF, Synchronet responds with 'Failed to recieve proper response to POST command, NNTP server replied: 440 posting not allowed'.

Does anyone else use Synchronet in this fashion?

Thanks!

Jim Hale
MusicalQuests BBS


Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #166992 is a reply to message #166991] Sat, 14 April 2012 14:22 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Most of the open USENET servers will respond with a "440 posting not allowed" when you post to it. You need to find a server that will allow public posting (rare) or subscribe to a USENET service that allows it.
Re: Connecting To Synchronet NNTP Server [message #166993 is a reply to message #166992] Sat, 14 April 2012 16:15 Go to previous messageGo to next message
Multitool is currently offline  Multitool   United Kingdom
Messages: 47
Registered: February 2012
Karma: 1
Member
I don't think the OP is trying to use a public Usenet server - he's running his own NNTP server (Synchronet) and for some reason this is rejecting posts from FUDforum.

That's the way I read it anyway Smile
Re: Connecting To Synchronet NNTP Server [message #166994 is a reply to message #166993] Sat, 14 April 2012 17:27 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Not sure, but if that is the case, the software probably needs to be configured to allow posting?
Re: Connecting To Synchronet NNTP Server [message #167001 is a reply to message #166994] Sun, 15 April 2012 11:47 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
It is - I can post to it using any of the NNTP clients I use on my MAC, Dell or iDevice. It just seems that FF will use the authentication to GET the messages but it's trying to post as GUEST instead of using the same login and password it used to pull them.

Jim


Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #167003 is a reply to message #167001] Sun, 15 April 2012 17:05 Go to previous messageGo to next message
mro is currently offline  mro
Messages: 7
Registered: April 2012
Karma: 0
Junior Member
james, i told you what the problem was. either synchronet or fudforum is requesting information in the wrong order that is acceptable by synchronet.
you need to figure out which is which.

if i were you i'd post the log output window to the synchronet bbs developer rob swindell.
Re: Connecting To Synchronet NNTP Server [message #167004 is a reply to message #167003] Sun, 15 April 2012 18:31 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
I'm not going to pester Rob about it because all other NNTP clients work. FF is PHP. I know PHP. I just need to find the code that does the posting and make it work. Smile

Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #167005 is a reply to message #167004] Sun, 15 April 2012 18:41 Go to previous messageGo to next message
mro is currently offline  mro
Messages: 7
Registered: April 2012
Karma: 0
Junior Member
well, provide the fudforum dev with the log output from synchronet's nntp server so he can see what sequence is wrong[for synchronet].

have you confirmed that fudforum works/does not work with all nntp servers?
Re: Connecting To Synchronet NNTP Server [message #167006 is a reply to message #167005] Sun, 15 April 2012 19:00 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
Dunno - I don't have an account on a different server right now. It's not a MAJOR deal. Just trying to offer my users something new. Smile

Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #167007 is a reply to message #166991] Sun, 15 April 2012 19:33 Go to previous messageGo to next message
Multitool is currently offline  Multitool   United Kingdom
Messages: 47
Registered: February 2012
Karma: 1
Member
If you post a log of a "failed" NNTP session here, we can all have a look at it Razz

NNTP is a simple protocol - I would expect the issue to be fairly easy to spot.
Re: Connecting To Synchronet NNTP Server [message #167008 is a reply to message #167007] Sun, 15 April 2012 20:47 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Yea, a log file will help. However, if you want to debug yourself, start with src/imsg_edt.inc.t (search for $nntp->post_message). The post_message() function is defined in include/nntp.inc. Note that it will eventually issue a cmd('POST'), which will authentication if the server requires it.
Re: Connecting To Synchronet NNTP Server [message #167009 is a reply to message #167008] Sun, 15 April 2012 21:00 Go to previous messageGo to next message
Multitool is currently offline  Multitool   United Kingdom
Messages: 47
Registered: February 2012
Karma: 1
Member
naudefj wrote on Sun, 15 April 2012 21:47
...which will authentication if the server requires it.


How does it determine whether authentication is required?

It sounds like the OP's NNTP server is responding with "440 not allowed" when it should be responding with "480 AUTHINFO required". Could this be anything to do with it?

[Updated on: Sun, 15 April 2012 21:07]

Report message to a moderator

Re: Connecting To Synchronet NNTP Server [message #167010 is a reply to message #167006] Sun, 15 April 2012 21:05 Go to previous messageGo to next message
mro is currently offline  mro
Messages: 7
Registered: April 2012
Karma: 0
Junior Member
jhale1966 wrote on Sun, 15 April 2012 15:00
Dunno - I don't have an account on a different server right now. It's not a MAJOR deal. Just trying to offer my users something new. Smile


well if you don't trouble shoot with anything other than synchronet [which is a hobbyist bulletin board software with various servers] you cant really say that fudforum is at fault.

saying it doesnt work doesnt help.
you need to provide log output when reporting problems.

stuff like this is what makes developers pull their hair out.


Re: Connecting To Synchronet NNTP Server [message #167011 is a reply to message #167009] Sun, 15 April 2012 21:27 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Multitool wrote:
It sounds like the OP's NNTP server is responding with "440 not allowed" when it should be responding with "480 AUTHINFO required". Could this be anything to do with it?


I think you nailed it! FUDforum looks for a 450 or the older 480:

"nntp.inc"
if ($auth && ($code == 450 || $code == 480)) {


As workaround you can try to add 440 to the above line, but this should ultimately be fixed in the Synchronet NNTP Server software. Right?

On the other hand, maybe we should just commit the additional check and get it done with.
Re: Connecting To Synchronet NNTP Server [message #167012 is a reply to message #167011] Sun, 15 April 2012 21:41 Go to previous messageGo to next message
Multitool is currently offline  Multitool   United Kingdom
Messages: 47
Registered: February 2012
Karma: 1
Member
naudefj wrote on Sun, 15 April 2012 22:27

As workaround you can try to add 440 to the above line, but this should ultimately be fixed in the Synchronet NNTP Server software. Right?

On the other hand, maybe we should just add the additional check and get it done with.


Or add an option to FUDforum to always authenticate, whether the server requests it or not? (Mozilla Thunderbird has this option, and probably other news clients do as well. )

But I agree, the actual bug would seem to be in Synchronet, not FUDforum.
Re: Connecting To Synchronet NNTP Server [message #167014 is a reply to message #167012] Sun, 15 April 2012 22:57 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
I'll try that and see.

Here's what I get from Synchronet when FF tries to do the posting:

4/15 08:03:34a 285820 NNTP connection accepted from: 127.0.0.1 port 51761
4/15 08:03:34a 285820 NNTP JavaScript service thread started
4/15 08:03:34a 285820 NNTP Logging in Guest
4/15 08:03:34a 285820 NNTP cmd: MODE reader
4/15 08:03:34a 285820 NNTP cmd: GROUP MAIN.Site_Discussions
4/15 08:03:34a 285820 NNTP [Main.Site_Discussions] cmd: POST
4/15 08:03:34a 285820 NNTP !TIMEOUT waiting for request
4/15 08:03:34a 285820 NNTP Logging out Guest
4/15 08:03:34a 285820 NNTP service thread terminated (0 clients remain, 0 total, 67 served)

While FF lists in the error log:

Sun Apr 15 13:03:33 GMT 2012 Failed to recieve proper response to POST command, NNTP server replied: 440 posting not allowed

I'm using 'Original' Authentication to pull the messages (which seems to work since messages ARE being imported.) but why is Guest coming across in the Synchronet log?

Jim


Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #167015 is a reply to message #167014] Sun, 15 April 2012 23:03 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
OK - Changing the line to:

if ($auth && ($code == 450 || $code == 480 || $code == 440)) {

got the message posted but the subject which was supposed to be "Another Test", came across as "=?utf-8?Q?Another=20Test?="

so we're definitely closer. Smile

Here's what Synchronet now shows:

4/15 06:00:17p 297592 NNTP connection accepted from: 127.0.0.1 port 53190
4/15 06:00:17p 297592 NNTP JavaScript service thread started
4/15 06:00:17p 297592 NNTP Logging in Guest
4/15 06:00:17p 297592 NNTP cmd: MODE reader
4/15 06:00:17p 297592 NNTP cmd: GROUP MAIN.Site_Discussions
4/15 06:00:17p 297592 NNTP [Main.Site_Discussions] cmd: POST
4/15 06:00:17p 297592 NNTP [Main.Site_Discussions] cmd: AUTHINFO user fudforum
4/15 06:00:17p 297592 NNTP [Main.Site_Discussions] cmd: AUTHINFO pass ********
4/15 06:00:17p 297592 NNTP Logging out Guest
4/15 06:00:17p 297592 NNTP Logging in fudforum
4/15 06:00:17p 297592 NNTP [Main.Site_Discussions] cmd: POST
4/15 06:00:17p 297592 NNTP From: Administrator <jim(dot)hale(at)musicalquests(dot)com>
4/15 06:00:17p 297592 NNTP Newsgroups: MAIN.Site_Discussions
4/15 06:00:17p 297592 NNTP Subject: =?utf-8?Q?Another=20Test?=
4/15 06:00:17p 297592 NNTP Organization: MusicalQuests BBS
4/15 06:00:17p 297592 NNTP Date: Sun, 15 Apr 2012 18:00:17 -0500
4/15 06:00:17p 297592 NNTP Reply-To: Administrator <jim(dot)hale(at)musicalquests(dot)com>
4/15 06:00:17p 297592 NNTP Lines: 4
4/15 06:00:17p 297592 NNTP X-FUDforum: 336c2c44b1fb4a6ac8bbc68d06374c16 <321>
4/15 06:00:17p 297592 NNTP User-Agent: FUDforum 3.0.3
4/15 06:00:17p 297592 NNTP MIME-Version: 1.0
4/15 06:00:17p 297592 NNTP Content-Transfer-Encoding: 8bit
4/15 06:00:17p 297592 NNTP Content-Type: text/plain; charset=utf-8; format=flowed
4/15 06:00:17p 297592 NNTP End of message text (74 chars)
4/15 06:00:17p 297592 NNTP fudforum posted a message (74 chars, 5 lines) on MAIN.Site_Discussions
4/15 06:00:17p 297592 NNTP !TIMEOUT waiting for request
4/15 06:00:17p 297592 NNTP 1 messages posted
4/15 06:00:17p 297592 NNTP Logging out fudforum
4/15 06:00:17p 297592 NNTP service thread terminated (0 clients remain, 0 total, 68 served)

Jim


Jim Hale
MusicalQuests
http://www.musicalquests.com

[Updated on: Sun, 15 April 2012 23:06]

Report message to a moderator

Re: Connecting To Synchronet NNTP Server [message #167016 is a reply to message #167015] Sun, 15 April 2012 23:16 Go to previous messageGo to next message
mro is currently offline  mro
Messages: 7
Registered: April 2012
Karma: 0
Junior Member
Quote:
Sun Apr 15 13:03:33 GMT 2012 Failed to recieve proper response to POST command, NNTP server replied: 440 posting not allowed

I'm using 'Original' Authentication to pull the messages (which seems to work since messages ARE being imported.) but why is Guest coming across in the Synchronet log?


i believe it tries to login as guest then tries the account you specify. vbulletin does that too.
Re: Connecting To Synchronet NNTP Server [message #167018 is a reply to message #167015] Mon, 16 April 2012 10:58 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
jhale1966 wrote:
got the message posted but the subject which was supposed to be "Another Test", came across as "=?utf-8?Q?Another=20Test?="


The subject is encoded (see RFC 1522). Usenet clients will correctly decode it when the message is read. So, problem solved then?
Re: Connecting To Synchronet NNTP Server [message #167020 is a reply to message #167018] Mon, 16 April 2012 13:06 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
Except the subject is posted ugly on the Server. Smile

Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #167021 is a reply to message #167020] Mon, 16 April 2012 13:17 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Please open the message in a newsreader program to see that it looks exactly as it should (without the ugly encoding).
Re: Connecting To Synchronet NNTP Server [message #167023 is a reply to message #167021] Mon, 16 April 2012 14:49 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
That's just it - it's posting back to Synchronet BBS - not being downloaded by someone's new reader. If you go to http://www.musicalquests.com/index.php?option=com_wrapper&view=wrapper& amp;Itemid=150 and click Site Discussions, you'll see where FudForum posts Back. People that use Client readers on my site hit Synchronet directly - FudForum is just being used as a 'pretty front end'.

Jim


Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #167025 is a reply to message #167023] Mon, 16 April 2012 15:13 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
I got it working. I just made the line:

fputs($this->fs, 'Subject: '. $subject ."\r\n");

And it works now.


Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #167027 is a reply to message #167025] Mon, 16 April 2012 18:54 Go to previous messageGo to next message
Multitool is currently offline  Multitool
Messages: 47
Registered: February 2012
Karma: 1
Member
It's great that you have successfully worked around these problems - but it might be an idea to make the Synchronet developers aware of these issues, in case they want to address them in a future release?

Re: Connecting To Synchronet NNTP Server [message #167032 is a reply to message #167027] Mon, 16 April 2012 22:27 Go to previous messageGo to next message
mro is currently offline  mro
Messages: 7
Registered: April 2012
Karma: 0
Junior Member
Multitool wrote on Mon, 16 April 2012 14:54
It's great that you have successfully worked around these problems - but it might be an idea to make the Synchronet developers aware of these issues, in case they want to address them in a future release?



yes, that is correct. they don't consider being informed of issues as being bothered.
i've been running synchronet for 12 years and I know the author Rob Swindell is quick to make corrections when problems arise.

btw, jim: your bbs isnt setup correctly. login as a new user and apply.

[Updated on: Mon, 16 April 2012 22:33]

Report message to a moderator

Re: Connecting To Synchronet NNTP Server [message #167039 is a reply to message #167032] Tue, 17 April 2012 10:54 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
I have New User sign ups turned off until I get everything working. Smile

Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #167040 is a reply to message #167039] Tue, 17 April 2012 11:01 Go to previous messageGo to next message
mro is currently offline  mro
Messages: 7
Registered: April 2012
Karma: 0
Junior Member
jhale1966 wrote on Tue, 17 April 2012 06:54
I have New User sign ups turned off until I get everything working. Smile


well you don't really have new user signups turned off, you just have several things misconfigured.

Re: Connecting To Synchronet NNTP Server [message #167044 is a reply to message #167040] Tue, 17 April 2012 21:40 Go to previous messageGo to next message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
Like what? I can create new users on both the Synchronet & Fudform sides.


Jim Hale
MusicalQuests
http://www.musicalquests.com

Re: Connecting To Synchronet NNTP Server [message #167045 is a reply to message #167044] Tue, 17 April 2012 22:01 Go to previous messageGo to next message
mro is currently offline  mro
Messages: 7
Registered: April 2012
Karma: 0
Junior Member
jhale1966 wrote on Tue, 17 April 2012 17:40
Like what? I can create new users on both the Synchronet & Fudform sides.


create a new user and go see for yourself. and i dont mean via the crappy syncweb. it spits out error msgs and disconnects the user
Re: Connecting To Synchronet NNTP Server [message #167046 is a reply to message #167045] Tue, 17 April 2012 22:09 Go to previous message
jhale1966 is currently offline  jhale1966   United States
Messages: 12
Registered: April 2012
Karma: 0
Junior Member
Under Synchronet? You're going to have to be more specific - are you creating a new user thru the web front end or telnet? If your doing it thru The web, shoot me the URL.

No one else has said anything so I need to know exactley where you're talking about.


Jim Hale
MusicalQuests
http://www.musicalquests.com

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Question: NNTP posts with 'Quoted-Printable' encoding
Next Topic: Profile SPAM & profile fields
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 07:12:24 GMT 2024

Total time taken to generate the page: 0.03791 seconds