packetworks / docker-nxfilter Goto Github PK
View Code? Open in Web Editor NEW:whale: Run NxFilter in Docker!
License: GNU Affero General Public License v3.0
:whale: Run NxFilter in Docker!
License: GNU Affero General Public License v3.0
I'm trying to figure out how to make the Dockerfile wget or curl the latest .zip from the nxfilter website. https://github.com/packetworks/docker-nxfilter/blob/nxfilter-experimental/Dockerfile
The idea is use IFTTT to trigger a build on Docker Hub whenever the Downloads page changes. It can be monitored by page2rss on IFTTT which can then make a web hook to Docker Hub to trigger the build.
When running the container either detached or interactive, I get a java exception.
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.o.run(Unknown Source)
Due to the way Unraid mounts the the persistent data the curl script is failing to download latest version. If we add "-p" to mkdir and "-o" to unzip this appears to solve this problem. Can we incorporate that into the docker-file?
curl -s -L http://www.nxfilter.org/|grep Download
|grep -Eo "(http|https)://[a-zA-Z0-9./?=-]*"
|grep download|uniq
|xargs -n1 curl -s -L
|grep -Eo "(http|https)://[a-zA-Z0-9./?=-]*"
|grep filter-.zip|grep -v mediafire
|xargs -n1 wget -q && mkdir -p /nxfilter
&& unzip -o nxfil -d /nxfilter
&& chmod +x /nxfilter/bin/startup.sh
&& rm -f *.zip
whenever i run the image i get this error now Error: executable file
/entrypoint.sh not found in $PATH: No such file or directory: OCI not found
is it related to yesterdays change to github actions?
the latest image will not start. i run it like so (unusual ports as i have other things running on the standard ports)
docker run -dt --name nxfilter -v /opt/nxfilter-base/nxfilter-conf:/nxfilter/conf -v /opt/nxfilter-base/nxfilter-log:/nxfilter/log -v /opt/nxfilter-base/nxfilter-db:/nxfilter/db -p 7180:80 -p 7443:443 -p 53:53/udp -p 19002-19004:19002-19004 --restart always packetworks/nxfilter-base:latest
broke with
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.p.run(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.p.run(Unknown Source)
Hello,
I would like to know why line 21 exists in the Dockerfile.
Line 21:
COPY --from = vimagick / sslsplit / /
As described on the docker hub page, "SSLsplit is a tool for intermediate attacks against SSL / TLS encrypted network connections."
This may be legitimate and I am not accusing anyone, but I would like to understand it better.
Thank you for your attention
My Raspberry Pi 4 Model B of 2GB of RAM runs Docker, however, when trying to run NxFilter, I have the following error:
standard_init_linux.go:219: exec user process caused: exec format error
New user.
docker on debian, using DockStarter (beginners easy way into docker) and added following into the docker-compose. override.yml file to run nxfilter container,
nxfilter:
container_name: nxfilter
image: packetworks/nxfilter-base:latest
tty: true
volumes:
- ${DOCKERCONFDIR}/nxfilter/nxfilter-conf:/nxfilter/conf
- ${DOCKERCONFDIR}/nxfilter/nxfilter-log:/nxfilter/log
- ${DOCKERCONFDIR}/nxfilter/nxfilter-db:/nxfilter/db
restart: unless-stopped
ports:
- 80:80
- 443:443
- 53:53/udp
- 19002-19004:19002-19004
networks:
composemacvlan:
ipv4_address: 192.168.2.242
and get following errors in logs:
Exception in thread "main" java.lang.NullPointerException
at nxd.Main.<init>(Unknown Source)
at nxd.Main.main(Unknown Source)
Exception in thread "Thread-0" java.lang.NullPointerException
at nxd.o.run(Unknown Source)
A previous issue suggest 'prepopulating' or copying db files. As a new nxfilter user, I'm not sure what this means, so any pointers gratefully received.
Thanks
Hello, i got this error when i try run.
Maybe I'm missing something but I'm running a Docker with the instructions:
docker run -dt \
--name nxfilter \
-v nxfilter-conf:/nxfilter/conf \
-v nxfilter-log:/nxfilter/log \
-v nxfilter-db:/nxfilter/db \
-p 80:80 -p 443:443 -p 53:53/udp \
-p 19002-19004:19002-19004 \
packetworks/nxfilter-base:latest
The docker crashes when it tries to "cp -a /nxfilter/conf-default/. /nxfilter/conf/". My work around is to mount it with a modified "conf" folder - copy the files and change the volume. If I run the docker and get a bash prompt, there's no /nxfilter/conf-default loaded. Am I missing something?
Thanks.
p.s. for full clarity I'm running the docker on Synology through the web-gui - I have not tried to compose using an SSH as I am able to launch it successfully with my work around.
Hi,
I installed the docker image yesterday and everything went fine.
Today I saw a bunch of blocked items with a "License issue" or something in red.
In the log I found this line repeated:
"nxfilter RHiAD, License blocked by endDate".
I assume it has to do with the Jahaslist licence, but I don't know how to solve it.
On the site I read that there's a free license for 25 users.
Now I'm on Globlist but Jahaslist was more complete.
Thanks,
Gianpaolo
I keep getting this error no matter how many times I recreate the container.
org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
What's the easiest way to change the timezone when creating the container?
Since there is no automation currently setup a new build is not yet being automatically triggered.
My suggestion is using travis-ci to check the nxfilter changelog http://www.nxfilter.org/changelog/nxfilter.txt if is has changed push the file to this repo and that will trigger a new build.
This repo does a similar thing and may help
https://github.com/dgibbs64/SteamCMD-AppID-List
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.