Weblog for dkg – HOWTO prep for migration off of SHA-1 in OpenPGP

In a nutshell:

Either, enter the following into a terminal…,

cat >>~/.gnupg/gpg.conf <<EOF
personal-digest-preferences SHA256
cert-digest-algo SHA256
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed

…or open gpg.conf in any text editor of your choice.

And then…,

## As I am on windows these days,
#  gpg4win
## I had to open a cmd, and use gpg2 instead of just gpg.
gpg --edit-key $YourKeyID
# To show your prefs.
# To set your new prefs.
setpref SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed

Tada, and Bob’s your uncle. 🙂

via Weblog for dkg – HOWTO prep for migration off of SHA-1 in OpenPGP.

Better late, than never. 😉

IpTables — Netfilter. (Yet another fine tutorial.)

IpTables :

Target : Self.

The Basic iptables tutorial 1 — from the  UCHW. 2 Has been very helpful in the past, to me, in getting up to speed with IpT. 3

Now, that I’m somewhat “ older, ” I may be “ ready, ” to take the plunge — into the deeper waters of netfilter’s innerworkings. 😉 😀 Nuh, not really, I’m just kidding ! Netfilter — Iptables, has a very steep learing curve ! In other words : Don’t blame me, if something goes wrong. I’m posting “ as is, ” 4 I’ll also assume, you’re sitting in front of your computer, and are not logged in remotely !

##  A helpful hint :
##  In case you get stuck ?
##  Flush all rules, from the default chains.
sudo iptables -F
##  Flush all rules, from any userdefined chains.
sudo iptables -X

So, while I promised — a few days ago — to write up a more thorough description on how to use IpTables, I remember, to have written up 5 something similar, in the past. But to be fair, how I thought back then, and now, are way too much apart for me to make use of it. 😉 Let me start afresh, and point you to some recommended reading, while I conjure up a basic configuration for you to use, if you so would choose ‽ But remember : It’s always better though, to figure things out for yourself !

Hence the Recommended reading :

Nuff said ! Let’s get to work.

Continue reading

Beating the crap out of your ISP’s DNS filtering & redirection

Thanks for showing me how to use bind9 in conjunction with DNSCrypt ! 🙂

Example screenshots.

Sources used, to (con)figure things :

PS : I’m tempted to switch to dnscrypteu though.

2nd PS : I might want to add that I forgot to change my nameserver to in the NetworkManager applet. 😀

See, what I mean …

Out Here In The Field : New Frontier!


So recently, my home ISP decided to jump the shark and join the line of  Indonesian ISP enforcing the use of their DNS server to their customer, by way of redirecting queries made to 3rd parties DNS such as google and OpenDNS, to their own DNS servers, which sucks on so many level. For example this is what i get when I tried to perform a query to Google’s DNS server from my Y510p:

mach5@M5INX:~$ dig @ vimeo.com ; <<>> DiG 9.9.5-3-Ubuntu <<>> @ vimeo.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53913 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;vimeo.com.            IN    A ;; ANSWER SECTION: vimeo.com.        3600    IN    A ;; Query time: 29 msec…

View original post 1,148 more words

Stop Trying to Clean Your Infected Computer! Just Nuke it and Reinstall Windows

The key to securing your computer is ensuring it doesn’t get infected in the first place. ← Agreed ! 😉

via Stop Trying to Clean Your Infected Computer! Just Nuke it and Reinstall Windows.

Well … I’d like to add : Never to use an operating system, which defaults to have everything set to “ executable. ” Which is one of my main peeves with this particular operating system, and also one of the reasons : Why I migrated away from windows, all those years ago. 😉

I prefer to be in the “ driver’s seat, ” and this means — how “ painful, ” or “ troublesome ” this might seem ? 😀 That I taketh, or giveth away the power to execute programs. 😆

Then again, that’s just me. If it’s all just working fine for you. Or if you love to run multiple resource hogging av-tools, anti-malware programs, etc. Then be my guest. It is not like I don’t know what it’s like. 😉 Truthfully though : I prefer to spend my time, figuring out things, and make my computer do things for me. This, instead of, having to play watchdog all the time. And always remember : To make backups, of all your important files. 😉

Some examples :

I taketh :

# Or should I write my(own)program. ; )
chmod -x yourprogram

I giveth :

chmod u+x yourprogram


Target : Self.

Sometimes I love to rant too … :-)

Ok, so this post actually belongs on this blog ! But since it’s about the focus on format — and style — instead of content. As opposed to focusing on what I wish to convey … And seeing as I’m the author of both blogs, I’ll simply ‘ reblog ’ it again here. 🙂

Yet another fine blog … 😀

I’ve been meaning to get back to writing, but every time I open up the WP editor, I always tend to feel “ rushed ” ? Which is something I do not necessarily consider healthy. 😉 So I‘ve tried WP’s post by email feature, and since I know WP supports markdown I finally thought,I had lucked out ! Because I love markdown, better yet … I‘ll source the file I used to create this post, from my cloudup account here.

But now comes the tricky part : No matter what I tried — whether I used Gmail’s plain text, or rich text feature — it always came out wrong. That is : WP wrapped all my links in regular html. 😦

So what does this all mean ? It means : That I, as of yet, still can’t focus on my writing — because I’m still too busy worrying about its style, and format. 😦

Thus came along markdown here

View original post 172 more words

Gedit’s little annoying “Untitled Document” feature, which apparently isn’t a bug ?

While I’m pretty much used to use gedit for all my text-editing needs. One of it’s most annoying, and therefore distracting “ features, ” is : When you wish to use alt+f2 — which pops up a ‘ run command window ’ akin to win+run. To run for example : kdesudo gedit /etc/fstab in kde, and gksudo gedit /etc/fstab in gnome. Then gedit does indeed open the intended file, plus 1. I’m glad to see I’m not the only one, who has this annoyance.

So I followed the instructions at : UBF

Exec=gedit $1 < /dev/null

And got surprised at the new behavior. Which is described perfectly at LMF. 😆

But if I then open the same file from Nautilus it actually makes things several times worse. I get a file called ‘$1’, another called ‘<' , another called 'dev/null' and lastly the file that I actually want to open.

So I took their suggestion, and as of right now, except for : While using gksudo ? Everything is in working order now. 😉

Exec=gedit %u

See the pictures at my cloudup for examples, of this particular behavior.

Target : Self.