Page 1 of 1
Hide connection from SNOMASK CONNECT
Posted: Sat Sep 02, 2006 5:59 am
by NightStorm
I'm running a IRC status Bot (a bot while will connect to the network and display on a forum if the user is on IRC or not), and am finding that the connect/disconnect noise is getting a bit much. It only connects once per page queried, but when you have a lot of browsing, it gets loud.
Is there a way, in simplistic terms, to set a block so that this one connection is "silent" and doesn't flood up the snotices window? I've searched the FAQ and the docs and have not found anything that will do it, but I'm kind of hoping there is a module out there somewhere that I have not discovered yet.
Posted: Sat Sep 02, 2006 12:48 pm
by White_Magic
u can disbale the snomasks for connections
+s -cF
- i presum ur using the /who command to find someone so u can totally disable the snomasks for connections

Posted: Sat Sep 02, 2006 3:58 pm
by Jobe
There is one other sollution to you can use other then a bot. YOu could use for example Denora stats which i know keeps a database of all Nicks used and has a field to say whether they're online or not.
Then you could just include the PHP code in a page to query the table for the record where the Nick matches and the online value is Y. If you get a record returned then the nick is online otherwise it's not online or not been used.
Posted: Sun Sep 03, 2006 11:10 am
by NightStorm
I'm running thales already. The problem is that the website that the socket would run from is on a different box than the UnrealIRCD and Thales, therefore remote SQL connection would have to be enabled... and I am sure you all know the security risks that come with opening up the SQL port.
And turning off snomasks isn't really a good idea, as it would mean not seeing ANY connections at all, instead of just ignoring the one.
I was kind of hoping that someone had coded a module that would allow me to specify a block in the config to exempt the one connection from snomasks, but I guess I'll have to take a different route to show a user as being online or not.
*sigh* and I so hate iframes.
Posted: Sun Sep 03, 2006 11:27 am
by Jobe
Is it possible to run some sort of webhosting on the server with Unreal and Thales for the sole purpose of displaying XML content generated by a PHP script which you could then use another PHP script in your websites host to retrieve the XML?