Git Product home page Git Product logo

x_old_misp_docker's Introduction

Hello potential user/contributor

This project is outside of the main MISP umbrella and does not have much community traction/use. As such it has not seen any love in a long time. This also means using the code in this repository is not recommended for users new to MISP.

Alternatives to this repository may be

Be aware that general issues in this repository will most likely not be acted upon - however, pull requests are mostly welcome.

MISP Docker

The files in this repository are used to create a Docker container running a MISP ("Malware Information Sharing Platform") instance.

I rewrote the Docker file to split the components in multiple containers (which is more in the philosophy of Docker). Therefore there is no longer a Dockerfile in the root directory.

The MISP container needs at least a MySQL container to store the data. By default it listen to port 443 and port 80, which is redirected to 443.

The build is based on Ubuntu and will install all the required components, using the INSTALL script provided in the MISP repository.

Using the Install script has the advantage that we can rely on a tested installation routine which is maintained and kept up to date. The amount of custom work to be done in the Dockerfile and run.sh files is limited to the necessary to make MISP container compliant.

The following configuration steps are performed automatically:

  • Reconfiguration of the base URL in config.php
  • Generation of a new salt in config.php
  • Generation of a self-signed certificate
  • Optimization of the PHP environment (php.ini) to match the MISP recommended values
  • Creation of the MySQL database
  • Generation of the admin PGP key
  • Installation of misp modules

Building your image

Fetch files

$ git clone https://github.com/MISP/misp-docker
$ cd misp-docker
# Copy template.env to .env (on the root directory) and edit the environment variables at .env file
$ cp template.env .env
$ vi .env

Build the containers

$ docker-compose build
or
$ docker-compose -f docker-compose.yml build

Run containers

$ docker-compose up
or
$ docker-compose -f docker-compose.yml up

x_old_misp_docker's People

Contributors

adulau avatar challs avatar ckane avatar coolacid avatar cudeso avatar cybermaggedon avatar dlee35 avatar far-light avatar focheur91300 avatar fukusuket avatar helinko avatar itzdan avatar jscoupreman avatar ktb-jcm avatar miroka96 avatar moshemal avatar oxeeql avatar p1nk-p0nk avatar packetvitality avatar pe3zx avatar righel avatar sherifeldeeb avatar steveclement avatar stevengoossensb avatar swedishmike avatar the-alchemist avatar v0idc0de avatar vchan-in avatar xme avatar yaleman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

x_old_misp_docker's Issues

Internal Error first page on new build

I had this running previously. I just pulled the newest and updated the docker-compose with everything I need. When it starts up, only page is Errors. I have tried to find the error and can't find the issue anywhere. Watching misp_web during attempted access shows no errors. Everything is expected as far as components start up. No errors during build or startup.

host not found in upstream "misp-web"

When running

docker-compose -f docker-compose-nginx.yml up
proxy    | nginx: [emerg] host not found in upstream "misp-web" in /etc/nginx/conf.d/default.conf:18
proxy exited with code 1

MISP behind Traefik

Hi,
I'm trying to serve MISP using Traefik as reverse proxy, but I can't seem to get it to work.
When I try to connect to https://test.local/misp I'm redirected to https://test/

This is my docker-compose.yml:

version: '3'

networks:
  proxy:
    external: true
  internal:
    external: false


services:
  web:
    build: web
    depends_on:
      - db
    container_name: misp_web
    image: misp:latest
    restart: unless-stopped
    volumes:
      - /dev/urandom:/dev/random
      - ${DATA_DIR}/web:/var/www/MISP
    environment:
      - MYSQL_HOST=db
      - MYSQL_DATABASE=${MYSQL_DATABASE}
      - MYSQL_USER=${MYSQL_USER}
      - MYSQL_PASSWORD=${MYSQL_PASSWORD}
      - MISP_ADMIN_EMAIL=${MISP_ADMIN_EMAIL}
      - MISP_ADMIN_PASSPHRASE=${MISP_ADMIN_PASSPHRASE}
      - MISP_BASEURL=${MISP_BASEURL}
      - POSTFIX_RELAY_HOST=${POSTFIX_RELAY_HOST}
      - TIMEZONE=${TIMEZONE}
    labels:
      - traefik.backend = misp
      - traefik.frontend.rule=Host:test.local;PathPrefixStrip:/misp
      - traefik.docker.network=proxy
      - traefik.port=443
    networks:
      - internal
      - proxy

  db:
    container_name: misp_db
    image: mysql/mysql-server:5.7
    restart: unless-stopped
    volumes:
      - ${DATA_DIR}/db:/var/lib/mysql
    environment:
      - MYSQL_DATABASE=${MYSQL_DATABASE}
      - MYSQL_USER=${MYSQL_USER}
      - MYSQL_PASSWORD=${MYSQL_PASSWORD}
      - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}

and this is my .env :

MYSQL_DATABASE=misp
MYSQL_USER=misp
MYSQL_PASSWORD=misp
MYSQL_ROOT_PASSWORD=misp

[email protected]
MISP_ADMIN_PASSPHRASE=admin
MISP_BASEURL=test.local/misp

POSTFIX_RELAY_HOST=relay.fqdn
TIMEZONE=Europe/Rome

DATA_DIR=./data

Can someone help me?

Internal Server Error

2019-05-20 11:38:38 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2002] No such file or directory',
'enabled' => true,

anyone is familiar with that?

Unable to list modules

Hi!

I'm trying to access the http://<host>/modules endpoint but get a

"error": "Something went wrong, no response from misp_modules."

Is there something I need to enable in order to have it running?

Cheers

Live Dashboard missing

Hi,
I'm trying this image and it's very handly and easy to install.
By the way I'd like to use also the LiveDashboard, but it seems it's not here.

Is there a way to create another container/image with the dashboard?

I tried to install it both inside the image and also outside as a separate container but it seems MISP didn't spawn on port 50000 and dashboard can't see logs

Could not install postfix on dockercontainer

I run into issue when i try to docker-compose build out of the fresh repo on a CentOS host

setting myhostname: c7b9b729660b.blahblah.io.
setting alias maps
setting alias database
mailname is not a fully qualified domain name.  Not changing /etc/mailname.
setting destinations: $myhostname, c7b9b729660b, localhost.localdomain, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
setting inet_protocols: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.

Postfix is now set up with a default configuration.  If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: c7b9b729660b.blahblah.io.
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: c7b9b729660b.blahblah.io.
dpkg: error processing package postfix (--configure):
 subprocess installed post-installation script returned error exit status 75
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.5) ...
Errors were encountered while processing:
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: Service 'misp-web' failed to build: The command '/bin/sh -c apt-get install -y postfix' returned a non-zero code: 100

I removed the postfix installation and it worked.
Do i need postfix?

Initial build failes

I just attempted to build version 3e62c9d but it fails step 52:

Step 52/147 : RUN php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
 ---> Running in 58a0783ef7ab
Installer corrupt
Removing intermediate container 58a0783ef7ab
 ---> e62f527096d9
Step 53/147 : RUN php composer-setup.php
 ---> Running in 99c652af7faa
Could not open input file: composer-setup.php
ERROR: Service 'web' failed to build: The command '/bin/sh -c php composer-setup.php' returned a non-zero code: 1

DockerFile error / RUN php composer.phar install

When i try to build with docker-compose -f "misp/docker-compose.yml up -d --build", i got an error on step 48 : RUN php composer.phar install --ignore-platform-reqs

Loading composer repositories with package information
Updating dependencies (including require-dev)

                                                                                           
  [ErrorException]                                                                         
  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?  
                                                                                           

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...

I added this code into Dockerfile before using php composer.phar

# FIX COMPOSER
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
RUN php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
RUN php composer-setup.php
RUN php -r "unlink('composer-setup.php');"
# END FIX

I found this code here : PHP 7.3 breaks composer with continue/targeting error

Building from scratch results in "An Internal Error Has Occurred." if MYSQL_DATABASE is changed

Trying to build the docker images via docker-compose build produces a MISP instance that displays "An Internal Error Has Occurred.".
The db and web containers are running and the passwords seem to work (logging in with the defined db user and pw on the db container works as intended).
I did, however, find the following lines in the mysqld.log:

2019-07-13T07:08:02.232121Z 8 [Note] Access denied for user 'mispusr'@'%' to database 'misp'

It seems something does not respect the MYSQL_DATABASE variable, as I have renamed the DB to something different (on both, the db and the web container).

Edit: Leaving all environment vars untouched produces a running image. Changing any of them results in "An Internal Error Has Occured".

Environment:

  • Built on Debian 9 (stretch)
  • MySQL Docker Image 5.7.26-1.1.11
  • misp-docker checked out on 12.07.2019 (commit b1cb415)
  • docker-compose version 1.24.1, build 4667896b
  • Docker version 18.09.7, build 2d0083d

PPA for PHP no longer active

in web/Dockerfile, there is this PPA
add-apt-repository -y ppa:ondrej/php && apt-get update

but it no longer available. What PPA should be used as replacement?

TT

this is a great project, thanks for all the suports of you.

No Dockerfile in the git

Hi,
Received below error when following instruction in the Readme.md

padisetu@hostname001:/MISP> git clone https://github.com/MISP/misp-docker
Cloning into 'misp-docker'...
remote: Counting objects: 88, done.
remote: Total 88 (delta 0), reused 0 (delta 0), pack-reused 88
Unpacking objects: 100% (88/88), done.
padisetu@hostname001:
/MISP> cd misp-docker/
padisetu@hostname001:~/MISP/misp-docker> docker build -t misp .
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/padisetu/MISP/misp-docker/Dockerfile: no such file or directory

Can you help with instructions to install this docker image?
Thanks
Uma

misp-proxy - HTTPS request redirect to HTTP response

Hi,

I'm trying to configure misp-proxy to ensure all is transmited securely using https.
However, if you make a https request, it always respondes with http page. For example:

httpS://localhost redirects to http://localhost/users/login
httpS://localhost/users/logout redirects to http://localhost/users/login
...

One https request gets an http redirection.

I appreciate any help.

Thanks.

Php mysql plugin missing

I build the image without errors but the following error shows up

Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created. Exception Attributes: array ( 'class' => 'Mysql', 'message' => 'Selected driver is not enabled', 'enabled' => false, )

It can be fixed by installing php7.3-mysql and restarting the container
Should this be added in the Dockerfile too or does the script need to be updated?

OpenCV Python Lib - Dependency Missing

Following was experienced during building of docker MISP inside ubuntu/bionic.

Collecting opencv-python==4.4.0.44 (from -r REQUIREMENTS (line 56))
  Downloading https://files.pythonhosted.org/packages/38/a9/cd39fd25df434b5d9451dc266c12b72f68282a2b9bd5d7b4aa2d57d6c20e/opencv-python-4.4.0.44.tar.gz (88.9MB)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-fcrux1i_/opencv-python/setup.py", line 9, in <module>
        import skbuild
    ModuleNotFoundError: No module named 'skbuild'

After some troubleshooting, adding the following resolves this missing dependency;

