This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

What is This?

General support and discussion of Eggdrop bots.
Post Reply
User avatar
chandra Sha
Voice
Posts: 12
Joined: Tue Oct 31, 2006 1:27 am
Location: South Borneo

What is This?

Post by chandra Sha »

on my LOG, I found this:

[21:13] CTCP CHAT: from Mundo^meida (mundo@Ip.xx.xx.xx)
[21:13] -Mundo^meida (mundo@Ip.xx.xx.xx)- DCC Chat (Ip.xx.xx.xx)
[21:13] Refused DCC chat (no access): Mundo^meida!mundo@Ip.xx.xx.xx
[21:13] CTCP CHAT: chat 2107653895 1024 from Mundo^meida (mundo@Ip.xx.xx.xx)

What mean: 2107653895 1024 ? what i know 2107653895 is not unixtime, because i try convert it and result for 2107653895 is 10/15/2036 at 03:24:55 GMT

thx.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

2107653895 would be a "longip", basically a different format of an ip-address. In this case, the ip would be 125.160.63.7. the second number is a randomly chosen port-number.

Basically, Mundo^media tried to dcc-chat your bot, yet your bot could'nt find a matching user in it's database with access to the partyline, and thus it rejected the connection
NML_375
User avatar
ZEXEL
Halfop
Posts: 45
Joined: Tue Jun 27, 2006 10:47 pm
Contact:

Re: What is This?

Post by ZEXEL »

chandra Sha wrote:on my LOG, I found this:

[21:13] CTCP CHAT: from Mundo^meida (mundo@Ip.xx.xx.xx)
[21:13] -Mundo^meida (mundo@Ip.xx.xx.xx)- DCC Chat (Ip.xx.xx.xx)
[21:13] Refused DCC chat (no access): Mundo^meida!mundo@Ip.xx.xx.xx
[21:13] CTCP CHAT: chat 2107653895 1024 from Mundo^meida (mundo@Ip.xx.xx.xx)

What mean: 2107653895 1024 ? what i know 2107653895 is not unixtime, because i try convert it and result for 2107653895 is 10/15/2036 at 03:24:55 GMT

thx.
Haloo "komenggg"
convert LongIP into StringIP: http://www.elfqrin.com/LongIP.html

I hope it help you...
:wink: :wink: :wink: Salam Banjarmasin dr me and Kobe... :wink: :wink: :wink:
.:[ Knowledge Is The Power ]:.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

tcl inet_ntoa convert longip to dotted quad

Post by rosc2112 »

I found this:

Code: Select all

# convert long ip to dotted quad ip
proc inet_ntoa { ipaddr } {
        set bin [binary format i $ipaddr]
        binary scan $bin cccc a b c d
        set a [expr { ($a + 0x100) % 0x100 }]
        set b [expr { ($b + 0x100) % 0x100 }]
        set c [expr { ($c + 0x100) % 0x100 }]
        set d [expr { ($d + 0x100) % 0x100 }]
        #
        # Note: this is what was in the original, it presents the dotted quad ip *backwards*...
        # I don't know if that is how inet_ntoa normally behaves -rosc
        #return "$a.$b.$c.$d"
        #
        # So, for my purposes, I present the dotted quad ip in the right order.
        return "$d.$c.$b.$a"
}
I also posted a question in the help forum, to figure out how to convert the dotted quad ip to a longip.
Post Reply