-- Noteworthy changes in version 1.1.0 (????-??-??)
o) options::pidfile and options::scanlog can now be relative pathnames
+o) Due to security reasons the PROTOCOLS command has been removed again
-- Noteworthy changes in version 1.1.0beta1 (2015-07-02)
botnick fdstat -- Output some info about file descriptors in use.
-botnick protocols -- Output configured scanners and their associated protocols/ports.
-
Also if several HOPMs are present in one channel they will all respond to !all,
for example !all stats.
fdstats_output(target->name);
}
-static void
-cmd_protocols(char *param, const struct ChannelConf *target)
-{
- node_t *node, *node2;
-
- LIST_FOREACH(node, ScannerItemList->head)
- {
- const struct ScannerConf *sc = node->data;
- irc_send("PRIVMSG %s :Scanner: '%s'", target->name, sc->name);
-
- LIST_FOREACH(node2, sc->protocols->head)
- {
- const struct ProtocolConf *proto = node2->data;
- irc_send("PRIVMSG %s : %s:%d", target->name, scan_gettype(proto->type), proto->port);
- }
- }
-}
-
/* command_create
*
* Create a Command struct.
char *param; /* Parsed parameters */
static const struct OperCommandHash COMMAND_TABLE[] =
{
- { "CHECK", cmd_check },
- { "SCAN", cmd_check },
- { "STATS", cmd_stats },
- { "FDSTAT", cmd_fdstat },
- { "PROTOCOLS", cmd_protocols },
- { NULL, NULL }
+ { "CHECK", cmd_check },
+ { "SCAN", cmd_check },
+ { "STATS", cmd_stats },
+ { "FDSTAT", cmd_fdstat },
+ { NULL, NULL }
};
if (OPT_DEBUG)