News for hackers. Stuff that matters.
Re:Watercoolr, Pubsub using WebHooks by axod on Monday June 08, 2009 @11:42AM (#647428)
Why is this interesting? I'm obviously missing something...

Any context/description/commentary?

From what I can understand, it could be useful in launching a DoS :/

Re:Watercoolr, Pubsub using WebHooks by jcapote on Monday June 08, 2009 @11:54AM (#647449)
Well I wrote it because I needed a way for programs to announce what they were doing and have other subscribing programs react accordingly. The closest solution I found to this was http://xmpp.org/extensions/xep-0060.html, but that didn't seem implemented yet so I wrote the simplest thing that could work.
Re:Watercoolr, Pubsub using WebHooks by axod on Monday June 08, 2009 @12:01PM (#647473)
Cool. Seems like there should be some security to prevent abuse though, otherwise surely I could just add a ton of subscriptions to pages on a target site, and start getting your server to DoS them?

Perhaps have it look for an 'allow' file on the destination first, and if it's not there, don't send any further messages?

Re:Watercoolr, Pubsub using WebHooks by jcapote on Monday June 08, 2009 @12:13PM (#647496)
That's an interesting way to handle the auth problem, I'll look into it...