• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Table iplimit

Junior Spellweaver
Joined
Apr 16, 2016
Messages
117
Reaction score
22
Hi everyone,

I just want to use the function ip restrict from table 'iplimit' but I can't input the sample ip '192.168.1.1' in any column in this table. Please help if anyone has the sample records in this table.

Thank you.
 
Joined
Jul 26, 2011
Messages
2,030
Reaction score
396
<table name="iplimit" connection="auth0" operate="replaceA">
<column name="uid" sql-type="integer" java-type="java.lang.Integer" not-null="true" />
<column name="ipaddr1" sql-type="integer" java-type="java.lang.Integer" not-null="false" />
<column name="ipmask1" sql-type="varchar(2)" java-type="java.lang.String" not-null="false" />
<column name="ipaddr2" sql-type="integer" java-type="java.lang.Integer" not-null="false" />
<column name="ipmask2" sql-type="varchar(2)" java-type="java.lang.String" not-null="false" />
<column name="ipaddr3" sql-type="integer" java-type="java.lang.Integer" not-null="false" />
<column name="ipmask3" sql-type="varchar(2)" java-type="java.lang.String" not-null="false" />
<column name="enable" sql-type="char(1)" java-type="java.lang.String" not-null="false" />
<column name="lockstatus" sql-type="char(1)" java-type="java.lang.String" not-null="false" />

<primarykey name="pk_iplimit" column="uid" />
</table>

The entire table is null, that's why (as it it can carry no values)
 
Junior Spellweaver
Joined
Apr 16, 2016
Messages
117
Reaction score
22
Hi have tried with these value, the account cannot login
hoangvispkt - Table iplimit - RaGEZONE Forums


My ip is 192.168.1.1 and user id is 1024
I think we can investigate about it.
 
Joined
Jul 26, 2011
Messages
2,030
Reaction score
396
there is no reason for anything to be in there. if it generates itself it also goes away. not being able to log in what is the error you are receiving. and what does your server list look like
 
Junior Spellweaver
Joined
Aug 17, 2021
Messages
144
Reaction score
31
Hi have tried with these value, the account cannot login
hoangvispkt - Table iplimit - RaGEZONE Forums


My ip is 192.168.1.1 and user id is 1024
I think we can investigate about it.

a host ip's mask is 32, if you put 24 that's a pool of address mask, e.g: 192.168.1.0/24
also why you split your private address into 4 columns...? that's incorrect, your ip should be in ipaddr1, and your ip's mask should be in ipmask1, the rest can be left empty, these are for extra ip address/networks that you may want to add, and in enable it's probably 1 (true).
 
Junior Spellweaver
Joined
Apr 16, 2016
Messages
117
Reaction score
22
Hi @patronum
Because column ipaddr1 has type int(11), i don't know how to put '192.168.1.0' in it.Can you give an example?
Thank you.
 
Junior Spellweaver
Joined
Apr 16, 2016
Messages
117
Reaction score
22
Hi @Psytrac

I got what you mean but I trying to put those values to that table and see how it works.
 
Back
Top