but actually installation worked, but maltrail did not start.
Am I missing something important?
Enabled General
Enabled Server
Enabled Sensor
It takes around 20-30 minutes after first start.
I tried install it too, but it seems it does not start, even after 30 min or 1 hour :)
python2.7 /usr/local/share/maltrail/server.py
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
Looks like the maltrail port is missing python dependencies.
# pkg install py27-sqlite3
There may be more.
Cheers,
Franco
that did it - btw if anyone searches the default:
admin / changeme!
Yep, that's enough, I'll push an update
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:
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.
Can you try to restart the server? I can't reproduce here, works fine.
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.
:o
Glad it's working in the end :)
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.
Have to recheck, maybe it's enough to leave IP blank
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
Can you post maltrail.conf?