Archive for the ‘Misc Hacking’ Category

pfSense on WRAP

Tuesday, March 23rd, 2010

I’ve been running pfSense on my WRAP board for a while now. Thus far its pleased me very well.
I had some problems getting the PPTP VPN working on 1.2.2RC1 and decided to take the plunge to 2.0-BETA.

In doing so you need to change a boot setting so that nanoBSD will boot on a WRAP board.
Fire up your favorite FreeBSD box (Or boot the pfsense LiveCD like I did) and find the device mapped to your CF card.
Then run ‘boot0cfg -o nopacket /dev/‘ That should do it.

If you’re like me an built your shiny new pfSense 2.0 install on an ALIX board, you’ll need to change the ‘vr0/vr1′ interfaces to ‘sis0/sis1′ in the pfSense config file.
The config file is located in /dev/s3/conf/config.xml.

Have fun.

Anritsu Training

Wednesday, April 15th, 2009

Fun training on gear that will do some really high speed networking.

Converted to WordPress!!

Wednesday, April 15th, 2009

All converted with little problems using a third-party script here.

All posts, categories, and comments converted just fine.

Now I need to figure out how to make all of the pictures work…

Serendipity (s9y) to WordPress Conversion

Wednesday, April 15th, 2009

I’ve been using wordpress as my photoblog for a couple months now. I’m really impressed with how easy it is to use and maintain.

I’m trying to figure out a way to convert this blog from s9y to wordpress.
S9y isn’t one of the stock conversion methods in WordPress so I figure I’m going to have to use one of those hacked together scripts floating around.

That said, I still really like s9y, but I don’t really want to maintain two different types of blogging software. If anyone has done this, let me know.

smokeping

Thursday, December 6th, 2007

I’ve been using smokeping for various reasons all over campus and the ICCN lately.
I find it excellent for what I want it to do. I do however, find it a pain to set up.
It seems the author merely tarred up a directory and posts it to the website. Thus, users have to edit each and every script/cgi to reflect the actual locations of libraries and binaries on their system.
This isn’t hard, its just annoying.

Anyway, what isn’t included is an init script for RedHat or CentOS, so I wrote one.
Of course, you’ll have to edit it to reflect where your actual binaries are.
#!/bin/bash
#
# chkconfig: - 16 84
# description: A smokeping init script for RHEL
#
# processname: smokeping
# config: /usr/local/smokeping/etc/config

# source function library
. /etc/rc.d/init.d/functions

RETVAL=0
prog="smokeping"

case "$1" in
start)
echo -n $"Starting $prog: "
daemon /usr/bin/smokeping
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/smokeping
echo
;;
stop)
echo -n $"Shutting down $prog: "
killproc smokeping
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/smokeping
echo
;;
restart|reload)
$0 stop
$0 start
RETVAL=$?
;;
condrestart)
if [ -f /var/lock/smokeping ]; then
$0 stop
$0 start
fi
RETVAL=$?
;;
status)
status smokeping
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}"
exit 1
esac

exit $RETVAL

Hack the Planet!!

Monday, February 12th, 2007

Dictionary.com’s Definition
hack?er (hāk’ər) Pronunciation Key
n. Informal

1. One who is proficient at using or programming a computer; a computer buff.
2. One who uses programming skills to gain illegal access to a computer network or file.

This is a beef of mine that often times gets me a little annoyed at the Media. The Media always ignores the origins and meaning of this word.
Due to the popularity of a movie the Media and the general public has taken this otherwise noble word and turned it into a thing of theft, deceit, and outright unlawfulness.

The term has been around for many many years but not until the early 90s did it transform into what it is today.
Its modern origins can be traced to ‘kiddies’ who yearned to be as knowledgeable as other, more talented, computer users. These kids quickly realized that gaining the skills and talent to become as proficient as computer ‘hackers’ (def 1 above) was too hard. Once this was realized, these kids searched for any way to prove these nonexistent skills.

