/dports/net/samba412/samba-4.12.15/ctdb/server/ |
H A D | ctdb_banning.c | 67 if (bantime->pnn != ctdb->pnn) { in ctdb_control_set_ban_state() 70 bantime->pnn)); in ctdb_control_set_ban_state() 81 if (bantime->time == 0) { in ctdb_control_set_ban_state() 115 struct ctdb_ban_state *bantime; in ctdb_control_get_ban_state() local 118 CTDB_NO_MEMORY(ctdb, bantime); in ctdb_control_get_ban_state() 123 bantime->pnn = ctdb->pnn; in ctdb_control_get_ban_state() 124 bantime->time = 0; in ctdb_control_get_ban_state() 137 struct ctdb_ban_state bantime; in ctdb_ban_self() local 139 bantime.pnn = ctdb->pnn; in ctdb_ban_self() 142 data.dsize = sizeof(bantime); in ctdb_ban_self() [all …]
|
/dports/irc/irssi-scripts/irssi-scripts/scripts/ |
H A D | bantime.pl | 59 my $bantime; 61 $bantime = localtime($ban->{time}) . ": "; 62 $bantime =~ s/\s+/ /g; 64 $bantime .= duration($ban->{time}); 72 $bantime);
|
/dports/security/py-fail2ban/fail2ban-0.11.2/fail2ban/server/ |
H A D | database.py | 664 if bantime is not None and bantime >= 0: 666 queryArgs.append(MyTime.time() - bantime) 727 if bantime is None or bantime < 0: 735 results = list(self._getBans(ip=ip, jail=jail, bantime=bantime)) 845 banip, timeofban, bantime, bancount, data = ticket 850 if bantime == -2: # todo: remove it in future version 855 if bantime == -1 or bantime > correctBanTime: 856 bantime = correctBanTime 858 if bantime != -1 and timeofban + bantime <= fromtime: 861 bantime, timeofban + bantime, fromtime, ticket) [all …]
|
H A D | ticket.py | 125 bantime = (self._banTime if self._banTime is not None else defaultBT) 127 if bantime == -1: 130 return self._time + bantime 133 bantime = (self._banTime if self._banTime is not None else defaultBT) 135 if bantime == -1: 138 return (time > self._time + bantime)
|
/dports/games/xonotic/Xonotic/source/qcsrc/server/command/ |
H A D | banning.qc | 26 float reason_arg, bantime; 31 GET_BAN_ARG(bantime, autocvar_g_ban_default_bantime); 34 Ban_Insert(ip, bantime, reason, 1); 43 LOG_INFO("\nUsage:^3 sv_cmd ban address [bantime] [reason]\n"); 45 … LOG_INFO(" 'bantime' is the amount of time that the ban is active (default if not provided),\n"); 84 float reason_arg, bantime, masksize; 91 GET_BAN_ARG(bantime, autocvar_g_ban_default_bantime); 95 Ban_KickBanClient(client, bantime, masksize, reason); 110 LOG_INFO("\nUsage:^3 sv_cmd kickban client [bantime] [masksize] [reason]\n"); 112 … LOG_INFO(" 'bantime' is the amount of time that the ban is active (default if not provided),\n");
|
H A D | banning.qh | 11 void Ban_KickBanClient(entity client, float bantime, float masksize, string reason); 13 float Ban_Insert(string ip, float bantime, string reason, float dosync);
|
/dports/games/scorched3d/scorched/src/server/server/ |
H A D | ServerBanned.cpp | 97 time_t bantime = 0; in load() local 100 sscanf(timeNode->getContent(), "%u", &bantime); in load() 135 (unsigned int) bantime, type, in load() 206 …const LangString &name, const char *uniqueId, const char *SUid, unsigned int bantime, BannedType t… in addBannedEntry() argument 212 newEntry.bantime = bantime; in addBannedEntry() 322 S3D::formatStringBuffer("%u", (unsigned int) entry.bantime), in save()
|
H A D | ServerBanned.h | 45 time_t bantime; member 81 const LangString &name, const char *unqiueId, const char *SUid, unsigned int bantime,
|
/dports/games/xonotic/Xonotic/source/qcsrc/server/ |
H A D | ipban.qc | 32 float Ban_Insert(string ip, float bantime, string reason, float dosync); 34 void OnlineBanList_SendBan(string ip, float bantime, string reason) 41 uri = strcat(uri, "&duration=", ftos(bantime)); 507 if(time + bantime > ban_expire[i]) 509 ban_expire[i] = time + bantime; 522 OnlineBanList_SendBan(ip, bantime, reason); 548 if(ban_expire[i] > time + bantime) 556 ban_expire[i] = time + bantime; 568 OnlineBanList_SendBan(ip, bantime, reason); 605 Ban_Insert(ip, bantime, reason, 1); [all …]
|
/dports/irc/dancer/dancer-4.16/src/ |
H A D | bans.c | 173 time_t bantime; member 237 b->bantime = when; in NewBan() 285 b->bantime = now; in AddToBanList() 530 if (b->bantime) { in BanList() 532 TimeAgo(b->bantime)); in BanList() 596 ((b->bantime + b->bansecs) <= now) && in BanTimeout() 637 ((b->bantime + REFRESH_TIMEOUT) <= now) && in BanTimeout() 645 ((b->bantime + 10) <= now)) { in BanTimeout() 898 i = b->bansecs + b->bantime - now; /* Time left */ in ScanBan() 907 i = b->bantime; /* Age */ in ScanBan() [all …]
|
/dports/irc/anope/anope-2.0.9/modules/ |
H A D | m_dnsbl.cpp | 29 time_t bantime; member 33 Blacklist() : bantime(0) { } in Blacklist() 85 … OperServ ? OperServ->nick : "m_dnsbl", Anope::CurTime + this->blacklist.bantime, reason, XLineMan… in OnLookupComplete() 129 blacklist.bantime = bl->Get<time_t>("time", "4h"); in OnReload()
|
/dports/sysutils/webmin/webmin-1.981/fail2ban/ |
H A D | edit_jaildef.cgi | 36 my $bantime = &find_value("bantime", $jail); 38 &ui_opt_textbox("bantime", $bantime, 6,
|
H A D | edit_jail.cgi | 115 my $bantime = &find_value("bantime", $jail); 117 &ui_opt_textbox("bantime", $bantime, 6,
|
/dports/www/hiawatha/hiawatha-10.12/src/ |
H A D | client.c | 39 int bantime; member 443 ban->bantime = timer; in ban_ip() 447 ban->deadline = time(NULL) + ban->bantime; in ban_ip() 458 ban->bantime = timer; in ban_ip() 462 ban->deadline = time(NULL) + ban->bantime; in ban_ip() 497 if (ban->bantime != TIMER_OFF) { in reban_ip() 498 ban->deadline = time(NULL) + ban->bantime; in reban_ip()
|
/dports/irc/ninja/ninja-1.5.8.1/source/ |
H A D | bans.c | 29 add_ban(Channel *chan, u_char *ban, u_char *owner, u_char *bantime) in add_ban() argument 55 if (bantime) in add_ban() 56 new->time = my_atol(bantime); in add_ban()
|
/dports/security/py-fail2ban/fail2ban-0.11.2/fail2ban/tests/ |
H A D | databasetestcase.py | 374 self.assertEqual(len(self.db.getBans(jail=self.jail,bantime=50)), 1) 375 self.assertEqual(len(self.db.getBans(jail=self.jail,bantime=20)), 0) 378 self.assertEqual(len(self.db.getBans(jail=self.jail,bantime=-1)), 2) 498 tickets = self.db.getBansMerged(bantime=25) 500 tickets = self.db.getBansMerged(bantime=15) 502 tickets = self.db.getBansMerged(bantime=5) 506 tickets = self.db.getBansMerged(bantime=-1)
|
/dports/ftp/sftpgo/sftpgo-2.2.0/fail2ban/jails/ |
H A D | sftpgo.conf | 9 bantime = 600
|
/dports/security/py-fail2ban/fail2ban-0.11.2/config/action.d/ |
H A D | osx-afctl.conf | 12 actionban = /usr/libexec/afctl -a <ip> -t <bantime>
|
H A D | shorewall-ipset-proto6.conf | 93 timeout-bantime = $([ "<bantime>" -le 2147483 ] && echo "<bantime>" || echo 0)
|
H A D | iptables-ipset-proto6-allports.conf | 78 timeout-bantime = $([ "<bantime>" -le 2147483 ] && echo "<bantime>" || echo 0)
|
H A D | iptables-ipset-proto6.conf | 78 timeout-bantime = $([ "<bantime>" -le 2147483 ] && echo "<bantime>" || echo 0)
|
/dports/irc/scrollz/ScrollZ-ScrollZ-2.3/help/ |
H A D | bantime | 1 ! $Id: bantime,v 1.1 2006-07-21 16:11:27 f Exp $
|
/dports/irc/ninja/ninja-1.5.8.1/include/ |
H A D | bans.h | 20 void add_ban _((Channel *channel, u_char *ban, u_char *owner, u_char *bantime));
|
/dports/www/mybb/mybb-mybb_1829/inc/datahandlers/ |
H A D | warnings.php | 429 $bantime = '---'; 460 $bantime = $date; 474 "bantime" => $db->escape_string($bantime),
|
/dports/security/py-fail2ban/fail2ban-0.11.2/config/ |
H A D | jail.conf | 101 bantime = 10m 318 bantime = 48h 818 bantime = 1w 915 bantime = 1h
|