Exploit databaseDownload repository ZIP
GH-aea6512a4d300842a35d5e0affc76202
631068264/multi-cluster-ingress-nginx
Sources for CVE-2021-23017
15 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files21
631068264/multi-cluster-ingress-nginxRevision 3af299c9a630
- ↑..Parent directory
- config/
- ingressclass/
- process/
- store/
- template/
- certificate.go
- checker.go
- checker_test.go
- controller.go
- controller_mci.go
- controller_test.go
- endpoints.go
- endpoints_test.go
- endpointslices.go
- location.go
- nginx.go
- nginx_test.go
- status.go
- tcp.go
- util.go
- util_test.go
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
internal/ingress/controller/util_test.go
Go · 880 bytes/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package controller
import (
"testing"
)
func TestRlimitMaxNumFiles(t *testing.T) {
i := rlimitMaxNumFiles()
if i < 1 {
t.Errorf("returned %v but expected > 0", i)
}
}
func TestSysctlSomaxconn(t *testing.T) {
i := sysctlSomaxconn()
if i < 511 {
t.Errorf("returned %v but expected >= 511", i)
}
}