Re: Problem compiling prelude correlator
Matthieu Audisio <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.user |
|---|---|
| Message-ID | <[email protected]> |
I deleted the dschield plugin because I think it is useless for me.
My new error is :
8 plugin have been loaded.
Traceback (most recent call last):
File "/usr/bin/prelude-correlator", line 144, in ?
prelude_client = PreludeClient(print_input=ifd, print_output=ofd,
dry_run=options.dry_run)
File "/usr/bin/prelude-correlator", line 39, in __init__
self._client = ClientEasy("prelude-correlator",
ClientEasy.PERMISSION_IDMEF_READ|ClientEasy.PERMISSION_IDMEF_WRITE,
AttributeError: type object 'ClientEasy' has no attribute
'PERMISSION_IDMEF_READ'
So I think all the other plugins have been successfully loaded but I really
have no idea of why I have these error...
Somebody knows ?
Regards,
Matthieu Audisio
2009/5/12 Matthieu Audisio <[email protected]>
> Ok thanks. I remember this command but I did not made the association with
> PreludeEasy.
>
> I have another error now :
>
> # prelude-correlator
> Downloading host list from dshield, this might take some time...
> Traceback (most recent call last):
> File "/usr/bin/prelude-correlator", line 144, in ?
> prelude_client = PreludeClient(print_input=ifd, print_output=ofd,
> dry_run=options.dry_run)
> File "/usr/bin/prelude-correlator", line 36, in __init__
> self._pm = plugins.PluginManager()
> File "/usr/lib/python2.3/site-packages/PreludeCorrelator/plugins.py",
> line 63, in __init__
> self.__initPlugin(plugin)
> File "/usr/lib/python2.3/site-packages/PreludeCorrelator/plugins.py",
> line 48, in __initPlugin
> p = plugin()
> File "/usr/etc/prelude-correlator/ruleset/dshield.py", line 75, in
> __init__
> self.__retrieveData()
> File "/usr/etc/prelude-correlator/ruleset/dshield.py", line 56, in
> __retrieveData
> con.request("GET", self.__uri)
> File "/usr/lib/python2.3/httplib.py", line 718, in request
> self._send_request(method, url, body, headers)
> File "/usr/lib/python2.3/httplib.py", line 739, in _send_request
> self.endheaders()
> File "/usr/lib/python2.3/httplib.py", line 712, in endheaders
> self._send_output()
> File "/usr/lib/python2.3/httplib.py", line 597, in _send_output
> self.send(msg)
> File "/usr/lib/python2.3/httplib.py", line 564, in send
> self.connect()
> File "/usr/lib/python2.3/httplib.py", line 532, in connect
> socket.SOCK_STREAM):
> socket.gaierror: (-3, 'Temporary failure in name resolution')
>
> Do you know what happens ? I'm not sure but I looked the file "dshield.py "
> and it seems it is looking for downloading something but I'm not connected
> to internet... Can it work if I download the good files manually or
> something like that... ?
>
> Matthieu Audisio
>
> 2009/5/11 Sebastien Tricaud <[email protected]>
>
> Hello Matthieu,
>>
>> On Mon, May 11, 2009 at 3:54 PM, Matthieu Audisio
>> <[email protected]> wrote:
>> >
>> > The installation is ok but I have another question : When I try to
>> > import PreludeEasy
>> > ImportError: No module named PreludeEasy
>> >
>>
>> You need to have easy bindings compiled with libprelude. It is
>> ./configure --enable-easy-bindings. They are not included by default.
>>
>> Regards,
>> Sebastien.
>>
>
>
_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-user