As computers and the Internet were still very young, there were several easy to exploit vulnerabilities in all sorts of software. Some moderately talented programmers would wrap some of these methods into a simple, easy to use package or application. Once these applications got into the hands of the masses, the revolution had begun. Kids with something to prove were hitting ‘go’ or ‘crack’ mercilessly and compromising or in most cases merely just slowing down their target. But that was enough.

It only took minutes for the first kid to call himself a ‘hacker’ (def 2 above) and then brag on IM or IRC about shutting down his arch rival’s computer from across town. Of course his little buddies couldn’t be outdone. They searched and found the same applications and wreaked havoc all over the net. As vulnerabilities were patched, so were the so called ‘hacker’ applications and thus the spiral began.

As more and more kids got their hands on these applications, most of whom had no clue what the application was in fact doing, the market became saturated with so called ‘hackers.’ They bragged to their friends at school, online, and even their parents, all the while giving the term ‘hacker’ a bad name.

The real thieves, cheats, and general evil-does, were called by a simple other name. ‘Cracker.’ Because that is what they did. They cracked, or broke security measures to gain access to otherwise privileged information or systems. No self respecting ‘cracker’ would call themselves a ‘hacker’ or anything at all for that matter. The whole purpose is to be anonymous. Those who got caught were largely those that bragged to their friends or those who didn’t know what they were doing and ended up leaving a nice trail with neon signs for the trained specialists to follow back to their doorstep.

The term ‘hacker’ can apply to many things. It varies from ‘hacking together a mouse-trap,’ ‘hacking together a transceiver out of spare parts,’ or even ‘hacking some code’ to do something other than what was intended. It can also be a term of degradation. “What a hack!” “He’s just a hack on the golf course”

A ‘hacker’ (def 1 above) is someone who is extremely proficient in what they do. This musn’t apply only to computers or electronics. Several Amateur Radio operators consider themselves hackers. Many auto mechanics and race engine builders are classified as hackers.

In the computer sense, a ‘hacker’ is someone who knows about or understands the inner workings of code, memory instructions, or data, in such a way that he can alter its function to do something other than intended. This can certainly be something malicious, but more times than not, its simply extending the ability of something beyond its author’s intent. A good example is hacking an iPod run Linux.

As big business and the Media sensationalize the term ‘hacking’ or ‘hacker,’ as someone who commits crimes or generally does bad things in regards to computers and technology, (ie “Hackers defeat DRM protection” “Hackers pirate movies” “Hackers attacked government computers” etc etc) the original meaning is lost. Only do those in the know or people who come from a background where the term was used in its original meaning and context understand.

This is my plight. Use the term correctly or don’t use it at all.
I won’t even get into the whole “hat” rationalization of the term with ‘white hats’ ‘black hats’ and even ‘gray hats.’ Maybe I’ll touch on that in a later post.

[AUTOSAVED] Hack the Planet!!

Monday, February 12th, 2007

Dictionary.com’s Definition
hackĀ·er (hāk’ər) Pronunciation Key
n. Informal

1. One who is proficient at using or programming a computer; a computer buff.
2. One who uses programming skills to gain illegal access to a computer network or file.

This is a beef of mine that often times gets me a little annoyed at the Media. The Media always ignores the origins and meaning of this word.
Due to the popularity of a movie the Media and the general public has taken this otherwise noble word and turned it into a thing of theft, deceit, and outright unlawfulness.

The term has been around for many many years but not until the early 90s did it transform into what it is today.
Its modern origins can be traced to ‘kiddies’ who yearned to be as knowledgeable as other, more talented, computer users. These kids quickly realized that gaining the skills and talent to become as proficient as computer ‘hackers’ (def 1 above) was too hard. Once this was realized, these kids searched for any way to prove these nonexistent skills.

As computers and the Internet were still very young, there were several easy to exploit vulnerabilities in all sorts of software. Some moderately talented programmers would wrap some of these methods into a simple, easy to use package or application. Once these applications got into the hands of the masses, the revolution had begun. Kids with something to prove were hitting ‘go’ or ‘crack’ mercilessly and compromising or in most cases merely just slowing down their target. But that was enough.

