jail

  1. rafael_grether

    Solved TOP Command & Jail

    Hi guys, Is there a way to TOP command shows username inside jail? USER_A in my host has UID 2001. USER_B in my Jail also has UID 2001. A process executed by USER_B shows to me that is executed by USER_A, when top is executed on my host. Since "top -j" brings up the JID, I think it should also...
  2. D

    Solved Jailed ping(8) can not resolve names using hosts unbound(8), but host(1) and drill(1) can

    EFFECT drill resolves r0.z201 correctly to 192.168.201.1. host resolves r0.z201 correctly to 192.168.201.1. ping works when given argument 192.168.201.1. ping doesn't work when given argument r0.z201. (fails to resolve) OBSERVATIONS When using truss I can see that ping does...
  3. K

    Single sqlserver jail+ZFS for other jails, but how?

    Greetings. I have few jails running nginx on my FreeBSD 13.1 host. I'd like to create another jail for their SQL database needs. I'd like to create ZFS dataset for this purpose (for MySQL jail) but should I create it on host? If the dataset is created within the host, could the Jail access it...
  4. L

    Migrated JAILs from TrueNAS 11.3 to JAILS over FreeBSD 13 with VNET and now IPFW inside JAIL not work: kldload ipfw - not permitted

    In jail under TrueNAS 11, was mail server that can block IPs by IPFW rules. Now I move JAIL to FreeBSD 13.1, and detect that same JAIL with same settings, not allow to load IPFW inside jail. kldload ipfw kldload: can't load ipfw: Operation not permitted For JAILs managemnt use iocage...
  5. I

    jails Mounting an image file inside a jail

    I am trying to mount a Raspberry Pi FreeBSD image file in my "dev" jail for I can modify it. I had to make a few tweaks to my jail configuration to allow access to /dev/md* devices. I am able to intialize the image with mdconfig. The image gets assigned to /dev/md0, but when I try to run mount...
  6. A

    devfs_ruleset is broken

    Setting it to anything other than the default value disables all restrictions. Any idea why? Am I doing it wrong perhaps? { // devfs_ruleset=(rule number); mount.devfs; // }
  7. A

    jails can't access internet from within jails

    /etc/jails.conf: firefox { path = "/root/jails/firefox"; ip4.addr = "10.0.0.201"; host.hostname = "firefox"; interface = "wlan0"; mount.devfs; allow.raw_sockets; exec.clean; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; } /root/jails/firefox/etc/resolv.conf...
  8. HL1234

    IPFW jail with IPFW connection on private IP not working with /etc/rc.firewall workstation

    Because in between things have changed and I got no answer from the Forum, I like to try a new post. What do I have? -FreeBSD 13.0 -A jail with a running webserver -I'm using the firewall IPFW with NAT settings to connect to the jail from outside the host and from inside to outside. Now this...
  9. D

    VLAN bridge networking issue

    Hi there ! I am new to this board and relatively new to freebsd, so please be kind if i have done something wrong. I am learning :) I have 2 physical FreeBSD Hosts in my Network. Both of them are running several jails. Also i have multiple VLANs in my Network. The Jails are connected to...
  10. Holger

    Allowing non-root execution of a jailed application

    Allowing non-root execution of a jailed application Jailed programs can generally be executed by using jexec(8). However, you have to be root in order to do that. In this short article I present an approach on how you can allow a specific set of non-privileged users to execute a particular...
  11. Holger

    Running Google Chrome in a dedicated Linux-Jail

    Introduction and motivation There are great articles ([1] and [2]) by patovm04 here on the forum explaining how to run Chrome and Brave in a Linux chroot environment (usually /compat/linux or /compat/ubuntu). These approaches work great. However, I am a big fan of FreeBSD's jails and it has...
  12. HL1234

    jails What is the recommended way to connect to a running jail?

    Hello, I'm not a FreeBSD newb, but I'm new to jails, and read different solutions. I tried to build a jail with a webserver. Now I could start it. Then I wonder that are different outputs with these commands after I had start it: jexec 57 ps -ax gives me something like this PID TT STAT...
  13. sixpiece

    jails no internet from inside jail

    no internet from inside my jail... would like to assign jail an ipv6 address I added this line to sysctl.conf security.jail.allow_raw_sockets=1 I have some sysctl forwarding IPv6 jail.conf is as follows: hydroshop { host.hostname = "hydroponique.shop"; # Hostname...
  14. StreetDancer

    Solved FreeBSD 13.0-RELEASE (MariaDB Jail) - Broke it by accident setting "max_packet_size" Variable... Help!

    Hey everyone! I'm in a pickle this evening after getting my mail server setup nicely. I was trying to increase "max_packet_size" from default: 16777216 to 26214400 This is how I accidently broke my Maria DB 10.5.x (Inside a Jail): root@jail:~ # mysql -h mariadbserver_ip -u root -p Enter...
  15. quamenzullo

    Solved Package found vulnerable in a jail, but not on the host

    Hi! How is it possible to have the same package, same version, same OS to be found vulnerable in a jail but not on the host? Inside a fresh pkg upgraded jail: root@web1:~ # pkg audit curl-7.82.0_1 is vulnerable: cURL -- Multiple vulnerabilities ... 1 problem(s) in 1 installed package(s)...
  16. thecodechemist

    Issues assigning epair interface to vnet jail

    Hi, I'm having issues with VNET on my FreeBSD 13.0-RELEASE-p11 host running on a cloud VPS. After some other problems previously discussed in this thread, I'm now stuck with the following issue: I have a very simple VNET jail setup (config see below) and tried to manually assign it an epair...
  17. StreetDancer

    Solved FreeBSD 13.0-RELEASE-p11 & Ezjail Kernel Mismatch (Same p11 now)

    Hey everyone! Not trying to clutter the forum up or making duplicates. https://forums.freebsd.org/threads/freebsd-13-0-release-ezjail-admin-jails-not-reflecting-updates-p11-p4-only.84743/ I since have rebooted my host server and when I read this thread...
  18. A

    jails VNET Jail with ZFS howto

    Hello folks, yesterday I wrote a Twitter thread to give an example how to deploy VNET jails in a ZFS environment. Here is it again in this forum. A guide to deploy a VNET jail using a FreeBSD 13.0 server with ZFS and populated /usr/src. We start with preparing the file tree. I use /l/prison...
  19. B

    jail getaddrinfo recvfrom hangs 5 seconds and returns "Name does not resolve"

    Please help! What is wrong in my configuration? Where to look for an error? I had upgraded system to releng/12.3 but I got the same behaviour. [root:~]# uname -a FreeBSD hostname 12.2-RELEASE-p10 FreeBSD 12.2-RELEASE-p10 12803d8a99c(releng/12.2) CUSTOM amd64 on host machine: # ifconfig...
  20. T

    Solved getting started with jails

    I am interested in consolidating my router and workstation into a single physical box for ease of maintenance. I am thinking that I would have my workstation run the router inside a jail in which the router is assigned the physical network interfaces and it'd perform DNS, DHCP, and firewall...
Back
Top