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

Home » FUDforum » How To » Posting to newsgroup via web forum query.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Posting to newsgroup via web forum query. [message #162799 is a reply to message #162737] Sun, 18 July 2010 16:15 Go to previous message
ultra   Philippines
Messages: 2
Registered: July 2010
Karma:
Junior Member
naudefj wrote on Sat, 10 July 2010 12:25
Messages are posted without a MID yes, but as soon as it is reimported to FUDforum, the MID will be stored. So, everything should work out well if you run the import script frequently enough.


Yeah. I only noticed or have a problem with this with a moderated newsgroup that could probably only have to be updated every 24 hours. Obviously this would leave a lot of time for people to reply via the forum to a message without a MID.

naudefj wrote on Sat, 10 July 2010 12:25
I agree, it should be easy to generate a MID. However, I don't know if clients are allowed to do it? Will it be honoured? If so, we can add it to the next release.


Yes, I've never known any server not accept client generated MIDs, and the worst that would happen is it would be overwritten by the server, since to reject it would break some Newsreaders.

I did do this already, basing it on how the MID is done for mailing list posts, so it was generated and placed into the database correctly. So the forum messages always have a MID which remains the same after synchronisation.

Unfortunately depending on what I did, I couldn't get the forum post to be updated with/replaced by the Usenet post. It would either duplicate the post, or all posts would stop being imported, which is the problem I'm having with it.

One additional thing I did was change the check from the X-FUDForum header to the MID header. I think that there's a potential for abuse with the X-FUDForum header. It's trivial for someone to forge that header which could cause problems if the forum would update a message with a 'proper' (but forged) X-FUDForum header sent on Usenet.

The MID however is impossible to forge because it has to be unique; no two messages are allowed to have the same MID at the same time on the Usenet server. I'd recommend you change the check from X-FUDForum to a (generated in FUDForum) MID. Something like [uniqueID]@FUDForum would be possible, if you still wanted FUDForum mentioned in the headers.

This would preserve correct threading if a post is replied to before it's updated from Usenet (what I'm trying to do) and be more secure, allowing less potential for abuse of the forum via Usenet posters/spammers.

Apologies for the delay in replying, and for the previous double post.

[Updated on: Sun, 18 July 2010 16:18]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Removing disclaimers from mailing list synced postings
Next Topic: manually extract files from .fud.gz?
Goto Forum:
  

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

Current Time: Sat Nov 23 19:52:27 GMT 2024

Total time taken to generate the page: 0.08976 seconds