-
V_PauAmma_V
Not that I know of.
-
V_PauAmma_V
(There's a lot I don't know.)
-
tuaris
what is the correct way to add a unionfs (with -o below) mount to fstab?
-
tuaris
This doesn't work with fstab: "/mnt/poudriere/data/archive /var/ftp/pub/FreeBSD/pkg unionfs late,below 0 0"
-
warsoul
whats the last version of freebsd?
-
realdeimos
-
VimDiesel
Title: Release Information | The FreeBSD Project
-
jmnbtslsQE
tuaris: i think you will need another option such as rw
-
jmnbtslsQE
it's just a peculiarity of fstab i guess
-
CrtxReavr
Mount things manually the way you need, then run: mount -p | grep unionfs >> /etc/fstab
-
tm512
does anyone here use capsicumizer to sandbox firefox? wondering if anyone already has a configuration file that whitelists all of the paths that FF needs to function properly
-
sfox
tm512, what is that?
-
rwp
-
VimDiesel
Title: GitHub - valpackett/capsicumizer: Run anything (like full blown GTK apps) under Capsicum
-
remiliascarlet
What was the default window manager in FreeBSD called again? fvwm or twm?
-
SponiX
remiliascarlet: pretty sure X11 ships with twm
-
remiliascarlet
Ah yeah, thanks.
-
angry_vincent
but it is not FeeBSD default window manager as there are none of such. twm is part X11
-
remiliascarlet
Yeah, I meant "whatever ships with X11". I was still in OpenBSD mode, which ships 3 different window managers out of the box.
-
tm512
I'm wondering just how much capsicumizer would actually help because it wouldn't prevent an exploited browser process from reading anything it wants out of ~/.{cache/,}mozilla for instance
-
tm512
like website login tokens
-
sfox
remiliascarlet, freebsd ships with twm. netbsd ships with ctwm
-
tm512
whereas if FF were actually programmed to properly use capsicum it could leverage much finer-grained control over which processes are allowed to access what
-
sfox
FF isn't even properly programmed to handle malloc() failing.
-
sfox
that seems like a lot ot ask from a corporation more interested in virtue signalling and donating to non-tech related 'influencers' projects then working on improving their own software
-
sfox
not to mention leaving the BSDs in the dust when they switched to using rust
-
tm512
to further mitigate risk I'd have to like, manually separate out websites like keeping financial stuff in its own separate profile and having two (or more) different capsicumized FF instances blacklisted from each others' data, though that sounds like a pain in the ass
-
sfox
tm512, if your really worried you could disable to cache
-
sfox
or disable javascript by default to reduce your attack surface
-
sfox
modern web browsers are kinda of a lost cause though. It may be more useful to prevent an exploited browser from reading and writing to non-web browser related userdata.
-
sfox
the state of chromium is such that when malloc fails, I get warnings about it trying to execut opcodes which do not exist.
-
tm512
I don't know exactly how worried I should be. it's just a shame that browsers on FreeBSD lack such a basic security feature that they've had for years on Linux through stuff like seccomp
-
angry_vincent
this is topic for #freebsd-social
-
sfox
I believe that might mean it is executing non-program data
-
sfox
tm512, the state on Linux isn't that much better
-
tm512
angry_vincent: I'm specifically asking about FreeBSD-related software, not really socializing
-
angry_vincent
this is not FreeBSD related software
-
tm512
how to best secure a browser on FreeBSD, particularly through imposing capsicum on it, or perhaps using jails, is inherently FreeBSD-related. I've never seen anyone ever suggest that talking about FreeBSD is off-topic for this channel
-
angry_vincent
browsers are not related
-
angry_vincent
more over browsers devs perhaps even less interested in FreeBSD at all
-
angry_vincent
specially chromium
-
angry_vincent
you can run browser in jail, this is true.
-
angry_vincent
maybe, it is the most secure one can get
-
tm512
considering browsers are software that can be run on FreeBSD and have security issues on FreeBSD specifically, discussing those issues and how to best address them seems so clearly on-topic for this channel that I'm not even interested in bickering with you regarding this anymore
-
tm512
never seen anyone get chastised in this channel for discussing real-world use of FreeBSD, never seen anyone chastised for talking about anything outside of the base system
-
remiliascarlet
"best secure a browser" Are you talking about Lynx?
-
remiliascarlet
A browser that ships with a ton of spyware by default, has a billion lines of code, and takes ages to compile is not what I can consider "secure".
-
tm512
the problem is that on FreeBSD, every single browser process has unrestricted access to everything my user has access to, whereas on the "Big 3" this is not the case, because browsers care enough to write OS-specific sandboxing backends for those OSes
-
tm512
I guess OpenBSD + chromium is the exception for sandboxed browsers on the BSDs, because chromium has support for unveil
-
tm512
but that would require me to run both OpenBSD and chromium, neither of which are my preference
-
tm512
I'm probably going to see if capsicumizer works with Firefox, if not, I'll stick with this other route of running it in a separate user and granting that user access to my X server, and adding my main user to that separate user's group, but I ran into some annoying permissions issues with files downloaded into /tmp
-
remiliascarlet
Maybe consider chmod 600'ing important files and directories.
-
tm512
doesn't really help if a compromised browser is running as the user that has access, though running the browser as a separate user and not providing that user access to my main user's home directory does basically solve that issue
-
rtprio
are you still paranoid about your desktop browser?
-
remiliascarlet
The alternative is to just use Lynx for your daily browsing.
-
remiliascarlet
Or Netsurf if it has to be graphical.
-
rtprio
why would anyone want to target a freebsd desktop, with what, like .001% of the browser market
-
rtprio
if you're really that paranoid, then don't run a browser on your computer, or run it in a VM that's reset to a pristine state each time, with none of your personal files
-
rtprio
but it sounds like you're sure making a lot of work or inconvenience for yourself
-
tm512
I dunno how much of this would have to be tailored for FreeBSD specifically, don't really know the internals of Firefox. also dunno how I feel about being called paranoid for wanting a fraction of the security that I've had on Linux for years and just take for granted
-
remiliascarlet
The most balanced way would be to just deactivate all the spyware, install uBlock Origin to make webpages more sane and secure, and install Dark Reader to make websites easier on your eyes, and just leave it at that.
-
remiliascarlet
And disable Javascript by default to mitigate 99% of all possible browser exploits.
-
tm512
uBlock Origin is already a given. on the very rare occasion I use a browser without installing it right away, I just end up shocked by how unusable the web is without it. as for something like NoScript, eh, what I'm worried is going to happen is that I get annoyed by constantly needing to whitelist javascript that I just end up feeling like it's not worth the effort
-
remiliascarlet
No need for NoScript.
-
remiliascarlet
uBlock Origin has a Javascript on/off toggle built-in that works just fine.
-
tm512
that's like exactly my experience with trying to use duckduckgo several years back. it gave such useless search results on such a consistent basis, forcing me to go to google over and over again, eventually it just ended up not being worth the hassle
-
remiliascarlet
Because DuckDuckGo is broken by design.
-
remiliascarlet
I can recommend a decent SearXNG instance, which'll use both and many other engines without the need to have JS enabled.
-
tm512
from what I hear, nowadays they just scrape Bing search results. maybe better than what it used to be, but still
-
tm512
I've heard decent things about searx, as long as you can find a trusted instance
-
remiliascarlet
opnxng.com This one has never failed for me thus far.
-
VimDiesel
Title: searxng
-
remiliascarlet
I do recommend you set HTTP method to "GET" if you intend on setting it as the default search engine.
-
remiliascarlet
I still use DuckDuckGo for image search, because SearXNG still doesn't have any all the useful features found in the big search engines for some reason.
-
rtprio
as you say, you don't understand firefox internals, what do you think a sandbox of sort protects you against
-
tm512
from what I do understand of how the sandboxing works, it prevents each browser process from accessing any files other than those it's directly concerned with, like that specific website's cookies, cache, etc
-
rtprio
so have you raised this issue with firefox?
-
tm512
there's already a ticket on their bug tracker regarding capsicum support, with work apparently abandoned
-
rtprio
ok then
-
tm512
-
VimDiesel
Title: 1607980 - Implement sandboxing on FreeBSD with Capsicum
-
dch
anybody got twitch.tv working in a browser on FreeBSD?
-
tm512
as for the whole thing about inconvenience, I'm specifically trying to find the solution that gives the most security as transparently as possible, like the solution I arrived at currently is having a shell script just called "firefox" higher up in my path than the actual binary, and that shell script launches firefox as another user, granting that user X11 privs before launching, and revoking them after
-
tm512
FF closes
-
la_mettrie
dch: works here
-
tm512
dch: twitch doesn't already just work?
-
dch
nope, login reports "Your browser is not currently supported. Please use a recommended browser or learn more here."
-
dch
has done for a long time, IIRC. I used to watch code streamers a fair bit.
-
dch
doesn't work in ungoogle-chromium, nor vanilla firefox
-
dch
la_mettrie: what browser, and do you have to do any user agent hacking?
-
tm512
as a hunch, do you have H.264 support built-in to ffmpeg?
-
dch
I just have whatever comes from pkg.freebsd.org
-
la_mettrie
dch: firefox 122.0, i don't recall doing any agent hacking
-
dch
albeit on current
-
tm512
I seem to recall that error message showing up when I was trying to get Linux set up on my friend's laptop recently, and it was because OpenSUSE does not package ffmpeg with patented codecs
-
dch
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
-
dch
is my UA according to firefox
-
tm512
hmm well here on 14-STABLE with the packages, H.264 was working just fine on youtube at least
-
dch
looks like by default, ffmpeg has OpenH264 off andX264 on, as one would expect.
-
remiliascarlet
If it were to read "FreeBSD" instead of "Linux", more websites made by complete amateurs would probably display a "this system or browser is unsupported" message, which they do because they don't know how to make websites correctly.
-
tm512
x264 is an encoder library, I don't think it has a decoder, libavcodec has its own
-
dch
la_mettrie: if you can, what's your user agent?
-
tm512
dch: ffmpeg -decoders | grep h264
-
tm512
also, whether the browser is trying to leverage hardware accel and failing might have something to do with the issue? though, I'd really expect it to seamlessly fall back to software
-
la_mettrie
dch: 42e5f1a60d9445aba3650b7261c0a5f5
-
dch
yeah this is a box that can play youtube video etc without issue
-
dch
la_mettrie: whats that? I'd expected something like 'Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0'
-
la_mettrie
dch: Mozilla/5.0 (X11; FreeBSD amd64; rv:122.0) Gecko/20100101 Firefox/122.0
-
dch
huh and it works OOTB
-
dch
la_mettrie: thanks! thats very weird, its the same as mine, albeit I'm +1 firefox version, which makes no difference
-
dch
maybe its our DNS blocking... nope not that either
-
tm512
just a fresh install of firefox on this laptop I'm setting up has twitch working out of the box
-
VVD
twitch work for me too in ff 123
-
tm512
yeah, FF 123 here as well for what it's worth
-
dch
thanks for the testing!
-
dch
what I see here is this:
-
tm512
I don't have any hardware decoding available though, according to about:support
-
tm512
I guess I have to install the AMD libva drivers first
-
dch
-
dch
I will scrounge up a 14.0-RELEASE and see if it works
-
dch
nope neither
-
dch
not even with a fresh profile
-
dch
it looks like this integrity check fails with 400, and other people report the same issue
-
tm512
the whole passport.twitch.tv thing reminds me of this issue where I couldn't log in to twitch from FF (on Linux) at all for like a month and had to use chromium. I may be getting details confused, though
-
tm512
the site still worked, I think it was just the login that was broken
-
tm512
-
tm512
dch: one commenter in this thread was recommending setting network.http.referer.XOriginPolicy to 1 in about:config, though this is a pretty old thread
-
tm512
and it seems like the concrete solutions that people propose in this thread work for some and not others
-
dch
tm512: mmm, thats the default, so my `firefox --profile $(mktemp -d -t firefox) &` has it
-
dch
wow
-
dch
twitch's CSP is crazy: allows recaptcha.net (IIRC google), facebook, cloudflare cdn, googleapis.com, bootstrapcdn, authy.com
-
dch
thats basically everybody
-
tm512
so I installed mesa's VDPAU drivers, as well as the libva VDPAU wrapper, still don't get hardware codec support in firefox :|
-
tm512
this is a Vega 8 iGPU, with Video Core Next 1.0, so it should have decoders for up to VP9
-
tm512
I'll try to inspect further with vainfo, dunno if I will get around to that tonight though. I really don't have much experience with AMD's stuff, and never used VDPAU
-
Bheam
hi. i'm having big problems with running win 10 on bhyve. it keeps exiting with error 137. evidently it means out of memory
-
Bheam
i tried with all kinds of memory wired to vm 4g/8g/12g and it's always the same. host has 16gb ram. i reduced zfs arc to 2gb
-
Bheam
usually stops within a few hours to a couple of days
-
babz
download more ram ?
-
Bheam
:p
-
Bheam
if i can't run a 4gb vm on 16gb ram, soemthing is wrong, no?
-
nimaje
depends what else the host is doing
-
babz
what is returning "error 137" ?
-
Bheam
supposed to be doing nothing at all
-
Bheam
Feb 26 14:40:42: bhyve exited with status 137
-
Bheam
i'm monitoring top now, just restarted vm, gonna see if i see anything suspicious
-
Bheam
so far it's 7gb free mem
-
Bheam
vm seems to be creeping up in mem use tho
-
Bheam
bhyve that is
-
Bheam
not sure how the oom killer works :/
-
tsoome
it kills things it does not like;)
-
Bheam
yea bhyve keeps allocating memory. it's up to 9.5gb now
-
Bheam
11gb now :/ what amount of memory should i expect bhyve to use?
-
babz
the limit you set in your config
-
Bheam
not sure you're following :p
-
Bheam
i've set 4gb on the vm. but bhyve is using 11.3gb
-
Bheam
and rising
-
ivaat
you mean u have set 4GB on guest?
-
ivaat
or 4GB on bhyve conf?
-
Bheam
i haven't found any setting that regulates bhyve memory usage
-
Bheam
i'm starting to suspect pci passthru bug
-
nimaje
I would assume bhyve to have a small constant overhead additional to the guest memory size specified via -m, reads like a bug somewhere to me
-
Bheam
rebooted host and all is normal
-
Bheam
noticed before i rebooted that vm ethernet was down, passthru not working anymore
-
Bheam
it's happened before. need to find out what causes it
-
Oks4
I have service written in golang daemonized with /usr/sbin/daemon . I just noticed that it seems to be 2-3x faster if I just leave it running in tmux rather than using daemon. What might cause this weird behaviour? is there any known issues with daemon and go concurrency ?
-
tsoome
you probably would want to profile it to see where the time is spent...
-
crb
Is it somehow not possible to do DHCP and assign a static IP alias to an interface? I can't seem to get the to work on 14.0
-
nimaje
you want a static IP and the one DHCP gives you?
-
crb
nimaje, yes
-
ChubaDuba
Hi all. Does ThinkPad UltraBase 3 Dock run on FreeBSD?
-
nimaje
does that need some special operating system support? shouldn't that just look like generic hardware to the OS?
-
ChubaDuba
nimaje, yes, it is, but all users on different devices work in different ways. Maybe someone has experience specifically with this device ...
-
tykling
morning
-
tykling
I need someone with freebsd 13 and dig (from dns/bind-tools) installed to test something for me real quick, run this command: "dig @9.9.9.9 cname id.server.on.quad9.net +tls" and tell me if it works or not, I suspect freebsd 13 will not work and freebsd 14 will work but I would like confirmation
-
tykling
by "work" I mean the dig command returns the lookup results as normal, "not work" is either a timeout or no output at all from dig
-
lw
-
tykling
both work! thank you very much lw
-
tykling
the plot thickens
-
tykling
lw: does it work consistently on 13 if you try a few times in a row?
-
tykling
just 2-3 times?
-
lw
-
tykling
thanks again!
-
tykling
much appreciated :)