-
crest
is it possible to allow non-root users limited access to dtrace?
-
crest
i only want the userspace static trace points of the traced process
-
crest
but dtrace -s test.d -c "/path/to/my/tool" doesn't work without root
-
crest
and i can't even drop privs with sudo because in that case dtrace doesn't know about the static trace points in the executable and instead tries to look for probes in sudo
-
crest
is there a workaround short of adding proper privilege dropping code to a tool that shouldn't have to deal with that?
-
crest
btw i do know that dtrace's main purpose is to leak kernel state in a structured easy to consume way and as such can't be trusted to unpriviledged users
-
nimaje
hm, the only idea I have is doing cmd & dtrace -p $! … which has the problem that cmd already runs before dtrace starts, crest
-
» auwooo hi all
-
eoli3n
Hi
-
eoli3n
I struggle on something really strange
-
eoli3n
i'm moving my homeserver config to a vps
-
eoli3n
i use bastille to generate my thin jails
-
eoli3n
nsd, and nginx
-
eoli3n
i use acme-tiny to validate my ssl cert
-
eoli3n
this is not workng
-
eoli3n
because from the nginx jails, i can't reach my nginx thourgh the outside
-
eoli3n
nc -vz 194.163.181.239 80
-
eoli3n
from the outside, it works, you can run it at home
-
eoli3n
if i open a console with bastille in the nginx jails
-
eoli3n
i get connexion refused
-
eoli3n
i was firstly thinking about a routing problem
-
eoli3n
but
-
eoli3n
if i try to send a udp packet to the same ip on port 53, from the jail, it works !
-
eoli3n
lets show you
-
eoli3n
-
eoli3n
my nginx config is really basic, and i can't see anything in error.log
-
eoli3n
from the vps, i can reach the 80 port, on the jail ip
-
eoli3n
so the problem is only when redirecting from inside the jail -> internet -> vps -> jail
-
eoli3n
desktop -> vps -> jail, with dynamic rdr, is working
-
eoli3n
i tried to watch pflog, but i can't see any blocked packet
-
eoli3n
on my homeserver, everything is working well
-
michelem
Hello folks. Given the current cyber warfare context we are moving more stuff to jail-ification. I was surprised to find so little documentation about "micro-jails" – most material makes you create full system images, which is heavier and less secure
-
michelem
I was wondering if anyone is using microjails here (one jail for one specific service – with only the files required by the service itself available)? If so, how do you manage those? Do you use an md(4) image, or create the jail on-the-fly before each start?
-
michelem
In the former case, where do you store the md jail images?
-
debdrup
eoli3n: sounds like a problem with hairpinning at your provider
-
eoli3n
debdrup i don't think so, because i would not be able to reach others ports
-
eoli3n
check my paste
-
eoli3n
port 2222 and port 53 works from the jail
-
eoli3n
that's not a routing or nat problem
-
eoli3n
-
debdrup
true
-
eoli3n
and, from the VPS itself it works
-
eoli3n
another strange thing
-
eoli3n
during my test, i failed removing "u" option from vz, and see that i can reach port 80 on udp
-
eoli3n
but not tcp
-
eoli3n
-
eoli3n
the first command is udp test on port 80
-
eoli3n
second one is tcp on port 80
-
eoli3n
any idea is welcome, i'm totally lost here
-
nimaje
do I understand setting up wine with my own pkg repo correct, I have to build wine and mesa-dri for i386 too, so I have to create a i386 poudriere jail and use ABI in the repo conf?
-
sams
how do i start 'glances -w' on boot?
-
trench
sams for the user?
-
sams
root is fine
-
trench
where do you want to start it? in the desktop?
-
sams
i need it to execeute that command?
-
sams
execute.
-
trench
you want to start it after you login to your desktop?=
-
sams
no, its a headless device
-
sams
shell is fine
-
nimaje
seems to be some webserver, so a rc script would be a good idea for that port
-
nimaje
see, man rc.subr and man rc
-
trench
-
VimDiesel`
Title: Installing Glance on FreeBSD. In this post I will cover the process… | by Alexander Nusov | NFV Express | Medium
-
sams
thanks
-
trench
that was something else I think: check here:
glances.readthedocs.io/en/latest
-
VimDiesel`
Title: Glances — Glances 3.3.0.1 documentation
-
sams
i dont need the docs for glances though and there is nothing there to howto on boot
-
sams
used to using /etc/rc.local in linux though
-
CrtxReavr
FreeBSD supports rc.local, but. . . instances where it's wise to use are rare.
-
CrtxReavr
That goes for any OS, really.
-
nimaje
just use rc correctly, then that can added to the port too and more people can profit from it
-
debdrup
-
VimDiesel`
Title: Practical rc.d scripting in BSD | FreeBSD Documentation Portal
-
» CrtxReavr builds a custom kernel.
-
CrtxReavr
First time in a while.
-
la_mettrie
for what purpose?
-
CrtxReavr
la_mettrie, building a natd box.
-
rtprio
i don't recall that being necessary for nat, unless you're doing it for fun
-
CrtxReavr
Well. . . as it happens, I've used natd for a lot of years. . . more than 20, in fact.
-
CrtxReavr
Used it in a lot of different environments.
-
CrtxReavr
If you look at natd(8), it tells you you need to roll a kernel with IPFIREWALL & IPDIVERT support added.
-
CrtxReavr
I actually wrote a guide on natd that got a lot of downloads, when the bulk of FreeBSD's IRC support was on EFnet.
-
CrtxReavr
-
parv
Has anyone connected 2-3 multi-bay disk enclosures to use all the bays as one entity connected to a computer? ZFS RAIDZ[23] [cw]ould be made on the disks, either contained within the disks of one enclosure of over multiple ones.
-
parv
Correction in the last sentence: either contained within the disks of one enclosure *or* over multiple ones.
-
parv
An example of the enclosure hardware: SuperChassis 826BE1C-R609JBOD,
supermicro.com/en/products/chassis/2u/826/sc826be1c-r609jbod
-
VimDiesel`
Title: SC826BE1C-R609JBOD | 2U | Chassis | Products | Supermicro
-
Enlil
Anyone able to run FreeBSD on a librebooted T400?
-
Enlil
I am having a weird glitch where the install medium is only like using 5% of my screen and dublicated 10 times or something
-
NerdyMcNerdface
Anyone seen this before? "bhyve: vm_setup_pptdev_msix: No space left on device" Got it while trying to pass 4 pcie Intel ice network adapters through to a bhyve VM. (Passthrough of 3 NICs works fine, but 4 or more fails.)
-
debdrup
CrtxReavr: ipfw can do nat natively? :)
-
rtprio
i guess is stopped using natd/ipfw since pf landed
-
parv
How important is to have same RAM speed? Need total of 64 GB ECC unbuffered DIMM DDR4 2933 MHz for SuperMicro X12SCA-F motherboard; found Micron one 32 GB 2-rank stick but at 3200 MHz
-
Yukiteru
parv: not problem, the ram downclocking at same minor speed
-
parv
Yukiteru, That was also my understanding; thanks for the confirmation. My supervisor has been hesistan to buy because Micron web pages "not compatible" with the motherboard (does not list the reason):
crucial.com/memory/server-ddr4/mta18asf4g72az-3g2r
-
VimDiesel`
Title: Micron 32GB DDR4-3200 ECC UDIMM 2Rx8 CL22 | MTA18ASF4G72AZ-3G2R | Crucial.com
-
parv
s/pages/page says/
-
koobs
morn
-
parv
s/hesistan/hesitant/ # ugh
-
parv
The Micron stick is 2 rank; I could not find "rank" in manual/doc of the motherboard. Does rank affect compatibility in that case?
-
NerdyMcNerdface
-
VimDiesel`
Title: Memory rank - Wikipedia
-
NerdyMcNerdface
I'd guess that dual rank works fine. IIRC too many ranks per channel will cause a lower clock speed to be negotiated.
-
parv
I suppose then Micron web page spits out compatibility notice by strictly comparing the specification
-
parv
Thank you all. Now supervisor could buy any one of non-ECC RAM (~US$ 240), ECC RAM "not compatible" (~US$ 220), or the strictly matching the specification at $500+ 🤷♂️
-
NerdyMcNerdface
parv: Check the spec sheets for your CPU if you're curious about how many ranks it supports. I think the memory controller on the CPU decides how many ranks per channel is supported. Not the motherboard.
-
parv
NerdyMcNerdface, Ah, ok. Checking ...
-
NerdyMcNerdface
-
parv