It only took minutes for the first kid to call himself a ‘hacker’ (def 2 above) and then brag on IM or IRC about shutting down his arch rival’s computer from across town. Of course his little buddies couldn’t be outdone. They searched and found the same applications and wreaked havoc all over the net. As vulnerabilities were patched, so were the so called ‘hacker’ applications and thus the spiral began.

As more and more kids got their hands on these applications, most of whom had no clue what the application was in fact doing, the market became saturated with so called ‘hackers.’ They bragged to their friends at school, online, and even their parents, all the while giving the term ‘hacker’ a bad name.

The real thieves, cheats, and general evil-does, were called by a simple other name. ‘Cracker.’ Because that is what they did. They cracked, or broke security measures to gain access to otherwise privileged information or systems. No self respecting ‘cracker’ would call themselves a ‘hacker’ or anything at all for that matter. The whole purpose is to be anonymous. Those who got caught were largely those that bragged to their friends or those who didn’t know what they were doing and ended up leaving a nice trail with neon signs for the trained specialists to follow back to their doorstep.

The term ‘hacker’ can apply to many things. It varies from ‘hacking together a mouse-trap,’ ‘hacking together a transceiver out of spare parts,’ or even ‘hacking some code’ to do something other than what was intended. It can also be a term of degradation. “What a hack!” “He’s just a hack on the golf course”

A ‘hacker’ (def 1 above) is someone who is extremely proficient in what they do. This musn’t apply only to computers or electronics. Several Amateur Radio operators consider themselves hackers. Many auto mechanics and race engine builders are classified as hackers. In the computer sense, a ‘hacker’ is someone who knows about or understands the inner workings of code, or memory instructions, or data in

As big business and the Media sensationalize the term ‘hacking’ or ‘hacker,’ as someone who commits crimes or generally does bad things in regards to computers and technology, (ie “Hackers defeat DRM protection” “Hackers pirate movies” “Hackers attacked government computers” etc etc) the original meaning is lost. Only do those in the know or people who come from a background where the term was used in its original meaning and context understand.

This is my plight. Use the term correctly or don’t use it at all.
I won’t even get into the whole “hat” rationalization of the term with ‘white hats’ ‘black hats’ and even ‘gray hats.’ Maybe I’ll touch on that in a later post.

Absolutely Hilarious

Tuesday, February 6th, 2007

A couple expletives in there but hilarious nonetheless.

A perfect combination

Wednesday, October 25th, 2006

Mozilla Firefox 2.0 + Foxmarks + FoxyTunes + Firefox Tab Bar Fix = Perfect Browsing experience.

I had been searching for a LONG time for a way to control iTunes in a way that I could still see my auto-refreshing InterMapper screen on the iLamp.
What other extensions should I try? Leave a comment.

Update:
browser.tabs.closeButtons = 0 (only show the close button the tab if it is in focus)

Fix Firefox 2.0′s tab bar

Sunday, October 22nd, 2006

I moved to Firefox 2.0 on my home machine to fix the slowness I started seeing after having 20+ tabs open in the tab bar.
Much to my surprise and anger, I saw a nice new “feature” that scrolled tabs off the side of the screen after a set number of tabs were open. Or so I thought.
Having a 20″ wide screen monitor, I like to have a BUNCH of tabs open. I searched and searched in Preferences to increase the number of tabs, but it wasn’t there.
Nothing in the help, no extensions to fix it, nothing on the web.

So I decided to prod around in about:config
(open a new tab and type “about:config” in the address bar)

The values you want to set are:
browser.tabs.tabClipWidth
browser.tabs.tabMinWidth

I set mine to 50 and 40 respectively. This allowed me 29 tabs on my 1680×1050 screen before I got the scroll arrows.
I rarely get up to 29 tabs, but I like the fact that I can get there without worry.

Now I can move up to 2.0 on each of my machines when it comes out on Tuesday.