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.

Announce: IP Location script

Support & discussion of released scripts, and announcements of new releases.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

'whois' sees it just fine, hence my suggestion to use 'whois'
M
MagicIRC
Voice
Posts: 3
Joined: Tue Nov 21, 2006 9:06 am

iplocator

Post by MagicIRC »

Hey rosc i found a bit of an error in the AntiOnline IP locator. After loading it into my eggdrop (which is located at the JE DataCenter in New Jersey) the bot seemed to return this as the output:

11:11:25am [@DoctaButtluv] .iplocate 64.18.149.167
11:11:27am [+Kylee] AntiOnline IP Locator: packeting.your.c0nnecti0n.net (64.18.149.167) is located in Dallas, Texas, United States.

Any idea why it would return a location thousands of miles away from where the Datacenter is actually located?
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

That is not a script error or problem. Read about ip-geolocation.. There is no way to have 100% accuracy, and typically the IP is related to where the owner of that IP has registered their headquarters.
User avatar
Domin
Halfop
Posts: 72
Joined: Sat Jun 10, 2006 9:10 am

Post by Domin »

I got this error first time i executed the command from my bot using the ipcheck script postede by Alchera

[22:57:47] <MMradio17> Compliance (Domin) --> Target Acquired (72.20.29.30) --> Country (You are abusing DNSstuff.com.) City (Contact DNSstuff.com for assistance.)

Any way to fix that other than to put it on another ip ???
Regards
Domin @ efnet
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Change the client identification crap from the script:
puts $id "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
User avatar
Domin
Halfop
Posts: 72
Joined: Sat Jun 10, 2006 9:10 am

Post by Domin »

Hmm dont seems to work so i guess im blacklisted now on 2 different ips :-/
Regards
Domin @ efnet
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Domin wrote:Hmm dont seems to work so i guess im blacklisted now on 2 different ips :-/
The script I posted the link to is being re-written (non web based). A quick fix is to remove or comment out the close line in the existing script.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

works for me..did you rehash after making changes?
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Alchera wrote:A quick fix is to remove or comment out the close line in the existing script.
Wouldn't that leave open sockets?
User avatar
Domin
Halfop
Posts: 72
Joined: Sat Jun 10, 2006 9:10 am

Post by Domin »

I did a rehash, a restart and even tryed to change the reply to something else, but still no luck :-/

Tomorrow im gonna try from another ip with the fix implementede the first time.
Regards
Domin @ efnet
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

rosc2112 wrote:
Alchera wrote:A quick fix is to remove or comment out the close line in the existing script.
Wouldn't that leave open sockets?
It does. It also seems to work. I no longer use any script for IP checking but a user did that "fix" and it's still working.

I'm waiting on the re-written script.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

The fix posted by rosc2112 for ipcheck.tcl is by far better than leaving sockets open and works. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

If you think that dnsstuff.com has blacklisted your ip, you can check on their website. You might also send them an email to ask specifically, and ask for permission to use the script on their site. Let them know that the script is NOT an automated process, that someone DOES have to actually type the command to grab the data. Their TOS are very relaxed and they do not prohibit the use of scripts per-se, only the use of *automated* processes:
http://www.dnsstuff.com/pages/faq.htm
K
KEMA
Voice
Posts: 8
Joined: Mon Nov 20, 2006 10:29 am
Location: indonesia

Post by KEMA »

I tried in my bot but not work :(
User avatar
ZEXEL
Halfop
Posts: 45
Joined: Tue Jun 27, 2006 10:47 pm
Contact:

Post by ZEXEL »

KEMA wrote:I tried in my bot but not work :(
rosc2112 wrote:If all you're going to say is "it doesn't work" then the only likely answer you're going to get is "ohh well"

Help us to help you
yep! that's right! please read throught the deep down inside codes carefully before you use it KEMA! :?
.:[ Knowledge Is The Power ]:.
Post Reply