Home
last modified time | relevance | path

Searched +full:ip +(+path:plugin +path:ipban) -(+path:plugin +path:ipban +path:lang) (Results 1 – 16 of 16) sorted by relevance

/plugin/ipban/
H A Dadmin.php28 $ip = trim($INPUT->str('ip'));
29 if ($ip) {
30 require_once(__DIR__ . '/ip-lib/ip-lib.php');
31 $range = \IPLib\Factory::rangeFromString($ip);
35 $newban = $ip . "\t" . time() . "\t" . $INPUT->server->str('REMOTE_USER');
65 echo '<th>' . $this->getLang('ip') . '</th>';
87 echo '<label for="plg__ipban_ip">' . $this->getLang('ip') . ':</label>';
88 echo '<input type="text" name="ip" id="plg__ipban_ip" class="edit" /> ';
H A Daction.php61 * Check if the given client IP is in the list of ban lines
63 * @param string $client IP of the client
65 * @return false|array false or ban info [ip, date, reason]
69 require_once(__DIR__ . '/ip-lib/ip-lib.php');
71 $ip = \IPLib\Factory::addressFromString($client);
76 if ($ip->matches($ipRange)) {
78 $ip->toString(),
H A Dplugin.info.txt5 name IP Ban Manager
6 desc Allows administrators and managers to ban certain IP addresses from accessing the wiki
/plugin/ipban/ip-lib/
H A DREADME.md1 …uild Status](https://api.travis-ci.org/mlocati/ip-lib.svg?branch=master)](https://travis-ci.org/ml…
2 …com/api/projects/status/github/mlocati/ip-lib?branch=master&svg=true)](https://ci.appveyor.com/pro…
4 …ttps://coveralls.io/repos/github/mlocati/ip-lib/badge.svg?branch=master)](https://coveralls.io/git…
5 …tps://scrutinizer-ci.com/g/mlocati/ip-lib/badges/quality-score.png?b=master)](https://scrutinizer-…
7 # IPLib - Handle IPv4, IPv6 and IP ranges
26 require_once 'path/to/iplib/ip-lib.php';
36 "mlocati/ip-lib": "1.*"
77 ### Parse an IP address range
191 ### Getting the type of an IP address
210 ### Getting the type of an IP address range
[all …]
H A Dcomposer.json2 "name": "mlocati/ip-lib",
6 "ip",
17 "homepage": "https://github.com/mlocati/ip-lib",
/plugin/ipban/ip-lib/src/Address/
H A DAddressInterface.php8 * Interface of all the IP address types.
31 * Get the byte list of the IP address.
40 * Get the type of the IP address.
61 * Get the type of range of the IP address.
84 * Get the address right after this IP address (if available).
91 * Get the address right before this IP address (if available).
H A DType.php6 * Types of IP addresses.
35 return 'IP v4';
37 return 'IP v6';
H A DIPv6.php33 * The byte list of the IP address.
40 * The word list of the IP address.
47 * The type of the range of this IP address.
283 * Get the word list of the IP address.
H A DIPv4.php24 * The byte list of the IP address.
31 * The type of the range of this IP address.
H A DAssignedRange.php8 * Represents an IP address range with an assigned range type.
/plugin/ipban/_test/
H A Dcheck.test.php43 * @param string $ip
47 public function test_banning($ip, $result) argument
53 (bool) $this->callInaccessibleMethod($action,'isBanned', [$ip, $this->banconfig])
/plugin/ipban/ip-lib/src/Range/
H A DRangeInterface.php31 * Get the type of the IP addresses contained in this range.
38 * Get the type of range of the IP address.
45 * Check if this range contains an IP address.
H A DType.php6 * Types of IP address classes.
H A DSubnet.php41 * The type of the range of this IP range.
H A DPattern.php41 * The type of the range of this IP range.
/plugin/ipban/ip-lib/src/
H A DFactory.php13 * Parse an IP address string.
55 * Parse an IP range string.