egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop SSL issues

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
KeiroD
Voice


Joined: 15 Aug 2015
Posts: 2

PostPosted: Sat Aug 15, 2015 4:58 pm    Post subject: Eggdrop SSL issues Reply with quote

This is what I get when I have the bot try connecting:

Quote:
tclsh
% puts $tcl_version
8.6
% info patchlevel
8.6.1



Code:
Eggdrop v1.8.0+infiniteinfo (C) 1997 Robey Pointer (C) 2010 Eggheads
[20:46:22] --- Loading eggdrop v1.8.0+infiniteinfo (Sat Aug 15 2015)
[20:46:22] Listening at telnet port 6700 (all)
[20:42:35] Trying server [irc.sorcery.net]:6697
[20:42:35] DNS Resolver: Creating new record
[20:42:35] DNS Resolver: Sent domain lookup request for "irc.sorcery.net".
[20:42:35] DNS Resolver: Received nameserver reply. (qd:1 an:4 ns:3 ar:3)
[20:42:35] DNS Resolver: answered domain query: "irc.sorcery.net"
[20:42:35] DNS Resolver: TTL: 21m35s
[20:42:35] DNS Resolver: TYPE: CNAME: name alias
[20:42:35] DNS Resolver: answered domain is CNAME for: irc.us.geo.sorcery.net
[20:42:35] DNS Resolver: answered domain query: "irc.us.geo.sorcery.net"
[20:42:35] DNS Resolver: TTL: 1m
[20:42:35] DNS Resolver: TYPE: A: host address
[20:42:35] DNS Resolver: Lookup successful: irc.sorcery.net
[20:42:35] DNS resolved irc.sorcery.net to 162.243.135.246
[20:42:36] net: connect! sock 7
[20:42:36] Connected to irc.sorcery.net
[20:42:36] net: eof!(read) socket 7
[20:42:36] Disconnected from irc.sorcery.net


Obviously, SSL works... at least, to some degree. I have a bot on another server that has SSL working just fine... but the exact same config here for some reason does not work and it's been frustrating trying to reproduce this. Edit: Before I forget, the option to use SSL left at 0 is because I have it disabled until I can figure out exactly why SSL is not working before I put it back to 1. /edit

And the eggdrop config is here.


What else looks wrong? This is on an Ubuntu 14.04 server.
Back to top
View user's profile Send private message
KeiroD
Voice


Joined: 15 Aug 2015
Posts: 2

PostPosted: Sun Aug 16, 2015 9:03 am    Post subject: Reply with quote

Turns out that I had not included libssl-dev. -_-

With that enabled, it's all good now... but I'm still having issues trying to get it to pick up https urls.

For example, if I say https://paypal.com in a channel, it will simply output:

Quote:
[13:02:04] Connection to https://paypal.com failed


But since it uses curl to get the SSL certificate, I'm unable to resolve this issue.

I even ran update-ca-certificates and that did nothing but to update it. The issue persists and I don't know what SSL certificates are missing.
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Sat Aug 22, 2015 5:50 am    Post subject: Reply with quote

You say you hadn't included package libssl-dev, but did you include tcl-tls?

If you run linux, you should be able to check by listing your tcl packages, using: dpkg -l | grep tcl

tcl-tls and tcllib are both needed.
_________________
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber