Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1881572 - Review Request: golang-github-projectdiscovery-cdncheck - Filter to check for CDN IP addresses during port scanning
Summary: Review Request: golang-github-projectdiscovery-cdncheck - Filter to check for...
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
Depends On: 1881562
Blocks: 1881363 1881611
TreeView+ depends on / blocked
Reported: 2020-09-22 17:29 UTC by Fabian Affolter
Modified: 2021-08-27 20:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-08-27 20:11:22 UTC
Type: Bug
zebob.m: fedora-review+

Attachments (Terms of Use)

Description Fabian Affolter 2020-09-22 17:29:24 UTC
Spec URL:

Project URL:

A filter to check for CDN IP addresses during port scanning.

Koji scratch build:
fails due to missing dependency

rpmlint output:
$ rpmlint golang-github-projectdiscovery-cdncheck-0-0.1.20200922git19e1db6.fc32.src.rpm 
golang-github-projectdiscovery-cdncheck.src: W: no-%build-section
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

$ rpmlint golang-github-projectdiscovery-cdncheck-devel-0-0.1.20200922git19e1db6.fc32.noarch.rpm 
golang-github-projectdiscovery-cdncheck-devel.noarch: W: hidden-file-or-dir /usr/share/gocode/src/
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

Fedora Account System Username: fab

Comment 1 Robert-André Mauchin 🐧 2020-11-04 10:31:35 UTC
 - Bump to latest commit before import

 - Tests fail, Seems they need network access:

Testing    in: /builddir/build/BUILD/cdncheck-19e1db650e26adfbd81f1e01c66633f7d1ab7e3c/_build/src
         PATH: /builddir/build/BUILD/cdncheck-19e1db650e26adfbd81f1e01c66633f7d1ab7e3c/_build/bin:/usr/lib64/ccache:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/cdncheck-19e1db650e26adfbd81f1e01c66633f7d1ab7e3c/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X -X -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  '"
--- FAIL: TestCDNCheck (0.00s)
        	Error Trace:	cdncheck_test.go:12
        	Error:      	Expected nil, but got: &url.Error{Op:"Get", URL:"", Err:(*net.OpError)(0xc000072690)}
        	Test:       	TestCDNCheck
        	Messages:   	Could not create cdncheck client
--- FAIL: TestScrapeRanges (0.00s)
    --- FAIL: TestScrapeRanges/cloudflare (0.00s)
            	Error Trace:	ranges_test.go:27
            	Error:      	Expected nil, but got: &url.Error{Op:"Get", URL:"", Err:(*net.OpError)(0xc0000727d0)}
            	Test:       	TestScrapeRanges/cloudflare
            	Messages:   	Could not scrape cloudflare
    --- FAIL: TestScrapeRanges/incapsula (0.00s)
            	Error Trace:	ranges_test.go:31
            	Error:      	Expected nil, but got: &url.Error{Op:"Post", URL:"", Err:(*net.OpError)(0xc0000728c0)}
            	Test:       	TestScrapeRanges/incapsula
            	Messages:   	Could not scrape incapsula
    --- FAIL: TestScrapeRanges/akamai (0.00s)
            	Error Trace:	ranges_test.go:35
            	Error:      	Expected nil, but got: &url.Error{Op:"Get", URL:"", Err:(*net.OpError)(0xc0000729b0)}
            	Test:       	TestScrapeRanges/akamai
            	Messages:   	Could not scrape akamai
    --- FAIL: TestScrapeRanges/sucuri (0.00s)
            	Error Trace:	ranges_test.go:39
            	Error:      	Expected nil, but got: &url.Error{Op:"Get", URL:"", Err:(*net.OpError)(0xc000072aa0)}
            	Test:       	TestScrapeRanges/sucuri
            	Messages:   	Could not scrape sucuri
exit status 1
FAIL	0.008s

Comment 2 Fabian Affolter 2020-12-04 09:22:22 UTC
Thanks for your input.

* Mon Nov 16 10:01:13 CET 2020 Fabian Affolter <mail> - 0-0.2.20201116git5bc57c3
- Tests requires network access (#1881572)
- Update to latest commit

Koji build:

Updated files:
Spec URL:

Comment 3 Robert-André Mauchin 🐧 2021-01-25 18:58:48 UTC
 + Please package published version instead of a git commit:

 - License ok
 - Latest version packaged
 - Builds in mock
 - No rpmlint errors
 - Conforms to Packaging Guidelines

Package approved.

Comment 4 Fabian Affolter 2021-02-07 11:57:53 UTC
Thanks for the review.

Comment 5 Mohan Boddu 2021-02-08 16:49:27 UTC
(fedscm-admin):  The Pagure repository was created at

Note You need to log in before you can comment on or make changes to this bug.