-
Koston
`at least my pkg got stuck in an infinite loop when doing 'pkg upgrade -f' after a major upgrade
-
rwp
That's not good. Was that on ports? Or the new pkgbase?
-
Koston
haven't switched to pkgbase yet. using 'pkg-static upgrade -f' fixed it, so I considered the problem a user error
-
rwp
Good that you were able to fix it. pkg-static is there for that reason.
-
rtprio
Koston: iirc you're not supposted to do that
-
rtprio
the wiki does sya
-
rtprio
oh "When prompted to run pkg bootstrap -f: do not. "
-
Koston
when multiple sources give conflicting information, I trust the handbook first. but it is peculiar that a patch went into a REL that causes a central system tool to give false information
-
mns
how do tell pkg-query to list only packages that have a category of lang ?
-
nimaje
use %C
-
Koston
also at least zsh includes completion for pkg-query, just hit tab to get a full list of modifiers
-
luser
.
-
tm512
just ran package updates. something that came through between may 1st and today has started to cause rendering issues with popups that have rounded corners (seen so far in firefox and pavucontrol) on amdgpu
-
tm512
anyone else seen this? I thought xf86-video-amdgpu was a likely culprit, but downgrading doesn't help
-
tm512
just doing some testing and it happens on modesetting DDX as well
-
tm512
there ends up being a black border around the popup, so the transparency isn't being rendered properly or something like that
-
tm512
running picom seemingly resolves the issue but I basically only ever use picom for the functionality that amdgpu's TearFree option provides, so I'd rather not run it if I can avoid it
-
tm512
might try mesa-devel instead of the increasingly outdated version of mesa that FreeBSD ships as the default
-
MelanieUrsidino
my graphics card doesn't even work unless i use the oldest available version of DRM, and that doesn't work on the fork that I prefer
-
tm512
for a while drm-510 was all that worked properly for me, then they decided to drop support for it. wary of having to rely on the oldest DRM since you aren't even guaranteed that it'll be supported for the lifecycle of the major release
-
tm512
currently testing out drm-612 even though it's not in the ports tree yet, which kinda surprises me since it's had a release tagged on git
-
tm512
I did roll back to confirm this issue with rounded corners is unrelated to 612 though
-
MelanieUrsidino
my recollection is that amdgpu out of 515 and 66 don't even load for me
-
tm512
now there is drm-latest-kmod (6.9) available in ports and then 6.12 can be built manually from the git repo
-
tm512
if you're on 5.10... how? are you still on FreeBSD 13?
-
MelanieUrsidino
I think I was on 14 and 15 before i switched back to linux in desperation on that computer
-
tm512
I realized that 5.10 could build on later 14.x by removing the version check in the makefile but it did not go well
-
MelanieUrsidino
ah
-
tm512
I don't remember exactly what issues it had but it was pretty busted
-
tm512
5.15 always caused kernel panics for me, 6.1 through 6.9 had issues with GPU hangs, but then even without a change to the kernel or drivers on my system, something changed in one of the packages that stopped triggering the hangs for me
-
f451
hi. when a PR is in a state of New => Open, and it's fixed, and I can close the PR because it was created by me, should I close it?
-
ivy
f451: you may want to ask the committer if they plan to MFC it
-
f451
it's not mfc-able
-
f451
it was an issue with ntp and freebsd-update and it's fixed (dunno how)
-
f451
by fixed i mean "the problem isn't happening now"
-
f451
ivy: i'll err on the safe side ;)
-
fac3
Does anyone here have experience in using kTLS with nginx? I think I've got it working, but when I'm testing performance I am getting much worse results after enabling kTLS.
-
fac3
Enabling kTLS in the Nginx config that is.
-
[tj]
what workload are you measuring?
-
fac3
I was using curl to download a 1G file from a webserver running in a VM on my local machine.
-
fac3
I would essentially just do that 5 times and use ministat to get stats for the differences
-
[tj]
how long does a download take?
-
fac3
I don't have the exact data in front of me, but with kTLS it was around a second and without it was around 0.6 seconds
-
[tj]
I last did benchmarking with ktls 5 years ago so sadly it is all quite fuzzy, but we could do 400gbit with a bit of tuning on our ampere machine
-
[tj]
but that is exercising a very different test work load
-
fac3
Right. I also don't have a NIC that supports on NIC kTLS. I'm just using KVM for the VM software running the VM.
-
[tj]
5 probably isn't enough runs to compare, you probably want a larger transfer a second is going to be a noisy duration. What is biting you is probably availability of offload for encrpytion being different between what user space nad the kernel can do in your vm
-
fac3
I'm wanting to write about it, but I'm not sure what I was doing wrong.
-
[tj]
I don't have any suggestions for debugging this
-
[tj]
-
fac3
Do you think that running on hardware would make a different?
-
[tj]
maybe read that and see if john had suggestions for trouble shooting
-
[tj]
yeah, I would expect bare metal to be different
-
fac3
Okay, I will try that. Thank you for the help and advice.
-
[tj]
no problem I'm happy to help if you have more questions
-
fac3
I appreciate that. It's a cool technology I've heard a lot about and wanted to play with it more.
-
[tj]
yeah it is pretty "high end" so you need a good set up to take advantage
-
fac3
Again, I was hoping to eventually write a bit about it on my blog as I haven't seen one uniform place to look for information on it.
-
fac3
Yeah, most workloads I think benefit more from QUIC than kTLS
-
fac3
At least that's the feeling I get
-
[tj]
ktls is going to help with many bulk flows where context switches are a bottleneck
-
fac3
That makes sense, I wonder if I would see better numbers trying multiple client connections with bulk data rather than just the one connection repeating
-
[tj]
I would use wrk and compare pulling large files with lots of connections
-
[tj]
I'd play with this, but I just boxed up the t6 cards to send them to a new home
-
fac3
I think I did also try benchmarking with wrk and ran into similar issues. I'll try seeing if I can put it on my home server rather than a VM and see if it does any better. I don't have the machine in front of me at the moment unfortunately.
-
fac3
kTLS is supported out of the box on fbsd as long as the options are enabled correct? I think nginx also has support from the pkg as well, just have to enable the option.
-
[tj]
yeah it should all be there and you can query counters somewhere to verify it is being used
-
fac3
Okay, I will look at it again tonight when I'm in front of the machine. I really appreciate the help; it's a cool technology that has a really interesting use-case.
-
fac3
The Netflix talks on how they use it in their caching servers is what made me really want to play with it, though I'm likely never going to need to send 100+ GB of encrypted traffic down a wire.
-
rtprio
not with that attitude
-
fac3
Lol, that's fair enough.
-
nimaje
just do a /dev/random-as-a-service, surely someone will then download a 100+ GB stream from you
-
MelanieUrsidino
xD
-
fac3
Heh, that would be a crazy SaaS idea. Entropy as a Service.
-
fac3
Only $10/user/mo
-
rebo
à
-
mason
-
fac3
Amazing
-
fac3
I need to figure out how to sell anything like these guys
-
nimaje
-
fac3
Glorious.
-
fac3
I had only ever thought about selling email, selling entropy is much more profitable.
-
fac3
A resource that will run out when the universe dies
-
oxyhyxo
crafting a curl one-liner to generate random numbers
-
fac3
Right, then exposing an API for people to call those random numbers.
-
fac3
At a charge of course
-
oxyhyxo
you get the first 1000 random numbers free
-
oxyhyxo
fastcgi script to dd /dev/random
-
oxyhyxo
...
-
oxyhyxo
profit!
-
oxyhyxo
kinda annoyed I didnt think of that first
-
fac3
Here I thought I needed to learn more about technology to become more financially established. Turns out just selling snake oil does the trick
-
oxyhyxo
thats the startup incubator method
-
oxyhyxo
pitch to my rich parents and their friends my dumb idea, get some coders on fiverr to knock something together, sell it for $100m
-
fac3
The crazy part is the people that start those companies will open more companies when that one closes
-
oxyhyxo
yes
-
oxyhyxo
their skill is in relieving rich people of their money
-
fac3
Yeah, knowing people is supposedly the most important skill for career advancement
-
oxyhyxo
its why sales people are so annoying
-
Koston
first company I ever worked for was a venture capitalist funded startup by a dynamic duo who did it multiple times. always gunning for some "get rich quick" schemes and did a lot of dirty tricks to eg. lease hardware and never pay a dime for it
-
Koston
other of the two is currently suspected of various business related crimes
-
fac3
Feels grimey
-
fac3
Also doesn't feel sustainable
-
oxyhyxo
I used to do data collection/seizure for supreme court appointed liquidators
-
Koston
nothing about any of it was sustainable, no
-
oxyhyxo
fraud trials etc
-
oxyhyxo
its rampant
-
oxyhyxo
its not meant to be sustainable, its a race
-
oxyhyxo
get as much money moving around as quickly as possible
-
oxyhyxo
disappear with a cut before the music stops
-
oxyhyxo
hopefully you'll have flogged everything off to retirement funds/retail investors
-
fac3
Hope you aren't the one holding the bag?
-
oxyhyxo
yeah
-
fac3
Brutal
-
oxyhyxo
the ones that come undone are the ones who werent quick enough
-
oxyhyxo
but look at modern venture capital funding and all of tech is looking like that
-
oxyhyxo
"big" tech
-
oxyhyxo
i might just be old and jaded though
-
fac3
Unfortunately, and it seems like the products are starting to show their instability more and more these days
-
fac3
That's part of what makes self-hosting so interesting to me, at least then I have some control over the BS that I'm using.
-
fac3
Not very practical for everything though.
-
oxyhyxo
depends how stubborn you are
-
oxyhyxo
;)
-
fac3
To some degree. A lot more things are self-hostable than I thought. OAuth for example is something I wouldn't have thought could be somewhat easily done yourself.
-
fac3
Email is another classic one that is easier than people make it sound, but it's still a lot of work.
-
fac3
with some limitations I haven't figured out how to get around yet.
-
oxyhyxo
I used to host email for years before "the cloud"
-
fac3
My big issue with self-hosting email is MFA
-
oxyhyxo
problem became that office 365 etc $/mailbox was so low it wasnt worth us doing anymore
-
fac3
My company went from on-prem Exchange to O365. It was a lot less maintenance.
-
oxyhyxo
yeah I did heaps of those migrations
-
oxyhyxo
only thing I'd insist on is backing up the O365 mailboxes regularly
-
oxyhyxo
mailboxes are known to just disappear for a while
-
fac3
We do have backups for that.
-
oxyhyxo
sometimes they come back
-
oxyhyxo
sometimes they dont
-
oxyhyxo
and microsoft support is nonexistent
-
fac3
I've not dealt with them directly, but a former co-worker described it as, they'll never respond. One day the issue will be fixed and they will just close the ticket.
-
oxyhyxo
its why I dont do it any more. Having my income tied to something I have no control over gets a little old after a while
-
fac3
That's understandable
-
oxyhyxo
plus its intensely boring work lol
-
fac3
Also fair
-
oxyhyxo
it also depends on how far you're into your career to how much you can insulate yourself from it
-
oxyhyxo
i have that luxury now
-
fac3
I wouldn't consider myself terribly far in my career. I'm less than a decade in.
-
fac3
Nothing compared to people who have been working for 20+ years.
-
Koston
26 years and counting. and yeah, most of "big tech" is vaporware.
-
oxyhyxo
yeah I'm pushing 30
-
oxyhyxo
seen enough new hotness come and go
-
Koston
there are not all that many actual, real innovations made. PostgreSQL is still the big cheese in databases, for very much the same reason FreeBSD is on operating system side.
-
fac3
Yeah, but how many jobs use FreeBSD over Linux.
-
fac3
I know a couple of places that do, but I don't think they are terribly common.
-
fac3
Unfortunately.
-
Koston
it's not unfortunate
-
oxyhyxo
@fac3 are you in the US or Europe?
-
fac3
US
-
oxyhyxo
in Australia, use of BSDs is almost nonexistent
-
oxyhyxo
or very very niche
-
oxyhyxo
and i can remember when linux was the same
-
fac3
I could see that. A lot of the job postings for a "Unix Administrator" is almost entirely Linux
-
fac3
Occasionally solaris
-
oxyhyxo
so I find the linux groupthink nowadays pretty funny
-
oxyhyxo
from the same people who wouldve looked at you funny for not using microsoft stuff 20 years ago
-
Koston
I'm honestly just glad that the hordes of linux dimwits stay on their side of the fence and leave BSD alone
-
fac3
Indeed. I feel like a lot of the time it's glorified docker management.
-
Koston
ever tried reading the linux kernel mailing list?
-
fac3
I've read bits and pieces, but I'm not on it.
-
oxyhyxo
I worked on linux stuff for 20+ years and I never really interacted with "the community"
-
oxyhyxo
the BSDs are much friendlier in that regard
-
fac3
I've noticed that.
-
fac3
I've also noticed the BSD people tend to be more pragmatic and practical.
-
Koston
oxyhyxo: same. I read LKML for a very short while in my late teens and concluded it was far too juvenile and egocentric off-topic crap
-
oxyhyxo
linux has always had its dickhead contingent
-
Koston
not just dickhead either, but a whole lot of politically flavored sense of righteousness. which was always obvious since GNU was and is involved.
-
joepublic
As an FSF member (and also FreeBSD user), I apologize for the false righteousness you've experienced.
-
Koston
the leftist linux folk used to diss BSD for welcoming contributions from big corporations. and now? BSD is 100% free of big corp influence, but linux.. hoo boy
-
oxyhyxo
I dont want to paint the entire linux community with that brush
-
oxyhyxo
that isnt fair
-
oxyhyxo
theres a lot of good people
-
Koston
true
-
oxyhyxo
but i've just observed that the BSD community seems a bit more civil and approachable generally
-
oxyhyxo
as someone whom is still a relatively newcomer to that community
-
fac3
There are good people that use Linux, and pedantic people that use the BSDs
-
fac3
I do generally like using BSDs for projects and hosting though. It's much more sane in a lot of ways
-
oxyhyxo
likewise
-
fac3
Docs are better too
-
Koston
what I'm talking about is how the projects are managed. if you have a good idea and present it properly (including submitting a PR with good quality code), you'll get a fair review and get good feedback
-
Koston
but in linux, you might get shot down for a whole number of reasons that have nothing at all to do with your idea or your code quality
-
fac3
Yeah, I've heard about those things happening on the LKML. I've not really tried to submit anything to FreeBSD other than ports though.
-
fac3
It does seem like fbsd is pretty opened to good ideas though. Especially if the person with the idea is submitting the work to do it and it doesn't break a bunch of stuff.
-
Koston
so much code and effort goes to waste with linux, because kernel development is basically a popularity contest decided via shouting match
-
fac3
Indeed.
-
iRobbery
anybody trying to get NGINX working with PQC key exchange?
-
fac3
I've not tried
-
rwp
What browsers support this? It browser support for it generally available?
-
fac3
It also looks like you have to have OpenSSL 3.2 or newer if you are using TLS 1.3
-
fac3
On the server that is
-
rwp
I realize it is rather a circular dependency and it doesn't matter which one but one side needs to go first.
-
iRobbery
i got chrome 'working', reporting it okay, but ssllabs.com keep complaining server doesnt support it
-
iRobbery
results heavily vary afaics, which is odd
-
iRobbery
its puzzling me
-
fac3
blog.nginx.org/blog/pqc-nginx I found this article on it. It doesn't mention FreeBSD though.
-
iRobbery
-
iRobbery
which makes me think i set it up properly
-
iRobbery
also that my chrome on mac states the expected key exchange makes me think it 'works' but the ssllabs.com result says it doesnt, and a few curl attempts from various hosts also report not the expected key exchange value
-
fac3
Apparently my setup supports it, but I didn't do anything special for it.
-
iRobbery
ssllabs.com scan report its working nicely?
-
fac3
One of my certs is showing an A+ rating and that PQC Key exchange is supported. At least for that cert. I have another one I was going to check against too.
-
iRobbery
is that a letsencrypt one?
-
skered
But is it all 100s?
-
fac3
It's let's encrypt cert running on a FreeBSD 15.0 host with nginx as the web server
-
iRobbery
nginx from ports or pkg?
-
fac3
Pkg
-
fac3
Also, don't know if it matters, I'm using the 6 day cert from Let's encrypt as well.
-
iRobbery
k, i got mine from ports because of modsecurity, but i can fiddle a bit on a another server with a pkg
-
fac3
Yeah, both of my certs support it.
-
iRobbery
fac3: i dont know of this setting/cert? how do you configure this?
-
iRobbery
the 6 day bit&
-
iRobbery
i dont expect it to change anything, should also work fine on self signed certs
-
iRobbery
but worth a try
-
fac3
You use the shortlived profile on the cert. checking the man page for certbot should show the flag, but I think it's --profile
-
fac3
If you already have a cert, then you may have to revoke and reissue though.
-
iRobbery
--preferred-profile shortlived
-
fac3
That's it
-
fac3
There is also a --required-profile
-
fac3
you may want to make that one shortlived as well.
-
fac3
If you are wanting the 6 day certs that is. Some people are hesitant on that idea.
-
skered
Dang. One public server went from an A+ to A- :(
-
» iRobbery hands skered a gas canister and a lighter
-
iRobbery
might as well burn it down :D
-
skered
I think I get it back to A+ though.
-
skered
But not all 100s.
-
fac3
Mine isn't all at 100s.
-
skered
Shame!
-
fac3
Ikr, something to work towards
-
skered
All 100s I think is more or less dropping support for supported yet old LTS distros.
-
iRobbery
likely yes
-
fac3
I don't have DNS CAA setup which I think is hurting my score
-
fac3
another nifty site checker is
pagespeed.web.dev for performance testing
-
iRobbery
i use it, but for real performance i use just curl for timings, but the other recommendations are nice
-
fac3
Would dev tools give better insight on actual timings for specifics on the page.
-
iRobbery
in browser you mean?
-
fac3
Curl would work for static stuff, but I feel like for dynamics content it would struggle to give any real information.
-
fac3
Yes.
-
iRobbery
yes with dynamic content there is a fluctuating response, but within a certain margin imho (at least for what is acceptable performance)
-
iRobbery
shortlived doesnt make difference for ssllabs.com/PQC but i do see tis a better root cert
-
fac3
That's fair. I'm not a webdev so to some degree, I'm not really qualified.
-
iRobbery
switched to a pkg install now
-
iRobbery
scanning...
-
iRobbery
funny how 2 minutes then seem so long
-
fac3
Yeah, I felt like it took a while when I scanned.
-
iRobbery
but pkg version results the same for me
-
iRobbery
and like you im using 15.0
-
fac3
Interesting, I'm not sure what I would be doing differently. Are you declaring supported algos?
-
iRobbery
yes
-
fac3
Do you have HSTS?
-
fac3
Don't really think that would affect anything, but maybe?
-
iRobbery
-
iRobbery
any of those settings that you dont use?
-
iRobbery
fac3: yes i do use hsts
-
fac3
Looking at my nginx.conf, I'm actually the one not declaring the preferred ciphers.
-
iRobbery
but you do have tls 1.2 and 1.3 enabled?
-
fac3
Yes, along with QUIC
-
fac3
Not sure that makes a difference though.
-
» iRobbery clicks 'clear cache' and pokes nose
-
iRobbery
at least i know that claude, nor amazon, nor openai support it in their bots :D
-
iRobbery
but even with ciphers commented.. it still get the 'does not support PQC key exchange'
-
iRobbery
okay got it working
-
iRobbery
and i get some weird deja vu :)
-
iRobbery
cant have different ssl settings per vhost
-
» iRobbery undoing 30 testing settings builds :D
-
Conker
For what seems like ages ago, I asked here why console wasn't prompting for GELI on boot and someone indicated that was a limitation of the BIOS boot loader method I was using. After finally getting around to UEFI, I can confirm it works now. To whomever you are, thanks!
-
iRobbery
fac3: thanks for your time and brain power :)
-
iRobbery
and now i can also correct myself, that all those bots do support PQC :D
-
mason
Conker: kevans helped you.
-
mason
June of last year.
-
Conker
Aha, thank you kevans! and mason :)
-
fac3
I'm back, sorry had a meeting
-
fac3
iRobbery: Did you get it working?
-
iRobbery
fac3: yes yes, heritage configurations, had their own ssl settings, ciphers and what not. nginx doesnt like that, one setting to rule them all. Did the monk task of migration all those configs to include a single ssl-common
-
fac3
Ahh, well I'm glad you got it working.
-
fac3
Boosting security numbers is always fun
-
iRobbery
too :)
-
Conker
still have to do a bit of tinkering. Fixed a double / reapeating character output problem, as I guess the BMC is still capturing the console & serial when the boot menu pops up. But for some reason ipmi-console stops output right before login, and if you press a key it says "excess errors received" and closes the connection. Meanwhile ipmitool doesn't suffer from that, and shows the login after initing.
-
Conker
odd
-
h3s
Can anybody explain to me why everything including the base system being managed by pkg is a good thing ? (When does my choice to use freebsd-update stop ?)
-
rwp
I am not an advocate for pkgbase and so I can't. pkg works well for ports though. And I find pkg to be much faster than similar tools in either the Debian-family space or the Redhat-family space.