IMG_20140606_163958_+0.0Ev

Free to Vape!

IMG_20140606_163958_+0.0EvI don’t make many of these posts, but this is important to me,  if you haven’t heard yet, the FDA is planning on changing the rules in regards to e-cigarettes and the vaping community as a whole.

So I HIGHLY recommend you take a few moments to let congress and your state representatives know how you feel and visit the website: http://freetovape.com/

But do it soon as you only have until July 9th before your voice will fall on deaf ears.

 

2014-01-27 22_30_53-Name.com - Domain Name Registration

Add DKIM Signing to your ISPConfig server (Ubuntu 12.04 LTS)

So a few starters, I’ve updated the site to the latest wordpress and I have to say, I LOVE This default theme! So much so I’ve gone ahead and made the switch! Nice work automatic! (The backend rocks too!)

Also sorry for the delay in postings, work’s kept me busy! (That’s a good thing :) ) and I’m in the process of moving all my ispconfig severs to AWS (which is what I do!), so I’m busy after work as well!

Anyways, on to the subject!

I originally was just looking to add greylisting to my server, when I came across this post to “harden” postfix and it’s really a great post! I highly recommend if you’re using postfix to at least look at this guide!

However I noticed that there was no mention of DKIM signing, which is another good layer of security to add and helps you’re mail go through to servers such as yahoo etc.

But here’s the good news, amavisd-new that’s already installed on your system is already setup to do DKIM Signing!

Sweet! Let’s just get to making key’s already!

First we’re (root) going to create the .pem file in /var/db/dkim then chown the pem file to amavisd:amavisd

You might need to create this directory if it doesn’t exist

Next we’re going to add this key to the amavis-new config. This location has changed now that we’re using amavis-new. It parses multiple config files now instead of just one. 

Add a line for each key you generated (one per domain) into that file

While you’re in there let’s go ahead and define our internal networks to this file as well, something like this example should work for most.

Restart amavis

Now view the key:

you can leave your key name off if you want to view all keys at once.

Copy the output to a notepad file and edit it removing the (“) so it starts with v=DKIM1 and ends at the last letter of the key. In other words make this a single line. One long string.

This needs to be added to the DNS server as a TXT record. The host name will be something like “mail._domainkey.example.com” add the long string as the answer.

2014-01-27 23_00_48-Name.com - Domain Name Registration

 

Finally after you’ve given DNS long enough to propagate (test with nslookup)
Test the key on the server

You should get a result with your domain in it like this:

You’re golden!

If you’d like to see more results and test other things like SPF records etc, go to the appmaildev.com SPF test site, click next and send them an email.  At the bottom of the reply email, you’ll see the DKIM section which should show pass!

2014-01-27 23_16_31-SquirrelMail 1.4.22

Use iframes to monitor your bitcoin world

  So first off, I hope your thanksgiving was delicious, and YES your seeing that right! Bitcoin has just recently broken through the $1000.00 ceiling and it’s still on the rise! Obviously this has sparked a lot of attention, but I wonder how much attention people spend on the actual mining of the coin’s everyone’s buzzing about?

So I figured I’d share a very simple solution I’ve been using for keeping an eye on my hardware and the roller-coaster ride of activity on the exchanges!

It’s a pretty simple method, I just create an iframe in the size of the page I want displayed and refresh the page until everything line’s up like I want.

To go over the fields before I post the code, the bitcoin price at the top of the page I use as a marker for reference of what the price was while I’ve had the page open, it’s exciting to see sometimes just how quickly these swings have been happening!

Below that is my miner’s over at CEX.IO which are silently hashing away under someone else’s control, but hell, as long as the payout’s keep coming in I’m strangely ok with that! (plus with the price increasing, my hardware prices are taking a hit…)

Below that is just the tip of my minepeon home page (running on a raspberry pi) showing that it’s crunching away with my newly arrived butterfly labs box that’s been hashing quite nicely now that it’s (FINALLY) arrived!

Below that and to the left, is a website using my api key to give me the basic’s of what’s happening on my BTC Guild account without me needing to have the full page loaded, which I like alot! (even if the page does error out now and again.)

Then to the right the main focus, the bitcoinity.org charts which are a super awesome resource for watching the exchange markets. MtGoxLive is neat, but it’s limited to mtgox, where as bitcoinity.org‘s chart does the top 5 exchanges which I prefer as I use several of them.

So now onto the code! It’s a pretty simple page as basically all we’re doing is adding 5 “windows” into other web pages. here’s what it looks like (with some private url info removed) Just replace your content and sizes as you see fit.

I’ve also added some extra url’s in the bottom comments for you to play with if you like.

So yea, like I said not much to it! However if you like it, I do take bitcoin donations! 17mRcCM9XSugSPqfVHLZM3cC4xkV37xmg1

Office365 PWNage!

Office Taskbar PWNage!

So I just recently re-installed windows on my desktop and was installing my office365 suite (I’m doing the annual 5 seat license, so far I’m very happy with it other than trying to find the installer for each system, but that’s a different rant).

I happened to pin them to my task-bar and it spelt out “pwn” and I found that funny so I wanted to share. :)

Office365 PWNage!

 

 

 

(I’m using Powerpoint a lot for my capstone at ITT if you curious why it made it to the task-bar. It won’t be there much longer.)

results of running this bat file

Vanity Bitcoin Keys

So it’s been a while since I’ve talked about bitcoin and I’ve recently gotten more interested now that the prices have grown significantly. So I started explaining it to some friends at school and have gotten them interested as well. So of course I wanted a nice and custom key to show off, and it’s really quite easy with tools like vanitygen by samr7 over on the bitcoin forums which is the tool that we will be using for this post.

Because it’s actually doing alot of math to figure out (or more correctly guess) at the key, the longer you want your custom key to be, the longer you will have to crunch these numbers so don’t get too crazy with it.

The tool has several options but most of them won’t be used, in fact I only use one of the possible flags below, but there are more, you can view them by running vanitygen.exe with the “-h” flag, or just save this as something like help.bat in the same folder as vanitygen.exe and double-click the .bat file to run the help command for you.

Now that you have read the options the batch file below might make more sense, we are going to ask you for the pattern you want your custom key to have, and decided if you want it case-sensitive which takes MUCH longer, and might have strings that are not allowed, but it’ll error out if it does so you can try something different.

So save this file as something like vanity.bat in the same folder as vanitygen and run it. (Change the highlighted lines 19 and 23 to reflect the executable you are going to use for your system. (ie: if on a 64 bit system you would use vanitygen64.exe, on a gpu you would use oclvanitygen.exe)

Here is what the output of the script does (note, I’ve highlighted the user input for clarity, there is no color in the actual script results, and No this key should NOT be used!):

vanity.bat result

Then create a shortcut on your desktop for vanity.bat and change the icon to something that you prefer, I’ve added the image I use below for fun, and then just run this anytime you (or a friend) want a custom wallet key!

As for wallet’s, I use the Armory wallet but for most users I would recommend multibit as it’s much faster, and much smaller, but you do give up some freedom and security relying on others where armory can offer a true TNO security standpoint, just my 2 bitcents on that topic, now get mining!

 

I Talk To Machines