Sponsored Content
Top Forums Shell Programming and Scripting How to setup a shell to use IRC behind firewall help Post 302167522 by sb008 on Thursday 14th of February 2008 04:54:07 PM
Old 02-14-2008
Quote:
Originally Posted by KromiX
So, I have a free shell from an online provider which offer IRC access, I am behind a firewall blocking all IRC ports @ work, how can I use the Shell to get on IRC from work? What do I need to setup on the shell to be able to connect to the shell on the ssh port which allows connections from work, and then the shell to irc?

Diagram of what I am thinking in my head:

Work -> IRC 6667-7001 (blocked)

Work -> SSH Shell 22 -> Shell Connect to -> IRC port 6667 (port-forward connected)

What can I do in specific with my shell to be able to have this set up? What do I need to install, etc...
If I would be your boss I would fire you on the stop when I would find out you are trying this.

There is a good reason why your company blocked these ports.
 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Irc??

hi there everybody.. i just noticed that there is no forum dedicated to internet relay chat (IRC)... although there are several threads focused on this, i think it is quite better if there is a forum where questions on IRC are tackled head-on in a purely academic level... anyway, this is just... (4 Replies)
Discussion started by: cable21
4 Replies

2. Shell Programming and Scripting

Configure Firewall in unix from shell script

plz help me, i need to configure my firewall with using shell script, i am using unix fedora 9. thanks ppl. replys would be great. (1 Reply)
Discussion started by: king_jon85
1 Replies

3. Shell Programming and Scripting

Shell running setup in Korn ?

I am starting to code a few ideas of customization and tasks improvements on the office UNIX machine. My first script (see below) only contains ALIAS commands. But for some reason, when I execute it, the alias are not executed. I suspect it is because of the "#!/bin/ksh" not being recognized or... (4 Replies)
Discussion started by: Browser_ice
4 Replies

4. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

5. Cybersecurity

Help needed in IPTables firewall/router setup - Linux

HI all, I have setup IPTables firewall/Router and my home network, with address space 192.168.10.XXX Form my private network hosts, i can ping the gateway ( 192.168.10.101 ) , but the reverse is not happening. Can someone help me as of what i need to do, so that i can ping my private... (1 Reply)
Discussion started by: chandan_m
1 Replies

6. Shell Programming and Scripting

How to setup Oracle connection inside shell script?

Hi, We have Oracle Connection parameters set up in file name "TESTDB" at location /abc/etc.When I try to run my shell script it does not connect to Oracle database. Please let me know how "TESTDB" file can be called inside script. ####################### Setting the directories... (2 Replies)
Discussion started by: sandy162
2 Replies

7. SCO

Irc port

does anyone know of a port of irc like irssi for unixware? thanks (3 Replies)
Discussion started by: deus-programmer
3 Replies
AnyEvent::IRC(3pm)					User Contributed Perl Documentation					AnyEvent::IRC(3pm)

NAME
AnyEvent::IRC - An event based IRC protocol client API VERSION
Version 0.96 SYNOPSIS
Using the simplistic AnyEvent::IRC::Connection: use AnyEvent; use AnyEvent::IRC::Connection; my $c = AnyEvent->condvar; my $con = new AnyEvent::IRC::Connection; $con->connect ("localhost", 6667); $con->reg_cb ( connect => sub { my ($con) = @_; $con->send_msg (NICK => 'testbot'); $con->send_msg (USER => 'testbot', '*', '0', 'testbot'); }, irc_001 => sub { my ($con) = @_; print "$_[1]->{prefix} says I'm in the IRC: $_[1]->{params}->[-1]! "; $c->broadcast; } ); $c->wait; Using the more sophisticated AnyEvent::IRC::Client: use AnyEvent; use AnyEvent::IRC::Client; my $c = AnyEvent->condvar; my $timer; my $con = new AnyEvent::IRC::Client; $con->reg_cb (registered => sub { print "I'm in! "; }); $con->reg_cb (disconnect => sub { print "I'm out! "; $c->broadcast }); $con->reg_cb ( sent => sub { my ($con) = @_; if ($_[2] eq 'PRIVMSG') { print "Sent message! "; $timer = AnyEvent->timer ( after => 1, cb => sub { undef $timer; $con->disconnect ('done') } ); } } ); $con->send_srv ( PRIVMSG => 'elmex', "Hello there I'm the cool AnyEvent::IRC test script!" ); $con->connect ("localhost", 6667, { nick => 'testbot' }); $c->wait; $con->disconnect; DESCRIPTION
The AnyEvent::IRC module consists of AnyEvent::IRC::Connection, AnyEvent::IRC::Client and AnyEvent::IRC::Util. AnyEvent::IRC is just a module that holds this overview over the other modules. AnyEvent::IRC can be viewed as toolbox for handling IRC connections and communications. It won't do everything for you, and you still need to know a few details of the IRC protocol. AnyEvent::IRC::Client is a more highlevel IRC connection that already processes some messages for you and will generated some events that are maybe useful to you. It will also do PING replies for you, manage channels a bit, nicknames and CTCP. AnyEvent::IRC::Connection is a lowlevel connection that only connects to the server and will let you send and receive IRC messages. AnyEvent::IRC::Connection does not imply any client behaviour, you could also use it to implement an IRC server. Note that these modules use AnyEvent as it's IO event subsystem. You can integrate them into any application with a event system that AnyEvent has support for (eg. Gtk2 or Event). EXAMPLES
See the samples/ directory for some examples on how to use AnyEvent::IRC. AUTHOR
Robin Redeker, "<elmex@ta-sa.org>" SEE ALSO
AnyEvent::IRC::Util AnyEvent::IRC::Connection AnyEvent::IRC::Client AnyEvent RFC 1459 - Internet Relay Chat: Client Protocol RFC 2812 - Internet Relay Chat: Client Protocol BUGS
Please report any bugs or feature requests to "bug-net-irc3 at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=AnyEvent-IRC>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc AnyEvent::IRC You can also look for information at: o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/AnyEvent-IRC> o CPAN Ratings <http://cpanratings.perl.org/d/AnyEvent-IRC> o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=AnyEvent-IRC> o Search CPAN <http://search.cpan.org/dist/AnyEvent-IRC> ACKNOWLEDGEMENTS
Thanks to Marc Lehmann for the new AnyEvent module! And these people have helped to work on AnyEvent::IRC: * Maximilian Gass - Added support for ISUPPORT and CASEMAPPING. * Zaba - Thanks for the useful input about IRC. * tokuhirom - Thanks for patches for the kick event. * Kazuhiro Osawa - Thanks for the documenation fix. COPYRIGHT &; LICENSE Copyright 2006-2009 Robin Redeker, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-03-01 AnyEvent::IRC(3pm)
All times are GMT -4. The time now is 01:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy