SSH/SSL wrapper


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers SSH/SSL wrapper
# 1  
Old 03-17-2009
SSH/SSL wrapper

My IRC client does not support SSL, so I was wondering if there was any other way to encrypt the information between SSL clients on an IRC network, maybe by using SSH to enter the IRC program or something (it's a command-line program) and passing all the plain-text through SSH first. I tried stunnel but for the love of my life could not get it to work. I used the default conf in /etc/stunnel/ and commented out the key line towards the beginning since it's optional as a client. Then I generated the certificate or whatever with the script that was in /etc/stunnel/ and that worked fine. Next I did:
Code:
stunnel /etc/stunnel/stunnel.conf -c -d localhost:6697 -r irc.server.net:6697

It ran without any errors or warnings, and so I fired up my IRC client, then I tried to connect to the server (irc.server.net for this example), port 6697 and the connection was refused Smilie
I want to chat with everyone else with SSL! Please help me Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Apache wildcard ssl on subdomain serves same page for non ssl virtualhosts

Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website! please advise if I missed any concept / configs... Thank you! httpd.conf <VirtualHost *:80> ServerName www.my-site.com ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies

2. AIX

How to upgrade SSH/SSL on AIX servers?

Hello, Can you please give some info on how to upgrade the SSH/SSL on AIX LPARs? we've the below version on our servers. />lslpp -l | grep -i ssh openssh.base.client 5.8.0.6102 COMMITTED Open Secure Shell Commands openssh.base.server 5.8.0.6102 COMMITTED Open Secure... (1 Reply)
Discussion started by: System Admin 77
1 Replies

3. Red Hat

Force ssl/ssh to use the hosts file

does anyone know how to force ssh/ssl to use the hosts file instead of DNS? I have disabled the DNS servers but ssh still will not resolve a host in the hosts file. thanks in advance for the help! DS (3 Replies)
Discussion started by: derrell simpson
3 Replies

4. Shell Programming and Scripting

SSH shell script to access FTP over explicit TLS/SSL

Hello, I use the following SSH script to upload *.jpg files via FTP: #!/usr/bin/expect set timeout -1 spawn ftp -v -i expect "" send "\r" expect "Password:" send "\r" expect "ftp>" send "mput *.jpg\r" expect "ftp>" send "quit\r" replaced with actual ftp server/account data. ... (5 Replies)
Discussion started by: mrpi007
5 Replies

5. UNIX for Dummies Questions & Answers

What is a wrapper?

Hi, I am a dummy and hear to the computation guys telling me, "Oh! that is easy, you just write a wrapper to do all that bunch of stuff!" :cool: Could someone tell me what is a wrapper? :rolleyes: The only one I know is Cling-Wrap for sandwiches. A small elegant example would be very... (1 Reply)
Discussion started by: genehunter
1 Replies

6. Web Development

Apache, cgi script run twice when ssl, once when not ssl

I have interesting problem. https:/host/some/x.cgi - this script has run twice when I call this url But http:/host/some/x.cgi work fine, only once. Output is text/plain. If I change output format to the Content-type text/html, then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies

7. UNIX for Dummies Questions & Answers

to enable POP3(ssl) and SMTP(ssl) in Squid

i have configured Squid proxy server in Fedora 8 with two network interfaces. HTTP, HTTPS, FTP are working fine but we are unable to download mails using mail clients from mail server with POP3(ssl) and SMTP(ssl). so please someone help us how to enable pop and smtp in Squid. (1 Reply)
Discussion started by: praneel2k
1 Replies

8. UNIX for Dummies Questions & Answers

Writing a wrapper

Hi everyone, I have this custom sudo package over which I want to write a wrapper using PERL. The wrapper will do some pre-work and then call the regular sudo package from within itself. But I am facing a peculiar problem here. Once invoked, I am able to do the pre-work from within the... (1 Reply)
Discussion started by: garric
1 Replies

9. UNIX and Linux Applications

FTP client for HP-UX that supports SFTP/SSL/SSH

Can anyone recommend some good/reliable FTP clients for HP-UX that support SFTP/SSL/SSH and have a command line interface? They need not be "free" (license). Thanks! (2 Replies)
Discussion started by: maxshop
2 Replies

10. UNIX for Advanced & Expert Users

implicit ssl vs explicit ssl

Can someone explain the difference between the two. Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies
Login or Register to Ask a Question
POE::Component::IRC::Plugin::Proxy(3pm) 		User Contributed Perl Documentation		   POE::Component::IRC::Plugin::Proxy(3pm)

NAME
POE::Component::IRC::Plugin::Proxy - A PoCo-IRC plugin that provides a lightweight IRC proxy/bouncer SYNOPSIS
use strict; use warnings; use POE qw(Component::IRC::State Component::IRC::Plugin::Proxy Component::IRC::Plugin::Connector); my $irc = POE::Component::IRC::State->spawn(); POE::Session->create( package_states => [ main => [ qw(_start) ], ], heap => { irc => $irc }, ); $poe_kernel->run(); sub _start { my ($kernel, $heap) = @_[KERNEL, HEAP]; $heap->{irc}->yield( register => 'all' ); $heap->{proxy} = POE::Component::IRC::Plugin::Proxy->new( bindport => 6969, password => "m00m00" ); $heap->{irc}->plugin_add( 'Connector' => POE::Component::IRC::Plugin::Connector->new() ); $heap->{irc}->plugin_add( 'Proxy' => $heap->{proxy} ); $heap->{irc}->yield ( connect => { Nick => 'testbot', Server => 'someserver.com' } ); return; } DESCRIPTION
POE::Component::IRC::Plugin::Proxy is a POE::Component::IRC plugin that provides lightweight IRC proxy/bouncer server to your POE::Component::IRC bots. It enables multiple IRC clients to be hidden behind a single IRC client-server connection. Spawn a POE::Component::IRC::State session and add in a POE::Component::IRC::Plugin::Proxy plugin object, specifying a bindport and a password the connecting IRC clients have to use. When the component is connected to an IRC network a listening port is opened by the plugin for multiple IRC clients to connect. Neat, huh? >;o) This plugin will activate POE::Component::IRC's raw events ("irc_raw") by calling "$irc->raw_events(1)". This plugin requires the IRC component to be POE::Component::IRC::State or a subclass thereof. METHODS
"new" Takes a number of arguments: 'password', the password to require from connecting clients; 'bindaddress', a local address to bind the listener to, default is 'localhost'; 'bindport', what port to bind to, default is 0, ie. randomly allocated by OS; Returns an object suitable for passing to POE::Component::IRC's "plugin_add" method. "getsockname" Takes no arguments. Accesses the listeners "getsockname" method. See POE::Wheel::SocketFactory for details of the return value; "list_wheels" Takes no arguments. Returns a list of wheel ids of the current connected clients. "wheel_info" Takes one parameter, a wheel ID to query. Returns undef if an invalid wheel id is passed. In a scalar context returns the time that the client connected in unix time. In a list context returns a list consisting of the peer address, port, tthe connect time and the lag in seconds for that connection. OUTPUT EVENTS
The plugin emits the following POE::Component::IRC events: "irc_proxy_up" Emitted when the listener is successfully started. "ARG0" is the result of the listener "getsockname". "irc_proxy_connect" Emitted when a client connects to the listener. "ARG0" is the wheel ID of the client. "irc_proxy_rw_fail" Emitted when the POE::Wheel::ReadWrite fails on a connection. "ARG0" is the wheel ID of the client. "irc_proxy_authed" Emitted when a connecting client successfully negotiates an IRC session with the plugin. "ARG0" is the wheel ID of the client. "irc_proxy_close" Emitted when a connected client disconnects. "ARG0" is the wheel ID of the client. "irc_proxy_down" Emitted when the listener is successfully shutdown. "ARG0" is the result of the listener "getsockname". QUIRKS
Connecting IRC clients will not be able to change nickname. This is a feature. AUTHOR
Chris 'BinGOs' Williams SEE ALSO
POE::Component::IRC POE::Component::IRC::State perl v5.14.2 2011-12-07 POE::Component::IRC::Plugin::Proxy(3pm)