On build i got a few warnings but it compiled.
When trying to start it just hangs. when doing running it with -n flag i get:
Code: Select all
STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type: /msg Pierre hello
This will make the bot recognize you as the master.
[05:33] === velo: 0 channels, 0 users.
[05:33] main: entering loop
[05:33] Trying server my.ssl.server.com:27015
[05:33] DNS resolved my.ssl.server.com to xx.xxx.xx.xx
[05:33] net_switch_to_ssl()
If i do a strace on the whole thing i get this output:
Code: Select all
write(1, "[05:35] main: entering loop\n"..., 28[05:35] main: entering loop
) = 28
write(4, "\0"..., 1) = 1
futex(0x1cafe30, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x1d00790, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x1d00794, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x1cafe30, FUTEX_WAKE_PRIVATE, 1) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
write(1, "[05:35] Trying server my.ssl.server.com"..., 41[05:35] Trying server my.ssl.server.com:7000
) = 41
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
sendto(6, "\267\35\1\0\0\1\0\0\0\0\0\0\3irc\5ldftw\2nu\0\0\1\0\1"..., 30, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.0.1")}, 16) = 30
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
select(1024, [5 6], NULL, NULL, {1, 0}) = 1 (in [6], left {0, 792000})
recvfrom(6, "\267\35\201\200\0\1\0\1\0\5\0\5\3irc\5ldftw\2nu\0\0\1\0\1\300\f\0"..., 512, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.0.1")}, [16]) = 225
futex(0x7fc9c6329000, FUTEX_WAKE_PRIVATE, 2147483647) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
write(1, "[05:35] DNS resolved my.ssl.server.com"..., 50[05:35] DNS resolved my.ssl.server.com to xx.xx.xx.xx
) = 50
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 9
setsockopt(9, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
setsockopt(9, SOL_SOCKET, SO_LINGER, [0], 4) = -1 EINVAL (Invalid argument)
fcntl(9, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
bind(9, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
connect(9, {sa_family=AF_INET, sin_port=htons(27015), sin_addr=inet_addr("xx.xx.xx.xx")}, 16) = -1 EINPROGRESS (Operation now in progress)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
write(1, "[05:35] net_switch_to_ssl()\n"..., 28[05:35] net_switch_to_ssl()
) = 28
brk(0x1d84000) = 0x1d84000
write(9, "\200t\1\3\1\0K\0\0\0 \0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300\0"..., 118) = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 1000000}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Works fine without the ssl patch. But realy need to be able to connect to ssl secured servers. Think that it is the debian x64 platform vs the ssl patch that don't work that well together but haven't been able to confirm anything.
Been trying everything i can think off, even tried the debian package for eggdrop, but no built in ssl support there from what i could see.
So wondering if anyone got any ideas.. any at all.