-
mns
I remember those days when everyone was using qmail, but due to the license, the place I was at wanted to stick with sendmail. And then came postfix.
-
luke_jobless_sb
if i don't use nat my machine does not resolve url. what could be the issue?
-
luke_jobless_sb
*pf nat
-
luke_jobless_sb
neither root nor any of jails
-
luke_jobless_sb
oh sorry I figured out. thanks
-
luke_jobless_sb
can i see translation detail by pflog on pf nat? i log via tcpdump but it is just the packet reading nothing about translation mechanism
-
ivy
luke_jobless_sb: pflog only logs rules with the 'log' flag
-
ivy
possibly you want 'pfctl -ss' which will show nat rules like this: all tcp 81.187.47.206:52351 (172.20.1.38:46114) -> 139.177.227.229:443 ESTABLISHED:FIN_WAIT_2
-
luke_jobless_sb
ivy: you've got some wizardry
-
ivy
no i don't, this is literally in the manpage
-
luke_jobless_sb
ivy: oh it's states abbreviated I thought it was some kind of out of document commnad
-
ek
"He's a witch!" :D
-
luke_jobless_sb
jeez you scared me
-
ivy
yes, you can abbreviate things like -s rules and -s states to -ss and -sr
-
luke_jobless_sb
yes i do in my argparse too
-
sponix2ipfw
Client: HexChat 2.16.2 • OS: FreeBSD 14.1-RELEASE-p6 • Storage: 0 bytes / 0 bytes (0 bytes Free)
-
darwin
if I need to check a large number software projects (BitBucket, GitHub, GitLab) mostly daily, is project version checker (pvc) best or is a URL update checker good?
-
kpel
Does anyone know how to set the ACPI debug level in 14.1 release? I am trying to get rid of a couple of repeating ACPI messages that look like those in this bug:
forums.freebsd.org/threads/acpi-errors-all-the-time.60912
-
kpel
the documented solution in the bug report wasn't that clear to me though
-
rafe
Read this:
-
rafe
-
kpel
rafe: I am aware of debug.acpi.level but it's not mentioned in the output of sysctl
-
kpel
are there any more helpful pointers?
-
CrtxReavr
kpel, seach for debug.acpi.level in acpi(4).
-
CrtxReavr
search even
-
polyduekes
hey there i am trying to use vbox to launch up a windows guest but no matter which guest i try or how i try vbox refuses to start up any type of guest with error message
-
polyduekes
VirtualBox can't operate in VMX root mode. Please close all other virtualization programs. (VERR_VMX_IN_VMX_ROOT_MODE).
-
polyduekes
Result Code:
-
polyduekes
NS_ERROR_FAILURE (0x80004005)
-
polyduekes
Component: ConsoleWrap
-
polyduekes
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
-
polyduekes
even though there is no other virtualization program running and i have set up vbox properly
-
polyduekes
added the user that is trying to launch vbox to the vboxusers group
-
polyduekes
added vboxdrv_load="YES" line to /boot/loader.conf
-
polyduekes
made sure that the kmod vmm isn't loaded or in /etc/rc.conf
-
polyduekes
any help will be really appreciated, thanks
-
rtprio
have you tried closing all o ther virtualization programs ?
-
polyduekes
as i said before there is no other virtualization program running
-
polyduekes
freebsd 14.1 release btw
-
rtprio
polyduekes: pastebin the output of `kldstat`
-
polyduekes
-
rtprio
26 1 0xffffffff83200000 33e438 vmm.ko
-
rtprio
there's your problem
-
polyduekes
oh, just a minute, lemma check, i was sure i had removed it from kldlist :/
-
polyduekes
yes, it isn't in kldlist in /etc/rc.conf, lemme try rebooting
-
rtprio
you can try unloading it
-
rtprio
modules can dynamically load so perhaps you triggered it by... running bhyve a few days ago
-
rtprio
🤷
-
polyduekes
let's see, i rebooted after vmm wasn't in /etc/rc.conf, why else should it load automatically on startup?
-
polyduekes
vmm still appears in kldstat
-
rtprio
can you unload it?
-
polyduekes
yes i can, let's see if it reappear after reboot now
-
rtprio
it probably will
-
rtprio
but unload it and see if it fixes your vbox
-
rtprio
then figure out what's loading it
-
polyduekes
yeah, unloading it indeed does fix vbox but why even is it getting loaded on it's own lol
-
rtprio
well, what do you have in rc.conf
-
sjk
Hi! I'm using a freebsd 13.3-rel-p7 jail as a borg backup server. When I run borg extract on a client, the connection dies after a couple of files have been transferred, and the server crashes.
-
sjk
I don't currently have access to the console
-
sjk
After a couple of minutes the server comes back up again. I see nothing of value in /var/log/messages and no dumps in /var/crash
-
sjk
I'm not sure where to start looking, any ideas?
-
sjk
(it is a vnet jail)
-
polyduekes
rtprio: fixed it, it was due to "vm_dir" line in /etc/rc.conf
-
rtprio
yep
-
rtprio
sjk: is borg up to date?
-
fm2279
If I want to re-compile a dynamic kernel module with custom changes, how do I go about that?
-
rtprio
what sort of changes / what module?
-
_xor
What's the general rule when creating a new port that has the same name as an existing port?
-
fm2279
I am trying to fix a problem with a DisplayLink device in udl. So I added the device ID in /usr/src/sys/dev/usb/usbdevs and in /usr/src/sys/dev/usb/video/udl.c. Does the first one mean I'll have to recompile the kernel entirely? Or can I just recompile the udl module?
-
rtprio
you can try with just the module first
-
fm2279
Great! How should I do that? (This is my first foray into this -- sorry!)
-
rtprio
that said, a new kernel shouldn't take very long
-
armin
Hi, I got FreeBSD 14.1 running on a Thinkpad X230 - what do I need to do to change the display backlight brightness? Having to use sudo/doas is okay.
-
rtprio
fm2279: as if you start building the module, of course the source needs to match the kernel exactly
-
rtprio
armin: check the wiki
-
rtprio
if you haven't already
-
rtprio
-
fm2279
rtprio: Thanks. I guess I am confused -- are there instructions on rebuilding a kernel module in the handbook? I have looked and don't see it, though it's not unlikely I am missing it.
-
armin
rtprio: just found acpi_ibm, thank you.
-
fm2279
rtprio: The module in question is in use presently with my existing kernel, and I am changing only one or two lines in the module source.
-
rtprio
armin: 👍
-
rtprio
-
rtprio
make yoru changes, build the kernel, reboot
-
fm2279
rtprio: So the dynamic module isn't built separately?
-
rtprio
it could be, but personally i'd start from a fresh fully built kernel
-
rtprio
if the /usr/src slightly differs than the kernel you're running you're going to have a bad time
-
fm2279
rtprio: OK. Thanks for the tips! I'll likely check back in.
-
rtprio
once the first one is build, then you could just build the module, probably
-
_xor
Anyone have a suggestion on a USB enclosure, with support for UASP/SAT, for SATA drives? I have a box of drives I need to test and don't want to setup a system to plug them into SATA. Needs to support FreeBSD (smartctl) of course.
-
mason
_xor: I have yet to encounter a USB enclosure that supports SMART. If you find one, I'd love to know what it is.
-
CrtxReavr
Seems there are plenty of USB enclosers that support smart, but they're for NVMe drives, not SATA.
-
paulf
sendmail (for sending ~1 mail a day) stopped working on my 14.2 RPi a few days ago
-
paulf
getting authentification errors and mail bounces
-
paulf
worked for about a year or so previously
-
paulf
any ideas what might have changed?
-
paulf
no problem on my amd64 machine (with an older sendmail config)
-
kpel
CrtxReavr: I found it, I even tried it - just for a laugh - and it doesn't work because the issue is an error message, not an info or debug etc.
-
kpel
so... is there any way to turn off acpi tracing, preferably on-the-fly without rebooting?
-
kpel
from what I've seen so far the only solution seems to be to disable tracing at compile time. Although the generic config file doesn't seem to have it enabled to begin with.
-
CrtxReavr
kpel, I think that would be a pre-kernel thing, so. . . no.
-
l00py
i wanna prevent my isp from profiling my traffic and selling my data, so that means i buy a freebsd vps and install a proxy on it? or a wireguard server AND a proxy, or?
-
CrtxReavr
How much data are they going to have to sell if you use encrypted protocols?
-
CrtxReavr
I mean, they can see what you connect to, but now what you're passing.
-
l00py
not what i asked
-
paulf
after running make a few times in /etc/mail and rebooting sendmail now seems to want to talk with my ISP
-
ek
l00py: That actually is quite related to what you'd asked. CrtxReavr's question and comment are quite relevant. In fact, if you have a good DNSSEC setup going, your ISP wouldn't really see anything you do at all. It would *ALMOST* be the same as a secure proxy/VPN/WireGuard/Tailscale/etc... setup without having to deal with any of it.
-
ek
The only mishap would be using non-encrypted protocols.
-
ek
Anyhow, aside from that and to answer your question directly, sure! A VPS with a VPN/proxy/WireGuard/whatever-you-want-as-long-as-it's-an-encrypted-end-node-connection... will keep your ISP from doing most spying.
-
ek
They can still likely get tiny bits of info using DPS on crappily-secured requests. I doubt it would be enough info to "sell" or really care about at all, though.
-
l00py
ek so i set up wireguard server on vps, then connect to it, and all my traffic will pass through encrypted tunnel to vps then out to internet and back in, i don't need a traffic proxy as well? just the wg server
-
mzar
l00py: it's possible, but you have to configure everyghing correctly
-
l00py
mzar possible with just wg server you mean?
-
ek
mzar: Of course! That was kinda my intent of my comments. Maybe I didn't make it all that clear.
-
l00py
is there an easier way to effectively proxy all of my traffic through a vps?
-
l00py
more than just http, full traffic
-
l00py
no leakage
-
ek
l00py: Yes. Just a WG connect setup as an end-node (from the client-side) and the only thing your ISP will see is encrypted data to WG.
-
ek
But, what you do from the VPS could be seen from other listeners.
-
l00py
very cool. and wg server runs nice on freebsd?
-
l00py
(ya for sure)
-
ek
l00py: Yes. Runs absolutely fine.
-
l00py
man that's cool. happen to know how much ram wg server needs? usually only xx mbps of traffic, sometimes bursting to xxx mbps
-
ek
l00py: Using "0.0.0.0/0" from the client side as "AllowedIPs" will route all traffic from the client through the VPN.
-
ek
I always setup a root-only DNS server on the VPN (or VPN network somewhere) to add to the requests just to be safe. But, it'll route everything.
-
ek
l00py: The resource amount is vastly independent on client usage. However, even with many clients connected and moving pretty good amounts of data, I've never seen WG (or OVPN or IPSEC) strangle the system really at all.
-
l00py
it'll just be me but i'll be putting hundreds of connections through it (p2p :D)
-
fm2279
If I'm making small changes to a single kernel module, do I have to do a full `make buildkernel` each time? Or is there a way to simply rebuild the module in question?
-
l00py
tyvm
-
TurtleCrazy
Enter the module folder and type 'make' ?
-
fm2279
TurtleCrazy: Then just copy the object file into /boot/kernel?
-
TurtleCrazy
fm2279: unload the former one, and call kldload with the full pathname of the new object file
-
fm2279
TurtleCrazy: Oh, sweet. So just test by loading the module dynamically, then, to lock it in, do the full kernel rebuild?
-
TurtleCrazy
fm2279: exactly
-
fm2279
TurtleCrazy: Makes sense! Thanks!
-
ek
fm2279: To be fair, you could run an installkernel each time, too. But, it'd be overkill. If everything else is already built, though, you can just run a "make installkernel" at the end to lock it in. No need to rebuild everything.
-
fm2279
ek: Thanks!
-
fm2279
Is it possible to unload a module built into the kernel?
-
rtprio
fm2279: kldunload
-
rtprio
but it's not always possible.
-
fm2279
rtprio: Thanks. Looks like a no-go in my case. Guess I'll just rebuild the kernel...