Author |
Topic |
Munkey
Starting Member
27 Posts |
Posted - 02 September 2003 : 05:01:12
|
Got a question for ya.
I've been testing the mod, and when I ban a user, it doesn't seem to record their IP and it just bans the user name. Now, when that user logs off they are still banned but then they can log into a diff name and not be banned any more.
I go to the IP Admin and the IP record for the banned user is 0.0.0.0, so it didn't effectively log his ip when he tries to log in or use his account. The "View Logs" function shows everyones IP by their name, but when they get banned by user name, it does not log it.
I do have Logging Users and Logging all on. |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 02 September 2003 : 14:51:25
|
In the new setup, to keep a member away, ban his username plus add another ban for his ip address or range. So you have 2 records. Also if cookies is turned on then the cookie should keep him away based on the date range no matter the ipaddress or username.
If a username exists when looking for a record that is baned, the code does not even look at the ip code. So it takes a seperate record to to catch usernames and ipaddresses. Do not enter a username and ipaddress in the same ban record as the username will only be looked at. |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
Munkey
Starting Member
27 Posts |
Posted - 02 September 2003 : 17:28:05
|
Alright, well, IP Range banning still doesn't work =\ |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 03 September 2003 : 11:28:36
|
You need to post your settings so I can look at the code. I can not do anything on "range banning still does not work." Also export the ipgate table, iplist, to a tab delimted txt file. So I can look at the way the addresses are entered.
Range banning works on my server a several other peoples servers that helped me test the rewrite.
Make sure there is no spaces before or after the ip address or range. The newest admin_ipgate.asp checks for this and removes the spaces. |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
Jeepaholic
Average Member
USA
697 Posts |
|
gpctexas
Junior Member
320 Posts |
Posted - 21 September 2003 : 02:05:15
|
I dont think the page key part will look at anything after the ? for that area of the mod. If it did it would take and entry for every forum id. I think the usergroup mod does what you are looking for though. |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
Jeepaholic
Average Member
USA
697 Posts |
|
gpctexas
Junior Member
320 Posts |
Posted - 22 September 2003 : 12:23:21
|
The cookie exire time is based on the end time you set in the ban. The user's browser should expire the cookie automatically when the time comes.... hopefully. The mod itself will keep that ban in the database, but since the dataranges wont match after the ban, it wont ban anyone. |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
Jeepaholic
Average Member
USA
697 Posts |
|
gpctexas
Junior Member
320 Posts |
Posted - 23 September 2003 : 09:15:42
|
I think I changed it once to do so, will have to look at the code to make sure. If not, it will search the database again and recreate the cookie. |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
ascension
New Member
50 Posts |
Posted - 25 September 2003 : 16:00:56
|
Stupid question...
How should the IP range entries be entered? Like this:
198.168.1.1 - 198.172.1.1
???
Should there be any spaces? Are spaces allowed? Any help would be appreciated. |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 26 September 2003 : 09:28:08
|
make entries for each subnet
198.168. 198.169. 198.170. 198.171. 198.172.
198.168.1.1-198.172.1.1 will not work has to be like above. |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
|
|
ascension
New Member
50 Posts |
Posted - 06 October 2003 : 03:53:43
|
Does anyone here know if IP Range banning works correctly in IPGate v0.8.0 BETA?
Much appreciated. |
Edited by - ascension on 06 October 2003 04:35:04 |
|
|
gpctexas
Junior Member
320 Posts |
Posted - 07 October 2003 : 00:23:39
|
just enter 198.168. will ban 198.168.1-255.1-255 198.169. will ban 198.169.1-255.1-255
that is how you do ranges with the changes I made in the RC version.
The way you are wanting to do range baning never really worked well, even in the .8 ver betas, enough which is the reason I made change to the mod to do subnet baning instead. If you make the necessary changes and insert the files correct the subnet baning does work. |
ipgate 2.4.4 RC3 http://www.gpctexas.net/ipgate_v244.zip |
Edited by - gpctexas on 07 October 2003 00:24:55 |
|
|
Rob.B
New Member
Netherlands
93 Posts |
Posted - 07 October 2003 : 14:18:56
|
Sorry when it was already asked but does it work on access and mysql? |
|
|
Topic |
|