config imspector # Enable the proxy option enable 1 # The listening ip address for redirected connections option listenaddr 0.0.0.0 # The listening port for redirected connections option port 16667 # The HTTP CONNECT proxy port option http_port 18080 #Sets the PID filename. The PID file is created before optionally dropping privs. option pidfilename /var/run/imspector.pid # This is the default location of protocol and logging plugins. option plugin_dir /usr/lib/imspector/ # For dropping privs - you probably want to do this. option user root option group root # SSL support? # Create SSL Certs with the following command # openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 \ # -keyout /etc/imspector/serverkey.pem \ # -out /etc/imspector/servercert.pem #option ssl on #option ssl_key "/etc/imspector/serverkey.pem" # Fixed cert? #option ssl_cert "/etc/imspector/servercert.pem" # Or certs created on-the-fly and signed against a CA #option ssl_ca_key "/etc/imspector/cakey.pem" #option ssl_ca_cert "/etc/imspector/cacert.pem" # And finally a directory to store the created certs #option ssl_cert_dir "/usr/lib/imspector" # Directory of CA certs for IM server cert validation #option ssl_verify_dir "/usr/lib/ssl/certs" # Drop connection when the IM server has a bad cert #option ssl_verify "block" # Will load enabled plugins in plugin_dir option icq_protocol on option irc_protocol on option msn_protocol on option yahoo_protocol on option gg_protocol on option jabber_protocol on # MSN via HTTP proxy needs https option https_protocol on # Log typing events? option log_typing_events off # Location where the file logging plugin will start from. option file_logging_dir "/var/log/imspector" # MySQL logging plugin stuff #option mysql_server "localhost" #option mysql_database "imspector" #option mysql_username "imspector" #option mysql_password "password" # SQLite logging plugin stuff #option sqlite_file "/etc/imspector/sqlitedb" # PostgreSQL logging plugin stuff #option pgsql_connect "host=localhost dbname=imspector user=dbuser password=Password" # Bad words filtering option badwords_filename "/etc/imspector/badwords.txt" option badwords_replace_character "*" option badwords_block_count 1 # ACL option acl_filename "/etc/imspector/acl.txt" # SQLite-backed filter #option db_filter_filename "/etc/imspector/sqlitedb_filter" # Block all non whitelisted events? option block_unlisted off # Block all filetransfers? option block_files off # Block webcams? option block_webcams off # Socket-API for filtering #option censord off