Redirecting Users

Here is the sub forum used for talking about ideas, implementations and suggestions or typical guidelines.

Further info on extension or the protocol is found at our Wiki
darkKlor
Senior Member
Posts: 100
Joined: Tue Dec 30, 2008 2:59 pm

Redirecting Users

Post by darkKlor » Wed Apr 01, 2009 4:38 pm

I was just wondering, is the ability to redirect a user to another hub purely a client feature, or does the hub software have some role to play?

Sulan
Junior Member
Posts: 16
Joined: Mon Jan 19, 2009 8:33 pm

Re: Redirecting Users

Post by Sulan » Wed Apr 01, 2009 6:37 pm

Redirect is a hub->client protocol, its up to the recieving client (support or settingswise) what to do with the recieved redirect. The hub can ofc choose to disconnect the redirected user after sending the command. The hub can also have support to recieve commands from users (some kind of OP in i asume all hubs) to redirect other users.

Edit: I think this should go under protocol talk

Pietry
Senior Member
Posts: 328
Joined: Tue Dec 04, 2007 7:25 am
Location: Bucharest

Re: Redirecting Users

Post by Pietry » Wed Apr 01, 2009 7:30 pm

Redirecting goes as a flag in QUI message , in which case the client after being disconnected needs to connect to the specified address. The client needs not to disconnect, the hub must disconnect the user.
So yes, the hub specifies the redirect address ( who else? ) , either if the redirect is a default redirect from the hub or given as a redirect command from some operator.
Just someone

darkKlor
Senior Member
Posts: 100
Joined: Tue Dec 30, 2008 2:59 pm

Re: Redirecting Users

Post by darkKlor » Wed Apr 01, 2009 9:31 pm

Ah yes, I'd forgotten about that little RD flag on QUI. Thankyou.

I guess then for redirect to be used on a hub, the hub must have a 'redirect user(s)' user command, since only the hub can be the originator of the actual QUI message. I had better go write one of those ;)

And yes, as it quickly became a protocol discussion, it probably should be moved to the Protocol Talk forum :)

Toast

Re: Redirecting Users

Post by Toast » Wed Apr 01, 2009 9:34 pm

Your wish is granted :P

Pietry
Senior Member
Posts: 328
Joined: Tue Dec 04, 2007 7:25 am
Location: Bucharest

Re: Redirecting Users

Post by Pietry » Thu Apr 02, 2009 7:19 am

In NMDC, kicks and redirects were done by other users directly using the hub like a dispatcher. In ADC, operators send some redirect/kick message by a hubsoft specific way, then the hub uses the standard protocol message to say to the users they have been kicked. Either like that, either that they have bad fields or do not comply to hub restrictions in which case the hub auto redirects them to some addresses that the hub operators previously defined.
Just someone

Who is online

Users browsing this forum: Google (Crawler) and 0 guests