Ban an IP in time over UFW
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ipban/test/test.cpp

10 lines
153 B

#include "../lib/ipban.hpp"
using namespace marcelb;
int main() {
ipban myban(1);
myban.ban("192.168.2.74");
sleep(80);
return 0;
}