pip3 install --upgrade pip setuptools wheel && \
pip3 install scikit-build && \    
pip3 install opencv-python && \ 

License?

Hi!

We'd like to use this and contribute improvements, but I'm unable to find any license associated with this content.

A brief reading of the repo is that the content here derives from this repository which itself derived from an original that I can't find.

Can you help by figuring this out by adding a license to this repository's content?

Build failed due to incorrect hash in web/Dockerfile

Ran through the build a few times. Found the error to be with the hash of the file. Pulled the compose file down locally and ran a hash of it. Checked the hash against their docs, it matches up. The new hash is a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1

image

Once I corrected the hash in step 51/144, installation completed correctly.

Problem building containers

HI,

I had problem while i was building the containers.

I resolved it by adding to " web/Dockerfile" file commands attached below before install python-cybox:
RUN pip install --upgrade pip
RUn pip install --upgrade setuptools

Regards,

Increase RAM and CPU

I would like to increase specs for the MISP container as it is starting to feel sluggish. Is there any way how to increase RAM and CPU and all to get the most out of my system?

missing python-dateutil

Hello MISP-team,

1st, thanks for the great work you're doing. I love MISP. :-)

While having trouble using the docker file, I found that I had to add python-dateutil at line 43 to be installed with apt in the web/Dockerfile to install and run correctly.

Maybe you'd like to verify and adjust accordingly.

Cheers
Marcus

python module SocketIO-client fails to build due to invalid character in readme.rst causing cascading failures

Collecting socketio-client==0.5.6
  Downloading socketIO-client-0.5.6.tar.gz (12 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rd82duxw/socketio-client/setup.py'"'"'; __file__='"'"'/tmp/pip-install-rd82duxw/socketio-client/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3x1qteoz
         cwd: /tmp/pip-install-rd82duxw/socketio-client/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-rd82duxw/socketio-client/setup.py", line 6, in <module>
        README = open(os.path.join(here, 'README.rst')).read()
      File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5786: ordinal not in range(128)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Jörgen (line 159 of README.rst)

The above error occurs on a completely clean ubuntu 18 LTS install, using the repo's build script with sane values in the variables of the script. I think, as it turns out, its a name in the credits:

invisibleroads/socketIO-client@a42704e#diff-88b99bb28683bd5b7e3a204826ead112R159

Problem building the web image - lxml fails to compile

When I try to build the images with docker-compose build it errors out with the following message.

Building lxml version 4.4.1.
Building without Cython.
Using build configuration of libxslt 1.1.28
ERROR: /usr/bin/xslt-config: 1: /usr/bin/xslt-config: xml2-config: not found

** make sure the development packages of libxml2 and libxslt are installed **

Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ERROR: Service 'web' failed to build: The command '/bin/sh -c python setup.py install' returned a non-zero code: 1

It seems that the correct development libraries are being installed via the Dockerfile. I'm currently troubleshooting it, to my best availability, but thought I'd open an issue here in case it's an known issue?

misp-modules missing dependancies

misp-modules doesn't start due to missing dependencies.

image

Output when attempting to start manually:

$ sudo docker exec -ti misp_web /bin/bash
root@be6bd314f95b:/var/www/MISP# cd /opt/misp-modules/
root@be6bd314f95b:/opt/misp-modules# sudo -u www-data misp-modules -s -l 127.0.0.1
Unable to find zbar shared library
2020-02-25 01:13:35,723 - misp-modules - INFO - Launch MISP modules server from package.
INFO:misp-modules:Launch MISP modules server from package.
2020-02-25 01:13:35,727 - misp-modules - INFO - Helper loaded cache
INFO:misp-modules:Helper loaded cache
2020-02-25 01:13:35,727 - misp-modules - INFO - Unable to load MISP modules from package.
INFO:misp-modules:Unable to load MISP modules from package.

Additional errors are identified when running misp-modules without -s:

# sudo -u www-data misp-modules -l 127.0.0.1
Unable to find zbar shared library
...
2020-02-25 01:13:46,395 - misp-modules - WARNING - MISP modules ocr_enrich failed due to libSM.so.6: cannot open shared object file: No such file or directory
WARNING:misp-modules:MISP modules ocr_enrich failed due to libSM.so.6: cannot open shared object file: No such file or directory
...
2020-02-25 01:13:47,388 - misp-modules - WARNING - MISP modules qrcode failed due to Unable to find zbar shared library
WARNING:misp-modules:MISP modules qrcode failed due to Unable to find zbar shared library
...
2020-02-25 01:13:47,651 - misp-modules - WARNING - MISP modules ransomcoindb failed due to No module named 'expansion._ransomcoindb'
WARNING:misp-modules:MISP modules ransomcoindb failed due to No module named 'expansion._ransomcoindb'
...
2020-02-25 01:13:47,793 - misp-modules - WARNING - MISP modules email_import failed due to Unable to import URLObject, pyfaup missing
WARNING:misp-modules:MISP modules email_import failed due to Unable to import URLObject, pyfaup missing

Issue with run.sh replacement of baseurl

run.sh doesn't replacing baseurl, as default value is 'http://misp'

Modified the sed command as shown below

Existing Command:
sed -ie "s/'baseurl' => '',/'baseurl' => '$MISP_BASEURL sfd',/" /var/www/MISP/app/Config/config.php

Replacement Command:
sed -ie "s/'baseurl' => '.*',/'baseurl' => '$MISP_BASEURL sfd',/" /var/www/MISP/app/Config/config.php

Unable to Login

Hello!

Even though I modified the MISP_ADMIN_PASSPHRASE variable, I was not able to login using the password specified there.

Instead the default credentials were working (taken from this issue: MISP/MISP#2602):
[email protected]:admin

This could be connected to the password requirements, which seem very complex to me and make it even hard to change the password after a successful login.

Please add this issue at least to the readme.

BR,
Miroka

MISP cannot connect to MySQL database

Hi,

When bringing up the suite through docker-compose up I am hitting the wall with error message from MISP:

│misp-web    | ERROR 1045 (28000): Access denied for user 'misp'@'172.18.0.3' (using password: YES)

I've tried privileges flushing as it was when Dockerfile was still available in @xme repo, however I cannot even login to mysql database using:

docker exec -ti misp-db mysql -p

or:

docker exec -ti misp-db mysql -u root -p

Did anyone also have such problem?

Unable to import exported MISP events as XML

I recently updated the MISP project from 2.4.105 to 2.4.120 and I am unable to import the exported events as it is showing the following error:
2020-02-18 06:00:26 Error: [XmlException] Xml cannot be read.
Request URL: /events/add_misp_export
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Utility/Xml.php(107): Xml::_loadXml('<?xml version="...', Array)
#1 /var/www/MISP/app/Controller/EventsController.php(3194): Xml::build('<?xml version="...')
#2 /var/www/MISP/app/Controller/EventsController.php(2135): EventsController->_addMISPExportFile('xml', false, '1')
#3 [internal function]: EventsController->add_misp_export()
#4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(499): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#7 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#8 {main}

I have changed buffer memory and max upload to 5G for now in the php.ini file.
Can anyone help me?
Thank you in advance.

misp-modules REQUIREMENTS Empty

Line 157 of web/Dockerfile results in an empty REQUIREMENTS file.

RUN cat REQUIREMENTS | sed 's/aiohttp==3.4.4/aiohttp/g' > REQUIREMENTS

Should be:

RUN sed -i 's/aiohttp==3.4.4/aiohttp/g' REQUIREMENTS

Unfortunately it looks like the current REQUIREMENTS is broken so this results in a failed build.

This appears to be resolved in #51

Redis does not start

Redis does not start since 7c10e68. On the docker-compose console I see:

misp_web | 2020-01-10 08:48:56,927 INFO exited: redis-server (exit status 1; not expected)
misp_web | 2020-01-10 08:48:57,928 INFO gave up: redis-server entered FATAL state, too many start retries too quickly

In /var/log/redis/redis-server.log I see

231:M 10 Jan 09:50:17.552 # Creating Server TCP listening socket ::1:6379: bind: Cannot assign requested address

At first I thought it must be a local networking problem, but it went away again when I rolled back to the previous commit.

Error generating pgp key

After running docker-compose up, I keep getting pgp key generation errors for the misp_web container. Any thoughts on how to remedy the situation?

misp_web |
misp_web | Current default time zone: 'Etc/UTC'
misp_web | Local time is now: Thu Jan 23 22:21:40 UTC 2020.
misp_web | Universal Time is now: Thu Jan 23 22:21:40 UTC 2020.
misp_web |
misp_web | Creating MySQL database
misp_web | MYSQL_PASSWORD is set to 'misp'
misp_web | mysql: [Warning] Using a password on the command line interface can be insecure.
misp_web | Connected to database successfully!
misp_web | Database misp available
misp_web | Creating MISP configuration files
misp_web | Fixing the MISP base URL (localhost) ...
misp_web | Creating admin GnuPG key
misp_web | Generating admin PGP key ... (please be patient, we need some entropy)
misp_web | gpg: Generating a basic OpenPGP key
misp_web | gpg: agent_genkey failed: End of file
misp_web | gpg: key generation failed: End of file
misp_web | gpg: Done
misp_web exited with code 2

This sequence will just loop until I kill the process with Ctrl+C, and checking container status with docker ps indicates that the container is just continually restarting itself. It doesn't stay up long enough for me to attach a terminal and attempt to debug or execute the pgp key generation manually.

MISP latest Updates

Hello!

I have performed a environment with MISP using Docker Compose, but MISP version is 2.4.113.

How can I update to latest version of MISP using Docker Compose without affecting my configuration on the environment?

Thanks!

import importlib.util errors durring docker-podman/podman-compose

Both podman-compose and docker-compose when building.
the end of the error shows
"ModuleNotFoundError: No module named 'importlib.util'". I don't know if this is due to the install script and pip or the dockerfile, though.

I tried this on both Arch and Fedora 33. Each error in the same way for both files and both compose programs.

Full error:
Collecting importlib==1.0.4 Downloading importlib-1.0.4.zip (7.1 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t1b_apna/importlib_f13137b278354d878dc0c6584f5de5c2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t1b_apna/importlib_f13137b278354d878dc0c6584f5de5c2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-vqfdkasu cwd: /tmp/pip-install-t1b_apna/importlib_f13137b278354d878dc0c6584f5de5c2/ Complete output (11 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 10, in <module> import distutils.core File "/usr/lib/python3.6/distutils/core.py", line 16, in <module> from distutils.dist import Distribution File "/usr/lib/python3.6/distutils/dist.py", line 19, in <module> from distutils.util import check_environ, strtobool, rfc822_escape File "/usr/lib/python3.6/distutils/util.py", line 9, in <module> import importlib.util ModuleNotFoundError: No module named 'importlib.util' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Service 'web' failed to build : The command '/bin/sh -c cd misp-modules && pip3 install --upgrade pip setuptools wheel && pip3 install scikit-build && pip3 install opencv-python && pip3 install -I -r REQUIREMENTS && pip3 install -I . && echo "sudo -u www-data misp-modules -s -l 127.0.0.1 &" >>/etc/rc.local' returned a non-zero code: 1

Does the random device need to be mapped?

I was trying to run this docker-compose on my Mac and everything worked fine except for one minor hiccup.

I had to comment out this line:
- /dev/urandom:/dev/random

This makes gpg throw an error and everything seems to work fine without it. I'm very much a docker beginner so I could be mistaken but wouldn't it make sense for docker to provide a random device without having to explicitly map one from the host platform?

/run.sh: no such file or directory": unknown

We are having issues since the recent code changes. Bringing up a new box to deploy this on to, we are getting the following error when it tries to start up misp_web.

Recreating misp_web ... error
Recreating misp_db ... done
Recreating proxy ... done

ERROR: for misp_web Cannot start service web: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "/run.sh": stat /run.sh: no such file or directory": unknown

ERROR: for web Cannot start service web: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "/run.sh": stat /run.sh: no such file or directory": unknown
ERROR: Encountered errors while bringing up the project.

Error while building on CentOS7 (functool32)

First of all, thanks for the great work.
I'm trying to build a new MISP instance on CentOS 7.
While running, an error occurred and build has been stopped.

Followings are error logs:

Step 92/133 : WORKDIR /opt/misp-modules
---> Using cache
---> 7080f9e5009b
Step 93/133 : RUN pip3 install --upgrade --ignore-installed urllib3
---> Using cache
---> 6b3a2de3767e
Step 94/133 : RUN pip3 install --upgrade --ignore-installed requests
---> Using cache
---> 295070039112
Step 95/133 : RUN pip3 install -I -r REQUIREMENTS
---> Running in 1d4ae107d0e1
Obtaining file:///opt/misp-modules (from -r REQUIREMENTS (line 2))
Obtaining pybgpranking from git+https://github.com/D4-project/BGP-Ranking.git/@37c97ae252ec4bf1d67733a49d4895c8cb009cf9#egg=pybgpranking&subdirectory=client (from -r REQUIREMENTS (line 3))
Cloning https://github.com/D4-project/BGP-Ranking.git/ (to 37c97ae252ec4bf1d67733a49d4895c8cb009cf9) to ./src/pybgpranking
Could not find a tag or branch '37c97ae252ec4bf1d67733a49d4895c8cb009cf9', assuming commit.
Obtaining pyipasnhistory from git+https://github.com/D4-project/IPASN-History.git/@e846cd36fe1ed6b22f60890bba89f84e61b62e59#egg=pyipasnhistory&subdirectory=client (from -r REQUIREMENTS (line 4))
Cloning https://github.com/D4-project/IPASN-History.git/ (to e846cd36fe1ed6b22f60890bba89f84e61b62e59) to ./src/pyipasnhistory
Could not find a tag or branch 'e846cd36fe1ed6b22f60890bba89f84e61b62e59', assuming commit.
Obtaining pyintel471 from git+https://github.com/MISP/PyIntel471.git@0df8d51f1c1425de66714b3a5a45edb69b8cc2fc#egg=pyintel471 (from -r REQUIREMENTS (line 5))
Cloning https://github.com/MISP/PyIntel471.git (to 0df8d51f1c1425de66714b3a5a45edb69b8cc2fc) to ./src/pyintel471
Could not find a tag or branch '0df8d51f1c1425de66714b3a5a45edb69b8cc2fc', assuming commit.
Obtaining pymisp from git+https://github.com/MISP/PyMISP.git@b8759673b91e733c307698abdc0d5ed82fd7e0de#egg=pymisp (from -r REQUIREMENTS (line 6))
Cloning https://github.com/MISP/PyMISP.git (to b8759673b91e733c307698abdc0d5ed82fd7e0de) to ./src/pymisp
Could not find a tag or branch 'b8759673b91e733c307698abdc0d5ed82fd7e0de', assuming commit.
Obtaining uwhois from git+https://github.com/Rafiot/uwhoisd.git@411572840eba4c72dc321c549b36a54ed5cea9de#egg=uwhois&subdirectory=client (from -r REQUIREMENTS (line 7))
Cloning https://github.com/Rafiot/uwhoisd.git (to 411572840eba4c72dc321c549b36a54ed5cea9de) to ./src/uwhois
Could not find a tag or branch '411572840eba4c72dc321c549b36a54ed5cea9de', assuming commit.
Obtaining pydnstrails from git+https://github.com/sebdraven/pydnstrails@48c1f740025c51289f43a24863d1845ff12fd21a#egg=pydnstrails (from -r REQUIREMENTS (line 8))
Cloning https://github.com/sebdraven/pydnstrails (to 48c1f740025c51289f43a24863d1845ff12fd21a) to ./src/pydnstrails
Could not find a tag or branch '48c1f740025c51289f43a24863d1845ff12fd21a', assuming commit.
Obtaining pyonyphe from git+https://github.com/sebdraven/pyonyphe@cbb0168d5cb28a9f71f7ab3773164a7039ccdb12#egg=pyonyphe (from -r REQUIREMENTS (line 9))
Cloning https://github.com/sebdraven/pyonyphe (to cbb0168d5cb28a9f71f7ab3773164a7039ccdb12) to ./src/pyonyphe
Could not find a tag or branch 'cbb0168d5cb28a9f71f7ab3773164a7039ccdb12', assuming commit.
Collecting aiohttp==3.4.4 (from -r REQUIREMENTS (line 10))
Downloading https://files.pythonhosted.org/packages/70/c0/380f2bd0a6505998e984efd23b692afe662c4e27603f066c632eed7bf3ee/aiohttp-3.4.4-cp35-cp35m-manylinux1_x86_64.whl (1.1MB)
Collecting antlr4-python3-runtime==4.7.2 (from -r REQUIREMENTS (line 11))
Downloading https://files.pythonhosted.org/packages/29/14/8ac135ec7cc9db3f768e2d032776718c6b23f74e63543f0974b4873500b2/antlr4-python3-runtime-4.7.2.tar.gz (112kB)
Collecting async-timeout==3.0.1 (from -r REQUIREMENTS (line 12))
Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting attrs==19.1.0 (from -r REQUIREMENTS (line 13))
Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting backscatter==0.2.4 (from -r REQUIREMENTS (line 14))
Downloading https://files.pythonhosted.org/packages/b9/be/6fb11e1213bca17fb87f45b9de31a0fe364251bbf95f9ebb9b2586592780/backscatter-0.2.4-py3-none-any.whl
Collecting beautifulsoup4==4.7.1 (from -r REQUIREMENTS (line 15))
Downloading https://files.pythonhosted.org/packages/1d/5d/3260694a59df0ec52f8b4883f5d23b130bc237602a1411fa670eae12351e/beautifulsoup4-4.7.1-py3-none-any.whl (94kB)
Collecting blockchain==1.4.4 (from -r REQUIREMENTS (line 16))
Downloading https://files.pythonhosted.org/packages/0b/85/ca826affaeaad16506d3b19525f18cf18de394d52d4a9e645ef7dc9d59a2/blockchain-1.4.4.tar.gz
Collecting certifi==2019.3.9 (from -r REQUIREMENTS (line 17))
Using cached https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl
Collecting chardet==3.0.4 (from -r REQUIREMENTS (line 18))
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting click-plugins==1.0.4 (from -r REQUIREMENTS (line 19))
Downloading https://files.pythonhosted.org/packages/95/dd/fef84cf1678418f241ef542c0288bdf215bdd3e35f1fe03dc5223a2e80ba/click_plugins-1.0.4-py2.py3-none-any.whl
Collecting click==7.0 (from -r REQUIREMENTS (line 20))
Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
Collecting colorama==0.4.1 (from -r REQUIREMENTS (line 21))
Downloading https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl
Collecting dnspython==1.16.0 (from -r REQUIREMENTS (line 22))
Downloading https://files.pythonhosted.org/packages/ec/d3/3aa0e7213ef72b8585747aa0e271a9523e713813b9a20177ebe1e939deb0/dnspython-1.16.0-py2.py3-none-any.whl (188kB)
Collecting domaintools-api==0.3.3 (from -r REQUIREMENTS (line 23))
Downloading https://files.pythonhosted.org/packages/34/9f/2876b2080b2f9e4d550a7c41f24e7db9dba6047856f9243442fca109ba53/domaintools_api-0.3.3.tar.gz
Collecting enum-compat==0.0.2 (from -r REQUIREMENTS (line 24))
Downloading https://files.pythonhosted.org/packages/95/6e/26bdcba28b66126f66cf3e4cd03bcd63f7ae330d29ee68b1f6b623550bfa/enum-compat-0.0.2.tar.gz
Collecting ez-setup==0.9 (from -r REQUIREMENTS (line 25))
Downloading https://files.pythonhosted.org/packages/ba/2c/743df41bd6b3298706dfe91b0c7ecdc47f2dc1a3104abeb6e9aa4a45fa5d/ez_setup-0.9.tar.gz
Collecting future==0.17.1 (from -r REQUIREMENTS (line 26))
Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
Collecting httplib2==0.12.1 (from -r REQUIREMENTS (line 27))
Downloading https://files.pythonhosted.org/packages/75/d0/f213003c9deec99fb4f46e54580b93a3b121c487d9d6d888fc12267eb2a2/httplib2-0.12.1.tar.gz (218kB)
Collecting idna-ssl==1.1.0 (from -r REQUIREMENTS (line 28))
Downloading https://files.pythonhosted.org/packages/46/03/07c4894aae38b0de52b52586b24bf189bb83e4ddabfe2e2c8f2419eec6f4/idna-ssl-1.1.0.tar.gz
Collecting idna==2.8 (from -r REQUIREMENTS (line 29))
Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting isodate==0.6.0 (from -r REQUIREMENTS (line 30))
Downloading https://files.pythonhosted.org/packages/9b/9f/b36f7774ff5ea8e428fdcfc4bb332c39ee5b9362ddd3d40d9516a55221b2/isodate-0.6.0-py2.py3-none-any.whl (45kB)
Collecting jsonschema==3.0.1 (from -r REQUIREMENTS (line 31))
Downloading https://files.pythonhosted.org/packages/aa/69/df679dfbdd051568b53c38ec8152a3ab6bc533434fc7ed11ab034bf5e82f/jsonschema-3.0.1-py2.py3-none-any.whl (54kB)
Collecting maclookup==1.0.3 (from -r REQUIREMENTS (line 32))
Downloading https://files.pythonhosted.org/packages/bd/a9/51ff3821d599a8b91fdcf380ee3c594f2009975d798e53968664db76b321/maclookup-1.0.3-py2.py3-none-any.whl
Collecting multidict==4.5.2 (from -r REQUIREMENTS (line 33))
Downloading https://files.pythonhosted.org/packages/0a/32/f0840e0305a79f8adbc606623a8a8d0196e931a07b946557fdff9df1196b/multidict-4.5.2-cp35-cp35m-manylinux1_x86_64.whl (304kB)
Collecting oauth2==1.9.0.post1 (from -r REQUIREMENTS (line 34))
Downloading https://files.pythonhosted.org/packages/a0/6f/86db603912ecd04109af952c38bc08928886cf0e34c723481fa7db98b4b5/oauth2-1.9.0.post1-py2.py3-none-any.whl
Collecting passivetotal==1.0.30 (from -r REQUIREMENTS (line 35))
Downloading https://files.pythonhosted.org/packages/03/3b/91621d848ddab8bf30c75f638e36d6d06022081658076cd9d8d953d0e933/passivetotal-1.0.30.tar.gz
Collecting pillow==5.4.1 (from -r REQUIREMENTS (line 36))
Downloading https://files.pythonhosted.org/packages/8b/e9/5c47710fe383f0582da668302a80a6355fe15c2ce2dde89b50fe34acefa6/Pillow-5.4.1-cp35-cp35m-manylinux1_x86_64.whl (2.0MB)
Collecting psutil==5.6.0 (from -r REQUIREMENTS (line 37))
Downloading https://files.pythonhosted.org/packages/79/e6/a4e3c92fe19d386dcc6149dbf0b76f1c93c5491ae9d9ecf866f6769b45a4/psutil-5.6.0.tar.gz (426kB)
Collecting pyeupi==1.0 (from -r REQUIREMENTS (line 38))
Downloading https://files.pythonhosted.org/packages/e5/f7/f01e227eb0a72d505edd45d221ad3ebfccb0481c72d3c89b9e3a1b9dbfd3/pyeupi-1.0.tar.gz
Collecting pygeoip==0.3.2 (from -r REQUIREMENTS (line 39))
Downloading https://files.pythonhosted.org/packages/f2/48/a3ce59694fa05605fee44273fe2d8b7e9df0d808cdf3914de1771b8986c4/pygeoip-0.3.2-py2.py3-none-any.whl
Collecting pyparsing==2.3.1 (from -r REQUIREMENTS (line 40))
Downloading https://files.pythonhosted.org/packages/de/0a/001be530836743d8be6c2d85069f46fecf84ac6c18c7f5fb8125ee11d854/pyparsing-2.3.1-py2.py3-none-any.whl (61kB)
Collecting pypdns==1.3 (from -r REQUIREMENTS (line 41))
Downloading https://files.pythonhosted.org/packages/03/78/d080cdf1d99953b09af1c3bc4c622417a989a4e292f19ef22b8643ba6bf7/pypdns-1.3.tar.gz
Collecting pypssl==2.1 (from -r REQUIREMENTS (line 42))
Downloading https://files.pythonhosted.org/packages/1a/b7/ee586212f211e770d39fbee085ef97596a7da5f4c38f514f4bc98ecf634b/pypssl-2.1.tar.gz
Collecting pyrsistent==0.14.11 (from -r REQUIREMENTS (line 43))
Downloading https://files.pythonhosted.org/packages/8c/46/4e93ab8a379d7efe93f20a0fb8a27bdfe88942cc954ab0210c3164e783e0/pyrsistent-0.14.11.tar.gz (104kB)
Collecting pytesseract==0.2.6 (from -r REQUIREMENTS (line 44))
Downloading https://files.pythonhosted.org/packages/71/5a/d7600cad26276d991feecb27f3627ae2d0ee89aa1e3065fa4f9f1f2defbc/pytesseract-0.2.6.tar.gz (169kB)
Collecting python-dateutil==2.8.0 (from -r REQUIREMENTS (line 45))
Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
Collecting pyyaml==3.13 (from -r REQUIREMENTS (line 46))
Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB)
Collecting rdflib==4.2.2 (from -r REQUIREMENTS (line 47))
Downloading https://files.pythonhosted.org/packages/3c/fe/630bacb652680f6d481b9febbb3e2c3869194a1a5fc3401a4a41195a2f8f/rdflib-4.2.2-py3-none-any.whl (344kB)
Collecting redis==3.2.0 (from -r REQUIREMENTS (line 48))
Downloading https://files.pythonhosted.org/packages/d0/8b/c43ef27d02382853b22c49bc41a8389e47d60811dd1d72b9a45bc905a5f8/redis-3.2.0-py2.py3-none-any.whl (65kB)
Collecting reportlab==3.5.13 (from -r REQUIREMENTS (line 49))
Downloading https://files.pythonhosted.org/packages/c7/65/90146fb628c169bf8bb839cd51d29506a4835752f2e07dba5aa2546e091c/reportlab-3.5.13-cp35-cp35m-manylinux1_x86_64.whl (2.6MB)
Collecting requests-cache==0.4.13 (from -r REQUIREMENTS (line 50))
Downloading https://files.pythonhosted.org/packages/00/62/9e45a38988cb48c474805a1626439f4d9a486a042bd077af888fa8b17a64/requests_cache-0.4.13-py2.py3-none-any.whl
Collecting requests==2.21.0 (from -r REQUIREMENTS (line 51))
Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting shodan==1.11.1 (from -r REQUIREMENTS (line 52))
Downloading https://files.pythonhosted.org/packages/ff/61/3545b2d9476f4b83536506b6a4ac6ecde8fcb09481d7b23cb334298dc4b2/shodan-1.11.1.tar.gz (45kB)
Collecting sigmatools==0.9 (from -r REQUIREMENTS (line 53))
Downloading https://files.pythonhosted.org/packages/4c/82/663bfb2232826740d6c9f015cb5b3323279282d059b4a11c308e201ccd1a/sigmatools-0.9-py3-none-any.whl (80kB)
Collecting six==1.12.0 (from -r REQUIREMENTS (line 54))
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting soupsieve==1.8 (from -r REQUIREMENTS (line 55))
Downloading https://files.pythonhosted.org/packages/77/78/bca00cc9fa70bba1226ee70a42bf375c4e048fe69066a0d9b5e69bc2a79a/soupsieve-1.8-py2.py3-none-any.whl (88kB)
Collecting sparqlwrapper==1.8.2 (from -r REQUIREMENTS (line 56))
Downloading https://files.pythonhosted.org/packages/7f/c3/72d2d0a2ad86bd8d2bc762406c838f479c421678161cf78585d085436919/SPARQLWrapper-1.8.2-py3-none-any.whl
Collecting stix2-patterns==1.1.0 (from -r REQUIREMENTS (line 57))
Downloading https://files.pythonhosted.org/packages/c9/95/2ed814e9d93110b10b7afade3c53358618d3121f184f83b935e900b38f9e/stix2_patterns-1.1.0-py2.py3-none-any.whl
Collecting tabulate==0.8.3 (from -r REQUIREMENTS (line 58))
Downloading https://files.pythonhosted.org/packages/c2/fd/202954b3f0eb896c53b7b6f07390851b1fd2ca84aa95880d7ae4f434c4ac/tabulate-0.8.3.tar.gz (46kB)
Collecting tornado==6.0.1 (from -r REQUIREMENTS (line 59))
Downloading https://files.pythonhosted.org/packages/b1/7f/8109821ff9df1bf3519169e34646705c32ac13be6a4d51a79ed57f47686e/tornado-6.0.1.tar.gz (481kB)
Collecting url-normalize==1.4.1 (from -r REQUIREMENTS (line 60))
Downloading https://files.pythonhosted.org/packages/e2/12/47dc7437c13ddc648b796deec34cca14841dc193131f7be215baea3e9b2f/url_normalize-1.4.1-py2.py3-none-any.whl
Collecting urlarchiver==0.2 (from -r REQUIREMENTS (line 61))
Downloading https://files.pythonhosted.org/packages/12/ff/6447c2ef4b489d151c5aa2f4f15731a8cec7ed9c17f47072017c24f4e226/urlarchiver-0.2.tar.gz
Collecting urllib3==1.24.1 (from -r REQUIREMENTS (line 62))
Using cached https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl
Collecting vulners==1.4.5 (from -r REQUIREMENTS (line 63))
Downloading https://files.pythonhosted.org/packages/8f/76/b405a35dd2d3899414af306b27f340ba6723dbba68394845fb05172fc4c9/vulners-1.4.5-py3-none-any.whl
Collecting wand==0.5.1 (from -r REQUIREMENTS (line 64))
Downloading https://files.pythonhosted.org/packages/28/ee/20191108007120408dcb88458830480f125d84ca0bf53b2db71942a620a2/Wand-0.5.1-py3-none-any.whl (99kB)
Collecting xlsxwriter==1.1.5 (from -r REQUIREMENTS (line 65))
Downloading https://files.pythonhosted.org/packages/6e/57/8c0fe0f6d8a4c57c32528c8b1b31c0daba53af33cd3afedf3fcb0971c75a/XlsxWriter-1.1.5-py2.py3-none-any.whl (139kB)
Collecting yara-python==3.8.1 (from -r REQUIREMENTS (line 66))
Downloading https://files.pythonhosted.org/packages/a6/30/ab9cf60194ad9fdc0d134f4621de4cad0d8b3e6fdfa990c8b06676d901ff/yara-python-3.8.1.tar.gz (355kB)
Collecting yarl==1.3.0 (from -r REQUIREMENTS (line 67))
Downloading https://files.pythonhosted.org/packages/f4/56/c6dc878f561034862c1c97c052ed7d5363bed12ce95a9390ea85163ba3a0/yarl-1.3.0-cp35-cp35m-manylinux1_x86_64.whl (247kB)
Collecting enum34; python_version < "3.4" (from pymisp->-r REQUIREMENTS (line 6))
Downloading https://files.pythonhosted.org/packages/af/42/cb9355df32c69b553e72a2e28daee25d1611d2c0d9c272aa1d34204205b2/enum34-1.1.6-py3-none-any.whl
Collecting functools32; python_version < "3.0" (from pymisp->-r REQUIREMENTS (line 6))
Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
Complete output from command python setup.py egg_info:
This backport is for Python 2.7 only.

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rb6t6cd_/functools32/
You are using pip version 8.1.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ERROR: Service 'web' failed to build: The command '/bin/sh -c pip3 install -I -r REQUIREMENTS' returned a non-zero code: 1

PEAR Server has been down.

Hi,
Error message exists in line 98, 99 because pear.php.net has been down; therefore, packages can't be downloaded.

User who want to try to use misp-docker are suggest to

  1. Download source code of "Crypt_GPG" and "Net_GeoIP" from GitHub
  2. Modify the Dockerfile in ./web to build those packages using $ pear package.

Initial Build

I am having problems with getting the containers to build.
Loading composer repositories with package information

[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Failed to enable crypto
failed to open stream: operation failed

Any help on this would be great.

Working MISP image with less layers, ubuntu:bionic, external redis, docker-compose, etc

Can be found here (WIP):

https://github.com/Podictive/MISP-docker

If people are interested, I can submit this as a pull request here. 90% of the image is still based on the install instructions here, but for me it wasn't working. So I spend more than a few hours to get it working again, and then decided to update it a bit and remove some dependencies.

Unfortunately due to github -> gitlab -> github moving around some of the git-history got mangled :(

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.