Can I build the OSSEC server without the three GeoIP packages?

52 views
Skip to first unread message

Shawn Wiley

unread,
Sep 22, 2016, 1:08:21 PM9/22/16
to ossec-list
Is there a way to the OSSEC server without the three GeoIP packages or at least force the packages to not be used? I'd like to install the least amount of additional packages to my web server as possible.


Thanks,

Shawn

Shawn Wiley

unread,
Sep 23, 2016, 11:01:43 AM9/23/16
to ossec-list

 What I was trying to say...
 
Is there a way to install the OSSEC server package without the three GeoIP packages? Also if I do not turn on the GeoIP functionality in the ossec.conf file will the packages just sit dormant? I want to install the least amount of additional packages to my web server as possible, my thoughts are why introduce any additional files which may be used to exploit the server..
 
Thanks,
Shawn 

Victor Fernandez

unread,
Sep 23, 2016, 12:30:28 PM9/23/16
to ossec-list
Hi Shawn,

you can compile OSSEC from sources without enabling GeoIP by following these steps:
  • Download OSSEC source code: git clone https://github.com/ossec/ossec-hids.git
  • Install GCC compiler and Make tool if you haven't them:
    • sudo apt-get install gcc make [Debian/Ubuntu]
    • sudo yum install gcc make [CentOS]
    • sudo dnf install gcc make [Fedora]
  • Compile OSSEC: make -C src TARGET=server
  • Install OSSEC: sudo ./install.sh

This way, OSSEC won't include GeoIP support.


Hope it helps.

Best regards.


Victor.

dan (ddp)

unread,
Sep 26, 2016, 8:26:51 AM9/26/16
to ossec...@googlegroups.com
You should be able to modify the packaging files and recompile to
suite your needs.


>
> Thanks,
> Shawn
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ossec-list" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ossec-list+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages