Coder Social home page Coder Social logo

oum's People

Contributors

atomicturtle avatar hcw2016 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

oum's Issues

oum update failed with code 6

Hi,
Trying to update a newly installed OSSEC+ but get a following error ERROR: Download failed with ERROR (6)
I guess you need to call curl like this curl -u username:password https://updates.atomicorp.com/channels/rules/ossec/ossec-crs-rules-2.0.tar.gz but you are calling curl https://username:[email protected]/channels/rules/ossec/ossec-crs-rules-2.0.tar.gz

Details are follows:

╰─# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"

╰─# curl --version
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets

╰─# cat /var/ossec/etc/ossec-init.conf
DIRECTORY="/var/ossec"
VERSION="v3.6.0"
DATE="Thu Dec 17 15:40:11 EST 2020"
TYPE="server"

╰─# cat /var/ossec/etc/oum.conf
USERNAME="username"
PASSWORD="password"
EXCLUDE_RULES="99-crs-policy_rules.xml"

╰─# export DEBUG=1
╰─# oum update

        WARNING: /var/ossec/etc/ossec.conf is not configured for decoders.d
        replace the <rules></rules> section with:
        <rules>
                <decoder_dir pattern=".xml$">etc/decoders.d</decoder_dir>
                <rule_dir pattern=".xml$">etc/rules.d</rule_dir>
                <list>etc/lists/threat</list>
        </rules>

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   315  100   315    0     0    432      0 --:--:-- --:--:-- --:--:--   432
DEBUG: Compare 0 to 2.0
===============================================================================
 Component                      Version
===============================================================================
Upgrading:
  OSSEC-CRS-Rules               2.0
  Atomicorp-Threatfeed          20211118


===============================================================================

Is this ok [y/N]: y
  Downloading Rule update: 2.0

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: [email protected]
ERROR: Download failed with ERROR (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.