[ossec-list] How to solve the error undefined reference to Private_aes_encrypt()

2016-06-19 Thread Zakirasafi
Dear all I have used function Private_aes_encrypt(key,128,&expanded) When I execute the program with gdb by using the following command: gcc -g filename.c filename -lcrypto Then always the error (undefined reference to `private_AES_set_encrypt_key') comes. Kindly I need your help to solve the

Re: [ossec-list] How to set affinity of a process

2016-06-19 Thread Zakirasafi
$ ps -eo psr , pid // pid is process id i want to assign core 1 to process 1350 I have written the following command $taskset -c 1 -p 1350 (I want that core is permanently assigned to process 1350) But this core 1 is not permanently assigined to process 1350. *Thanks and Regards,* Zakira Ina

Re: [ossec-list] How to set affinity of a process

2016-06-19 Thread dan (ddp)
On Jun 19, 2016 11:20 PM, "Zakirasafi" wrote: > > Yeah, I already used the taskset command but through taskset command when I execute the program for the 2nd time the core has been changed. Everytime the code is changing when the program is execute. I want to permanently assign a specific core to

Re: [ossec-list] How to set affinity of a process

2016-06-19 Thread Zakirasafi
Yeah, I already used the taskset command but through taskset command when I execute the program for the 2nd time the core has been changed. Everytime the code is changing when the program is execute. I want to permanently assign a specific core to a specific process. *Thanks and Regards,* Zaki

[ossec-list] Re: General questions I can't find an answer to

2016-06-19 Thread Victor Fernandez
Hi. A1: In fact you should enable on your ossec.conf file, but it only enables the agent to receive commands from the server. However, the syscheck/rootcheck restarting is not immediate, but it will be done after a cycle of syscheck. A2: That line seems so be correct, and that verbatim do wor

[ossec-list] Re: agent.conf settings not syncing to agents

2016-06-19 Thread Victor Fernandez
Hi. Every setting at agent.conf needs to be inside a section, otherwise the configuration reader may fail. So, please relocate the tags and that are outside and restart the agent. If the problem persists, enable debugging logs editing the file internal_options.conf and changing the settin