Hi Saurabh, I'm afraid that there aren't currently any admin commands you can send to the broker, but this sort of remote control feature is on the list for a future version. You can force clients to disconnect by connecting a new client that has the same client id as the one you wish to disconnect. Assuming you are using authentication, I am sure you could create a tool that would disable the account in question and then kick the client by connecting a client with the same id.
I hope that helps, Roger On Mon, Sep 17, 2012 at 7:41 PM, saurabh patil <saurabhpatil...@gmail.com> wrote: > Hi, > > I want broker to disconnect a client on demand (as an admin command), > Is there any mechanism with which we can force broker to break connection > with a particular client. (May be I can send kind of signal to mosquitto > process). > I need this to employ security on my application to prevent (dos like) > attacks from malicious clients. > > -- > Saurabh > > -- > Mailing list: https://launchpad.net/~mosquitto-users > Post to : mosquitto-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~mosquitto-users > More help : https://help.launchpad.net/ListHelp > -- Mailing list: https://launchpad.net/~mosquitto-users Post to : mosquitto-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~mosquitto-users More help : https://help.launchpad.net/ListHelp