-
stdout
Is there a way to load the igc driver from fbsd 14.3 in opnsense 25.4.1 (fbsd 14.2) ?
-
cpet
the way opnsense and pfsense work you can't really customize it without breaking it
-
cpet
this is mainly why I sold my netgate and just did it all by hand
-
stdout
yeah, that makes sense.
-
rwp
stdout, In any case the kernel module would need to match exactly. Crossing versions is almost a guaranteed kernel panic.
-
quickrr
jail question, host-epair-jzeus-(do i need 3 epair?)-(jtom | jharry | jjim)
-
mtll
is vm-bhyve still the preferred way to manage bhyve VMs?
-
mtll
I vaguely remember seeing some discussion in here about it a couple months ago, that mentioned some other alternative, but I can't remember its name
-
nxjoseph
i know these: pot, bastille and vm-bhyve
-
nxjoseph
i had been used pot for a while for dns server jail
-
nxjoseph
which i used it after i can't do what i wanted with bastille
-
nxjoseph
if you gonna use graphics etc. use vm-bhyve imo
-
nxjoseph
oh dang, pot and bastille should be for jails...
-
mtll
yeah I was planning to set up a linux gaming VM
-
nxjoseph
hmm, then you are going to do gpu-passthrough too? these are easier to do with vm-bhyve
-
mtll
as a temporary solution until drm-kmod supports my dGPU
-
mtll
yeah, I'm running FreeBSD on my iGPU at the moment, so I can just passthrough the dGPU to the VM
-
nxjoseph
okay great
-
nxjoseph
i just have iGPU and i don't game
-
mtll
I've got the intel A770
-
mtll
and I predicted potential driver issues on the horizon, so I got the iGPU version of my CPU just to be safe, turned out to be a good choice when I switched to FreeBSD
-
nxjoseph
nice thought
-
nxjoseph
i hope gpu passthrough works for you
-
mtll
I mean it should be fine, linux drivers for intel arc are pretty much on par with the windows drivers
-
nxjoseph
i see
-
nxjoseph
i think freebsd should support some G-PT features to be able to do that, hope it got better
-
nxjoseph
i remember watching a video of Colin(?) to give a presentation about G-PT
-
nxjoseph
it was covering amd and nvidia
-
mtll
well, bhyve supports pci passthrough so it should just work
-
nxjoseph
yes.
-
mtll
I'm assuming it'll just pass it through to VM as a pci device and then the guest OS can deal with the graphics stuff
-
nxjoseph
i think so too
-
nxjoseph
but i wonder what the freebsd host going to do in the background, what happens to it, how the guest take over the screen?
-
nxjoseph
it's interesting
-
nxjoseph
i guess you have to passthrough usb devices too?
-
mtll
nxjoseph: well, right now I have 2 of my 3 screens connected to the video outputs on the motherboard
-
mtll
in theory I should just be able to connect some of the screens to the dGPU outputs
-
nxjoseph
oh right
-
mtll
and then switch inputs
-
nxjoseph
i forgot about it
-
mtll
maybe even use synergy to share peripherals between the systems and magically run multiple OSes on the machine at once
-
mtll
the actual gaming will be with a PS5 controller, so I can pass that through to the VM, not too worried about latency issues with mouse/keyboard if I go for synergy
-
nxjoseph
what is synergy?
-
mtll
it's a neat little piece of software for sharing peripherals between multiple computers as if it's a multi-monitor system
-
nxjoseph
oh nice
-
mtll
so like let's say you had your laptop on the side next to your desktop/workstation, you could set it up so you can just move the cursor over to the laptop
-
nxjoseph
very good
-
mtll
it uses the network to do that, and it's pretty decent in terms of stability and latency
-
mtll
never tried to run it on freebsd though, so that might be interesting
-
nxjoseph
i see
-
scottpedia
synergy?
-
scottpedia
that's interesting
-
scottpedia
is it a FOSS implementation?
-
mtll
scottpedia: yes and no. you can pay for it and get user friendly GUI setup etc
-
mtll
but the backend is open source and you can configure that with a simple enough config file
-
scottpedia
wdym yes and no?
-
scottpedia
right
-
scottpedia
so you only pay for GUI if you want it
-
mtll
yeah
-
mtll
I think they sell it to businesses or something, idk
-
mtll
I never used that part of it
-
mtll
looks like synergy is in ports, so it should just work in freebsd
-
nxjoseph
mtll, good
-
scottpedia
i see alright
-
scottpedia
it'd be good to try.
-
radhitya
I have a problem: why is my memory usage limits still unlimited, even though I have limited it via rctl?
-
radhitya
user:r:memoryuse:deny=500M
-
radhitya
85236
-
radhitya
sorry
-
surrounder
30523
-
surrounder
np
-
radhitya
hi surrounder , do you know my solution for my problem?
-
radhitya
I have a problem: why is my memory usage limits still unlimited, even though I have limited it via rctl
-
surrounder
radhitya: no
-
radhitya
user:r:memoryuse:deny=500M
-
radhitya
surrounder: ah, sad, okay
-
surrounder
so sad /o\
-
mage
Hello. Any European people who use FreeBSD at work and impacted by the NIS2 directive?
-
mage
I was wondering if there are some kind of information regarding FreeBSD and NIS2 compliance?
-
andreas303
rwp: Actually, I use ZFSBootMenu to boot a native-encrypted-zfs-dataset with console prompt and remote unlocking (and potentially supporting tailscale VPN) in Linux. I think it uses kexec to switch kernel. Unfortunately ZFSBootMenu currently doesn't support booting FreeBSD. Otherwise it would be a good solution.
-
Zerock
I'm trying to set up opensmtpd on freebsd and am seeing the following error in the syslog: smtpd[92308]: dispatcher: tls_config_set_ca_file: failed to open CA file '/etc/ssl/cert.pem': No such file or directory
-
Zerock
I see no reference to such a file in smtpd.conf so I don't know where this is coming from
-
tdback
Zerock: can you try and generate a cert manually? i assume it's expecting one for tls
-
nxjoseph
maybe try ca_root_nss?
-
ek
Yup. security/ca_root_nss likely needs to be installed/updated.
-
ivy
is there a way to atomically write a new file but fail if it already exists? making the write atomic is usually done by writing to a temporary file and renaming, but rename() doesn't fail if the target exists, and O_EXCL doesn't help because the temp file won't exist
-
satanist
Zerock: can you show your config?
-
Zerock
so I did find an old bug report suggested workaround of just making it as an empty file which worked
-
Zerock
I'm not actually using TLS in this setup so a valid CA cert isn't vital
-
nxjoseph
Zerock, if so, i think that that program can be modified to look for /usr/local/etc instead
-
Zerock
it seems actually to be a hard-coded path unless you set a flag at compile time
-
satanist
by default opensmtpd doesn't require a cert, only when you configure one
-
Zerock
anyway seems to be all good
-
Zerock
I'm receiving email now
-
nxjoseph
good
-
nxjoseph
can't be hard-coded paths be changed from code? does it actually have a flag that you can set for that ?
-
Grabunhold
mage: I'm a european and use FreeBSD at work. what is NIS2?
-
Zerock
yeah, you can define OPENSMTPD_CA_FILE at build time
-
nxjoseph
Zerock, ok nice
-
mage
Grabunhold: an european directive on cybersecurity
-
mage
the problem is that, of course, FreeBSD is not listed in the "supported" OSes
-
mage
and... we may have to ditch FreeBSD completely because of this "compliance" stuff. This is ridiculous but I'm pretty sure we are not alone in this ship
-
mccd
mage where can that list be found?
-
mage
I don't know, I haven't read the whole stuff yet (and don't want..). All that I know is that I'll have to "install some frankenstein NIS software" on the servers
-
mage
NIS2*
-
mccd
Terrifying
-
mage
yes, and ridiculous. For example I have to "make a report" because some of their "super security scanner" detected a vulnerable SSH server on our infrastructure..
-
mage
and their "super security scanner" only uses the version ID of the ssh to said it's vulnerable or not (...)
-
dstolfa
sounds like an average govt compliance thing. so mostly useless
-
mage
yes
-
Zerock
I have to deal with stuff like that at work. Thankfully it is our own corporate policy and not government mandate.
-
Zerock
"your http server is vulnerable. source: self-reported version number"
-
Zerock
solution: change config to hide version number
-
dstolfa
"chatgpt says your ssh version is vulnerable"
-
mage
I have to explain them that yes the SSHD of 13.4 is still 9.7 _but_ is patched against all CVE and that just using the version string or the protocol is stupid
-
Zerock
yep, same scenario with my httpd
-
mccd
dstolfa: upcoming reality
-
ek
The problem with those types of "scanners" is, in my experience, that they don't include patch numbers in the version check. So, when derp-v13.2 is vulnerable but is patched to v13.2-1 and fixed, it's still reported as vulnerable.
-
Zerock
oh yeah, icing on the cake... this particular one was supposed to be a real penetration test from a pen testing company, not just some scanning software
-
mage
I'm getting more and more tired of IT
-
Zerock
so their "penetration test" was checking the version number
-
Zerock
my response: okay but did you actually get in?
-
dstolfa
-
dstolfa
asking chatgpt why small-to-medium businesses in the uk don't adopt chatgpt and then trying to shape government policy around that is certainly the level of competence i'd expect from an average politician
-
ek
mage: I'm not the EU, but do work for a very large corp that mandated certain security software be installed on every server (very similar to what you're experiencing.) When it came time to verify our BSD systems, we just filed an exemption request since the software doesn't install on/support BSD.
-
ek
And were then just limited to external weekly scans. Basically an nmap that checks those stupid version numbers.
-
mage
ek: yes, unfortunately it's an hard request for all gvt stuff, I don't have choice
-
mage
no exemption possible
-
mage
I'll even have to modify stupid 20+years old website to include MFA (although the login is just to hide certain parts of the website)
-
ek
mage: Well, then they should have chosen a better solution. They're going to serverely limit their reliability and safety over a piece of software that can't be designed for all OSes?
-
mage
it's funny because they plan to use tons of new Microsoft tools / infrastructure .. and in the meantime you hear all the time that EU should be less dependant of US techologies
-
mage
we had a fantastic self hosted postfix/dovecot/rspamd/webmail that works very well, with templates (Saltstack) to configure everything in jails etc -> everything has been migrated to O365
-
ek
Oh, yuck.
-
mage
anyway; I seriously plan to /quit IT because of all this shit
-
surrounder
mage: already did
-
surrounder
well, the sysadmin side
-
mccd
dstolfa: Yeah I have to keep doing double takes at work because of ai generated code from colleagues. It really tests your fundamentals
-
mccd
like the other day someone used `dd if=/dev/urandom...` to generate random numbers.
-
wavefunction
Is it that they used 'dd' that's the issue? X-D
-
mccd
along with piping it through three different steps
-
mccd
and they weren't writing to a file
-
mccd
so it worked but was far more complex than it needed to be
-
» kevans sources his entropy from /etc/master.passwd
-
» hodapp replaces mage with an LLM, thus guaranteeing that mage will always have a job fixing shit the LLM does
-
zilti
I have an NFSv4 share that is guaranteed to only have one client. Can I somehow tell that client to aggressively cache files for reading? For a second I was excited because I saw the cachefs manpage, but that one's not available on FreeBSD. NFS itself also does not seem to come with options.
-
Grabunhold
mage: you have my sympathy. I sure hope we will stay small enough of a company not to anger the compliance gods too much so I can get away with my FreeBSD.
-
antranigv
you can always get away with FereBSD if the question is compliance.
-
CrtxReavr
kevans, why?
-
CrtxReavr
-
CrtxReavr
zilti, effective read caching is hard.
-
CrtxReavr
Unless maybe you're reading from a tape drive.
-
zilti
CrtxReavr: Hmm, I guess so. But I'd have assumed that there's stuff like a file-based cache for NFS - I just switched over to self-hosted storage and NFS from an s3backer setup. The latter has the option for a file-based read cache, and I actually have slightly worse performance now even... But to be fair, I for now use NFS over a wireguard tunnel and the internet, instead of locally.
-
kevans
CrtxReavr: why not?
-
CrtxReavr
kevans, how about the bpaste I provided as evidence against?
-
kevans
5.513632 bits per byte
-
kevans
is pretty solid
-
CrtxReavr
And strong encryption would reflect about 5 bits/byte of entropy.
-
CrtxReavr
But. . . since the goal is entropy, why not a more random source?
-
» rwp reads zilti say ...NFS...over Internet not locally...and that's got to be very slow as latency is a huge file system slow down for NFS which is designed for LAN use not high latency WAN
-
CrtxReavr
rwp, NFS was also likely designed on ArcNet LANs.
-
rwp
I always associate NFS and Sun together but I worked for HP at the time and being a competitor I don't know the inner details of NFS development. But I didn't think Sun used ArcNet at that time.
-
rwp
NFS was all based upon UDP at the time. It's definitely design for low latency LANs. It definitely suffers serious performance degradation on high latency network such as the Internet WAN.
-
ivy
rwp: NFSv4 delegations significantly improve NFS latency issues. Rick made some improvements to this in -CURRENT recently
-
ivy
zilti: this is basically what you want ^
-
rwp
I still would not consider using NFS over an Internet connection.
-
CrtxReavr
"I'll take where tech companies go to die for $500, Alex."
-
ivy
i've also never heard of Sun using ArcNet... weren't they always Ethernet?
-
zilti
rwp: Yes, it is just a stop gap though. It soon will be on a very local LAN. Still, some client-side caching that takes load off the file server would be good.
-
CrtxReavr
Not actually sure. . . didn't touch a Sun box 'til '96.
-
rwp
AFAIK Sun was always ethernet based networking.
-
zilti
ivy: Oh, I'll check that out, thanks
-
rwp
And at that time it means coax cables and lots of T connectors.
-
ivy
zilti: NFS clients can already cache data, the problem is certain operations (mostly GETATTR) can't be cached very long. delegations are supposed to fix this by allowing a client to take a lease on a file and modify it locally, until another client wants to access it
-
rwp
By normal tuning it is a local 120 file attribute cache.
-
rwp
By normal tuning it is a local 120 second file attribute cache.
-
rwp
If you disable that cache then performance is really terrible even on a LAN. And with that cache in place cache coherency between is a problem. Let me just drop there here. "Stale NFS file handle."
-
ivy
rwp: this is what delegations fix
-
rwp
And therefore it requires careful design of inter-operating client systems in that environment to avoid the issue. But if you are heads-up about the client side file cache then you can make really good use of it.
-
ivy
delegations allow local caching without the historical issues this causes with concurrent modifications
-
CrtxReavr
Read caching for "random access" filesystems is just hard.
-
CrtxReavr
ie., it's hard to know what to cache.
-
zilti
Where do I find more about those delegations?
-
ivy
i don't know if it's documented anywhere, but if you mail fs@ rick might have more info
-
zilti
Hmm wait, according to the nfsv4 manpage I've already fully enabled them
-
ivy
even if you enable them, freebsd didn't have full support until very recently and then only in -CURRENT, and even then i'm not sure everything has been committed yet
-
zilti
Ah well. But good to know for the future. For the next weeks, the slightly worse performance will have to do.
-
wavefunction
zilti: Stupid question but, if s3backer was "suitable", why not drop minio on the remote end and use that until you can get local NFS?
-
zilti
wavefunction: Because the way it creates the file system is different. So I'd have to create a fresh ZFS again when switching.
-
mason
This is a new one: GEOM_ELI: Crypto request failed (ENOMEM). gpt/s10-10t-backup.eli[WRITE(offset=2534816686080, length=614400)]
-
mason
This is with 14.3. That seems like fairly unfortunate memory handling.
-
scoobybejesus_tl
i thought minio did some license change recently.. maybe it was removing the GUI from the community edition..
-
rtprio
there are other s3 compatible backends than minio
-
Xe
rclone can be an s3 backend in a pinch
-
oxbar
question.. when i use startx i have exec sxhkd & and exec dwm of course not on the same line.. when i use this sometimes my x freezes and i can't do anything.. ctrl alt delete dosen't work.. switching to a tty dosen't work.. i have to ssh in then reboot it.. any ideas why ? when i don't have sxhkd in .xinitrc everything works fine
-
nxjoseph
i was opened a thread about this
-
nxjoseph
no one replied
-
nxjoseph
wait a sec
-
oxbar
nxjoseph: i see you on the forums a lot
-
nxjoseph
oxbar, haha nice
-
nxjoseph
-
nxjoseph
i guess it happens when you reload sxhkd config?
-
oxbar
i should have googled or looked first.. watch it be something silly
-
oxbar
nxjoseph: probably
-
nxjoseph
i use dwm too, back then i was using bspwm
-
nxjoseph
i just set keybindings in dwm config
-
rtprio
does your window manager not have it's own key handling?
-
nxjoseph
rtprio, it does have but in a .c file
-
nxjoseph
not everyone prefer it
-
rtprio
no shit
-
oxbar
rtprio: yes but i don't like using it.. i just like a straight forward keybinding.. well i could do it but i like sxhkd
-
nxjoseph
yes, i like sxhkd too, it's too easy to set shortcuts
-
nxjoseph
oxbar, what's your name on forums or don't you have an account
-
nxjoseph
maybe i see you too
-
nxjoseph
rtprio, not a .c file but config.def.h
-
nxjoseph
header file i guess
-
nxjoseph
AFAIK there is no solution to that sxhkd problem
-
oxbar
i will just use the deraults
-
oxbar
Thanks though :D
-
oxbar
defaults*
-
nxjoseph
you're welcome. what were the defaults? i don't remember them
-
nxjoseph
maybe dmenu and suckless st
-
oxbar
super+shift and enter i think
-
nxjoseph
yes, right
-
oxbar
or mod
-
nxjoseph
i use alt key
-
nxjoseph
dunno what's the default
-
oxbar
ok late
-
nxjoseph
it seems there are no PRs filed on bugzilla about this problem
-
nxjoseph
maybe sxhkd is just not working on freebsd
-
nxjoseph
IIRC, it was happening to me right after reloading the sxhkd config
-
wavefunction
For those with ryzen platforms, how does the latest release do? I'm running an older dual-xeon E5-2680v3 box and looking to build a new large-storage box.
-
nxjoseph
im on 14.3 with ryzen 3 4300ge
-
wavefunction
nxjoseph: Is it "grunty" enough
-
nxjoseph
grunty? idk it
-
wavefunction
Looking at a ryzen9 9950x just to get the strongest "throughput" for my machine.
-
nxjoseph
iirc, there were someone who use r9 99xx on forums
-
wavefunction
Thank you! I'll search there.
-
nxjoseph
you are welcome, i might give it a try too after my work ends
-
polarian
geez 14.3-RELEASE is a big one
-
polarian
been too busy to update, taking agesss
-
polarian
has anyone played with the iwlwifi stuff?
-
wavefunction
polarian: haven't played with wifi -- full release was tough on my machine though. I made several errors during the pkg upgrade and "lost" a couple dozen packages.
-
wavefunction
Good news is, nothing is Actually broken.
-
polarian
ugh it seems 14.3 has broken iwn for me
-
polarian
wifi borked now
-
polarian
so we get fancy new 802.11ac andddd... 802.11n is now broken?
-
wavefunction
and I discovered a bug where I wasn't archiving a copy of my pkg-export like I thought, so, win-win
-
polarian
maybe for you I have no wifi
-
polarian
wifi connects to ssid then I get a wpa supplicant error
-
polarian
*sigh*
-
polarian
no dmesg errors tho... good sign I hope!
-
polarian
also I will need to recompile drm-kmod
-
mason
polarian: You can get a binary from pkg now.
-
polarian
mason: it works now?
-
polarian
so if I pull in pkg updates the drm-kmod pkg will be compiled against 14.3-RELEASE?
-
mason
polarian: pkg upgrade -r FreeBSD-kmods (per mzar) worked for me
-
mason
polarian: See /etc/pkg/FreeBSD.conf
-
polarian
hmmm
-
polarian
will investigate...
-
polarian
right now its bedtime though :)
-
mason
polarian: sleep well
-
polarian
how come every freebsd update goes terribly wrong for me ugh
-
mason
polarian: Not just you. I've had tons of things explode over the years.
-
mason
Crazy things.
-
oxbar
im kinda pissed at freebsd right now.. nothing the company did but i probably did something wrong.. im on a laptop everything works sound everything.. today i turned it on went to a meeting and my video and audio weren't working.. had to talk on the phone.. i don't know what to say
-
wavefunction
The "company" ?
-
oxbar
nothing personal against freebsd
-
oxbar
im just pissed lol
-
wavefunction
Sure. It's just... managed by a foundation rather than a Corporate structure, IIRC.
-
wavefunction
:shrug:
-
wavefunction
-
wavefunction