src/Orchid/Defender/Middleware/Firewall.php
public function handle($request, Closure $next)
    {
        $listIp = config('defender');

        if (count($listIp['whitelist']) && !in_array($request->ip(), $listIp['whitelist'])) {
            abort(105);
        }

        if (count($listIp['blacklist']) && !in_array($request->ip(), $listIp['blacklist'])) {
            abort(105);
        }

        return $next($request);
    }
public function handle($request, Closure $next)
    {
        $listIp = config('defender');

        if (count($listIp['whitelist']) && !in_array($request->ip(), $listIp['whitelist'])) {
            abort(105);
        }

        if (count($listIp['blacklist']) && !in_array($request->ip(), $listIp['blacklist'])) {
            abort(105);
        }

        return $next($request);
    }
Handle an incoming request.

@param \Illuminate\Http\Request $request
@param \Closure                 $next

@return mixed