AI haters are AI haters. It's almost an irrational stance. I know I will not convince AI haters. I've just given two real examples of why many people considers AI useful for those who have an open mind. If I were to discuss your argument about...
Hi,
For my pi I needed a button to safely shut it down. Found the gpio-shutdown overlay you can add in config.txt. This adds some stuff in the device tree. This little driver makes use of that.
Code is here.
Should I just leave it there, or add...
Wow, if it's that easy to append new IPs to the end of /etc/badguys....can I purchase this script from you to give them? This would be so much simpler than what they've been doing...
My apologies. I'm a dyslexic and not very good with text-heavy man files, which is why I ask so many questions (and I'm one of the last six people who don't learn via chatbots). But I'll give the pf.conf man file a go..
I've changed pf.conf as...
re: the first thing, yes, assuming that's where the badguys file lives.
re: the block rule, on clause: no. you need the table line and the block rule, but the block rule can be simplified to block from <badguys> to any instead of having two...
you don't use pfctl to add IP's to that file. pfctl only deals with the in-memory copy. when you reboot, anything you did with pfctl -T add goes away.
you have use an editor on the file, like ee /etc/badguys, put the IP's in the file, and then...
Re adding IPs to /etc/badguys: So, rather than adding IPs via:
....they'll need to manually enter each new IP they want to BLACKHOLE to /etc/badguys....then, run:
Re the block clause: So I need to delete both of the entire block lines in...
I'm aware of that. But I highly valuate cracauer@'s opinions, thoughts, and ideas.
Frankly I actually don't know about OpenBSD - actually it was more of a thread to leave FreeBSD if done so, and I rate those Open-guys more...
A bit of an update..
After I removed the "on" from the block lines in /etc/pf.conf..
pfctl -nf /etc/pf.conf
returned a syntax error.
After readding the "on", the error's gone.
Also, I see that the /etc/badguys file (referenced in the table in...
Okay, that makes sense.
But how do I use pfctl to add IPs to /etc/badhosts...and make the entries in badhosts permanent? Do I have the command wrong, or do I need a different command?
I've removed the "on" from the section of /etc/pf.conf:
ah, see, you're not editing the file. pfctl -T add only adds to the kernel table, not the file. if you want it to stick, you have to add it to the file.
also we wouldn't put an on clause for these blocks, since you just want them to go away...
I think I follow you...and it looks like they've already got something similar to what you've suggested....
/etc/pf.conf:
Again, the following command DOES work, but NOT after reboot:
pfctl -t badhosts -T add <ip address>
QUESTION: As you can...
those statements go into pf.conf as part of a bigger ruleset. the file clause makes pf load the table from the file at boot. the pfctl statement reloads the table from the file.
atax1a: Actually, I've used pf previously:
....which seemed to work as well as route add. But, still, it only lasted 'til the next reboot.
Can you explain how the Code you posted above the pfctl statement (i.e., table....) works?
I've always used route add to instantly BLACKHOLE malicious incoming IP addresses, which works fine (apache's not installed....so I don't believe .htaccess is an option):
But the BLACKHOLING only lasts 'til the next reboot and/or network...
It seems very reasonable and it provides very good information.
In sum it says: AI is an unreliable tool, but it can be very useful sometimes. You may use it, but not blindly. In any case, you remain responsible for the results.
Also:
That actually made me chuckle.
I gave humor a lot of thoughts for many years, and I could link a video, which explains it actually scientifically - alas, in german only. (Analyzing why humor is funny ain't that funny as being humorous - but I bet...
Heh, I didn't really think about what makes stuff funny, but that description reminded me of this from KOTH :p
View: https://www.youtube.com/watch?v=VoF0ykdoBnk&t=173s
Just for everybody's information, FreeBSD's current tmpfs(4) file contents are pageable.
When the system gets low on memory the contents of files in tmpfs are moved to swapspace. just like process read-wrote data is.
So you do not in fact take...
I saw /var/www with Fedora first but /srv/www with openSUSE; I thought /var/www was a RHEL thing but Ubuntu iirc uses it too (srv seems better as serve; oS also has the ftp folder there for vsftpd). FreeBSD I went with the /usr/local/www default...
Maybe I simply don't get it, or I'm too old, but if I find anything funny about that, to me that's kind of boring lowlevel fun of four years old *cough*
My kind of fun is more (political) incorrect. Good humor IS always incorrect. Otherwise you...
Here's another search tool for this forum. It works with Google search. I don't know if Duck Duck Go has a similar feature.
Decide on your subject. In the address bar type "your_subject site:https://forums.freebsd.org/
I gotta redownload L4D; this VO for Tank is hilarious 🤣
View: https://www.youtube.com/watch?v=LPC1PZEvUzo
Just hearing that in the distance is more scary than the original voice 😆
As I said, I don't do that. Only for some specific subdirectories, not the entire .cache directory.
Because the files are not created on the disk to start with. The advantage of keeping all of the browser's cache and history is, for me at least...
Joplin is an open source alternative to Evernote. It can be used with on-premise backend or with their own cloud storage.
The killer-feature for me is the possibility to use Nextcloud as a backend (only as a backend, without a possibility to edit...
First thing you need is a reliable "forever" storage. I use lots of extermal disks and memsticks with my entire system and all programs on it.. It's not massive. 500GB for everything is enough by far.
The maintainance of such personal base is...
~/.config also carries programming language related data.
Python's pip puts everything in there. If you lose it you have to re-download everything on every reboot.
Common Lisp commonly stores the compiled files there, including for quicklisp...
Why? Aren't its config files under ~/.config/?
~/.cache/ is just that, cache, and not configuration, like ~/*, ~/.config/* and ~/.local/*.
Bar some very specific cases, like cracauer@'s LLM example or gstreamer as you mentioned, things like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.