Sponsored Content
Top Forums Shell Programming and Scripting How to setup a shell to use IRC behind firewall help Post 302167062 by KromiX on Wednesday 13th of February 2008 11:44:02 AM
Old 02-13-2008
How to setup a shell to use IRC behind firewall help

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...
 

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
POE::Component::IRC::Plugin::Console(3pm)		User Contributed Perl Documentation		 POE::Component::IRC::Plugin::Console(3pm)

NAME
POE::Component::IRC::Plugin::Console - A PoCo-IRC plugin that provides a lightweight debugging and control console for your bot SYNOPSIS
use POE qw(Component::IRC Component::IRC::Plugin::Console); my $nickname = 'Flibble' . $$; my $ircname = 'Flibble the Sailor Bot'; my $ircserver = 'irc.blahblahblah.irc'; my $port = 6667; my $bindport = 6969; my @channels = ( '#Blah', '#Foo', '#Bar' ); my $irc = POE::Component::IRC->spawn( nick => $nickname, server => $ircserver, port => $port, ircname => $ircname, ) or die "Oh noooo! $!"; POE::Session->create( package_states => [ main => [ qw(_start irc_001 irc_console_service irc_console_connect irc_console_authed irc_console_close irc_console_rw_fail) ], ], ); $poe_kernel->run(); sub _start { $irc->plugin_add( 'Console' => POE::Component::IRC::Plugin::Console->new( bindport => $bindport, password => 'opensesame' ); $irc->yield( register => 'all' ); $irc->yield( connect => { } ); return; } sub irc_001 { $irc->yield( join => $_ ) for @channels; return; } sub irc_console_service { my $getsockname = $_[ARG0]; return; } sub irc_console_connect { my ($peeradr, $peerport, $wheel_id) = @_[ARG0 .. ARG2]; return; } sub irc_console_authed { my $wheel_id = $_[ARG0]; return; } sub irc_console_close { my $wheel_id = $_[ARG0]; return; } sub irc_console_rw_fail { my ($peeradr, $peerport) = @_[ARG0, ARG1]; return; } DESCRIPTION
POE::Component::IRC::Plugin::Console is a POE::Component::IRC plugin that provides an interactive console running over the loopback network. One connects to the listening socket using a telnet client (or equivalent), authenticate using the applicable password. Once authed one will receive all events that are processed through the component. One may also issue all the documented component commands. METHODS
"new" Takes two arguments: 'password', the password to set for *all* console connections; 'bindport', specify a particular port to bind to, defaults to 0, ie. randomly allocated; Returns a plugin object suitable for feeding to POE::Component::IRC's "plugin_add" method. "getsockname" Gives access to the underlying listener's "getsockname" method. See POE::Wheel::SocketFactory for details. OUTPUT EVENTS
The plugin generates the following additional POE::Component::IRC events: "irc_console_service" Emitted when a listener is successfully spawned. "ARG0" is the result of "getsockname", see above for details. "irc_console_connect" Emitted when a client connects to the console. "ARG0" is the peeradr, "ARG1" is the peer port and "ARG2" is the wheel id of the connection. "irc_console_authed" Emitted when a client has successfully provided a valid password. "ARG0" is the wheel id of the connection. "irc_console_close" Emitted when a client terminates a connection. "ARG0" is the wheel id of the connection. "irc_console_rw_fail" Emitted when a POE::Wheel::ReadWrite could not be created on a socket. "ARG0" is the peer's address, "ARG1" is the peer's port. AUTHOR
Chris 'BinGOs' Williams SEE ALSO
POE::Component::IRC POE::Wheel::SocketFactory perl v5.14.2 2011-12-07 POE::Component::IRC::Plugin::Console(3pm)
All times are GMT -4. The time now is 01:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy