Eponymous | |||||
Subscribe
Flavors
Sections
Archives Disclaimers, Copyrights, Privacy, Etc.
Links |
07 Oct 2022 29 Dec 2021
Fireside Chat
Bill Gates is Satan's Minion
Tenth Runniversary
Take back your privacy
That's a lot of subnets. Because I have different operating systems on different computers and still want to block traffic to and from all those IP addresses, I've written some simple scripts to add rules to various firewalls. I have scripts for IPFW on FreeBSD, IPTables on Linux, and the Windows Firewall that should work from XP SP3 through Windows 10. I've only tested it on Windows 7 and Windows 10, and it worked in those. All of these scripts can be found in this directory. The IPFW and IPTables scripts are self-contained. For the Windows command shell batch files, the *ips.txt files are also needed. I have to say, the internet looks very different with these firewall rules in place. There are noticeably fewer advertisements and pages load faster. Embedded YouTube videos and Instagram photos don't appear. Sometimes the frame disappears, sometimes you get a "failed to connect" page appearing in a frame in the middle of a page. (Yes, these rules block YouTube and Instagram; they are owned by google and facebook and reside in the subnets owned by those companies.) On a relatively rare occasion, I come across a site using some sort of javascript or css or something hosted by a machine in one of those ASs and that will be blocked. Sometimes the site handles that gracefully, sometimes it stops being functional. A small price to take back your life. Update: Twitter has trackers on a decent amount of sites out there too, so I've added scripts to block Twitter's AS 13414 as well. Those scripts are in the same directories as the others.
St Michael, defend us in battle
New PGP Key!
Time Travel?
[/dmc] [permanent link]
How to Drive a Classic Rolls-Royce, or a DeLorean, Any Time You Want
[/dmc] [permanent link]
Sometimes...
Ninth Runniversary
Merry Christmas
Aisling at 35
[/dmc] [permanent link]
Happy Birthday Aisling!!!!
[/dmc] [permanent link]
Don't Call it a Comeback
Fun Conversations
[/dmc] [permanent link]
An Observation
[/dmc] [permanent link]
What Year is This?!
He's Not Wrong...
[/code] [permanent link]
Trouble opening aterm in FreeBSD?
[/unix] [permanent link]
X11 Mouse Cursor Themes
[Icon Theme] Inherits = polarblue where polarblue is the name of the X11 mouse cursor theme you wish to use. FreeBSD installs many of the X11 cursor sets into /usr/local/lib/X11/icons/, your Unix flavor may be different. In theory, you can also install new themes of your choosing into ~/.icons/ and use those without the need for any elevated privileges. Additionally, there's the option of creating a .Xdefaults file in the home directory and adding the line Xcursor.theme: polarblue Again, where polarblue is the name of theme you want to use. [/unix] [permanent link]
FreeBSD Unix on Dell Precision M4800
mforde@gaz:~> cat /dev/sndstat Installed devices: pcm0: Device pcm2 was the one I wanted so I added the following lines to /etc/rc.local sysctl hw.snd.default_unit=2 sysctl hw.snd.default_auto=2 Now when boot completes pcm2 is set to my default and sound "just works" and sndstat shows pcm2 as the default. I found ACPI support has some weirdness as ACPI support often does. What I found was that Suspend works from console, but resume doesn't... HOWEVER After I start X ACPI suspend and resume work just fine. Normally I prefer to boot into a console and only start X if I really need it, but because I want suspend and resume to work "by default" I've enabled X to start at boot by allowing the xdm console in /etc/ttys. But this had one last issue. See, when manually starting X, I added the -dpi 143 option to get graphics and text to be appropriately sized for my screen. XDM needed to know about this. This probably wasn't the best place to do it, but I edited /usr/local/lib/X11/xdm/XServers and modified the call to X(7) to add the -dpi 143 option. Now when Xdm loads at start up, the DPI is set correctly. The function keys for adjusting the screen brightness don't work; however, xbacklight(1) works just fine. Similarly the volume keys don't work but I can adjust the volume quite easily with aumix(1). I've submitted my dmesg output to NYCBUG's dmesgd repository. I suppose I've posted this for two reasons. The first is so I have a record of how I eventually got these little things working in case I have to do it again. The second is in case anyone has similar issues with their hardware; if they happen to stumble upon this, it might give them some hints. [/unix] [permanent link]
Megapath sucks
Found this sitting in a tarball of my old home directory...
..,,.. ..ttLLLLtt.. ..;;ii;;,,..;;ttGGLL;;....iiiiiiiiiiii.. ..iijjttttii.. iiLLLLGGKKKKDDLLGG########GGLLDDWWWWWWKKKKKK######WWDDEEWW##WWWW##WWDDjjffDD##########LL.. ..;;.. ..ffWW########WWKK####KKjjttEE####WWGGGGEEGGDDDDGGjjttGGKKWWWWLLGGLLGG##########DDjjttttGG##GGffttiiiiffDDKKDDGGGGGGii ff####GGffffttii;;ttLLiijjtt;;LLtt;;,,,,;;;;;;iittLLtt;;,,iiiiiitt;;;;ffGGGGLLtt;;iiii;;;;DDWW####WWWW####KKDDKKKKWWWWtt ..EE##LL;;ttttLLttLLLLttff##WWGGjjffGGDDGGKKKKKKWW####WWDDGGDDDDWW##EEEEffttffLLffGGWWWWGG;;;;ttffjjffDDDDff;;;;;;iittKKWWii ;;KKKKiittKK######WWWW######################################KKKKWW##WW##################WWKKDDffttjjjjiiiiiiLLEEGGDDiittWWLL ..KK##ttGG######WWDDDDEEKKDDKKWWDDKKEEKKWWEEKKEEWW##WWKKWWEELLLLDDDDDDEEEEEEEEEEEEEEKK##########WW####KKWWKK########KKiiDDEEii DD##ffGG######EELLLLLLLLLLGGDDLLDDGGDDDDLLLLEE####WWGGGGLLLLLLLLLLLLLLLLLLLLLLLLDDKK######WW####KKKKKKWWWWKKKKWW####ttLLWWLL GG##LLLL##KKKKDDLLLLLLLLLLLLLLLLLLLLLLLLLLGGWW####WWLLDDLLLLLLLLLLLLLLLLLLLLLLGGKKWW######EEEEDDLLLLLLDDEEEELLEE####ffLLWWGG LL##GGjj##KKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDKK####WWLLEEDDLLLLLLLLLLLLLLLLLLLLGGEEKK##WW##EELLLLLLLLLLLLDDDDLLKK##WWiiGGKKjj jj##GGiiWWWWGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDKK####KKLLKKEELLLLLLLLLLLLLLLLLLLLLLLLKK##GG##EEDDDDLLLLLLLLLLLLLLKK##GG;;KKDD;; ii##EE;;DDWWGGLLLLLLLLLLLLGGLLLLLLLLLLLLLLLLKK####KKLLDDDDLLLLLLLLLLLLLLLLLLLLLLLLEE##ffWWKKEEEELLLLLLLLLLLLLLKKWWiijj##ff ;;WWWWiiGGKKLLLLLLLLGGLLDDEEDDLLLLLLLLLLLLLLKK####KKDDGGLLLLLLLLLLLLLLLLLLLLLLLLLLDDWWttEEWWDDDDLLLLLLLLLLLLLLEEKKiiKKWW;; ;;WW##ttGGWWGGLLLLLLEEDDEE##KKLLLLLLLLLLLLLLKK######WWEELLLLLLLLLLLLLLLLDDDDGGGGDDKKWWiiLLWWGGLLLLLLLLLLLLLLLLKKKKttWWLL iiWWKKiiKK##DDLLLLLLEEEEWW##WWDDLLLLLLLLLLLLKKWW######EELLLLLLLLLLDDEEEEWWWWKKKKWW####ii;;KKDDLLLLLLLLLLLLLLDDWWKKffWWtt ii##WWttWW##EELLLLLLDDEE######EELLLLLLLLLLLLKKDDEE####KKLLLLLLLLLLEE##################ii..KKEELLLLLLLLLLLLGGDD##DDffWWii ;;WW##ttLL##KKLLLLLLLLEE##KK##KKLLLLLLLLLLDD##LLLLEEWWKKLLLLLLLLLLKK####WWKKffLLKKWWGG;;..EEKKLLLLLLLLLLLLDDEE##LLLLWWii ..EE##LLiiWWKKLLLLLLGGKK##LLKKKKGGLLLLLLDDWW##ff;;iiKKKKLLLLLLLLLLKK##WWLLffttiijjLLiiffttGG##DDLLLLLLLLDDEEKK##ffLLKKii LL##KKiiKKWWGGLLLLLLKK##ttGGWWDDLLLLLLEE####tt;;,,EEKKDDLLLLLLLLEE##########WWWWWWttGGGGttWWWWDDLLLLLLGGGGKK##ffGGKK;; iiWW##ttGGWWDDLLLLGGWWKK;;GGWWDDLLLLLLEE##KKiiGG;;KKKKDDLLLLLLLLGGEEWW##KKEEDDDDKKttKK##ttGG##DDLLLLLLLLGGWW##jjEEEE.. GG##GGttWWDDLLLLGGWWKKiiWWWWDDLLLLLLEE##GGttKKiiGG##EELLLLLLLLLLLLGGDDGGLLLLEEKKjjWW##ffLLWWGGLLLLLLLLGGWWWWjjKKGG tt##EEttWWDDLLLLDDWW##WW####DDLLLLLLKK##ffLL##DDttWWWWDDLLLLLLLLLLLLLLLLLLLLKKKKjj####jjGGKKLLGGLLLLLLDD##KKttWWLL ii##KKttKKDDLLLLGGWW####WW##EELLLLLLEE##jjGG####ttDDWWGGLLLLLLLLLLLLLLDDDDGGWWEEtt####ttKKWWLLLLLLLLLLDD##GGffWWtt iiWWKKttWWEELLLLLLEEKKKKEEEEDDLLLLLLEE##ttEE####jjKKWWDDLLLLLLLLLLLLLLDDDDDDWWDDtt##WWttWW##DDLLLLLLLLEE##LLLLWWii iiWWKKff##EELLLLLLLLLLLLLLLLLLLLLLLLEEWWttKK##KKttWW##EELLLLLLLLLLLLLLLLLLDD##GGtt##WWttWW##EELLLLLLLLEE##ttGGEE.. iiWWWWff##KKLLLLLLLLLLLLLLLLLLLLLLGGKKWWttWW##KK;;EE##EELLLLLLLLLLGGGGGGGGEE##GGtt##WWttKK##EELLLLLLLLEEWWttEELL ;;WWKKff##KKGGGGLLDDLLLLLLGGLLLLLLDDWWKKtt####WWiiLL##EELLLLLLDDKKWWWWKKWW####ffff##WWttEEWWDDLLLLLLLLEEKKiiEELL ;;WWKKjjWWKKLLLLDDWWEEDDEEKKDDLLLLDDWWKKjj######jjLL##EELLLLLLEE##############jjLL####ttGG##DDLLLLLLLLKKKKiiKKff ;;WWWWttKKEELLLLEE####WW####KKGGLLDDWWDDjj######ffGG##EELLLLLLEE##LLLLLLWWWWKKiiGG####LLjj##DDLLLLLLLLKKEEttWWff ;;KKWWiiEEDDLLLLWW############DDLLGGWWDDjj######GGff##KKLLLLLLEE##ttiiiitttt,,;;KK####DDtt##EELLLLLLLLKKDDttWWtt ;;KKWWiiDDDDLLLLWWWWffff######EELLDD##GGff######KKttWW##DDLLLLEE##ffGGKKjj;;iiDD######KKjj##KKLLLLLLLLKKGGffWWii ,,KK##iiDDEELLLLWWGG iiffffWWDDLLEE##GGff########ttGG##EELLLLEE##ttLL####WWWW########KKtt##KKLLLLLLGGWWLLLLKK;; ..KK##ttLLKKLLLLKKGG......ttKKGGLLEE##LLLL########GGtt##KKLLLLEEKK;;LL########WWKKWW##KKttWWWWDDLLLLDD##ffLLGG.. ..KK##jjLLWWGGLLKKKK;;ttttff##DDLLDDWWttGG########KKttWWKKGGLLDDKKiiEE##ffttttii..ttWWWWttKK##EELLDDKK##ttGGGG ;;KK##ffLLWWGGLLKKEE;;LLGGtt##KKLLGGKKjjKK########WWttKKWWDDLLDDKKttKKEE.. GG##ffff##WWDDWW##EEiiEELL ..DD##GGttWWDDLLEEGG..LLWWttKKKKGGEEKKjjWW##########ttGG##KKDDDDWWttEEDD.. tt##KKiiWW##WW####GGtt##ff ff##KKiiWWDDGGEEGGiiWW##ttDDKKDDWWKKjj############ffLL####WWKK##ttDDEE.. ;;KK##ttLL######WWttLL##ii ;;WWWWttKKWWKKKKGGjj####ttGGWWEEWWGGtt############LLLL##########ttKKDD GG##EEiiDD####LL;;KKEE.. ..EE##ffLL##WW##GGtt####jjLL######LLtt############LLttWWGGKK##LLttWWLL iiWW##ffff####ttGG##ff LL##EEttGGLL##GGtt####LLttWWKK##ffLL##EEttttKK##DD;;ff;;ttEE;;GG##tt ff##DDiiKKLLiiWWKK;; tt####ttii;;KKffff####KKiiii;;GG;;LL##ii iiWW##LL:: ;;tttt##DD.. ;;KKWWiiffiiGG##ff ..KK##GGttiiii;;GG######DDLLii;;;;KKEE.. ff####DDLLii;;GGWW;; ..DD##LL..tt##KK;; jj######GG..jj############GGiiDD##ff ..LL######WWKK##GG ff##WWDDWW##tt ..LL####WWGGWWWWffiittGGWW##WW##DD:: ..ffKKWWWWWWKKtt ,,DD######ff.. ..ttEEWWWWDDii ttEEKKGG;; ..;;;;ii;; ;;ttffii.. ..ii;;.. ..;;.. |
||||