System Downtime

February 1, 2009

Tunneling a connection through SSH

Filed under: Dorm Life, Linux — Tags: , , , — Michael Pobega @ 2:23 PM

So I finally arrived at school, only to find that my college has decided to block IRC on the campus wifi. Weirdly enough, they allow AIM/MSN/Jabber/Skype/Ekiga/etc traffic, but not IRC. According to the IT department “IRC is commonly used to spread viruses”. I’m not sure how valid that is, but it didn’t stop me from trying to connect to my usual IRC networks.

Luckily all they did was block the common (6000~7000) IRC ports, which meant that I could still get on any networks that offered alternate ports. But for those odd servers that don’t offer any ports outside of the 6000~7000 range, there is another way to get around this block using an SSH tunnel and a program called tsocks, a program made to simplify the use of a SOCKS proxy connection. After installing tsocks find tsocks.conf and make sure everything else is commented out but:

server = 127.0.0.1
# Server type defaults to 4 so we need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I’ve stated it here for clarity
server_port = 1025

Now when you connect to your SSH server, you use the -D flag followed by the port in your tsocks.conf. For example, if you were using my configuration you would run ssh -D 1025 servername

Another use for this is to achieve wired connection speeds with a wireless connection – you can tunnel wget through tsocks and increase your download speed (considering your SSH server is on the local network)

Have fun and happy chatting!

Advertisements

January 20, 2009

Fleeting thoughts

Filed under: My Life — Michael Pobega @ 9:22 PM

I’m glad to finally be leaving for school. Spending my life on this island has been such a drag; not that there isn’t anything to do, because I assure you, there is — but because I’ve grown tired of seeing the same people day in and day out. It’s the same people, the same teachers, the same restaurants, the same drama (that isn’t to say that I enjoy drama, because I don’t), and it’s become repetitive.

Hopefully the new start at SUNY IT will work out. I just need a new environment.

December 18, 2008

Dorm Checklist

Filed under: My Life — Tags: — Michael Pobega @ 2:59 AM

Purchased Items:

  • Eee PC 900 for taking notes and goofing around on campus
  • 22″ High Def LCD TV for my Wii! …And I guess my laptop and stuff. For, you know, essays (merry Christmas mom!)
  • New Clothes
  • Box of 12 condoms (you never know when you are gonna need these!)

Still unpurchased items:

College is going to be fun.

December 16, 2008

Accepted!

Filed under: My Life — Tags: , — Michael Pobega @ 9:54 PM

I got my acceptance letter from SUNY IT today, it put me in a pretty good mood. Finally, I’ll be out of the cruddy CUNY system and in a real tech school. No more bullshit Computer Science professors or retarded classes (a web design class where they teach you basic HTML in six months? No way!) for good.

I’ve been telling all my friends that I’m leaving in a few weeks, and I am getting mixed reactions. Some are happy for me, some are upset to see me go, but they all ask me the same thing; What are you doing before you go? It sounds like a question you ask someone when they are on their death bed. Is there something I’m supposed to do before I leave for school? Or are they just trying to squeeze a free party out of me? Perhaps I just don’t understand how most people think. Oh well. At least I’ll be off of this godforsaken island in just under a month.

Create a free website or blog at WordPress.com.