-
Erhard
spork_css: If on desktop use NoScript and ddg will not scroll.
-
Erhard
I hate that too, would much rather click through pages I could go back through easily.
-
mason
It's rare for the thing I need to not be within the first dozen hits so I'm not sure if I see infinite scrolling or not.
-
laidback_01
anyone running ceph on freebsd? I see it's available and working, but I'd like to know are there performance considerations to be aware of vs a linux based system?
-
laidback_01
vs a linux based ceph cluster that is. I may have to just build both out on the same hardware and do some performance testing to see.
-
laidback_01
nevermind, I'll just do that.
-
kenrap
Sadly, much of the web relies on only javascript to function. And as a result of it, much of it is infested with (google) analytics backends too.
-
rtprio
so add it to your ublock
-
kenrap
I think ublock already does that very well. But unfortunately, that doesn't solve the "fingerprinting" issue though. The best way to do that is to turn off javascript completely. But if you do that, much of the web becomes broken. Also, adding browser extensions (such as ublock) only makes your fingerprint more unique. The more you add, the more you will stand out. Thus you will still be tracked across the web to some high degree of accuracy. Granted, there
-
kenrap
are special ways to block fingerprinting but doing so makes the browsing UX more painful imo. Anyway sorry about my offtopic, I'll let it go now.
-
rtprio
kenrap: yep. it's not actually paranoia if they actually are after you
-
kenrap
Sigh...
-
kenrap
Hmm, in regards to using CURRENT, would this commit be a good reason to do an upgrade?
cgit.freebsd.org/src/commit/?id=b37…f156ab9d88450e9bc0440df522aec88cc44
-
VimDiesel
Title: src - FreeBSD source tree
-
rtprio
are you now or have you ran current before?
-
spork_css
"are you now, or have you ever been a member of the -CURRENT party?"
-
spork_css
<rimshot> (sorry)
-
JaskieMe
Hey guys, so
bsd.to is still down?
-
VimDiesel
Title: dpaste
-
JaskieMe
I am wondering is it affiliated with FreeBSD.org or is it just a another random public website hosted by someone ?
-
rtprio
dosn't seem down. not affiliated to my knowledge
-
debdrup
JaskieMe: it's just a site set up by someone in the FreeBSD community.
-
debdrup
Anything that isn't freebsd.org or on a subdomain is set up by a community member.
-
debdrup
Anything on freebsd.org or a subdomain is run by the cluster admins.
-
debdrup
CCFL_Man: labelclear is useful if you want to use the disk for a different pool in the future, without having to zero all of it (because the labels are stored in multiple places on-disk.
-
JaskieMe
But I always get 500 error when I paste something
-
debdrup
JaskieMe:
bsd.to/Os6X/raw was created just now
-
JaskieMe
The website itself is running and up, but pasting and get back a paste seems down
-
VimDiesel
Title: Os6X
-
rtprio
same. i just pasted something too
-
JaskieMe
if you drop /raw at the end it won't open, which is supposed to present after you paste something.
-
rtprio
maybe you found the 'XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X' of dpaste
-
debdrup
CCFL_Man: as for IT mode, it's short for "initiator target" mode, and is traditionally used to pass disks through to an iSCSI initiator - however its function, in terms of the HBA, is to bypass any form of RAID functionality, which is desirable because ZFS has its own RAID functionality and also needs control over the disk cache behaviour (to ensure a flush whenever a transaction group is written to
-
debdrup
disk).
-
debdrup
JaskieMe: what are you trying to paste? Do you have javascript blocked?
-
debdrup
-
VimDiesel
Title: FreeBSD / src / b370ef1 / libthr: Patch to reduce latency to acquire+release a pthread mutex. - FreshBSD
-
JaskieMe
I am just trying to paste a raw markdown text file. I paste all text in the box and click paste, it went to something like
bsd.to/Os6X, which weill say Server Error (500). But if you apend /raw to the end of the address it opens
-
JaskieMe
So I was wrong, the website is not down. It's just not working as expected I suppose
-
debdrup
JaskieMe: not sure what to say; it's working fine for me in all the cases you've mentioned
-
JaskieMe
well I am confused. but since I now know it works it's OK for me. Thanks
-
parv
bsd.to/e3vn - random text just added
-
VimDiesel
Title: dpaste/e3vn (Plain Text)
-
debdrup
JaskieMe: if you're using a browser that supports different profiles, can you try creating a new one?
-
debdrup
supports multiple profiles, I should say
-
JaskieMe
seems like it's related to the markdown format. I pasted your text (xndsfk;lfkds;) as text it works, but Server Error (500) when I choose Markdown format
-
JaskieMe
Tested in Firefox and Chrome browser, seem results
-
JaskieMe
same results
-
parv
JaskieMe, Yup, same 500 error with "Markdown" -- perhaps the backend is not enabled or broken
-
JaskieMe
I remembered it used to work with markdown, that's why I thought it's down.
-
parv
Ah
-
sthalik
hey
-
sthalik
so mac_bsdextended(4) is actually cool for rootless chroots and jails
-
sthalik
but are there plans for something more advanced like firejail for linux?
-
sthalik
for example, with ugidfw you can't set rules for individual files, only mount points
-
sthalik
example use-case: unbound startup script creates device nodes inside the devfs mount. a firejail-like chroot would allow to ban all da* and ada* from unbound (even with high securelevel, it can access them in read-only mode)
-
sthalik
and jails have the problem of not being rootless
-
sthalik
I could make a rootless jail but there's no infrastructure for it
-
sthalik
and if I actually wanted to extend mac_bsdextended(4), would somebody be willing to answer simple kernel programming questions?
-
sthalik
I have no kernel-level programming experience
-
sthalik
1. can a MAC module not worry about sleeping, having to hold locks in order to do something as simple as the kernel equivalent of realpath(3)
-
sthalik
2. I know how to set up linux/windows cross toolchains, can I set one up for FreeBSD from Windows msys2/cygwin?
-
debdrup
sthalik: by default, a jail doesn't have access to disk access devices
-
sthalik
debdrup, in my opinion, rootles chroot + sysctl hardening is more secure than a rootful jail
-
debdrup
chroot doesn't provide the kind of isolation that jails do
-
sthalik
debdrup, yeah, but a script kitten can't execve /bin/sh or write a binary to be executed, or launch a script interpreter...
-
debdrup
chroot was never designed for isolation, it was purely a way to build in a clean environment
-
sthalik
is there infrastructure for making rootless jails easy?
-
debdrup
jails, on the other hand, were explicitly designed for isolation
-
sthalik
for example, replacing unbound chroot with a jail
-
debdrup
rootless jail doesn't make sense, because jail was made to confine the root user
-
sthalik
and you can't simply filter out uncommon syscalls with jails
-
sthalik
which would be great
-
debdrup
"confining the omnipotent root" is, both demonstrably and literally, the subtitle of the jail paper ;)
-
debdrup
-
sthalik
yeah right, but then you have stuff like docker or linoox namespaces and they have a ton of exploits on them
-
debdrup
because they were never built for isolation to begin with
-
sthalik
it's not like freebsd jails had zero cve's (they had a few)
-
debdrup
sure, they had a few, but the design still informs the feature
-
debdrup
i think there's been two jail escapes since 1999 when it was invented
-
sthalik
so jail + rootless chroot inside the jail is better than a simple rootless chroot, then
-
debdrup
what makes rootless chroot secure is the privilege separation though
-
debdrup
you can get that without using chroot
-
debdrup
daemon(8) to be specific
-
sthalik
the daemon has to implement chrooting in itself, so that the chroot is rootless
-
sthalik
otherwise it requires things like libraries, maybe even a dynamic linker
-
debdrup
that's an entirely separate thing
-
sthalik
can I show you some pastebin'd ugidfw rules?
-
debdrup
you can statically compile something (or even use something interpreted) with daemon(8) to drop its privileges
-
debdrup
it's been over a decade since i used ugidfw, so i'm probably fairly rusty, but sure
-
sthalik
yeah, and then have to integrate compiling it into the static binary with ports, pkgng won't work with it
-
debdrup
what?
-
sthalik
-
VimDiesel
Title: gist:827ffd0744b8da27af05951a2911030c · GitHub
-
sthalik
with a setup that's not as involved as patching and building static binaries, it nicely integrates with upgrading via pkg(1)
-
sthalik
as well as existing startup scripts for unbound, etc
-
sthalik
note: nitter is launched through daemon(8)
-
sthalik
so note that /var/tmp, /tmp et al. are all mounted noexec, nodev, etc.
-
debdrup
doesn't WITH_STATIC exist anymore?
-
sthalik
and there's some nullfs usage to enforce noexec et al. for temporary directories inside the chroots
-
sthalik
pkg(1) is better to use for ssd-based systems and SoC's
-
sthalik
but yeah, ports are more flexible
-
sthalik
also a company with large infra can set up a pourdiere (sp?) instance, a smaller user technically can but it's overkill
-
debdrup
i'm a company? :P
-
debdrup
quite a few people run poudriere for their own package repos
-
sthalik
I can't for the next few years, due to EU electricity soft-'rationing' and subsidies for low usage
-
debdrup
it sounds like you have the best use-case for it, which is that you need a custom environment
-
sthalik
debdrup, that's why mac_bsdextended should be more flexible
-
debdrup
I'm Danish, we have the highest electricity cost in the world.
-
debdrup
well, go extend mac_bsdextended then :3
-
sthalik
but you have also more disposable income than CEE
-
debdrup
us Danes, or me personally? because i'm on the absolutely minimum benefit because I got cancer in 2016 and haven't been able to work since due to chronic extreme exhaustion
-
debdrup
anyway, this is getting off-topic
-
debdrup
i don't think mac_bsdextended can do what you want, but if someone wanted to add that feature i don't see a problem with it
-
debdrup
like i intimated before, i'm also not sure i see the usefulness of it if you combine mac_bsdextended with jails and daemon(8) for dropping privilege, but that's something i suspect we're going to have to agree to disagree on
-
sthalik
debdrup, it's meant to provide defense in depth, imagine falling into a coma for 3 to 5 years or something, with the machines still running
-
sthalik
I'm gonna look into mac_bsdextended soon
-
sthalik
extneding it, that is'
-
debdrup
sthalik: a machine can't be expected to run for 3-5 years in a modern threat landscape
-
sthalik
debdrup, my Alix did
-
debdrup
then your alix was probably vulnerable to a fair number of security exploits. ;)
-
sthalik
went through errata, port errata, decided things don't apply for possible threat vectors
-
sthalik
like, it wasn't running nfsd at all, so all nfs issues were ignored
-
sthalik
mitigations were ignored when openssl and sshd implemented their own hardening, etc
-
sthalik
but it really depends on the amount of services that are being provided
-
debdrup
sure, but 3-5 years seems too long for nothing to have affected you
-
debdrup
unless you happened to run into a coincidence of a period of time where that was just barely possible
-
debdrup
my point is more that it's not something you can _rely_ on happening, only observe that it may have happened in the past.
-
sthalik
I upgraded it once every 2 or so years but if I was in a coma for 3 years it's still unlikely that anything would've compromised it
-
sthalik
agreed
-
debdrup
i'm not sure i'd make that assumption.
-
sthalik
but you can't rely on anything at all with modern, complex hardware
-
sthalik
but then it gets too paranoid when you start considering things like hard disk firmware viruses
-
debdrup
when i spent a few months dealing with cancer and for the first year or so after, i didn't assume my system was safe when i came back
-
debdrup
that was like 18 months in total
-
sthalik
I'm sorry, it must be hard to deal with
-
debdrup
it wasn't great, but i'm in remission now
-
sthalik
that's good
-
plasmoduck
hey I need help with my sound. I only ever use headphones.
clbin.com/7v8RY
-
plasmoduck
-
plasmoduck
I tried this in /boot/device.hints with no luck
-
plasmoduck
hint.hdaa.0.cad1.nid33.config="as=0"
-
plasmoduck
hint.hdaa.0.cad1.nid33.config="as=0 seq=15"
-
plasmoduck
what should it be?
-
Plasmoduck
back
-
plasma
o/
-
Lovis_IX
Plasmoduck: did you try sysctl hw.snd.device_default = <device number from /dev/sndstat?
-
Plasmoduck
sysctl hw.snd.device_default = pcm1
-
Plasmoduck
sysctl: unknown oid 'hw.snd.device_default'
-
Plasmoduck
etc
-
Plasmoduck
Lovis_IX:
-
Lovis_IX
Plasmoduck: excuse me, it's sysctl hw.snd.default_unit
-
Plasmoduck
Lovis_IX: I don't think this is right
-
Plasmoduck
its saying the same thing
-
Plasmoduck
cat /dev/sndstat shows
-
Plasmoduck
pcm0: <Realtek ALC294 (Analog)> (play/rec) default
-
Plasmoduck
pcm1: <Realtek ALC294 (Front Analog)> (play/rec)
-
Plasmoduck
so I've tried sysctl hw.snd.default_unit = pcm0 and sysctl hw.snd.default_unit = pcm1
-
Plasmoduck
hw.snd.default_unit: 0
-
Plasmoduck
sysctl: unknown oid ''
-
Plasmoduck
sysctl: unknown oid 'pcm1'
-
Plasmoduck
I hate dealing with sound on FreeBSD it's terrible
-
Plasmoduck
why doesn't it just work properly like in Linux
-
Plasmoduck
it's crazy
-
Plasmoduck
I feel like audio and wifi are FreeBSD's biggest weakness
-
RhodiumToad
sysctl hw.snd.default_unit=0
-
RhodiumToad
no spaces around the =
-
la_mettrie
which computer models have audio issues? (my thinkpad does not)
-
Plasmoduck
sysctl hw.snd.default_unit
-
Plasmoduck
sysctl hw.snd.default_unit=pcm1
-
Plasmoduck
sysctl: invalid integer 'pcm1'
-
RhodiumToad
=1 not pcm1
-
Plasmoduck
Okay nice that works
-
Plasmoduck
Now how to make it perminant>
-
Plasmoduck
should I just put that command in my .xinitrc?
-
RhodiumToad
hw.snd.default_unit=1 in sysctl.conf if you want to have it set system-wide on boot
-
Plasmoduck
thanks
-
Plasmoduck
brb
-
Plasmoduck
rebooting
-
puddinghead
hey, im planning to start building my own ports and submitting to the ports tree
-
puddinghead
would you recommend me to upgrade my system from 13.2 release to 14.0 current if i want to start porting programs to freebsd?
-
RhodiumToad
you might want a 14.0 VM, but you probably don't want to run on -current
-
puddinghead
i see... so itd be like 14-stable on bhyve then right
-
RhodiumToad
14 is still -current last I looked
-
puddinghead
i see
-
RhodiumToad
(it was supposed to be branched by now, but the switch to openssl 3.x and llvm16 has delayed things
-
puddinghead
i see
-
puddinghead
so i should then set up bhyve for a 14.0 vm then?
-
puddinghead
i've been building my 13.2 packages in poudriere through bare metal for a while already
-
RhodiumToad
how much RAM do you have?
-
puddinghead
16gb
-
puddinghead
planning to upgrade to 64gb but i wont do that before adressing my storage isuses first
-
RhodiumToad
then yes, set up a 14-current vm
-
puddinghead
cool! how much ram and space would i need
-
puddinghead
8gb of ram and enough space for whatever ports i want to build right (rn just one)
-
RhodiumToad
depends how impatient you are
-
RhodiumToad
does your port depend on anything substantial?
-
puddinghead
not really, its just a gemini browser
-
puddinghead
might pick up a few other ports but only if the gamini browser goes well
-
natewrench
i cant help think that major companies might move back to freebsd because they want to sell both the product and service. Sony originally shipped the old Ps2 with GNU Linux software called other os. But Sony moved to FreeBSD for ps3/ps4/ps5. We've been conditioned that free is free instead now its free as a subscription
-
kenrap
Though companies don't have to fully fork from FreeBSD to create their custom firmware OS. They could also cherry pick pieces from the kernel to integrate into their system, much like how Nintendo took from FreeBSD's network stack and integrated it into their own OS for the Switch.
-
meena
companies will use whatever they *can* use. most of all, they like to already have engineers knowledgeable in the technology. you don't see many job listings for junior kernel engineer
-
kenrap
I was only remarking on how companies can take pieces of FreeBSD rather than being a full derivative in order to give FreeBSD that "street cred". However companies want to allocate their business resources is their prerogative and not what I was talking about.
-
eoli3n
hi
-
eoli3n
is there any tool like debian unattended_upgrades to automate upgrade process and reboot when kernel upgrade ?
-
easyme
Hello
-
easyme
What is the difference between linux and bsd? I think, both use open source softwares.
-
mason
easyme: Licensing, pacing, the place of tradition in planning.
-
kenrap
easyme: camp Linux focuses on copyleft, camp BSD focuses on permissive licensing
-
kenrap
In regards to pacing, Linux development is more chaotic and wild-west, BSD development is more structured and thoughtout.
-
V_PauAmma_V
Or are you asking about user-visible differences?
-
la_mettrie
there are rather many differences between linux & BSDs. reading an article about it might be a good idea to get a complete picture
-
jgh
or historical roots?
-
la_mettrie
the licensing issue is often given too much weight. it's just one aspect
-
meena
eoli3n: i don't think so
-
V_PauAmma_V
eoli3n, if you're using binary updates, there's "freebsd-update cron" and "freebsd-update updatesready", but you still need to install manually.
-
parv
eoli3n, Some do install phase themselves to avoid a reboot; look up on that to script that
-
eoli3n
ok thanks, then i'll script
-
parv
Realize that "do install phase themselves" is not putting "freebsd-update install" in a script but create a new environment to extract the updates. As I have not been interested in that, have not closely looked at all the moving parts
-
spork_css
That was neat - Vultr's default FreeBSD install uses UFS - using the "custom ISO" feature and feeding it 13.2-RELEASE and running the installer in VNC took me maybe all of 15 minutes.
-
spork_css
For sh*ts and giggles, I also enabled GELI encryption. Might be a pain with upgrades (always have to get on the Vultr console to type the phrase), but the installer support for zfs/geli encryption is solid. Very easy setup.
-
mason
spork_css: Heh, I just sent up a new FreeBSD box on Vultr a couple hours ago. Good day for it.
-
mason
I just took their default install of it and upgraded.
-
meena
upgraded to zfs?
-
meena
:P
-
mason
Nah, not enough memory to do that and run other stuff. Just updated everything.;
-
meena
why is the default install UFS it seems so strange if you have more than two gigs of RAM
-
mason
Only one gig on the one I got.
-
meena
I guess if you're doing the cloud thing of destroying the machine every time you change anything, you don't need bectl, do UFS is good enough
-
mason
Nah, I just make regular back-ups. No destruction imminent.
-
meena
I need to destroy and rebuild this machine
-
meena
but… i would just rather rebuild it as aarch64
-
temp64
aarch64 is such a gay name for arm holy shit
-
meena
as soon as we boot in Hetzner, I'll do it
-
mason
Derogatory language usage isn't generally acceptable here.
-
» meena slides uncomfortably close to temp64 i know right? i love it, too
-
temp64
:D
-
meena
I know pride month is over, but, did you know that the original arm architecture was developed by a trans woman?
-
temp64
what was his name?
-
mason
!ops
-
meena
nope.
-
mason
hm, no such command
-
temp64
what was that supposed to do?
-
meena
a failed attempt to summon the ops to kick and ban you
-
meena
we'll get there, in the meantime, we'll put you on ignore 🤷🏻♀️
-
temp64
I am morally and intellectually stronger than you. There is no remedy against me
-
temp64
You can only ban me
-
chud
what's the problem?
-
temp64
meena is just sperging out over "his" word
-
mason
chud: Use of "gay" and "him" in ways intended to be hate speech.
-
chud
yikes
-
temp64
oy vey
-
meena
we don't like people hating to the gays and the transes, and not just because they are pillars of our community, but also… because it's mean, and we don't need that
-
temp64
maybe if you stopped worrying about such trivial matters apple would actually start funding your project
-
yuripv
you could stop after "hating"
-
chud
As a rust user I agree with meena, we have to be inclusive
-
temp64
i ain't hating though, i just thought aarch64 sounds kind of gay
-
markmcb
you mean like happy?
-
markmcb
i agree, aarch64 makes me happy
-
markmcb
:)
-
mquin
now would be a good time to let this drop
-
meena
yeah, yuripv is right, i could put lots of categories after, and it would never be exhaustive and people still find reasons to hate specific groups, and we don't need and don't want hate. it's not great for building community
-
chud
aarch64 being gay would mean it is superior to amd64
-
meena
anyway, yes. let's drop it
-
temp64
can't argue with that tbh chud
-
Melon
sounds like this conversation needs to goto #freebsd-social. #freebsd is basically a support channel for freebsd
-
chud
drop(problem); 💪🏿💪🏿💪🏿
-
temp64
if this is tech support, i can't imagine how #freebsd-social looks like
-
chud
anyways do you need any help with freebsd temp64?
-
markmcb
curious, what's the most jails anyone has running?
-
chud
over 9000
-
temp64
how many are there in the us?
-
markmcb
9000???
-
markmcb
wow
-
markmcb
here i am proud of my 7
-
markmcb
lol
-
temp64
heard black people get locked up there left and right
-
chud
I know I run many jails at the domestic and federal level
-
meena
markmcb: jails are pretty lightweight. it's easy to spawn a lot
-
meena
try it out in a loop with /rescue as root
-
markmcb
ooh, what's /rescue? another corner of the OS to explore
-
yuripv
one huge static binary containing a lot of utilities
-
temp64
niggas legit reinvented busybox, i'm impressed
-
markmcb
nice, seems pretty handy
-
meena
-
VimDiesel
Title: rescue(8)
-
markmcb
meena: so if i understand correctly, i could config a lightweight jail with path = "/rescue"?
-
meena
markmcb: lemme draw up a shell script
-
temp64
It was a great night, it was a Homocaust
-
temp64
Bona fide homocide, 50 lives lost
-
temp64
No Pulse, just Blood on the Dance Floor
-
temp64
Now the fags are more butthurt than before
-
temp64
-
temp64
Look here, a muslim walks into a bar
-
temp64
And orders shots for everybody, hardy har har
-
temp64
And he should've killed more but he was not a straight shooter
-
temp64
Almost makes you wanna cry like that bitch Anderson Cooper
-
temp64
-
temp64
It's a tragedy, too many faggots got away
-
temp64
So instead of Islam they're gonna die from AIDS
-
temp64
If survivors wanna feel guilty, that's their prerogative
-
kenrap
inb4 a banning
-
meena
meena@websrv2-hel1 ~> for j in (seq 1000) sudo -H jail -c persist ; end
-
meena
markmcb: this took about ten seconds to execute
-
meena
and about a minute to write, because I'm doing it on my mobile phone, which after 23:00 Turns black and white
-
markmcb
meena: cool, I'll give that a whirl
-
meena
A_Dragon: might be worth banning the /64
-
» yuripv votes for kline
-
A_Dragon
`<-- ╡ temp64 (~temp64@2a02:a314:8348:100:6e87:87c5:8ae1:7636) has quit (K-Lined)`.
-
yuripv
heh
-
mason
Thank you.
-
meena
markmcb: jls now shows 1006 jails running, but since they're not doing anything, top is unaffected. all I've done is created 1000 additional process name spaces (which all map to the same file system name space (/rescue) and network name space (none))
-
meena
i got my paste wrong
-
meena
meena@websrv2-hel1 ~> for j in (seq 1000) sudo -H jail -c persist path=/rescue
-
meena
end
-
markmcb
very cool ... i have much to explore :)
-
meena
like, jail -r
-
A_Dragon
that works
-
debdrup
A_Dragon: thanks for the assist
-
A_Dragon
no problem, sorry for stepping on your channel
-
debdrup
no, you were right to - i was in bed trying to fall asleep (unsuccessfully), so i wouldn't have noticed had i not gotten up