Remove gate from authorized address space
This commit is contained in:
parent
b470057ae7
commit
b5851bf5ed
1 changed files with 9 additions and 0 deletions
|
@ -42,6 +42,15 @@ if ($ref =~ m<^refs/tags/(.+)$>)
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$net = ip2long("10.41.253.0");
|
||||||
|
$mask = ip2long("255.255.255.0");
|
||||||
|
|
||||||
|
if (($ip & $mask) == ($net & $mask))
|
||||||
|
{
|
||||||
|
log ERROR, "[ACU] You are not authorized to push from this IP. This will be reported.";
|
||||||
|
exit 1;
|
||||||
|
}
|
||||||
|
|
||||||
# Get project informations
|
# Get project informations
|
||||||
my $project;
|
my $project;
|
||||||
eval {
|
eval {
|
||||||
|
|
Reference in a new issue