NetView plug-ins


NMNP_ALERT, NMPN_ACTION,  NMNP_ACTION and NMNP_HOSTMSG messages

Message  NMNP_ALERT NetView sends for plug-ins with different flags in wParam in next cases:

NVALERT_NETWATCHER - when user connected in NetWatcher. lParam - host ID of the connected host or 0, if no such host in hostlist

NVALERT_ALARMHOST - host with enabled alerts changed its online state. lParam - host ID.

NVALERT_TERMINAL - host was connected to Terminal n listen mode.  lParam - host ID.

NVALERT_REDIRECTOR - Host connected to TCP bridge. lParam - host ID.

NVALERT_IPLOGGER - IP logger detected attack.

NVALERT_NETSEARCHER - NetSearcher finished filesearching.

Bit flags in wParam :

NVALERTMASK_CANCEL - Set in next cases(user selects\deselects alerted host,  NetWatcher's user disconnect, Terminal or TCP host disconnect. IP logger - attack finished.

NVALERTMASK_NWBLACK -  NetWatcher's blaclist user

NVALERTMASK_NWWHITE - NetWatcher's keeplist user

NVALERTMASK_ILLIST - IPLogger - Scan detected

NVALERTMASK_ILICMP - IPLogger - ICMP flood detected.

NVALERTMASK_ILSYN - IPLogger - TCP SYN flood detected.

NVALERTMASK_ILUDP - IPLogger - UDP flood detected.

NVALERTMASK_HOSTUP - Alertable host goes online

NVALERTMASK_HOSTDOWN - Alertable host goes offline

 

Plug-in can send NMPN_ACTION message to NetView's window for:

NVACTION_GETFROMNET | NVACTION_LIST - refresh hostlist from network

NVACTION_GETFROMFILE | NVACTION_LIST -refresh hostlist from file, lParam - char * filename string or NULL - default hostlist file will be used.

NVACTION_RECHECK - Recheck host with specidied in lParam ID. With flag  NVACTION_LIST all hosts from list id в lParam will be checked, Or all hosts will be checked if lParam=NULL.

NVACTION_RETRACE - retrace hosts. Other flags are same as NVACTION_RECHECK

NVACTION_CLEARLIST - clears selected in lParam hostlist, or clears all hoslist if lParam=NULL.

NVACTION_OPEN - open specified in в lParam host.

NVACTION_SAVELMHOSTS - save filelist to the file lParam - filename or NULL

NVACTION_SETSTATE - updates host. lParam - host id.

NVACTION_EDIT - opens edit host window for host with ID=lParam. If user clicks Cancel returns 0, otherwise host id.

NVACTION_IMGEXPORT - inititiate visual map export, return 0 if error occured.

 

NetView sends NMNP_ACTION message for plug-in with following bitmask flags in wParam:

NVACTION_GETFROMNET - after hostlist refresh using network

NVACTION_GETFROMFILE - after hostlist refresh using file

NVACTION_RECHECK - after hostlist recheck

NVACTION_RETRACE - after hostlist retrace

NVACTION_ACTIVATE - NetView window (de)activated. lParam the same as WM_ACTIVATE's wParam.

NVACTION_MENUPOPUP - sends after some menus popups. lParam: NVMENUFLAG_MAIN, NVMENUFLAG_CONTEXT or NVMENUFLAG_TRAY.

NVACTION_IMGEXPORT - after Visual Map GIF image export finished (lParam =list id).

 

NMNP_HOSTMSG - user double-clicked on host wich has "hostmsg:N" command string. wparam equals N, lparam- host's id

 

On top


© 2001-2004 Killer{R}   © 2003 VoVaN