10 More Discussions You Might Find Interesting
1. Linux
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
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
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
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
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
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
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
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
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
Can someone explain the difference between the two. Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies
POE::Component::IRC::Plugin::Connector(3pm) User Contributed Perl Documentation POE::Component::IRC::Plugin::Connector(3pm)
NAME
POE::Component::IRC::Plugin::Connector - A PoCo-IRC plugin that deals with the messy business of staying connected to an IRC server
SYNOPSIS
use POE qw(Component::IRC Component::IRC::Plugin::Connector);
my $irc = POE::Component::IRC->spawn();
POE::Session->create(
package_states => [
main => [ qw(_start lag_o_meter) ],
],
);
$poe_kernel->run();
sub _start {
my ($kernel, $heap) = @_[KERNEL ,HEAP];
$irc->yield( register => 'all' );
$heap->{connector} = POE::Component::IRC::Plugin::Connector->new();
$irc->plugin_add( 'Connector' => $heap->{connector} );
$irc->yield ( connect => { Nick => 'testbot', Server => 'someserver.com' } );
$kernel->delay( 'lag_o_meter' => 60 );
return;
}
sub lag_o_meter {
my ($kernel,$heap) = @_[KERNEL,HEAP];
print 'Time: ' . time() . ' Lag: ' . $heap->{connector}->lag() . "
";
$kernel->delay( 'lag_o_meter' => 60 );
return;
}
DESCRIPTION
POE::Component::IRC::Plugin::Connector is a POE::Component::IRC plugin that deals with making sure that your IRC bot stays connected to the
IRC network of your choice. It implements the general algorithm as demonstrated at
<http://poe.perl.org/?POE_Cookbook/IRC_Bot_Reconnecting>.
METHODS
"new"
Takes two optional arguments:
'delay', the frequency, in seconds, at which the plugin will ping the IRC server. Defaults to 300.
'reconnect', the time in seconds, to wait before trying to reconnect to the server. Defaults to 60.
'servers', an array reference of IRC servers to consider. Each element should be an array reference containing a server host and
(optionally) a port number. The plugin will cycle through this list of servers whenever it reconnects.
Returns a plugin object suitable for use in POE::Component::IRC's "plugin_add" method.
"lag"
Returns the current 'lag' in seconds between sending PINGs to the IRC server and getting PONG responses. Probably not likely to be wholely
accurate.
AUTHOR
Chris "BinGOs" Williams <chris@bingosnet.co.uk>
SEE ALSO
POE::Component::IRC
POE::Component::IRC::Plugin
perl v5.14.2 2011-12-07 POE::Component::IRC::Plugin::Connector(3pm)