-
rwp
Looking at the User-Agent is as nimaje said not the entire solution. We do block a lot of bad-bots based upon it though.
-
rwp
Tools like nephenthes and iocaine are good if *other* people run them. When you have a server that is overwhelmed with bots then running a bot tarpit on the same server is counter productive. You don't want to keep them there. You want to shed the load of them.
-
rwp
So what we want is for everyone else to run nephenthes and iocaine and trap them distributed around across the net evenly dispersed everywhere else.
-
rwp
We also have some AI scrapers that are solving the Javascript proof of work challenge now too. So tools such as Anubis are no longer quite as effective. There are still a lot of older ones that do not. But newer scrapers do. I think those are mostly all browser plugin bots now.
-
rwp
Because yes there are browser plugins where you get a kickback for running your browser as part of the AI botnet scraping army now. Sigh. And that is like using human shields. It's even harder to identify and therefore harder to block.
-
rwp
I often look at logs and go, this is definitely a bot, how many times has this IP address hit with this pattern? grep. See only 5 queries total in the last week! It's part of a huge botnet and addresses are spread out like a snowshoe. We call it a snowshoe attack.
-
rwp
It's actually much easier to run your own mail server these days by comparison. (I have always run my own mail server since the beginning.)
-
cracauer
yes
-
cracauer
(to the question of running my own mail server)
-
cracauer
Lots of spam fighting.
-
rtprio
i had an ISP which disabled the ONT for any outbound mail on. like they assumed all outgoing mail was a window worm.
-
rtprio
found out the hard way
-
scottpedia
cracauer: it's not spam fighting
-
scottpedia
independent mail server has been made infeasible by whatever reputation system they forced onto all of us
-
scottpedia
and they even have whitelists to filter your email depending on many factors
-
mq
I do love self-hosting, but not e-mail in a long, long time
-
rwp
I want to say "the main thing" about self-hosting email but actually the list of main-things is a sizeable list of things.
-
rwp
But a typical first mistake is that people try to run them from their residential networking. And no one else is going to accept mail from a residential address block.
-
Matt|home
i need advice on an off-topic anti-AI thing, if anyone's got a couple minutes to spare and willing to hear me out plz pm :( tl;dr functionality vs integration tradeoff
-
rwp
Almost all sites block using DNSBLs and one of them is the DUL which was the Dial Up List for residential addresses. No one is on dial-up anymore but the concept is the same. So you can't use a residential address block to host an email server.
-
rwp
Matt|home, If it is light I would just mention it here but if it is very off topic then /join #freebsd-social and it can be talked about socially there.
-
AmyMalik
i have súper offtopic thoughts about email
-
GoSox
i’m confused, if i do `pkg search peazip` is find three items, but if i do “pkg install peazip”, it says no items found?
-
GoSox
arghhh i really liked xfce4 the best but everything about customi9zing seems like its half assed mystery
-
GoSox
so frustrating things don’t just work
-
GoSox
heres a question that is more answerable:
-
GoSox
what is the best-practices location to start making my own folders for server stuff. Not user-specific files, like web root folders and custom log folders?
-
GoSox
right at the root level of the file system? or somewhere else?
-
Liaf
What is the idea behind pkgbase install on FreeBSD? I realize it merges freebsd-udpate with pkg and maybe removes redundancy but is this the only idea behind this approach?
-
jan0sch
GoSox: as usuall it debends. ;-) I tend to use /usr/local/www for webfiles and otherwise I've the habit to create /srv (from serve or server) and structure stuff beneath that.
-
GoSox
for many years, my web servers would have the web folder right at the root level of the hard drive. But then apple made that not-user writeable, not even as root. so all of that kind of non-user-specific stuff had to move to /Users/Shared/
-
rwp
GoSox, There is no package peazip. There are three packages peazip-gtk2, peazip-qt5, and peazip-qt6.
-
o0x1eef
Well, FreeBSD isn't going to do that unless you use chflags or something.
-
GoSox
rwp what do those mean?
-
rwp
You said: i’m confused, if i do `pkg search peazip` is find three items, but if i do “pkg install peazip”, it says no items found?
-
GoSox
right
-
GoSox
so
-
rwp
But there is no package named peazip so that can't be installed.
-
GoSox
what does “peazip-gtk2, peazip-qt5, and peazip-qt6” mean?
-
rwp
I showed the names of those other packages. They are peazip-gtk2, peazip-qt5, and peazip-qt6.
-
rwp
If you want to install the gtk2 version then "pkg install peazip-gtk2" will do it.
-
rwp
If you want to install the qt5 package then "pkg install peazip-qt5". You have to use the package name to install it.
-
rwp
Maybe it will make more sense if you try searching for a smaller string. Try: pkg search peaz
-
zerotime
anyone have experience with the 13.5 to 14.3 upgrade? I'd be interested to understand issues to watch out for
-
rwp
I upgraded many machines from 13 to 14 and had no problems. Always read the release notes though.
-
GoSox
i don’t know what “the qt5 package” means
-
rwp
gtk and qt are different graphics libraries. They have slightly different looks.
-
zerotime
thanks rwp - will check on those
-
o0x1eef
GTK is used by Gnome and Qt is used by KDE.
-
zerotime
do you know of any major zfs issues in 14.3 that isn't patched yet
-
rwp
I don't know of any but note that zfs is upgraded separately and I recommend upgrading zfs later after you are confident you will never return to 13 using a Boot Environment. Because once zfs is upgraded then you can't Boot Environment back to rescueit.
-
rwp
Honestly I usually hold off zfs upgrades until just /before/ I upgrade to the next release.
-
zerotime
does zfs have solid backward compatibility?
-
zerotime
a zfs upgrade is optional, right?
-
nimaje
rwp: with "upgrading zfs" you mean activating new features on your pool? because the kernel module is in base and will be upgraded with it
-
zerotime
are there any compelling and solid zfs features in 14.3 that would encourage upgrading?
-
rwp
I am talking about "zpool upgrade" which you can read about with "man zpool-upgrade".
-
rwp
I am on 14.3R now and thinking about upgrading to 15.1R "soon". I have not upgraded zfs since I was running 13. Before I upgrade to 15 I will "zpool upgrade" and then upgrade to 15. Because even right now a couple of years later I can still use my old 13 Boot Environment and can boot it. But after I upgrade to the 14 level zpool then I can't.
-
o0x1eef
TIL zpool-upgrade
-
zerotime
nice, is 15.1 released already?
-
zerotime
I thought 15.0 was the latest
-
rwp
As for new zfs features there is the copy-ref (I don't remember the spelling or exact feature name, look it up) that allows a copy to be like a hard link in that it just copies a ref pointer to it internally. It was a hot topic some time ago when it first came out. It had bugs. But the Linux crowd was all hot for it.
-
rwp
15.1 is not yet released. That's why I have not upgraded to it. I am in the community that never upgrades to a .0 release. I am waiting for the .1 release.
-
zerotime
heh, I'm typically on n-2
-
rwp
I can't figure out a use case for copyref in my work environment. Does anyone have a good example of use of it? I am interested in knowing. But I just don't have a use case to benefit from it.
-
zerotime
but 13.5 is eol soon
-
rwp
Yep. It is time to move forward to 14 which has been out for a while and has lots of time on it.
-
o0x1eef
15 has been solid for me
-
rwp
So in theory with copyref I could take a 7.5GB DVD ISO image and copy it from A to B and it would be almost instant because it would be a ref copy rather than a full data content copy. But... Why would I be doing this? I would normally just be mv'ing it from place to place and that is also instant.
-
rwp
Like I said I just don't have a use case to benefit from it. But there must be one out there since people were all excited about the feature when it was first released. I would be interested in hearing about useful cases for it.
-
zerotime
I heard IO deadlocks were an issue for write workloads that lasted days - anyone know if that is that still an issue?
-
rwp
And of course being a new feature it had data corruption bugs when it first released. So that's a good reason not to be an early adopter of these new features.
-
zerotime
s/that is that/that is/
-
rwp
What is your environment? Are you a storage engineer supporting 1000 lab engineers doing VLSI chip design with 5000 compute servers hammering away on the storage array doing simulations? Then that might be a worry. No? Are you upgrading your home NAS where you have your music and video collection? Then it's not a worry.
-
zerotime
heh
-
zerotime
!inspire
-
zerotime
Hardly anybody recognizes the most significant moments of their life at the time they happen. -W.P. Kinsella [
zenquotes.io]
-
rwp
Notably Netflix runs their entire infrastructure on 15-CURRENT the bleeding edge and we thank them for it because they find and fix many bugs before the rest of us hit them. But note that it works well for them.
-
zerotime
Interesting!
-
GoSox
so when i do sudo shutdown now, it doesn’t shut down. it logs me out and leaves me at a root prompt
-
GoSox
is there a trick to actually shutting the machine down
-
rwp
So if you are bigger than Netflix then you probably should not be the lone engineer working this problem. If you are a lone engineer working this problem then you probably don't have an environment where you need to worry about it. Just saying! :-)
-
rwp
GoSox, Are you shutting down to single user mode?
-
GoSox
are you asking my intention, or what is happening? My intention is to shut the computer down, so it is no longer running
-
rwp
"man shutdown" ... "When run without options, the shutdown utility will place the system into single user mode ..."
-
GoSox
oh is it -h ?
-
vkarlsen
GoSox: Read the man page for shutdown, there are some options you'll want to look into
-
zerotime
good to know that netflix is on the engineering team
-
rwp
-r will reboot. -h will halt with the power on. -p will halt and power off.
-
rwp
Most of us only ever type in "shutdown -r now" when we reboot. And then a very few times "shutdown -p now" when we are bringing a machine offline unplugging the power cord and opening up the server box.
-
GoSox
apparently on macs -h and -p are the same
-
zerotime
rwp: thank you for the insights
-
zerotime
!ztquote
-
zerotime
A rat who gnaws at a cat's tail invites destruction. -Chinese Proverb [zerotime collection]
-
rwp
zerotime, I was just rambling with egregious editorial remarks. :-)
-
zerotime
heh
-
rwp
On GNU/Linux systems the shutdown options depends upon the init system that is installed. It's actually kind'a annoying that the systemd folks have been messing with the options lately. :-(
-
zerotime
!stoic
-
zerotime
Our life is what our thoughts make it. -Marcus Aurelius [zerotime collection]
-
cracauer
Interesting fact: if you boot into a real single user mode on systemd Linux, with init=/bin/bash, then there is no way to cleanly shut down the machine. Because reboot, halt, shutdown and friends are just systemd frontends and yoou don't have systemd running.
-
hodapp
I thought there were still ways to bypass that, but maybe those are all gone
-
[tj]
You can echo something to the power file
-
cracauer
hodapp: I would be interested to know what these workarounds were. Hate to hit the (virtual) reset button.
-
hodapp
I had thought that 'shutdown' was lower level, but hmmmm, now that I think about it, when I had systemd just stop responding altogether on my workstation some years back, none of this worked
-
[tj]
cracauer: seems I am wrong about this one
-
scottpedia
Cattttttttttttty: are you the same catty I met on discord some time ago?
-
Cattttttttttttty
i doubt it
-
shbrngdo
had weird problem, routing got clogged up somehow about ab hour and a half ago, with natd conuming 100% CPU time. hsd to restart natd. Anyone else ever see this? Using 15 from a couple of months ago
-
scottpedia
Cattttttttttttty: i mean do you use discord?
-
scottpedia
or maybe I should ask to whom does your current pet cat belong? Cattttttttttttty
-
scottpedia
the catty i met told me his ex-girlfriend gave him the cat
-
shbrngdo
from the number of reconnects last night I have to wonder if natd caused that, or id all of those disconnects [and the cause] led up to natd eating 100% CPU time...
-
shbrngdo
looks like all fsy ysterdsy too. strange...
-
shbrngdo
DAY nit fsy
-
spork_css_
If anyone knows someone with port commit privs, we have a major port (powerdns) sitting here for months waiting on security updates to be approved by a committer:
bugs.freebsd.org/bugzilla/show_bug.cgi?id=291543
-
ek
spork_css_: Send an email to ports@ requesting a review/commit if it's been a long time.
-
shbrngdo
I figured out why natd got hung up - I'm being syn flooded by several netblocks in brazil - added to ipfw reject table, cpu dropped to 1% on natd [it eas bouncing around 20%]
-
shbrngdo
anyone else getting syn flooded from brazil? Just curious...
-
shbrngdo
it looks like several net blocks are involverd with 2 different ISPs
-
shbrngdo
they're all syn-flooding port 443 so web server crack or ?
-
nulltaz
interesting
-
daemon
shbrngdo, nothing over here, seems pretty targetted
-
vortexx
after a powercut, a previously working config for adding an aliased IP to a bridge interface for my nextcloud iocage built jail has stopped working. I tried issueing the command manually and it doesn't work either. Jail is started, I restarted it and it still can't apply it's IP configuration be it v4 or v6. Message is : ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address . I'm out of ideas,
-
vortexx
would anyone know?
-
qop
Running FBSD on a KVM VM. BIOS. I cannot get the console to use a higher resolution than the 800x600 or so fallback. I have tried virtio, qxl, a million different settings, asked all AIs, and nothing works.
-
qop
For what I get, the only way to get better resolution is to either use X or UEFI
-
qop
(OVMF). But I don't want to install X. Machine is meant to be a server. And I would really avoid uefi. Hate the thing, and makes the VM fragile and harder to port.
-
hodapp
err. if it's a server, why do you need a higher resolution?
-
yamada
lol
-
tsoome
qop see man loader.conf screen.textmode and vbe command.
-
qop
tsoome: tried it. Also tried vesa and virtio_gpu
-
qop
it still goes back to a tiny console n reboot. other S can resize just fine
-
qop
hodapp: so that I can work on it lol. Too small to see ful text some times. I don't do ssh on any of my servers.
-
qop
just kvm/console/spice.
-
qop
I guess there is just no way unless I switch to ovmf =\
-
shbrngdo
daemon - thanks. I added them tp permaban list, whichj reminds me to improve the way I set up the list. This happened months ago as well, different IPs [currently banned] so I do not know what is going on in Brazil for ISPs to be compromised or used for nefarious puirposes...
-
shbrngdo
currently looks like ~30 connection attempts per second.
-
shbrngdo
wireshark shows the attermpt and then firewall blocks it.
-
shbrngdo
blokcked packets approaching 200k
-
qop
drop will save you some bandwith and maybe some cpu
-
qop
better, you can throttle attackers trapping them in a blacklist if you have the ram
-
qop
unless its syn obvi
-
tsoome
and did you also see vbe_max_resolution?
-
qop
tsoome: vbe comes in blank. No output
-
tsoome
ah, well, you have been bitten by "lets not compile it in by default".
-
tsoome
you need to build it with BOOT_FRAMEBUFFER_MODE="yes"
-
qop
tsoome: mmm, I've never compiled a bsd kernel...
-
qop
that will be an interesting task. Worth the try!
-
qop
should prolly be the default iyam
-
tsoome
problem is, bios version of boot loader is on the edge of its size limit, so anything non-essential is disabled on its build.
-
cracauer
Did anyone ever use iPXE in bhyve?
-
qop
tsoome: oh, I see. Thank you!
-
qop
cracauer: pxe, many times. bhyve, never.
-
qop
'cause I usually run my bsds on a linux hypervisor
-
cracauer
I seem not to get packets from the physical ethernet back into the vm through the software bridge.
-
cracauer
dhcp request reaches the server and it replies. But the ipxe instance doesn't get it.
-
qop
pxe is simple stuff. Just a bootloader listening to tftp, remote finds it via dhcp. Have you verified that the pxe server port can be reached? Are you connecting the clients directly or through some convoluted network setup?
-
cracauer
The server gets the request and replies according to tcpdump.
-
qop
ah, if dhcp works then the failing part is either misconfigured pxe, but most likely something with tftpd.
-
qop
Does tcpdump give you anything after dhcp handshake?
-
cracauer
The cliengt is inside a bhyve VM which is bridged to the physical ethernet
-
cracauer
No, iPXE (not generic pxe) says it never gets anything. So it never reaches a state where tftp would be attempted.
-
qop
well, why use pxe for comms between hyp and vms? Why not just direct disk?
-
cracauer
I'm yak-shaving. The journey started with trying to debug FreeBSD's pxeboot.
-
cracauer
To debug it I want it in bhyve.
-
qop
are you using a different protocol from ftp? http, sci maybe?
-
cracauer
no
-
qop
scsi*
-
qop
well, then we go back to: "if you packet capture/tcpdump, what do you see after dhcp handshake?"
-
cracauer
The handshake is incomplete and there is nothing afterwards.
-
qop
so the dhcp handshake does not complete? Interesting. What part 'breaks'? Meaning, what is the thing that works?
-
cracauer
What works is ipxe sending the dhcp request to the server. and the server replies as I can see on the ethernet.
-
cracauer
But ipxe never gets that dhcp reply.
-
qop
ipxe will rarely fail to send a query, but sounds like your dhcp server is not working at all.
-
cracauer
I know it works because it pxe-boots physical machines with BIO pxe.
-
cracauer
BIOS
-
qop
review your dhcp server why is not working. make sure you have no firewall in between
-
qop
The same dhcp+pxe works successfully on physical machines but fails on VMs then?
-
cracauer
yes
-
cracauer
And qemu on -current is broken so I can only test bhyve.
-
qop
Ah... then that's probably a bhyve thingy. I dunno anything about bhyve, sorry.
-
cracauer
I am looking at the bridge for the virtual network interface, but it seems to be fine, too.
-
cracauer
Anybody here familiar with libelf?
-
cracauer
It breaks qemu right now.
-
cracauer
Never mind, found the problem. Old libelf.so.1 from base system.