It is currently Wed Nov 19, 2008 4:00 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Packet Hook Stuff
PostPosted: Tue Jan 02, 2007 11:36 am 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
When hooking packets, before a character logs in, it would be helpful to at least get the IP address.

Sometimes it's necessary to keep track or recognize clients before the login, like when you're trying to prevent excessive invalid login credentials. The only way to do this right now is to ban the account for some period of time, which could easily turn into a nasty denial of service. If I could get the IP I could store it somewhere and when that IP fails to login too many times it gets banned for a period of time instead of the account.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 02, 2007 11:49 am 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
Does it send Uninitialized Object for character in pre-login packets? Too lazy to create a packethook and all just to look :D

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 02, 2007 11:53 am 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
Yes, it does. :(


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 02, 2007 3:09 pm 
Offline
POL Core Developer

Joined: Sun Feb 05, 2006 4:45 am
Posts: 79
I would prefer an accountreference not only the ip for all preloginhooks so we have more control :) I missed this during my try to hook packet 0x00.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 02, 2007 3:31 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
Tek and me will be testing with it. Tried account name, but unsure when it actually gets applied to the client in the core...... so will have to research if it's doable for that much.

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl