OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • tried to install & run maltrail
« previous next »
  • Print
Pages: [1]

Author Topic: tried to install & run maltrail  (Read 10168 times)

katamadone [CH]

  • Jr. Member
  • **
  • Posts: 95
  • Karma: 11
    • View Profile
tried to install & run maltrail
« on: July 17, 2019, 03:37:23 pm »
but actually installation worked, but maltrail did not start.
Am I missing something important?

Enabled General
Enabled Server
Enabled Sensor
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: tried to install & run maltrail
« Reply #1 on: July 17, 2019, 05:27:06 pm »
It takes around 20-30 minutes after first start.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

ccesario

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 1
    • View Profile
Re: tried to install & run maltrail
« Reply #2 on: July 17, 2019, 06:07:35 pm »
I tried install it too, but it seems it does not start, even after 30 min or 1 hour :)
Logged

katamadone [CH]

  • Jr. Member
  • **
  • Posts: 95
  • Karma: 11
    • View Profile
Re: tried to install & run maltrail
« Reply #3 on: July 18, 2019, 07:35:03 am »

python2.7 /usr/local/share/maltrail/server.py

Code: [Select]
root@OPNsense:/usr/local/etc/rc.d # python2.7 /usr/local/share/maltrail/server.py
Traceback (most recent call last):
  File "/usr/local/share/maltrail/server.py", line 24, in <module>
    from core.common import check_connection
  File "/usr/local/share/maltrail/core/common.py", line 12, in <module>
    import sqlite3
  File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28, in <module>
    from _sqlite3 import *
ImportError: No module named _sqlite3
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1615
    • View Profile
Re: tried to install & run maltrail
« Reply #4 on: July 18, 2019, 07:47:59 am »
Looks like the maltrail port is missing python dependencies.

# pkg install py27-sqlite3

There may be more.


Cheers,
Franco
Logged

katamadone [CH]

  • Jr. Member
  • **
  • Posts: 95
  • Karma: 11
    • View Profile
Re: tried to install & run maltrail
« Reply #5 on: July 18, 2019, 08:10:02 am »
that did it - btw if anyone searches the default:
admin / changeme!
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: tried to install & run maltrail
« Reply #6 on: July 18, 2019, 10:08:21 am »
Yep, that's enough, I'll push an update
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

rackenthogg

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • View Profile
Re: tried to install & run maltrail
« Reply #7 on: July 18, 2019, 01:34:29 pm »
Hi,

I installed required missing package and maltrail started OK.
But I can't access UI.
Only part of UI appears (upper bar and top-left logo), but then browser throws the following error pop-up:

Code: [Select]
NetworkError: Failed to load worker script at http://10.0.0.1:8338/js/papaparse.min.js?papaworker (nsresult = 0x805e0006) Script:  Line: 0
10.0.0.1 is my OPNSense router IP.

« Last Edit: July 18, 2019, 01:42:13 pm by rackenthogg »
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: tried to install & run maltrail
« Reply #8 on: July 18, 2019, 01:58:50 pm »
Can you try to restart the server? I can't reproduce here, works fine.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

rackenthogg

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • View Profile
Re: tried to install & run maltrail
« Reply #9 on: July 18, 2019, 04:45:10 pm »
Quote from: mimugmail on July 18, 2019, 01:58:50 pm
Can you try to restart the server? I can't reproduce here, works fine.

Restart didn't help, but reinstallation of plugin did. When installation is performed after adding missing dependency, all works OK from the beginning.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: tried to install & run maltrail
« Reply #10 on: July 18, 2019, 05:09:55 pm »
 :o

Glad it's working in the end :)
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

pilotboy72

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
    • View Profile
Re: tried to install & run maltrail
« Reply #11 on: July 23, 2019, 08:07:50 pm »
I'm getting an error on the Sensor configuration page.  The help text for the "Remote Port" value says to leave it blank when the sensor and server are on the same machine, but the UI is insisting on a value for it.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: tried to install & run maltrail
« Reply #12 on: July 23, 2019, 10:37:34 pm »
Have to recheck, maybe it's enough to leave IP blank
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

mgear

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
    • View Profile
Re: tried to install & run maltrail
« Reply #13 on: September 08, 2019, 06:54:07 pm »
Hello all, if I should create a new thread I will, but this seemed relevant to some challenges I had with maltrail. Reading this string, I was able to get the process up and running. However, I cannot seem to login. I understand the default user/pass is admin/changeme!. However, it will not let me login. Any pointer/suggestions on how to login? Thank you
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: tried to install & run maltrail
« Reply #14 on: September 08, 2019, 08:17:34 pm »
Can you post maltrail.conf?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • tried to install & run maltrail
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2