LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2012, 02:58 AM   #1
danoc93
LQ Newbie
 
Registered: May 2012
Posts: 19

Rep: Reputation: Disabled
IRC port is blocked


Hi guys, I developed a chat application as a project for my Java class... the problem is that I didn't know the port 6667 would be blocked (along with all ports over 2000) in my college when I proposed that project... it is too late to change it since it's due the next week and I have it working perfectly in my house and other places...

My teacher didn't help me at all. He said it wasn't his problem (really nice of him)... :/ I also went to talk to the Technology Services Desk but they said it would require a lot of trouble and papers (yeah, that college sucks)...

So what I am asking is if there is any way to bypass the connection...

I connect using a Socket that connects to the irc.freenode.net:6667, but I am wondering if I can do some sort of connection through a proxy that doesn't have its port blocked...

For example connect using ircproxytofreenode.com:331

Or am I condemned to get a 0 in my project?

Last edited by danoc93; 06-24-2012 at 03:00 AM.
 
Old 06-24-2012, 08:14 PM   #2
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
If you have shell access to another machine running an OpenSSH daemon that has unfirewalled access to Freenode, you can tunnel your connection to Freenode via that machine. On your machine running the chat client:

Code:
ssh -N -L 331:irc.freenode.net:6667 [HOST]
Where [HOST] is the hostname of the other machine. You can then provide 127.0.0.1:331 as the address in the constructor for your socket. I don't think Freenode does any aggressive probing for open relays when you connect, so it should work.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SFTP server port blocked on Uni network, need to change the listening port. sammyboy161 Linux - Newbie 2 10-21-2010 12:03 PM
Iptables - port forwarding to blocked port? spangberg Linux - Networking 2 03-26-2010 04:48 AM
blocked port 80 squi Linux - Newbie 1 09-19-2003 09:57 AM
SSH & IRC Ports beying blocked by integrated firewall on RH9 ronnybello Linux - Networking 5 08-23-2003 08:32 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration