IMSpector

This forum is for all copfilter support related questions in English.
swanseahost
Posts: 6
Joined: 13 Aug 2010 23:07

IMSpector

Post by swanseahost » 13 Aug 2010 23:10

Hi there,

I have downloaded the latest version of copfilter for IPCOP and I cannot find IMSpector in the menu nor how to start or configure it. Please could someone point me in the right direction.

Thanks

swanseahost
Posts: 6
Joined: 13 Aug 2010 23:07

Re: IMSpector

Post by swanseahost » 14 Aug 2010 19:15

If this does not work then please someone tell me and I will goto smoothwall :( Although IPcop is far better :)

karesmakro
Site Admin
Posts: 1280
Joined: 09 Dec 2009 21:17

Re: IMSpector

Post by karesmakro » 14 Aug 2010 19:18

Hello swanseahost and welcome to copfilter forum! :D

It is possible to aktivate, but I need a little bit time to find. There was some docus, if these are still exists

Severus
Site Admin
Posts: 457
Joined: 10 Dec 2009 07:01
Location: Nürnberg - Germany

Re: IMSpector

Post by Severus » 15 Aug 2010 02:41

Hi swanseahost,
try the following procedure:
edit the file /var/log/copfilter/default/etc/global_settings and set the entry

Code: Select all

IM_SCAN=on
and save the file.
If not present file /var/log/copfilter/default/etc/imspector_enable create one by

Code: Select all

touch /var/log/copfilter/default/etc/imspector_enable
Then run from console

Code: Select all

/var/log/copfilter/default/opt/imspector/etc/init.d/copfilter_imspector config
If you get error codes about icq you may edit the file /var/log/copfilter/default/opt/imspector/etc/imspector.conf
and set

Code: Select all

icq_protocol=off
and do a restart by

Code: Select all

/var/log/copfilter/default/opt/imspector/etc/init.d/copfilter_imspector restart
That should do it.
For the future imspector will be started by the rc.local imspector-entry.

Regards Severus

swanseahost
Posts: 6
Joined: 13 Aug 2010 23:07

Re: IMSpector

Post by swanseahost » 15 Aug 2010 19:21

Thank you so much for your assistance. I will try that later today.. Could you also tell me if it is possible to log the chats to a database or log files so that I can view them later ? Also, is there an option to view the log viewer web page. I believe it is imspector.cgi ?

Thanks
Steve

Severus
Site Admin
Posts: 457
Joined: 10 Dec 2009 07:01
Location: Nürnberg - Germany

Re: IMSpector

Post by Severus » 15 Aug 2010 19:37

Logs are written to /var/log/copfilter/default/opt/imspector/var/log/ or to database. Please configure this in the file /var/log/copfilter/default/opt/imspector/etc/imspector.conf.
And sorry: There is no GUI currently included for imspector. This feature was first added to 0.84betax for testing. Maybe later versions will come with GUI support. But if you like to show imspector on the status site I'll try to offer you a modified cgi-file. Please tell me by PM if you do so. ;)
Severus

karesmakro
Site Admin
Posts: 1280
Joined: 09 Dec 2009 21:17

Re: IMSpector

Post by karesmakro » 15 Aug 2010 19:54

Hello all!
@severus as we spoken yesterday about the icq bug and possibly fixed in newer version 0.9 I decided to compile a new one for testing!

@swanseahost (or @all ;) ) you can test new version by downloading from
http://www.it-connect-unix.de/copfilter ... ter.tar.gz
md5sum: 9791746711c1aefccd6c6b07fe35a63e

install

Code: Select all

wget http://www.it-connect-unix.de/copfilter/imspector-0.9_copfilter.tar.gz
tar xzf imspector-0.9_copfilter.tar.gz
cd imspector-0.9_copfilter
./install
This version is running on my machine, but can not test the proxy, because I'm using no Instant Messanger! So it would be nice for reporting if anything is running well (especially icq)

At this moment, imspector version in copfilter is not supporting ssl connection over special imspector http proxy yet, but if there are many potential interested users, I would integrate this feature.

You can find individual configuration help on imspectors homepage: http://www.imspector.org/wordpress/?page_id=21
and some more useful information about this project!

regards

Severus
Site Admin
Posts: 457
Joined: 10 Dec 2009 07:01
Location: Nürnberg - Germany

Re: IMSpector

Post by Severus » 16 Aug 2010 01:11

well, so far it's running without startup error messages. :D
Let's now see how it works!
I agree with karesmakro that we should improve the integration of imspector if many users will use it.
Regards Severus

swanseahost
Posts: 6
Joined: 13 Aug 2010 23:07

Re: IMSpector

Post by swanseahost » 16 Aug 2010 23:46

Hi all,

Thank you so much for all your help and assistance! I have got this working now... two questions if you dont mind....

1) How to get imspector to run on bootup ?
2) How do I create a MYSQL Table on ipcop and create the database / user / password for the following?

CREATE TABLE `messages` (
`id` int(11) NOT NULL auto_increment,
`timestamp` int(11) NOT NULL default '0',
`clientaddress` text NOT NULL,
`protocolname` text NOT NULL,
`outgoing` int(11) NOT NULL default '0',
`type` int(11) NOT NULL default '0',
`localid` text NOT NULL,
`remoteid` text NOT NULL,
`filtered` int(11) NOT NULL default '0',
`categories` text NOT NULL,
`eventdata` blob NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

Thanks

Severus
Site Admin
Posts: 457
Joined: 10 Dec 2009 07:01
Location: Nürnberg - Germany

Re: IMSpector

Post by Severus » 17 Aug 2010 01:29

swanseahost wrote:1) How to get imspector to run on bootup ?
as I said in my post above, imspector will be started by the rc.local imspector-entry if the mentioned changes are done.
the file /etc/rc.d/rc.local contains the lines

Code: Select all

echo "starte imspector ..."
env /var/log/copfilter/default/opt/imspector/etc/init.d/copfilter_imspector config
to run it on bootup.
For your question about MYSQL a have to do some research, first.
Regards Severus

Post Reply