|
|
|
@ -33,10 +33,12 @@ int main() { |
|
|
|
|
// i++;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
myban.add_white_list("192.168.2.74"); |
|
|
|
|
|
|
|
|
|
myban.fail("192.168.2.74"); |
|
|
|
|
|
|
|
|
|
cout << myban.ban("192.168.2.74") << endl; |
|
|
|
|
sleep(2); |
|
|
|
|
myban.fail("192.168.2.74"); |
|
|
|
|
cout << myban.ban("192.168.2.75") << endl; |
|
|
|
|
sleep(200); |
|
|
|
|
// myban.fail("192.168.2.74");
|
|
|
|
|
// sleep(120);
|
|
|
|
|