GithubHelp home page GithubHelp logo

docker-nxfilter's People

Contributors

breakall avatar turboaaa avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

breakall

docker-nxfilter's Issues

setcap on java failure - file not found

Need to modify the run command to check for the file instead of assuming it exists.

Step 7/9 : RUN setcap CAP_NET_BIND_SERVICE=+eip /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java
 ---> Running in 71dc3a973dab

Failed to set capabilities on file `/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java' (No such file or directory)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]

 Note <filename> must be a regular (non-symlink) file.
The command '/bin/sh -c setcap CAP_NET_BIND_SERVICE=+eip /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java' returned a non-zero code: 1

sslsplit dependency issues

Need to either resolve the dependency or convert to an optional setting.

--> Finished Dependency Resolution
Error: Package: nxfilter-sslsplit-0.0.4-1.el7.x86_64 (deepwoods)
           Requires: sslsplit
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
The command '/bin/sh -c yum -y install nxfilter*' returned a non-zero code: 1

DNS not responding / setup not complete?

I have another DNS server listening on port 53 on my docker test box, so when I executed the docker run command, I changed the listening port:

docker run -dit --name nxfilter -p 9053:53 -p 9080:80 -p 9443:443 nxfilter

After the container started, I ran the following command to test:

nslookup -port=9053 bing.com localhost

This timed out.

I jumped into the console on the container, and ran the following test:

nslookup -port=53 bing.com localhost

This returned successfully:

Server: localhost
Address: 127.0.0.1#53

Non-authoritative answer:
Name: bing.com
Address: 13.107.21.200
Name: bing.com
Address: 204.79.197.200

I tried to access the admin page on port 9080, but got the following:

has been blocked!
If it's blocked without a reason it might be from your browser cache.
To clear out the cache restart your browser.

What do I need to do to get this fully set up?

"has been blocked" message on port 80

After the container is up and running, I tried to load up the admin page on port 80. I get the following message:

has been blocked!
If it's blocked without a reason it might be from your browser cache.
To clear out the cache restart your browser.

Restarting the browser makes no difference. I get the same result when trying to open it up from inside the container.

nxfilter does not run

nxfilter does not run - it fails with

docker logs -f nxfilter
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)
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)
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)
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)

i ran it like so docker run -dit --name nxfilter -v /opt/nxfilter/conf:/nxfilter/conf -v /opt/nxfilter/log:/nxfilter/log -v /opt/nxfilter/db:/nxfilter/db -p 7180:80 -p 7443:443 -p 53:53/udp -p 19002-19004:19002-19004 --restart always nxfilter:latest

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.