-
kevans
karolyi: hi, what did I break? :-) /me scrolls back
-
kevans
oh, this github issue is tickling something, hold on
-
karolyi
right on
-
kevans
karolyi: can you tell me a little bit more about how DNS is configured on this system?
-
karolyi
kevans: what details are you curious of? I'm open like a book :)
-
kevans
mostly: is it running a local resolver, or is the resolver external to the system?
-
karolyi
a resolver external to the jail
-
kevans
external to the jail, but is it on the same system?
-
karolyi
right now it's 'nameserver 127.0.0.74\noptions edns0 trust-ad'
-
karolyi
yes it is
-
kevans
a-ha
-
kevans
-
kevans
there's a longer story behind things being forbidden from connecting to 0.0.0.0
-
Xinayder
how often are failing pkgs (fallout) rebuilt?
-
kevans
the cluster does a `poudriere bulk -a` in an infinite loop, more or less, so the answer depends on how long the rest of the run takes to get through
-
karolyi
kevans: um, the jail has 127.0.0.74 on lo0 so that's its loopback address
-
Xinayder
and is there a way to know which pkgs are provided as binaries?
-
Xinayder
instead of just the port
-
kevans
karolyi: yes, but libc/resolv is specifically using INADDR_LOOPBACK (127.0.0.1) to connect
-
kevans
Xinayder: generally the answer comes from its license terms; the cluster doesn't make any special determination here, beyond whether the license terms allow packaging or not
-
kevans
(freshports can tell you if there are any packages for a given port anywhere, though)
-
kevans
freshports++
-
karolyi
kevans: so unless I explicitly specify that in a chroot-relative etc/resolv.conf, it won't talk to 127.0.0.74... makes a bit more sense, but I would never had guessed that INADDR_ANY can be 127.0.0.74
-
Xinayder
kevans, there's a table on the freshports page for a port, I didn't notice it before. I see now
-
kevans
karolyi: that's the problem with the previous state, INADDR_ANY was something like 'the first address configured' by some metric
-
kevans
it's a crap-shoot
-
karolyi
well that crapshoot worked for my case :)
-
karolyi
the jail starts up with that IP, it's is changing on redeployment (by an ansible script), but since INADDR_ANY found it, it was not an issue
-
kevans
some additional context for the overall problem with it:
bugs.freebsd.org/bugzilla/show_bug.cgi?id=280705
-
karolyi
I'll just reconfigure php to not be in chrooted mode then
-
karolyi
ah yeah I've heard about that bug, it's how meta also evaded android sandboxing
-
karolyi
and managed to track users across applications
-
kevans
i take the fact that paul vixie advocated for breaking connections to it after probably taking advantage of it in earlier days as probably a sign of some sort
-
karolyi
welp
-
karolyi
just read through the bug page, if it's better off this way, I can make my changes. just wanted to get to the bottom of it
-
kevans
yeah, sorry to be the bearer of bad news
-
karolyi
at least we found out :) thanks no matter what
-
Ozymandias42
good morning. I have a technical question that I think might be faster and more comprehensively answered here than via searching the web or reading the handbook.
-
Ozymandias42
The question is this: What is the _technical_ difference between the Linux Container technology stack (namespaces, chroot, syscall filter, capabilities, bpf, etc.) and FreeBSD jails ?
-
Ozymandias42
because at a glance from reading over the handbook it seems like Jails are basically equivalent to linux namespaces
-
Ozymandias42
that is unless I missed that not just the userland is replicated into it's own namespace but memory management via kernel-space replication is included as well
-
bdrewery
Ozymandias42: it's namespacing of filesystems, network (with vnet), processes. I don't know the specifics of Linux but in the general sense of "namespace" it applies to jails and those sets
-
Ozymandias42
so I guess it _is_ equivalent then. Namespacing of Filesystems is basically chroot, of network is included in linux namespaces, as is processes
-
Ozymandias42
so a FreeBSD Jail, at least non-service ones can probably be said to be equivalent to LXC containers as they include a full userspace and not just what is necessary to execude the application intended to be run in it like OCI (docker) containers often do. Though I guess this would be possible too for lighter jails
-
bdrewery
yes I think lxc and jails are similar enough
-
Ozymandias42
interesting..thx
-
bdrewery
there are even oci runners for using jails
-
tsoome
Ozymandias42 as always, devil is in details. Isolation features are surface, the actual question about isolation is not that much about features but about if you can break out of isolation or not.
-
bdrewery
they both use the same kernel
-
Ozymandias42
yeah with the linux compat layer OCI runners make sense to be available.
-
bdrewery
if only Linux had ctrl+T/SIGINFO support too
-
Ozymandias42
tsoome I don't think the features are surface only. and you can break out of anything with enough effort. heck, you can break out of VMs to the hypervisor with side-channel attacks. so knowing the features is relevant to be able to judge how difficult a breakout might be.
-
Ozymandias42
ofc implementation of those features plays a large role and the freebsd ones are famously airtight here
-
tsoome
well, you have to distinguish accidents and design flaws.
-
Ozymandias42
I guess. from how you're talking you're probably deeper into it than I so I take your words for it. My level of knowledge here is only functional not implementation level.
-
lessless
Is ASLR only concerned with the user space? The recent exploit made with Claude Code
github.com/califio/publications/blo…n/MADBugs/CVE-2026-4747/write-up.md suggests it's not
-
dvl
rtprio: First guess re Dell: different iDRAC versions? Different BIOS versions?
-
dvl
rtprio: re power consumption
-
rtprio
dvl: the non-working one is a drac express, the working one is enterprise
-
rtprio
i don't have an exact memory but it used to work
-
dvl
rtprio: So, difficult to compare.
-
rtprio
yeah. the other power commands seem to work, but on my systems `ipmitool delloem powermonitor` formatting always looks weird
-
Tingo
Hi.. Strange we can not setup kubernetes on FreeBSD .. ?
-
Tingo
or kubernetes cluster
-
ivy
i don't think kubernetes supports freebsd, no
-
rtprio
i'm not sure you can yolo kubernetes with podman
-
Ozymandias42
it might be doable. there are OCI runtimes for freebsd. if you could use them with k3s or k3d you might get kubernetes to run on freebsd
-
ivy
it's perfectly doable, just no one has done it
-
Ozymandias42
feels like tech demo stuff to me. doable in theory but in practice it would just ask to run into edge cases when trying to use it productively. probably easier to just run k3s nodes as VMs in bhyve
-
ivy
i mean, kuberneteres does a bunch of system monitoring stuff (like free memory), i doubt it would just work right now. although i suppose you could try it
-
Ozymandias42
...though if jails can run linux userlands too via the compat-layer that could also work...
-
dvl
What FreeBSD filesystems are cleared on reboot? I know there's an option to clear /tmp but I'm thinking : is /var/run always empted?
-
Tingo
ivy: thanks..
-
voy4g3r2
Tingo: there is
podman.io
-
Tingo
btw.. i like freebsd, it looks more secure then Linux..
-
voy4g3r2
this does support kubernates stuff and the freebsd foundation has been promoting its use
-
dvl
Yes, I think /var/run is emptied on boot, based on /etc/rc.d/cleanvar
-
Tingo
yes, i know it support podman.. but i am thinking about orchestration level
-
dvl
-
o0x1eef
Donno I'd call Linux less secure than FreeBSD, varies by distro but it is more popular and that's not always good.