Archive for the ‘Funny Stuff’ Category

The Adventures of Lil Cthulhu

Funny Stuff, Random Thoughts, WTF | Posted by apokalyptik
Nov 17 2009

Postfix, DKIMproxy, Spamc

Business, CLI, Funny Stuff, Linux, Security, Software Development, Web Stuff | Posted by apokalyptik
Nov 14 2008

If you’re running any moderately busy mail server you’re probably using spamassassins spamc/spamd to check for spam because its tons more efficient than piping the mail through the spamassassin cli. Assuming that you do, and that you plan on adding DKIM proxy to the mix to verify  and sign emails you need to put things in the right order, to save you some headache here’s what I did:

  1. smtp|smtps => -o smtpd_proxy_filter=127.0.0.1:10035 # outgoing dkim verify port
  2. 127.0.0.1:10036 => -o content_filter=spamassassin
  3. spamassassin =>  pipe user=nobody argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} # this delivers to the “pickup” service
  4. pickup => -o content_filter=dksign:127.0.0.1:10037 # outgoing dkim signing port
  5. 127.0.0.1:10038 => -o content_filter= # the buck stops here

If you arent careful with these (which I wasnt) you’ll end up causing an infinite loop between your filters (which I did).  Thus concludes our public service announcement.

Bella and buddy, represent’n

Bella, Buddy, Business, Dogs, Funny Stuff, Personal, Random Thoughts | Posted by apokalyptik
Mar 31 2008

They’re down with the Dubya P.







Bash: “I Can’t Eat Another Byte”

CLI, Funny Stuff, Linux, Random Thoughts | Posted by apokalyptik
Sep 13 2007

root@server:/dir/ # ls | wc -l

1060731

root@server:/dir/ # for i in *; do rm -v $i done; done

me@home:~/ #

HUH?

Turns out that bash just couldn’t eat another byte, and next time I logged in I saw this: “bash[5469]: segfault at 0000007fbf7ffff8 rip 00000000004749bf rsp 0000007fbf7fffe0 error 6“… Impressive :)

LOLSPAM?

Funny Stuff | Posted by apokalyptik
Aug 27 2007

support to spammer: “are you a spammer?”

spammer to support: “oh hai. oh noes!1!!!”

support to spammer: “then what about all this?”

spammer to support “oh noes! they must have didz  used mah open proxee i forgotted about which sawmhow got installed on all 200 of my vertual hostez!!1! teh icanhasspam script”

support to spammer: “oh, sounds reasonable, dont let it happen again okay?”

spammer to support: “four surez!!1! lolz!

And we’re off

Buddy, Dogs, Excuses, Funny Stuff, Personal, Random Thoughts | Posted by apokalyptik
Jun 30 2007

So now back off to the vet to pick up the dog who’s gonna spend most of the next few weeks being MISERABLE because he’s gonna have to be crated a a LOT, wont be able to play with the other dogs at all for a while, and will have to wear a satellite-dish-collar. On the plus side he’ll have a drain installed in his ear and he’ll be leaking gross fluids form his head for a while. I guess theres ALWAYS a silver lining, insn’t there?!

quick update

Buddy, Dogs, Excuses, Funny Stuff, Personal, Random Thoughts | Posted by apokalyptik
Jun 30 2007

Well… everything that could go wrong this weekend (outside work) has gone wrong.

My replay tv is dying

My wifes laptop is dying

I have one dog getting out of surgery right now because of a hematoma

I have one cat with ringworm

One cat got the crap beat up out of her in a fight

I had my tire punctured so badly it needs replacing (this was on the way to the vet yesterday night when we noticed the swelling in buddy’s ear (the hematoma))

The dogs chewed a hose

One dog ate my wifes flipflops while we were away and puked pieces of it up all over the house

We have to go back to Fremont sometime this week to return the old cable receiver and modem or get sent to collections

Oh, and the IRS sent us a letter about a form missing from my tax return (I used TaxCut to avoid exactly this kind of crap!)

On the plus side… We’re alive :)

When simple plans attack!

Excuses, Funny Stuff, Personal, Random Thoughts | Posted by apokalyptik
Jun 09 2007

Well at the zoo we lost a pair of glasses, so off to lensecrafters… no eye exam in 3 years… so eye exam… 2 hors for glasses… and WHAM a day thats supposed to end at 4:00pm ends at 9:00pm… sigh… :) we now return you to your regularly scheduled blogging.

All things being equal, the simplest solution tends to be the best one.

Business, CLI, Excuses, Funny Stuff, Linux, Personal, Random Thoughts, Software Development, Uncategorized, Web Stuff | Posted by apokalyptik
May 30 2007

Occam’s razor strikes again!

Tonight we ran into an interesting problem. A web service – with a very simple time-elapsed check – started reporting negatives… Racking our brain, pouring over the code, produced nothing. It was as if the clock were jumping around randomly! No! On a whim Barry checked it and the clock was, indeed, jumping around…

# while [ 1 ]; do date; sleep 1; done
Wed May 30 04:37:52 UTC 2007
Wed May 30 04:37:53 UTC 2007
Wed May 30 04:37:54 UTC 2007
Wed May 30 04:37:55 UTC 2007
Wed May 30 04:37:56 UTC 2007
Wed May 30 04:37:57 UTC 2007
Wed May 30 04:37:58 UTC 2007
Wed May 30 04:37:59 UTC 2007
Wed May 30 04:38:00 UTC 2007
Wed May 30 04:38:01 UTC 2007
Wed May 30 04:38:02 UTC 2007
Wed May 30 04:38:19 UTC 2007
Wed May 30 04:38:21 UTC 2007
Wed May 30 04:38:22 UTC 2007
Wed May 30 04:38:23 UTC 2007
Wed May 30 04:38:24 UTC 2007
Wed May 30 04:38:08 UTC 2007
Wed May 30 04:38:09 UTC 2007
Wed May 30 04:38:10 UTC 2007
Wed May 30 04:38:28 UTC 2007
Wed May 30 04:38:12 UTC 2007
Wed May 30 04:38:30 UTC 2007
Wed May 30 04:38:31 UTC 2007
Wed May 30 04:38:32 UTC 2007
Wed May 30 04:38:33 UTC 2007
Wed May 30 04:38:34 UTC 2007
Wed May 30 04:38:35 UTC 2007
Wed May 30 04:38:19 UTC 2007
Wed May 30 04:38:20 UTC 2007
Wed May 30 04:38:21 UTC 2007
Wed May 30 04:38:22 UTC 2007
Wed May 30 04:38:40 UTC 2007
Wed May 30 04:38:41 UTC 2007
Wed May 30 04:38:42 UTC 2007
Wed May 30 04:38:43 UTC 2007
Wed May 30 04:38:44 UTC 2007

This cold of mine just WILL NOT quit…

Funny Stuff, In The News, Random Thoughts, Security, Windows | Posted by apokalyptik
Feb 09 2007

It’s still hanging in there like a monkey on my back.  Speaking of colds… Vista is off to a cold start, security wise, isn’t it? Already a privilege escalation vulnerability letting local restricted users become local admins.  “UNBREAKABLE ORACLE VISTA!”