Giter VIP home page Giter VIP logo

Comments (5)

gdamdam avatar gdamdam commented on May 22, 2024

I tried it on Ubuntu and Debian:
Ubuntu: Linux computer 4.15.0-24-generic #26~16.04.1-Ubuntu SMP Fri Jun 15 14:35:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Debian: Linux computer 4.17.0-1-amd64 #1 SMP Debian 4.17.8-1 (2018-07-20) x86_64 GNU/Linux

from orjail.

lesion avatar lesion commented on May 22, 2024

Yep, we desperately need a README.md revision (there's an open issue already: #42) and a cleaner feedback to users.

About your issues:

  • a program is missing from your command line !
  • sudo ./orjail -h print the help
  • to try without install, you can try for example sudo ./orjail -f -v -s to spawn a new "anon" shell or something like sudo ./orjail -v -f <yourprogram> (or without -f if you don't have firejail installed)
  • currently make/build/install process is done via https://github.com/Whonix/genmkfile and yes, this is a dependency we are currently specifying nowhere 😞 (see #27 )

ps. please consider this as a work in progress and do not use for serious stuff, we are currently working on it, prepare for lot of changes.

ciaoo

from orjail.

gdamdam avatar gdamdam commented on May 22, 2024

I can't figure out what is the missing program....

so... running sudo ./orjail -v -s I have the following error:

  • Executing Tor...
    Sep 18 13:01:25.800 [notice] Tor 0.3.4.8 (git-5da0e95e4871a0a1) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.0h, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.5.
    Sep 18 13:01:25.800 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
    Sep 18 13:01:25.800 [notice] Read configuration file "/tmp/torf6Wusf".
    Sep 18 13:01:25.804 [notice] You configured a non-loopback address '10.200.1.1:5354' for DNSPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
    Sep 18 13:01:25.804 [notice] You configured a non-loopback address '10.200.1.1:9040' for TransPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
    Sep 18 13:01:25.804 [warn] /var/lib/tor/other_hidden_service/ is not owned by this user (root, 0) but by debian-tor (108). Perhaps you are running Tor as the wrong user?
    Sep 18 13:01:25.804 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
    Sep 18 13:01:25.804 [err] Reading config failed--see warnings above.
    [Error] ""

I have TOR installed: Tor version 0.3.4.8 (git-5da0e95e4871a0a1)

trying to use the -f for firejail I have another error:
orjail requires at least firejail 0.99.44.10 to run. [Error] exit 1

but I have installed the last stable version from sources

$ firejail --version
firejail version 0.9.56

from orjail.

lesion avatar lesion commented on May 22, 2024

first of all, thanks for reporting 😄
I thing I've fixed all the issue with the last commits:

  • first issue was due to your own /etc/tor/torrc (orjail included your host /etc/tor/torrc by default, now is included with --host-torrc flag) -> 044cd9e (in particular you had an hidden service enabled, incompatible with orjail that has a specific flag for it -H)
  • another issue was the error not printed -> 00961d5
  • the last error is really strange, the only thing I can think about, is that you don't have bc, I'm now checking it -> efea5a0

from orjail.

gdamdam avatar gdamdam commented on May 22, 2024

hei hei hei! Last commit fixed the problem!! orjail looks promising! I like it.
(just for the record bc was installed)
f i g a t a
grazie lesion

from orjail.

Related Issues (20)

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.