EchoFool Posted February 28, 2008 Share Posted February 28, 2008 I have a question about user's who have dynamic IPs.....i hear that over time they stop being assigned to a certain IP range of X amount of time, and so I though it might be not be logical to permanently store all their IP's and should remove certain IP's if they have not been used over a certain amount of time from the logs table..... Does any one know if this information that I have been told is true? I don't know how dynamic IP works exactly. And also wondered if you know "how long" I should wait till i remove an IP that a user is assigned to, if this were true... Hope you can help. Link to comment https://forums.phpfreaks.com/topic/93509-dynamic-ip-loggin/ Share on other sites More sharing options...
uniflare Posted February 28, 2008 Share Posted February 28, 2008 i would remove dynamic ip's daily, if this is a banning log then banning a dynamic ip may have undesired repurcussions as someone on the same isp can take over the ip address, therefor you will be banning the new user. if this is solely for "logging" user activity, i would use cookies, ip addresses can be faked etc, and could be a router ip where multiple users are using your website. ip logging in general is not reliable. hope this helps, Link to comment https://forums.phpfreaks.com/topic/93509-dynamic-ip-loggin/#findComment-479172 Share on other sites More sharing options...
revraz Posted February 28, 2008 Share Posted February 28, 2008 Every ISP is setup different. You should never rely on a IP addres as identification of a user. Link to comment https://forums.phpfreaks.com/topic/93509-dynamic-ip-loggin/#findComment-479222 Share on other sites More sharing options...
EchoFool Posted February 28, 2008 Author Share Posted February 28, 2008 I know but i want to block people sending stuff across accounts that have the same IP's Link to comment https://forums.phpfreaks.com/topic/93509-dynamic-ip-loggin/#findComment-479297 Share on other sites More sharing options...
revraz Posted February 28, 2008 Share Posted February 28, 2008 That sounds doable, because you are comparing two people that are actually online right? Link to comment https://forums.phpfreaks.com/topic/93509-dynamic-ip-loggin/#findComment-479303 Share on other sites More sharing options...
tinker Posted February 28, 2008 Share Posted February 28, 2008 use session cookies, no session cookie then no access! Link to comment https://forums.phpfreaks.com/topic/93509-dynamic-ip-loggin/#findComment-479304 Share on other sites More sharing options...
jaymc Posted February 28, 2008 Share Posted February 28, 2008 Never use IP's If you block someone who is in college, you block the whole college since they will be coming from the same gateway/proxy ip session or cookie is the best way Link to comment https://forums.phpfreaks.com/topic/93509-dynamic-ip-loggin/#findComment-479313 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.