-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHEL7 document git and proxy to make update via web interface work #146
Comments
Ok, follow-up: it seems the popup is not working in google chrome, but it is working in internet explorer.
Edit: when disabling SELinux (just to try), I get this in the logs: 2019-02-12 14:41:40 Error: [BadRequestException] The request has been black-holed |
Hmm, try to reset the permissions as per the Centos guide, it might be more up to date: https://misp.github.io/MISP/xINSTALL.centos7/#5-set-the-permissions |
Besides the black-holed issue (help on that please), the documentation for both redhat and centos is missing some stuff: one should not use chcon (unless for quick testing), but semanage+restorecon. Reason: when the next selinux relabel happens, all those selinux contexts would be reset otherwise. |
I see, I would need to dig much deeper into CentOS/RHEL to make it cleaner. |
Are you using a web proxy ? The function that updates MISP doesn't take the web proxy parameter into account when updating which can cause the update through the web interface to "hang" ( because git is waiting for an HTTP response that it is not getting ). If you run |
While I am using a proxy, I configured git to also use the proxy (using "git config http.proxy" and "git config https.proxy"), I don't see a need for a PR-request for this.
So any help on the black-holed issue is currently appreciated (and the popup should work in chrome too), otherwise I can't update at all (since it is recommended to use the webinterface for updates ...). |
@iwitz Thanks for that, yes this typically wants to be in misp-book. I will bag and tag this one ;) |
I finished my setup in RHEL7, and I'm willing to just take the current doc (the doc for redhat/centos seems to be gone now) and change it so it works :-) Some things:
|
I thought the direction from CIRCL is to avoid SE Linux entirely (which is what we do), did I misunderstand? |
Work environment
Expected behavior
Update starts
Actual behavior
After fixing the git tag to point to 2.4, update from the web interface should work. However, clicking on the button gives me a grayed out screen (like an overlay popup not being shown), but nothing else happens. There's nothing in /var/log/audit/ pointing to selinux issues, and the logs in app/tmp/logs are not showing anything too. It seems something is being blocked, but I can't pinpoint it.
The text was updated successfully, but these errors were encountered: