Home Random Sh17cast Forums

How To: Eggdrop 1.6.19 + SSL on Gentoo 64 bit

Wednesday, March 4, 2009

Update: The official version in Gentoo’s repo has been bumped for a while now including the SSL patch. You shouldn’t need to follow the instructions here.

We rebuilt our server a few weeks ago, and I was just now getting around to putting eggdrop on it again and setting up the sh17radio bot we had before.

I installed eggdrop-1.6.18 through portage, and everything was cool until I tried to connect via SSL.

[02:35] Trying server irc.thesh17.com:7000
[02:35] DNS resolved irc.thesh17.com to x.x.x.x
[02:35] net_switch_to_ssl()
[02:38] SSL_connect() = -1, error:00000000:lib(0):func(0):reason(0)
[02:38] SSL Failed connect to irc.thesh17.com (Error while switching to SSL).

Apparently eggdrop has some issues with SSL on 64 bit systems, but Egghelp has a few patches to fix this.   eggdrop 1.6.19 has been out since April, but the ebuilds in Gentoo Portage haven’t been updated yet for whatever reason so I took it upon myself to update my own ebuild and share it here.

Note:  I did find this gentoo bug for a version bump.   This is where the  eggdrop-1.6.19-patches-1.0.tar.bz2 file came from with all of the patches.

How to install the eggdrop-1.6.19 ebuild?

If you already have a local portage overlay set up, ignore step 1 & 2.   Otherwise, we need to create a portage overlay directory and add it to make.conf.

  1. [code]mkdir -p /usr/local/portage/net-irc/eggdrop[/code]
  2. [code]echo ‘PORTDIR_OVERLAY=”/usr/local/portage”‘ >> /etc/make.conf[/code]
  3. Now we need to actually download/install the updated ebuild
    [code lang=”bash”]cd /usr/local/portage/net-irc/eggdrop
    wget https://www.thesh17.com/wp/wp-content/uploads/2009/03/eggdrop-1619-tstar.bz2
    tar xvjf eggdrop-1619-tstar.bz2[/code]
  4. After we extract it, delete the tarball and copy the patches to the distfiles directory
    [code]rm -f eggdrop-1619-tstar.bz2 ; cp -v files/eggdrop-1.6.19-patches-1.0.tar.bz2 /usr/portage/distfiles/[/code]
  5. You’ll probably need to add eggdrop to your package.keywords file now, so change amd64 to whatever keyword you would normally use on your system (Note:  I only added it specifically for this version)
    [code]echo “=net-irc/eggdrop-1.6.19 ~amd64” >> /etc/portage/package.keywords[/code]
  6. Now, emerge!
    [code]emerge -av eggdrop[/code]
  7. If you haven’t used eggrop before, then you’d want to log in as the user you’re planning to run it on then run ‘eggdrop-installer’

After installing the new ebuild, everything connects successfully 🙂

[02:55] main: entering loop
[02:55] Trying server irc.thesh17.com:7000
[02:55] DNS resolved irc.thesh17.com to x.x.x.x
[02:55] net_switch_to_ssl()
[02:55] SSL_connect() success
[02:55] net: connect! sock 8
[02:55] Connected to irc.thesh17.com

Expect more posts later on, and check out my previous eggdrop post if you want to set up a bot that announces shoutcast stations.

Post in the comments if you have any trouble getting it to work and I’ll help you out.

posted by johntash at 4:58 am  

Cold Boot Beats Your Disk Encryption

Monday, February 25, 2008

Do you use Microsoft Window’s Bitlocker?   TrueCrypt?  DMCrypt?  Or whatever the hell Apple calls their disk encryption?

If you do.  Here’s something for you to think about.   That encryption key is more vulnerable than you probably realize.  It’s always going to be sitting somewhere in your ram while you’re logged onto your system.  If you put your machine to sleep, it’s going to be there.   Even if you completely power off your laptop/computer, it will still be sitting in that ram chip for at least a little while.

This video demonstrates an attack against Bitlocker:

Want to feel safe again?

  • Always shutdown your computer.  Not sleep,hibernate, or any other lowpower state.
  • Find a program to scramble your ram on shutdown.
  • Don’t use liquid nitrogen to cool your ram.
  • Reevaluate your encryption needs, because most likely you don’t need to encrypt the WHOLE disk.  If you’re using linux; look into setting up encryption per user per their home folder.

posted by johntash at 6:47 pm  

WordPress Worm that fixes WordPress

Thursday, August 2, 2007

I’m not entirely sure I’d call it a worm since it doesn’t really spread automatically and on its own, but anyway. I saw this on gHacks and thought it was cool.

Basically this guy discovered seven vulnerabilities in the latest version of WordPress and decided to write a worm that will go into your site and patch the problems. All you have to do is login as an admin, post a comment containing a link to http://mybeni.rootzilla.de/mybeNi/ and click on it from the Moderate Comments admin panel. This will take you to his site where you then would have to click “Secure my blog” to continue. It’ll go back to your admin panel and guide you through the process of patching 3 files to stop this kind of XSS/ Cross-site-scripting vulnerability.

first wordpress worm

Of course you’ll have to trust that this won’t do any harm to your wp installation 😉

If you don’t want to do it this way and can wait. This is all fixed in the next update; which you can get off of the SVN repo right now.

posted by johntash at 2:18 pm  

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Tuesday, May 1, 2007

The number of the day is 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Digg got told by HD DVD to remove a story about hd-dvd’s processing key from doom9’s forums and now the internet’s basically pissed at them for choosing a sponsor over their users. Digg users are revolting by digging only stories with the key to the front page of digg.

There’s t-shirts, songs, videos, domains, and lots of other creative things containing the key now. ThePirateBay is embracing the numbers.

I’ll wait til andy watches the next episode of diggnation and see if they say anything about it.

Posts that contain 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 per day for the last 30 days.
Technorati Chart
Get your own chart!

PS: Digg this

posted by johntash at 11:06 pm  

RFID on 20/20

Sunday, April 22, 2007

Until they can make RFID tags more secure, this has me scared of what’s in store for the future.

posted by Kanchi_r0b0t at 4:01 am  

Video of the Day: The NSA Hacker

Wednesday, April 18, 2007

They want to give this guy 60 years in prison for doing nothing really..  He didn’t break anything.   I love how the reporter tries to act like he knows something about what he’s talking about, but doesn’t really.

In 2002, Gary McKinnon was arrested by the UK’s national high-tech crime unit, after hacking into NASA, and the US military. He says he spent two years looking for photographic evidence of alien spacecraft and advanced power technology. America now wants him on trial, and if tried there he could face 60 years behind bars. Gary’s been banned from using the Internet. We asked for his side of the story ahead of his extradition hearing on Wednesday,”

If you wanna read more about him, go here.

posted by johntash at 5:09 am  

29 queries. 0.151 seconds.
Copyright © 2007-2010 http://www.thesh17.com