You can subscribe to this list here.
| 2007 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
|
May
(4) |
Jun
(4) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(4) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(8) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
(5) |
Jul
(8) |
Aug
(4) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
|
| 2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(6) |
Dec
|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Remzi A. <ak...@se...> - 2012-05-05 11:42:57
|
Hi,
Thanks for your advice.
I tried this "const SSL_METHOD *method;".
But cannot solved my problem.
I got this ;
imspector# make
g++ main.o protocolplugin.o loggingplugin.o filterplugin.o
responderplugin.o sslstate.o -ldl libimspector.so -o imspector
-L/usr/lib -lssl
libimspector.so: error: undefined reference to 'X509_NAME_get_index_by_NID'
libimspector.so: error: undefined reference to 'X509_NAME_get_entry'
libimspector.so: error: undefined reference to 'X509_NAME_ENTRY_get_data'
libimspector.so: error: undefined reference to 'ASN1_STRING_data'
sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >):
error: undefined reference to 'ERR_get_error'
sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >):
error: undefined reference to 'ERR_error_string'
sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >):
error: undefined reference to 'ERR_get_error'
sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >):
error: undefined reference to 'ERR_error_string'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'X509_new'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_set_version'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_get_serialNumber'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'ASN1_INTEGER_set'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_gmtime_adj'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_gmtime_adj'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_set_pubkey'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_get_subject_name'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_NAME_add_entry_by_txt'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_get_subject_name'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_set_issuer_name'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'EVP_sha1'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'X509_sign'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'PEM_write_X509'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'ERR_get_error'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'ERR_error_string'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'ERR_get_error'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'ERR_error_string'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'X509_free'
sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool): error:
undefined reference to 'PEM_read_X509'
sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool): error:
undefined reference to 'PEM_read_PrivateKey'
sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool): error:
undefined reference to 'PEM_read_PrivateKey'
collect2: ld returned 1 exit status
make: *** [imspector] Error 1
root@d525:~/imspector/imspector#
Maybe i can change libssl-dev.
On 5/5/2012 3:30 PM, karesmakro wrote:
> Hello,
>
> I do not recommend, to use the latest imspector source package, expect
> you do not need to proxy icq. The reason is, the newest one failed to
> load the needed iconv
>
> Did not tried to compile it on Ubuntu, so I can not say, this
> workaround do solve your issue completely
>
> open the sslstate.h and change line 55 from
>
> SSL_METHOD *method;
> to
> const SSL_METHOD *method;
>
> Can not say for sure, if this is the solution in your case, because
> the X509 messages are new to me, but this would solve a part from your
> issue
>
> regards
>
>
> Am 05.05.2012 01:23, schrieb Remzi AKYÜZ:
>> Hi,
>>
>> i cannot compile imspector-20120504.tar.gz.
>> My system is ubuntu 12.04LTS(LongTermSupport).
>>
>> root@d525:~/imspector# gcc --version
>> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>> Copyright (C) 2011 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions. There
>> is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>>
>> root@d525:~/imspector/imspector# g++ --version
>> g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>> Copyright (C) 2011 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions. There
>> is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>>
>> ii libssl-dev 1.0.1-4ubuntu5 SSL development libraries, header files
>> and documentation
>> ii libssl-doc 1.0.1-4ubuntu5 SSL development documentation documentation
>> ii libssl1.0.0 1.0.1-4ubuntu5
>>
>>
>> # make
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL main.cpp -c
>> main.cpp: In function 'bool doproxy(Options&, bool, Socket&,
>> std::string&, SSLState&, bool)':
>> main.cpp:572:9: warning: variable 's' set but not used
>> [-Wunused-but-set-variable]
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL protocolplugin.cpp -c
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL loggingplugin.cpp -c
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL filterplugin.cpp -c
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL responderplugin.cpp -c
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL sslstate.cpp -c
>> sslstate.cpp: In member function 'bool SSLState::init(Options&, bool)':
>> sslstate.cpp:54:25: error: invalid conversion from 'const SSL_METHOD*
>> {aka const ssl_method_st*}' to 'SSL_METHOD* {aka ssl_method_st*}'
>> [-fpermissive]
>> make: *** [sslstate.o] Error 1
>> root@d525:~/imspector/imspector#
>>
>> after add -fpermissive (CXXFLAGS = -Wall -O2 -fPIC $(SSL_FLAGS)
>> -fpermissive)
>>
>>
>>
>> root@d525:~/imspector/imspector# make
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive
>> sslstate.cpp -c
>> sslstate.cpp: In member function 'bool SSLState::init(Options&, bool)':
>> sslstate.cpp:54:25: warning: invalid conversion from 'const
>> SSL_METHOD* {aka const ssl_method_st*}' to 'SSL_METHOD* {aka
>> ssl_method_st*}' [-fpermissive]
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive socket.cpp -c
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive
>> options.cpp -c
>> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive tools.cpp -c
>> tools.cpp: In function 'void tracepacket(const char*, int, char*, int)':
>> tools.cpp:247:34: warning: ignoring return value of 'ssize_t
>> write(int, const void*, size_t)', declared with attribute
>> warn_unused_result [-Wunused-result]
>> g++ socket.o options.o tools.o -ldl -fPIC -shared
>> -Wl,-soname,libimspector.so -o libimspector.so
>> g++ main.o protocolplugin.o loggingplugin.o filterplugin.o
>> responderplugin.o sslstate.o -ldl libimspector.so -o imspector
>> -L/usr/lib -lssl
>> libimspector.so: error: undefined reference to
>> 'X509_NAME_get_index_by_NID'
>> libimspector.so: error: undefined reference to 'X509_NAME_get_entry'
>> libimspector.so: error: undefined reference to
>> 'X509_NAME_ENTRY_get_data'
>> libimspector.so: error: undefined reference to 'ASN1_STRING_data'
>> sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
>> std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> >, std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >): error: undefined reference to 'ERR_get_error'
>> sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
>> std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> >, std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >): error: undefined reference to
>> 'ERR_error_string'
>> sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
>> std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> >, std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >): error: undefined reference to 'ERR_get_error'
>> sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
>> std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> >, std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >): error: undefined reference to
>> 'ERR_error_string'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to 'X509_new'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'X509_set_version'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'X509_get_serialNumber'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'ASN1_INTEGER_set'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'X509_gmtime_adj'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'X509_gmtime_adj'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'X509_set_pubkey'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'X509_get_subject_name'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'X509_NAME_add_entry_by_txt'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'X509_get_subject_name'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'X509_set_issuer_name'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to 'EVP_sha1'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to 'X509_sign'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'PEM_write_X509'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'ERR_get_error'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'ERR_error_string'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'ERR_get_error'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to
>> 'ERR_error_string'
>> sslstate.o:sslstate.cpp:function
>> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, bool): error: undefined reference to 'X509_free'
>> sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool):
>> error: undefined reference to 'PEM_read_X509'
>> sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool):
>> error: undefined reference to 'PEM_read_PrivateKey'
>> sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool):
>> error: undefined reference to 'PEM_read_PrivateKey'
>> collect2: ld returned 1 exit status
>> make: *** [imspector] Error 1
>> root@d525:~/imspector/imspector#
>>
>>
>> How can i compile?
>>
>> Thanks.
>>
>> Remzi
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>>
>> _______________________________________________
>> Imspector-devel mailing list
>> Ims...@li...
>> https://lists.sourceforge.net/lists/listinfo/imspector-devel
>
|
|
From: karesmakro <kar...@co...> - 2012-05-05 07:49:13
|
Hello,
I do not recommend, to use the latest imspector source package, expect
you do not need to proxy icq. The reason is, the newest one failed to
load the needed iconv
Did not tried to compile it on Ubuntu, so I can not say, this workaround
do solve your issue completely
open the sslstate.h and change line 55 from
SSL_METHOD *method;
to
const SSL_METHOD *method;
Can not say for sure, if this is the solution in your case, because the
X509 messages are new to me, but this would solve a part from your issue
regards
Am 05.05.2012 01:23, schrieb Remzi AKYÜZ:
> Hi,
>
> i cannot compile imspector-20120504.tar.gz.
> My system is ubuntu 12.04LTS(LongTermSupport).
>
> root@d525:~/imspector# gcc --version
> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> root@d525:~/imspector/imspector# g++ --version
> g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> ii libssl-dev 1.0.1-4ubuntu5 SSL development libraries, header files
> and documentation
> ii libssl-doc 1.0.1-4ubuntu5 SSL development documentation documentation
> ii libssl1.0.0 1.0.1-4ubuntu5
>
>
> # make
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL main.cpp -c
> main.cpp: In function 'bool doproxy(Options&, bool, Socket&,
> std::string&, SSLState&, bool)':
> main.cpp:572:9: warning: variable 's' set but not used
> [-Wunused-but-set-variable]
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL protocolplugin.cpp -c
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL loggingplugin.cpp -c
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL filterplugin.cpp -c
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL responderplugin.cpp -c
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL sslstate.cpp -c
> sslstate.cpp: In member function 'bool SSLState::init(Options&, bool)':
> sslstate.cpp:54:25: error: invalid conversion from 'const SSL_METHOD*
> {aka const ssl_method_st*}' to 'SSL_METHOD* {aka ssl_method_st*}'
> [-fpermissive]
> make: *** [sslstate.o] Error 1
> root@d525:~/imspector/imspector#
>
> after add -fpermissive (CXXFLAGS = -Wall -O2 -fPIC $(SSL_FLAGS)
> -fpermissive)
>
>
>
> root@d525:~/imspector/imspector# make
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive
> sslstate.cpp -c
> sslstate.cpp: In member function 'bool SSLState::init(Options&, bool)':
> sslstate.cpp:54:25: warning: invalid conversion from 'const
> SSL_METHOD* {aka const ssl_method_st*}' to 'SSL_METHOD* {aka
> ssl_method_st*}' [-fpermissive]
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive socket.cpp -c
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive options.cpp -c
> g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive tools.cpp -c
> tools.cpp: In function 'void tracepacket(const char*, int, char*, int)':
> tools.cpp:247:34: warning: ignoring return value of 'ssize_t
> write(int, const void*, size_t)', declared with attribute
> warn_unused_result [-Wunused-result]
> g++ socket.o options.o tools.o -ldl -fPIC -shared
> -Wl,-soname,libimspector.so -o libimspector.so
> g++ main.o protocolplugin.o loggingplugin.o filterplugin.o
> responderplugin.o sslstate.o -ldl libimspector.so -o imspector
> -L/usr/lib -lssl
> libimspector.so: error: undefined reference to
> 'X509_NAME_get_index_by_NID'
> libimspector.so: error: undefined reference to 'X509_NAME_get_entry'
> libimspector.so: error: undefined reference to 'X509_NAME_ENTRY_get_data'
> libimspector.so: error: undefined reference to 'ASN1_STRING_data'
> sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
> std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >, std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >): error: undefined reference to 'ERR_get_error'
> sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
> std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >, std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >): error: undefined reference to 'ERR_error_string'
> sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
> std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >, std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >): error: undefined reference to 'ERR_get_error'
> sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
> std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >, std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >): error: undefined reference to 'ERR_error_string'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to 'X509_new'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'X509_set_version'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'X509_get_serialNumber'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'ASN1_INTEGER_set'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'X509_gmtime_adj'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'X509_gmtime_adj'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'X509_set_pubkey'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'X509_get_subject_name'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'X509_NAME_add_entry_by_txt'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'X509_get_subject_name'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'X509_set_issuer_name'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to 'EVP_sha1'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to 'X509_sign'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'PEM_write_X509'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'ERR_get_error'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'ERR_error_string'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'ERR_get_error'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to
> 'ERR_error_string'
> sslstate.o:sslstate.cpp:function
> SSLState::signcert(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, bool): error: undefined reference to 'X509_free'
> sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool):
> error: undefined reference to 'PEM_read_X509'
> sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool):
> error: undefined reference to 'PEM_read_PrivateKey'
> sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool):
> error: undefined reference to 'PEM_read_PrivateKey'
> collect2: ld returned 1 exit status
> make: *** [imspector] Error 1
> root@d525:~/imspector/imspector#
>
>
> How can i compile?
>
> Thanks.
>
> Remzi
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
> _______________________________________________
> Imspector-devel mailing list
> Ims...@li...
> https://lists.sourceforge.net/lists/listinfo/imspector-devel
|
|
From: Remzi A. <ak...@se...> - 2012-05-04 23:23:58
|
Hi,
i cannot compile imspector-20120504.tar.gz.
My system is ubuntu 12.04LTS(LongTermSupport).
root@d525:~/imspector# gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@d525:~/imspector/imspector# g++ --version
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ii libssl-dev 1.0.1-4ubuntu5 SSL development libraries, header files and
documentation
ii libssl-doc 1.0.1-4ubuntu5 SSL development documentation documentation
ii libssl1.0.0 1.0.1-4ubuntu5
# make
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL main.cpp -c
main.cpp: In function ‘bool doproxy(Options&, bool, Socket&,
std::string&, SSLState&, bool)’:
main.cpp:572:9: warning: variable ‘s’ set but not used
[-Wunused-but-set-variable]
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL protocolplugin.cpp -c
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL loggingplugin.cpp -c
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL filterplugin.cpp -c
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL responderplugin.cpp -c
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL sslstate.cpp -c
sslstate.cpp: In member function ‘bool SSLState::init(Options&, bool)’:
sslstate.cpp:54:25: error: invalid conversion from ‘const SSL_METHOD*
{aka const ssl_method_st*}’ to ‘SSL_METHOD* {aka ssl_method_st*}’
[-fpermissive]
make: *** [sslstate.o] Error 1
root@d525:~/imspector/imspector#
after add -fpermissive (CXXFLAGS = -Wall -O2 -fPIC $(SSL_FLAGS)
-fpermissive)
root@d525:~/imspector/imspector# make
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive sslstate.cpp -c
sslstate.cpp: In member function ‘bool SSLState::init(Options&, bool)’:
sslstate.cpp:54:25: warning: invalid conversion from ‘const SSL_METHOD*
{aka const ssl_method_st*}’ to ‘SSL_METHOD* {aka ssl_method_st*}’
[-fpermissive]
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive socket.cpp -c
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive options.cpp -c
g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL -fpermissive tools.cpp -c
tools.cpp: In function ‘void tracepacket(const char*, int, char*, int)’:
tools.cpp:247:34: warning: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
[-Wunused-result]
g++ socket.o options.o tools.o -ldl -fPIC -shared
-Wl,-soname,libimspector.so -o libimspector.so
g++ main.o protocolplugin.o loggingplugin.o filterplugin.o
responderplugin.o sslstate.o -ldl libimspector.so -o imspector
-L/usr/lib -lssl
libimspector.so: error: undefined reference to 'X509_NAME_get_index_by_NID'
libimspector.so: error: undefined reference to 'X509_NAME_get_entry'
libimspector.so: error: undefined reference to 'X509_NAME_ENTRY_get_data'
libimspector.so: error: undefined reference to 'ASN1_STRING_data'
sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >):
error: undefined reference to 'ERR_get_error'
sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >):
error: undefined reference to 'ERR_error_string'
sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >):
error: undefined reference to 'ERR_get_error'
sslstate.o:sslstate.cpp:function SSLState::loadcert(ssl_ctx_st*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >):
error: undefined reference to 'ERR_error_string'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'X509_new'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_set_version'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_get_serialNumber'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'ASN1_INTEGER_set'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_gmtime_adj'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_gmtime_adj'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_set_pubkey'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_get_subject_name'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_NAME_add_entry_by_txt'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_get_subject_name'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'X509_set_issuer_name'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'EVP_sha1'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'X509_sign'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'PEM_write_X509'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'ERR_get_error'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'ERR_error_string'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'ERR_get_error'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to
'ERR_error_string'
sslstate.o:sslstate.cpp:function
SSLState::signcert(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool): error: undefined reference to 'X509_free'
sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool): error:
undefined reference to 'PEM_read_X509'
sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool): error:
undefined reference to 'PEM_read_PrivateKey'
sslstate.o:sslstate.cpp:function SSLState::init(Options&, bool): error:
undefined reference to 'PEM_read_PrivateKey'
collect2: ld returned 1 exit status
make: *** [imspector] Error 1
root@d525:~/imspector/imspector#
How can i compile?
Thanks.
Remzi
|
|
From: İbrahim E. <ibr...@en...> - 2011-05-28 09:20:36
|
Hi, I just install imspector 0.9 on ubuntu 10.04 and seems it works fine. I read that it is not logging messagges of live messenger. Is there any solution about that? Also note that, I will install it CentOS server, since company I am working for use it. -- *İbrahim Ercan Computer Engineering Student at **Middle East Technical University* *Gsm: 0 505 608 24 37* |
|
From: Manthra <man...@gm...> - 2011-05-05 12:43:22
|
Hi, I am really glad to say that IMSpector is working fine as i am able to log all the chats(including jabber/gtalk) which was required. Some of the people have installed gtalk client on their windows machines and when they try to connect from gtalk client, i get following error "imspector: Non-HTTP connection from: 192.168.74.115:1039" Please help me Regards, Manthra |
|
From: Lawrence M. <law...@as...> - 2011-03-04 03:49:32
|
Hi, You'll need to make some trace files by putting jabber_trace=on In the config. Also: mkdir /tmp/trace chmod 777 /tmp/trace Restart with debugging on then send me the files in /tmp/trace, ideally just the ones containing messages that did not get logged. Also, I assume you are using SSL interception? Have you loaded the certificate in each and every client? Lawrence On 2 Mar 2011, at 03:44, Manthra wrote: > Hi, > > Help me, > > I have installed imspector-0.9 on gentoo machine. All the default plugins are enabled. When i run it in a debug mode i can see the Jabber gtalk sessions of many users but all of them are not getting logged into imspector log directory. But only few 2 or 3 sessions (negligible in my network) are getting logged. > > Could any please help me to solve this problem. > > Thanks in advance. > > Regards, > Manthra > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ > Imspector-devel mailing list > Ims...@li... > https://lists.sourceforge.net/lists/listinfo/imspector-devel |
|
From: Manthra <man...@gm...> - 2011-03-03 09:43:25
|
----------------------------------------------------------------------- Manthra wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-7a5d559dd5-d37a42aea3-Z4Cn4onBvLKQtTP_C7PGWHNEZGI You'll need to click this link to be able to chat with Manthra. To get Gmail - a free email account from Google with over 2,800 megabytes of storage - and chat with Manthra, visit: http://mail.google.com/mail/a-7a5d559dd5-d37a42aea3-Z4Cn4onBvLKQtTP_C7PGWHNEZGI Gmail offers: - Instant messaging right inside Gmail - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into "conversations" - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages All this, and its yours for free. But wait, there's more! By opening a Gmail account, you also get access to Google Talk, Google's instant messaging service: http://www.google.com/talk/ Google Talk offers: - Web-based chat that you can use anywhere, without a download - A contact list that's synchronized with your Gmail account - Free, high quality PC-to-PC voice calls when you download the Google Talk client We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). |
|
From: Manthra <man...@gm...> - 2011-03-02 03:44:36
|
Hi, Help me, I have installed imspector-0.9 on gentoo machine. All the default plugins are enabled. When i run it in a debug mode i can see the Jabber gtalk sessions of many users but all of them are not getting logged into imspector log directory. But only few 2 or 3 sessions (negligible in my network) are getting logged. Could any please help me to solve this problem. Thanks in advance. Regards, Manthra |
|
From: Samuel F. <sam...@gm...> - 2010-11-29 11:27:11
|
Hi, I'm developing an app that uses censord plugin to authorize messages. I'm using the dbresponderplugin, and it is generating messages to contacts that don't was chatting. What's could be happening? Thanks. Att. Samuel Feitosa |
|
From: Lawrence M. <law...@sm...> - 2010-11-17 13:24:49
|
Hi, Have applied this, thanks. Am unsure why the .empty guard was missing when processing the <MSNP21 messages. -- Lawrence Manning Lead Developer law...@sm... Smoothwall Ltd 1 John Charles Way, Leeds, LS12 6QA United Kingdom Telephone: USA: 1 800 959 3760 Europe: +44 (0) 8701 999500 www.smoothwall.net Smoothwall Limited is registered in England, Company Number: 4298247. This email and any attachments transmitted with it are confidential to the intended recipient(s) and may not be communicated to any other person or published by any means without the permission of Smoothwall Limited. Any opinions stated in this message are solely those of the author. On 17 Nov 2010, at 12:52, Joel Landim wrote: > > > > +++ msnprotocolplugin_new.cpp 2010-11-12 12:16:51.000000000 -0200 > @@ -431,9 +431,12 @@ > > processp2p(start, filename, filesize); > > - imevent.type = TYPE_FILE; > - imevent.eventdata = stringprintf("%s %llu bytes", filename.c_str(), > - filesize); > + if (!filename.empty()) > + { > + imevent.type = TYPE_FILE; > + imevent.eventdata = stringprintf("%s %llu bytes", filename.c_str(), > + filesize); > + } > } > > if (imevent.type != TYPE_NULL) > > > > > > -- > Joel Landim Mourão > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev_______________________________________________ > Imspector-devel mailing list > Ims...@li... > https://lists.sourceforge.net/lists/listinfo/imspector-devel |
|
From: Joel L. <jlm...@gm...> - 2010-11-17 12:52:51
|
+++ msnprotocolplugin_new.cpp 2010-11-12 12:16:51.000000000 -0200
@@ -431,9 +431,12 @@
processp2p(start, filename, filesize);
- imevent.type = TYPE_FILE;
- imevent.eventdata = stringprintf("%s %llu bytes",
filename.c_str(),
- filesize);
+ if (!filename.empty())
+ {
+ imevent.type = TYPE_FILE;
+ imevent.eventdata = stringprintf("%s %llu bytes",
filename.c_str(),
+ filesize);
+ }
}
if (imevent.type != TYPE_NULL)
--
Joel Landim Mourão
|
|
From: <st...@sw...> - 2010-08-24 17:52:10
|
Hi there, I would like to know if anyone can port IMspector to ipfire ? www.ipfire.org They use a packfire addon system and I am not a linux guru to be honest. They don't allow to compile as gcc is not allowed on the system as it is a firewall yet it is based on IPCop. Could someone build an addon for this linux distro and possible make a web gui for the config ? Willing to pay if someone can confirm it working :) Thanks -------------------------------------------------------------------- mail2web.com - Microsoft® Exchange solutions from a leading provider - http://link.mail2web.com/Business/Exchange |
|
From: Lawrence M. <law...@as...> - 2009-11-17 17:00:58
|
Hi again, > On Tue, Nov 17, 2009 at 1:28 PM, Lawrence Manning > <law...@as...>wrote: >> >> This is cool work. I would like to include it (after tweaking it >> slightly) in the next version. Are you ok to give me copyright on your >> work, as per http://www.imspector.org/wordpress/?page_id=81 >> >> I will of course credit you both in the website and in the code. > > Just notice that parser needs a little tweaking due to some formats that > will cause it to fail. > Example: > allow|deny user contact11 contact12 \ > # > # > contact13 contact14 > > In my opinion this should be seen as > allow|deny user contact11 contact12 \ > contact13 contact14 > > But the code I sent will only process first line, ignore comments and find > a bad format in this line 4. No problem. I will check the code. > BTW, I am using this in a production ENV where sysop is aware of this > format issue and must avoid it. > So, this code does work when format behaves ;) Heh, Ok. How many people do you have behind your IMSpector? Just curious... Lawrence |
|
From: Aecio F. N. <aec...@gm...> - 2009-11-17 16:56:52
|
On Tue, Nov 17, 2009 at 1:28 PM, Lawrence Manning <law...@as...>wrote: > Hi Neto, > > > I had written changes in file aclfilterplugin.cpp to allow parsing > > multiple > > lines for a contact. > > > > Sintax can also be, then: > > allow|deny user contact11 contact12 \ > > contact13 contact14 > > allow|deny user2 contact21 contact22 \ > > contact23 contact24 > > > > If this patch can be incorporated as new feature, it would save me time > > when > > upgrading ;) and help others out there with big list of contacts. > > This is cool work. I would like to include it (after tweaking it > slightly) in the next version. Are you ok to give me copyright on your > work, as per http://www.imspector.org/wordpress/?page_id=81 > > I will of course credit you both in the website and in the code. > > Just notice that parser needs a little tweaking due to some formats that will cause it to fail. Example: allow|deny user contact11 contact12 \ # # contact13 contact14 In my opinion this should be seen as allow|deny user contact11 contact12 \ contact13 contact14 But the code I sent will only process first line, ignore comments and find a bad format in this line 4. BTW, I am using this in a production ENV where sysop is aware of this format issue and must avoid it. So, this code does work when format behaves ;) Regards, Neto. |
|
From: Aecio F. N. <aec...@gm...> - 2009-11-17 15:53:48
|
On Tue, Nov 17, 2009 at 1:28 PM, Lawrence Manning <law...@as...>wrote: > Hi Neto, > > > I had written changes in file aclfilterplugin.cpp to allow parsing > > multiple > > lines for a contact. > > > > Sintax can also be, then: > > allow|deny user contact11 contact12 \ > > contact13 contact14 > > allow|deny user2 contact21 contact22 \ > > contact23 contact24 > > > > If this patch can be incorporated as new feature, it would save me time > > when > > upgrading ;) and help others out there with big list of contacts. > > This is cool work. I would like to include it (after tweaking it > slightly) in the next version. Are you ok to give me copyright on your > work, as per http://www.imspector.org/wordpress/?page_id=81 > If, after this change, I can still keep the coredump, yes. Just kidding. The code is to be shared. You can use as you wish. > > I will of course credit you both in the website and in the code. > Thanks! Neto. |
|
From: Lawrence M. <law...@as...> - 2009-11-17 15:50:42
|
Hi Neto, > I had written changes in file aclfilterplugin.cpp to allow parsing > multiple > lines for a contact. > > Sintax can also be, then: > allow|deny user contact11 contact12 \ > contact13 contact14 > allow|deny user2 contact21 contact22 \ > contact23 contact24 > > If this patch can be incorporated as new feature, it would save me time > when > upgrading ;) and help others out there with big list of contacts. This is cool work. I would like to include it (after tweaking it slightly) in the next version. Are you ok to give me copyright on your work, as per http://www.imspector.org/wordpress/?page_id=81 I will of course credit you both in the website and in the code. Thanks! Lawrence |
|
From: Lawrence M. <law...@sm...> - 2009-11-16 14:46:35
|
Hi, On 28 Oct 2009, at 14:18, Tim Retout wrote: > Hi, > > IMSpector is released under GPLv2, and has the option of linking > against > OpenSSL. Most distributions would not consider distributing GPLed > binaries linked against OpenSSL without a special license exception. > See: > > http://www.gnome.org/~markmc/openssl-and-the-gpl.html > http://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs > > I see three options: > > 1. distributors turn off SSL support > 2. a license exception is added to IMSpector (with agreement from > all the copyright holders) > 3. IMSpector is ported to use a GPL-compatible library like GnuTLS > > If you've already got an exception written somewhere and I just don't > know about it, please flame me and then point me to it. :) See: http://imspector.cvs.sourceforge.net/viewvc/imspector/imspector/README?revision=1.2&view=markup I have added an explicit exception. Following wget's example, the exception is in the README file. The COPYING file remains the standard GPL v2. Also added a brief note about the exception to every single .cpp and .h file. -- Lawrence Manning Lead Developer SmoothWall Ltd 1 John Charles Way Leeds LS12 6QA United Kingdom 1 800 959 3760 (USA, Canada and North America) 0870 1 999 500 (United Kingdom) +44 870 1 999 500 (All other countries) SmoothWall is registered in England: 4298247 This email and any attachments transmitted with it are confidential to the intended recipient(s) and may not be communicated to any other person or published by any means without the permission of SmoothWall Limited. Any opinions stated in this message are solely those of the author. See: http://smoothwall.net/company/email.php for the full text of this notice. |
|
From: Tim R. <ti...@re...> - 2009-10-28 14:19:13
|
Hi, IMSpector is released under GPLv2, and has the option of linking against OpenSSL. Most distributions would not consider distributing GPLed binaries linked against OpenSSL without a special license exception. See: http://www.gnome.org/~markmc/openssl-and-the-gpl.html http://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs I see three options: 1. distributors turn off SSL support 2. a license exception is added to IMSpector (with agreement from all the copyright holders) 3. IMSpector is ported to use a GPL-compatible library like GnuTLS If you've already got an exception written somewhere and I just don't know about it, please flame me and then point me to it. :) Regards, -- Tim Retout <ti...@re...> |
|
From: Aecio F. N. <aec...@gm...> - 2009-07-07 22:46:39
|
I am sharing a patch for version 0.8 that allows to split contacts over
multiple lines.
The syntax for it is:
allow|deny localid|all [groupchat|remoteid1 ... remoteidN] \
remoteM remoteP \
remoteQ remoteQ
so:
1. '\' must be the last char in line.
2. There is no parsing intelligence (yet) to remove trailling spaces in my
code. Perhaps Imspector does that but I haven't tested it yet. Someone?
3. There is no parsing check for incorrect usage like:
allow name@domain \
allow name2@domain
This is my first contribution and it works when obeying the expected syntax.
Have fun!
<<<<<<PATCH>>>>>
diff -urN temp/imspector-0.8/aclfilterplugin.cpp
imspector-0.8/aclfilterplugin.cpp
--- temp/imspector-0.8/aclfilterplugin.cpp 2008-10-15 06:11:12.000000000
-0300
+++ imspector-0.8/aclfilterplugin.cpp 2009-07-07 17:06:21.000000000 -0300
@@ -149,10 +149,12 @@
while (fgets(buffer, STRING_SIZE, hfile))
{
+ bool sameline = false;
stripnewline(buffer);
if (!strlen(buffer)) continue;
if (buffer[0] == '#') continue;
+ if (buffer[strlen(buffer)-1] == '\\') sameline = true;
std::string command;
std::vector<std::string> args;
@@ -173,6 +175,27 @@
aclelement.localid = args.front();
args.erase(args.begin());
+
+ if (sameline) {
+ /* remove '\' from the end of line */
+ args.erase(args.end());
+ char buffer2[STRING_SIZE];
+ memset(buffer2, 0, STRING_SIZE);
+ while (sameline && fgets(buffer2, STRING_SIZE, hfile)) {
+ stripnewline(buffer2);
+ if (buffer2[0] == '#') continue;
+ if (buffer2[strlen(buffer2)-1] != '\\') sameline = false;
+ /* first in this call is first contact */
+ std::string first;
+ std::vector<std::string> args2;
+ int argc2;
+ chopline(buffer2, first, args2, argc2);
+ args2.insert(args2.begin(), first); /* inserts the first
contact */
+ args2.erase(args2.end());
+ std::vector<std::string>::iterator it;
+ for (it = args2.begin(); it != args2.end(); it++)
args.push_back(*it);
+ }
+ }
aclelement.remoteids = args;
|
|
From: Kerem E. <ker...@gm...> - 2009-06-19 14:07:32
|
The Makefile is not really BSD compatible, but IMspector can build with gmake, just : 1. Change the Prefix so it goes to the right place DESTDIR = / PREFIX = /usr/local 2. comment the following line as it states in the Makefile ########## # If using FreeBSD or OpenBSD COMMENT the below lines #LIBS = -ldl 3. change #include <iconv.h> to #include </usr/local/include/iconv.h> in imspector.h 4. icq plug-in will not compile, but I didn't care so just disable it in the Makefile, here is the error if someone cares to correct it g++ -Wall -O2 -fPIC -I/usr/include -DHAVE_SSL icqprotocolplugin.cpp -c icqprotocolplugin.cpp: In function 'int getmessage(char**, char*, int, std::string&, int&, int&)': icqprotocolplugin.cpp:676: error: invalid conversion from 'char**' to 'const char**' icqprotocolplugin.cpp:676: error: initializing argument 2 of 'size_t libiconv(void*, const char**, size_t*, char**, size_t*)' gmake: *** [icqprotocolplugin.o] Error 1 then you can do gmake gmake install Edit the file in /usr/local/etc/imspector/imspector.conf and fix the imspector libdir to /usr/local/lib/imspector Start imspector with. imspector -d -c /usr/local/etc/imspector/imspector.conf Add the redirect rule to /etc/pf.conf: rdr on vr1 proto tcp from vr1:network to any port 1863 -> localhost port 16667 Here vr1 is the int_if, and imspector is running on the FW so redirect to localhost port 16667. And success, data is logged in /var/log/imspector -- Kerem Erciyes Sistem Danismani http://proje.keremerciyes.com ker...@gm... +90 532 737 05 83 |
|
From: Bekir B. <bek...@gm...> - 2009-01-25 13:58:24
|
Hello, when I try to compile Imspector on FreeBSD 7, I get an error with iconv.h. I would like to run the recent version of imspector on pfSense. can anybody give me some hints? thx |
|
From: Lawrence M. <law...@as...> - 2008-10-07 07:47:05
|
Hi there, On Tue, 7 Oct 2008 11:35:30 +0700, Евгений Рыбкин <fis...@ma...> wrote: > My imspector is starting as a daemon, but I enable debugging > functionality by mannualy set debugmode = true; in main.cpp. > Tracing of packets by function tracepacket (tools.cpp) is always > failing. The creation of tracing file return result code -1 and errno == > EACCES. > It would be great for me if I will receive any responses. You need to make the dir: /tmp/trace And make that dir writeable by whoever IMSpector is running as. By the way, tracing of packets is independent to debugging; you can trace without the -d switch. So your main.cpp change isn't really needed. Lawrence |
|
From: Евгений Р. <fis...@ma...> - 2008-10-07 04:36:33
|
Hello. My imspector is starting as a daemon, but I enable debugging functionality by mannualy set debugmode = true; in main.cpp. Tracing of packets by function tracepacket (tools.cpp) is always failing. The creation of tracing file return result code -1 and errno == EACCES. It would be great for me if I will receive any responses. -- Regards, Eugene mailto:fis...@ma... |
|
From: Lawrence M. <law...@sm...> - 2008-09-16 08:32:12
|
On 16 Sep 2008, at 02:16, Frank Tanner wrote: > My only beef with these solutions is they rely on you installing a web > server on your firewall to work. > > I've been using imspector for a long time, and have even written a > free > eBook on building firewalls using Linux. imspector is one of the > applications featured in in. The more applications loaded on it, the > broader the base of attack vectors is. > > In my opinion, a firewall is no place to be housing a web server or > database server. I agree, but there are two important bits of info. 1. IMSpector dosn't *have* to run on the firewall, although granted it is simplest if it does. 2. If it does run on the Firewall, you can always connect IMSpector to a remote DB inside the network, and run your webserver+viewer on that. Hence why I think an IMSpector DB-based viewer is a cool idea. -- Lawrence Manning Lead Developer Smoothwall Ltd. - http://www.smoothwall.net/ SmoothWall Limited 1 John Charles Way Leeds LS12 6QA United Kingdom Phone: 1 800 959 3760 (USA, Canada and North America) 0870 1 999 500 (United Kingdom) +44 870 1 999 500 (all other countries) Fax: +44 870 1 991 399 SmoothWall Limited is registered in England, Company Number: 4298247 This email and any attachments transmitted with it are confidential to the intended recipient(s) and may not be communicated to any other person or published by any means without the permission of SmoothWall Limited. Any opinions stated in this message are solely those of the author. See: http://smoothwall.net/company/email.php for the full text of this notice. |
|
From: Frank T. <pc...@my...> - 2008-09-16 01:17:11
|
On Mon, 2008-09-15 at 23:53 +0200, Emre Erenoglu wrote: > Hi Alexis, > > On Mon, Sep 15, 2008 at 11:21 PM, alexis <ale...@gm...> > wrote: > For example: I was thinking in some features. > > 1- Graphical statistics: See messages counting per user, per > hour, per > domain, per protocol). > So would be really cool to get nice stats for IM usage. > 2- Archive: Conversation viewer, allowing flexible queries > (Per user, > per content, per hour). > 3- Report of send files: So can what kind of files they are > sending. > 4- Use PHP :) > 5- Use PDO, so it would be more easy to handle many Databases. > 6- Ajax-based: ideas? > 7- Export to PDF: So it would be more easy to make reports for > the > people who wanted to control IM usage (Boss, Father) > 7- Suggestions? > > I used to have some ideas, some for log viewer, some for imspector > itself: > > Must Have Features > - Authentication for viewing log files > - Adding another field to the DB, such as a "userid" to be associated > with multiple localids (IM Networks). This is to open the possiblity > for user authentication and easy locating the logs associated to this > user from multiple IM networks. > - "Search" interface to a mysql database with log information (per > username, per date, per any search text) > > Other Bonus Features > > 1) Log Import: "import" older conversations, from msn, from aim, from > kopete, pidgin, amsn, etc. > 2) Periodic upload of logs to, for example, gmail as an email message > > What do you think? > > Emre > My only beef with these solutions is they rely on you installing a web server on your firewall to work. I've been using imspector for a long time, and have even written a free eBook on building firewalls using Linux. imspector is one of the applications featured in in. The more applications loaded on it, the broader the base of attack vectors is. In my opinion, a firewall is no place to be housing a web server or database server. > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Imspector-users mailing list Ims...@li... https://lists.sourceforge.net/lists/listinfo/imspector-users -- --------------------------------------------------- Frank Tanner III (pc...@my...) ICQ: 1730844 AIM: KalokSundancer MSN: pc...@my... YIM: fbtanner |