-
lw
rennj: features like OpenBSM auditing which is in FreeBSD?
-
rennj
not in the 1990's?
-
rennj
walnut creek cdrom came with fbsd/linux and sunsite.edu and maybe drivers supported your 386sx/dx or pentium.
-
rennj
im talking $10K per workstation sparc5 had 24bit graphics, sound, scsi drive..ran WABI also...wine came from wabi...
-
rennj
win3.11 on sparc
-
rennj
like wine on linux
-
rennj
same people...WABI window ABI
-
rennj
the auditing on solaris and hp-ux was for DoD foobar
-
rennj
DISA STIG
-
rennj
opensauce/freesoftware came into it own in 2000's...the 1990's was joke compared to hp,sun,ibm,sgi,dec
-
rennj
xfs,lvm give away...ibm dumped 1billion into linux to fight m$
-
rennj
now they own REL
-
polyex
almost like that was the plan all along
-
rennj
plan9, bell labs/lucent fucked up that..
-
rennj
plan9/inferno sad...
-
Zirneklis
help
-
Zirneklis
Hi
-
nomia
who was the other person here that owns a banana pi?
-
iio7
I am on 14.0-RELEASE-p6, as far as I can tell, the ungoogled-chromium package should be there, as well as chromium right? I ask because when I do a "pkg search chromium", I only get the chromium-bsu package displayed.
-
iio7
Oh, it's not in latest, only in quarterly! Why the flip?
-
V_PauAmma_V
If iio7 comes back,
beefy12.nyi.freebsd.org/build.html?…140amd64-default&build=aeab170c7654 indicates that both chromium and ungoogled-chromium ran out of time on latest.
-
nomia
rwp: did u get your banana pi running?
-
nomia
is there some command to run for setting up compilers etc
-
nomia
like apt-get install build-essential
-
nomia
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
-
nomia
env: /usr/local/bin/perl5.36.1: No such file or directory
-
nomia
i only can find 5.36.3_1 in pkg search perl
-
voy4g3r2
sometimes jails not stopping is frustrating
-
mason
voy4g3r2: Likely some process or resource hung up inside it. Debugging that would probably help.
-
rwp
nomia, Banana Pi? I have a couple running but they are running, ahem, Devuan. Using one for a hostapd software WiFi Access Point.
-
rwp
I used to have the house WiFi running on an Intel Atom box for years and years but then the box up and failed completely on me. I also got hooked to a fiber connection. So in the disruption I changed my access point out for a Banana Pi instead. I wish I could say it is running great but honestly I think my USB WiFi adaptor, an alfa, is freaking out every so often and needs to be power cycled.
-
nomia
rwp: i couldn't get devuan to run on mine
-
nomia
how did u do it?
-
sfox
hello
-
sfox
how can i rollback my graphics driver so i'm not affected by this bug?
forums.freebsd.org/threads/intermit…ease-dri-crocus-driver.91824/page-2
-
VimDiesel
Title: Intermittant bug in 14.0-RELEASE DRI/crocus driver? | Page 2 | The FreeBSD Forums
-
sfox
the developer is being an asshole and saying it works on my machine because he doesn't use X11 and uses wayland and never switches Vts
-
sfox
and refusing to fix or rollback a bug they introduced
-
sfox
I can't just "Switch to wayland" because none of my software works with that nor do I want to run alpha quality redhat software. That's the whole reason I got away from Linux is having that stuff forced down my throat
-
sfox
and even if I did, I still need VTs
-
rwp
Well that is totally annoying.
-
sfox
I think their saying the bug was introduced in version 22 of xf86-video-amdgpu, but it actually effects all non-proprietary video drives including i915kms
-
nomia
crochet is broken or out of date
-
sfox
thankyou for understanding rwp
-
sfox
nomia, can you elaborate?
-
nomia
env: /usr/local/bin/perl5.36.1: No such file or directory
-
nomia
i get that error when building
-
nomia
that is the wrong version
-
nomia
only perl 5.36.3_1 is in pkg search perl
-
sfox
your not talking about the gpu issue are you?
-
nomia
also idk why libtool gives warnings
-
nomia
no sfox sorry
-
sfox
oh
-
rwp
sfox, You said rollback and graphics driver, is this a binary pkg install?
-
sfox
yes
-
rwp
So I don't clean out /var/cache/pkg/ really ever at all so that if I need to I can return to a previous package. Look through there and see if you have your previous package still available.
-
sfox
this is a relatively new install
-
rwp
Was it ever working?
-
sfox
and this issue has been going on since 2022 at least
-
sfox
i don't know which version of i915 i'd need to rollback to or if it's an issue with a 'FreeBSD vty rewrite'
-
rwp
Do you possibly have a snapshot that includes a working configuration and then you could return to that previous snapshot?
-
sfox
I do not.
-
sfox
% xdriinfo
-
sfox
failed to authenticate magic 1
-
sfox
failed to load driver: crocus
-
sfox
Screen 0: swrast
-
sfox
i think this can be used to tell wether the bug is in effect or not
-
sfox
what was that freebsd graphics support chat?
-
sfox
i'm confused does this mean i need to compile libmesa with i915g instead of i915c?
bugs.freebsd.org/bugzilla/show_bug.cgi?id=269006
-
VimDiesel
Title: 269006 – graphics/mesa-dri enable i915(i915g)
-
sfox
i think i found it
-
sfox
-
VimDiesel
Title: 267915 – x11-wm/mutter: after graphics/mesa-* 21.3.8 -> 22.2.3 update OpenGL compositing fails on Intel Iris Pro
-
sfox
it says Downgrading to drm-54-kmod can fix the problem.
-
sfox
54 is really old, is it even compatible with freebsd 14?
-
sfox
currently only 510 and 515 are available from packages
-
sfox
does freebsd have cpu metigations that can be disabled for a performance boost?
-
concussious
sfox: you can search the pretty cool manual on that by typing "apropos mitigations" :)
-
sfox
oh thanks
-
sfox
how come when I search for what sysctls do with arpopos nothing comes up?
-
sfox
% apropos hw.acpi.lid_switch_state
-
sfox
apropos: nothing appropriate
-
sfox
am I using it wrong?
-
concussious
yes, try apropos Va=hw.acpi.lid_switch_state
-
sfox
this is an incredibly good man page
-
sfox
this is so much better then having to grep through linux's source tree
-
sfox
concussious, thank you. What does the Va= part mean?
-
sfox
oh nvm
-
sfox
i see it in apropos's man page. I wasn't aware of that functionality
-
concussious
it doesn't work with everything, but sysctls are required to use Va in freebsd manuals for this purpose.
-
sfox
is there a way to fix that sysctl so that it actually suspends when I close my laptop instead of when i open it?
-
erk
I saw that openbsd is adding a tuneable to turn off Nagle's algorithm (essentially setting TCP_NODELAY on all tcp sockets) and went looking to see if freebsd had such a thing and I could only find tcp.delayed_ack which does not disable nagle's, but does disable delayed acks which does not work great together with nagle's (which I think is the same as setting TCP_QUICKACK more or less) so my question is if I have missed anything and if it is something that FreeBSD
-
erk
maybe should have as well?
-
sfox
is it normal for most of the software in freebsd to be several years out of date of upstream and tons of bugs open in the bugtracker?
-
sfox
or for someware packaged to come so broken that a network daemon can't even accept incoming connections?
-
sfox
I don't think these are super niche softwares eithers
-
sfox
there now seems to be duplicates of the same package under different names
-
sfox
murmur and mumble-server?
-
sfox
what's the difference?
-
concussious
tldr: yes. long answer: there are so many different computer usage models
-
concussious
further, you can switch quarterly to latest and for my usage model, freebsd is up-to-date faster than other things ive used
-
sfox
i've already done that
-
sfox
the problem is that the software in the ports tree despite having maintainers doesn't look like it's actually being maintained
-
sfox
something especially weird is going on with murmurd/mumble-server
-
sfox
two ports of the same software by the same maintainer
-
sfox
programs like gajim looked abanonded
-
sfox
-
VimDiesel
Title: 274504 – mail/opensmtpd tls fails with FreeBSD 14.0-RC1
-
sfox
eported: 2023-10-15 20:22 UTC b
-
sfox
it's like, there you go just update to the latest source version
-
sfox
here's a patch to do it one way, here's another patch to do it differently
-
sfox
*crickets*
-
sfox
I don't know.
-
sfox
I want FreeBSD to work I really do, but it seems like i'm just having so many issues with it I would have on any other OS.
-
sfox
It's really discouraging when you see an issue that's a known issue for 2+ years with a bug tracked and everything but won't get fixed because 'just install wayland LOL' or already HAS several patches just waiting to be upstreamed but just sits there in silence
-
erk
sfox the answer to the mumble mystery is answered in the commit messages
freshports.org/audio/mumble-server
-
VimDiesel
Title: FreshPorts -- audio/mumble-server: Server component of Mumble
-
erk
Seems that in janurary upstream renamed murmur to mumble-server
-
erk
So murmur should probably be deprecated at some point.
-
sfox
oh wel lthankyou
-
sfox
how do I do a lockscreen with xdm?
-
sfox
I normally use slimlock with slim but a freebsd dev said slim isn't maintained anymore and I should switch to xdm
-
remiliascarlet
Smack it with a hammer.
-
remiliascarlet
Serious answer: dunno. I just use Suckless slock, because it just works.
-
sfox
remiliascarlet, i tried that and now the battery won't stay in reliably anymore
-
sfox
jk
-
sfox
i seemed to settle on metalock. based in slock remiliascarlet but less primitive and with background support
-
sfox
looking through ports I found this crazy thing
freshports.org/x11/hyprlock
-
VimDiesel
Title: FreshPorts -- x11/hyprlock: Hyprland's GPU-accelerated screen locking utility
-
sfox
talk about overkill
-
jauntyd
i'm thinking about moving poudriere to a jail
-
jauntyd
that does look a bit overkill
-
sfox
wow
-
sfox
i guess mumble did get updated in freebsd
-
sfox
this works so much better now
-
adilix
hi all
-
sfox
jauntyd, poudriere works fine in a jail
-
sfox
but it needs jails to work
-
remiliascarlet
sfox: "'just install wayland LOL'" Just imagine recommending something that doesn't even work.
-
remiliascarlet
Also, why the fuck would you need GPU acceleration in a screen locking utility?
-
remiliascarlet
You're a screenlocker, not a video game!
-
sfox
it's to render a static image with fonts to the screen
-
voy4g3r2
mason: that was it.. process taht was not "dying" in jail not allowing it to stop
-
gh00p
gpioctl question. I have a DS18B20 connected I'm pretty sure correctly to my raspberry pi, I've added "dtoverlay=w1-gpio" to config.txt. The sensor is on pin 7. How do I access its value?
-
gh00p
Incidentally, `sysctl dev.ow` says "sysctl: unknown oid 'dev.ow'"
-
gh00p
And `ow.ko` and `ow_temp.ko` are kldloaded.
-
gh00p
Do I need to do something in gpioctl to activate the 1wire bus?
-
xx
does
freebsd.org/releases/13.2R/signatures have a copy somewhere else that isn't cloudflare? cloudflare is currently not letting me access that page
-
VimDiesel
Title: FreeBSD 13.2 Release Checksum Signatures | The FreeBSD Project
-
voy4g3r2
xx: are you gaetting an error?
-
instance9
Hello, I am seeing bsd.to timeout. It's a cloudflare page that I'm seeing
-
instance9
(I just got here so I'm not sure if someone has already brought it up)
-
xx
maybe it's not just me then, cloudflare seems to be having issues
-
voy4g3r2
i am able to get to the above page xx
-
voy4g3r2
try again
-
instance9
xx: you're experiencing the same?
-
voy4g3r2
and i am also able to download an iso file troo
-
instance9
This might help (cf status page):
cloudflarestatus.com
-
VimDiesel
Title: Cloudflare Status
-
instance9
oh, cloudflare is saying that it's the host's error. As in it's bsd.to
-
remiliascarlet
Cloudflare is full of shit.
-
ketas
i know that cloudflare can hiddenly block clients
-
ketas
so you keep fucking wondering
-
ketas
wtf
-
ketas
or should i saw waf
-
ketas
few elements didn't load on this site and some elements didn't load on that site and then some transaction didn't go through on some e-shop thay processes payments with xyz... the conclusion was that all those used cloudflare, that cloudflare tracked my browser throughout several uplinks and noone else had any issues despite coming from same ranges
-
CrtxReavr
My $40, half TB USB stick with 400 MB/s reads just arrived.
-
ketas
it's fun to think that this didn't exist 20y ago
-
Ronis_BR
Hi! I have a FreeBSD machine with some jails and bhyve vms. However, I really need to redirect an IP like this: a connection arrive at the external IP XXX.XXX.XXX.XXX and port YYYY. I need to forward it to the IP ZZZ.ZZZ.ZZZ.ZZZ port YYYY. Something like creating a wire between the two IPs. I could do this using Linux but pf does not allow this kind of routing.
-
Ronis_BR
is there anything I can do? Should I spin a Linux VM just to make this routing?
-
CrtxReavr
There's a few different NAT options. . . can prolly also do it with ncat.
-
ketas
it works if you have different networks
-
ketas
but that was the issue, right?
-
rwp
instance9, bsd.to upstream has been down for a couple of weeks now. It's fronted by CloudFlare but the upstream behind it is down. Nothing CloudFlare can do about that until the backend comes back online again.
-
ketas
oh, it was pastebin there?
-
Ronis_BR
ketas: yes, only one network
-
rwp
Yes. See the /topic for it. It has been offline long enough that I would like to see the topic updated to reflect a different pastebin recommendation.
-
Ronis_BR
ketas: that's why I cannot use pf to redirect
-
rwp
Ronis_BR, Are you trying to connect into one of the VMs/Jails and it is using pf based NAT there? What's the topology?
-
ketas
oh right, it's indeed in topic
-
ridcully
Ronis_BR: isn't `rdr` in pf not good enough for your problem?
-
rwp
And it is the same problem for
pad.bsd.to as well. Pretty sure they were the same backend system. Both down for weeks.
-
Ronis_BR
ridcully: No, I am not trying to use NAT in jails. I just need that this FreeBSD machine (which uses pf), redirect all the packages it gets in a port to another IP (external to the FreeBSD machine).
-
Ronis_BR
and obviously to send the replies back
-
Ronis_BR
ridcully: rdr did not work because pf cannot send the packages to another external ip in the same interface
-
ketas
it would mean spoofing src too
-
Ronis_BR
-
VimDiesel
Title: PF - Redirect all traffic from ip to another | The FreeBSD Forums
-
Ronis_BR
but there is not an answer :(
-
rwp
I don't know enough about pf to answer so I should keep quiet. But I also feel that the problem statement is ambiguous because the network topography hasn't been clearly stated making any answer impossible anyway. If the network topography was better understood then more help might be provided.
-
ketas
socat will work if rdr won't
-
rwp
I was just about to suggest socat!
-
rwp
If you ever thought... Maybe I should write a program to proxy between here and there... Then socat can already do it for you.
-
ketas
socat, or net network
-
ketas
new
-
Ronis_BR
rwp: hum, let me try to address that. I have two machines (A and B). I want to create this connection INTERNET <=> A <=> B. "A" connects to internet. I need that all packages that arrive at A in a specific port to be redirect to B in the same port.
-
Ronis_BR
The problem is that A only has one network
-
ketas
vlans?
-
ketas
that's not l2 there?
-
Ronis_BR
ketas: sorry, I did not understant
-
rwp
So A has both a public IP address and a private RFC1918 LAN address. And B has only a private RFC1918 LAN address. Gotcha.
-
Ronis_BR
understand*
-
Ronis_BR
rwp: Actually A has the same IP, only that the firewall allows outside internet connection to it
-
Ronis_BR
rwp: A and B are in the same network, but only A can receive outside connections
-
Ronis_BR
and I want to access a service in B by connection through A
-
ketas
but can't, why...?
-
ketas
isn't that the fw/gw there
-
rwp
So for example (using example.com) A might have 93.184.215.14/24 and B might have 93.184.215.15/24 but the firewall only allows traffic to 93.184.215.14?
-
Ronis_BR
ketas: for some reason pf does not allow this kind of redirect using the same LAN
-
Ronis_BR
rwp: yes!
-
rwp
Linux netfilter also complains about that case too. It will send an ICMP redirect and of course that's where things break down on the Linux kernel side too.
-
ketas
can't add more ips?
-
Ronis_BR
ketas: no :(
-
ketas
then socat0
-
ketas
?
-
Ronis_BR
In linux, I did something like this: iptables -t nat -A OUTPUT -d old-ip -p tcp --dport some-port -j DNAT --to-destination new-ip
-
ketas
if you can't modify network
-
Ronis_BR
ketas: I will search about! thanks!
-
rwp
Is this for a service other than SSH? Or are we talking SSH here?
-
Ronis_BR
rwp: no, it is not ssh, it is a connection to a database
-
ketas
hmm
-
rwp
I don't see how that iptables -t nat rule would apply, even if we were on a linux system. I have been there before.
-
Ronis_BR
socat seems promising. Can I use it inside a jail?
-
ketas
yes
-
rwp
There is also stunnel which I have used before for such things too.
-
Ronis_BR
thanks!
-
Ronis_BR
rwp: I will search about it
-
Ronis_BR
thanks!
-
rwp
The advantage of stunnel is really only that it can be used to terminate TLS connections and has an infrastructure for starting a persistently running daemon. For all other reasons socat is the swiss army chainsaw for network plumbing. But you will need to set it up persistently yourself as a DIY thing.
-
ketas
all those issues vanish if only you could have different networks
-
Ronis_BR
rwp: perfect! Thanks!
-
rwp
An issue that you will run into is that your database on B will look at the peer address and the peer address will always be the proxy machine A and never the remote system. That's probably not a showstopper for you but databases using IP addresses as part of the security can't do it then.
-
Ronis_BR
ketas: fully agree
-
ketas
vlans or vpns or vxlans or whatever
-
rwp
I like the idea of a VLAN here. But the default route would need to be out through the VLAN routing all traffic through A. Not sure if that is acceptable or not.
-
Ronis_BR
I am not sure
-
ketas
rwp: depends...
-
rwp
I recently put a WiFi Access Point on the end of a VLAN so I could overlay it on the existing LAN. And thought it would also work to have it directly connect through the LAN to other systems. Nope! That created problems due to the asymmetrical paths of packets heading in the different directions. In the end I removed the LAN address and connected through a separate VLAN subnet on the same wire.
-
ketas
you could add a fib
-
ketas
make it super complex
-
rwp
I am not really a network engineer. I just play one sometimes on my LAN.
-
ketas
machines with more than one network regularly appear on internet... in fact it's built with those
-
ketas
just need correct config :p
-
rwp
Ronis_BR, You asked if this could be in a jail and yes of course it can but... What networking is the jail using? Is it piggybacking on the host network? That's the easy case and it should just work. Is it a VNET jail using NAT? Is it DHCP'ing an address? Those other two cases create complications.
-
Ronis_BR
rwp: it was using ANT
-
Ronis_BR
NAT*
-
Ronis_BR
but I just realized I can install in the host
-
rwp
Then you would need to route the inbound through your NAT.
-
Ronis_BR
rwp: yes, the complication is not necessary
-
rwp
ketas, Certainly my connection is on a machine with three networks right now.
-
rwp
Four actually if I count the VLAN too and I think that should count.
-
ketas
wifi ap eh
-
ketas
why did you need this
-
ketas
you could bridge vlan into untagged lan
-
ketas
just switch craps out here often
-
rwp
My fiber enters my house on the far south side and I located the fiber modem and house router there due to wanting it online quickly and not wanting to pull the fiber through to another place. So it's there. But a WiFi AP there cannot cover the entire house and not up into the bedrooms. So I put a Banana Pi online centrally located but on the house LAN to be the WiFi AP and connected it over a VLAN to the house router. Works great!
-
rwp
Note that my WiFi AP connects to the Internet just fine for anyone using it but is firewall off from the house LAN systems. Hence why I put it on a VLAN.
-
ketas
but why did something fail here
-
ketas
i also do it here
-
ketas
wifi ap has vlan for traffic and untagged for management
-
rwp
You said your network switch fails out every so often? Then do you power cycle it or something to get it back online? Might be time to find a replacement switch.
-
Ronis_BR
rwp, ketas: socat worked perfectly! :)
-
Ronis_BR
thanks
-
rwp
socat FTW! :-)
-
ketas
i mean if you want to connect vlan to another vlan, switch won't generally do this
-
ketas
but a router can
-
ketas
hell router is what one should use here anyway
-
rwp
I must run. Real life is calling! TTYL
-
Ronis_BR
question: what is the best practice to start socat at boot?
-
Ronis_BR
oh, it seems there is already a service
-
ketas
@reboot daemon -f ... crontab is one quick hack
-
ketas
just don't "reboot" the crond
-
Ronis_BR
ketas: there is a file to configure instances and the service socat
-
ketas
which does also use daemon :p
-
ketas
in more proper way
-
Ronis_BR
man... I cannot believe that the solution was SO simple. I was about installing a linux VM (bhyve) just to make this routing.
-
Ronis_BR
thanks you very much rwp and ketas !
-
ketas
but now src ip is all wrong
-
ketas
?
-
Ronis_BR
ketas: yes, probably the connection in the B machine comes with the IP of A, but there is no problem at all
-
ketas
you didn't know you can proxy?
-
ketas
one can always proxy
-
Ronis_BR
ketas: no! I am not network expert, I was just trying to solve connection problem here :)
-
ketas
:p
-
Ronis_BR
thanks!
-
ketas
how good
-
CrtxReavr
SH3LLC0D3R, hack the Gibson.
-
deimosBSD
cyberdelia is in 2 more days CrtxReavr
-
rwp
Ronis_BR, I am very glad to hear that you got everything figured out! As with most things, "Knowing is half the battle." :-)
-
rwp
There are many things that I am completely stumped by. Just completely stuck. But then someone will help me out and get me unstuck! It's the community which makes it all work.
-
jauntyd
i agree. the community here is second to none
-
gh00p
gpioctl question. I have a DS18B20 connected I'm pretty sure correctly to my raspberry pi, I've added "dtoverlay=w1-gpio" to config.txt. The sensor is on pin 7. How do I access its value?
-
gh00p
Incidentally, `sysctl dev.ow` says "sysctl: unknown oid 'dev.ow'". And `ow.ko` and `ow_temp.ko` are kldloaded. Do I need to do something in gpioctl to activate the 1wire bus?
-
gh00p
Nobody plays with BSD on rpis?
-
vortexx
Which file would I add commands to so they get executed and piped to the daily 3 am emails? It'd be /etc/daily.local on OpenBSD
-
polyex
i got a rc.d script that uses daemon to keep a bin running. child and supervisor pidfiles exist. service mybin start works, service mybin status identifies the daemon pid. service mybin stop works. but if i make bin's config file have an error and it crashes on start, service mybin stop doesn't work. keeps waiting on daemon's pid. in mybin's log
-
polyex
file i can see it keeps being started (by daemon) and erroring with config file. any way to improve this?
-
rwp
vortexx, Try /etc/periodic/daily/
-
rwp
gh00p, Not yet.
-
vortexx
rwp: thanks