Comments (2)
Hi @k1LoW
Thanks for reporting.
The nil pointer error was fixed in above changes.
Now Vuls can print the error message instead of nil pointer.
In the above case of Centos5.5, Vuls found many CVE IDs (over 300).
Vuls request to go-cve-dictionary concurrently.
I guess that max open file error was occurred.
It's better to check open files limit of your OS.
see https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/
from vuls.
Thank you for your fix!!
I guess that max open file error was occurred.
You are right!
> launchctl limit maxfiles
maxfiles 256 unlimited
Now Vuls can print the error message instead of nil pointer.
Result
I retry (go get -u
and vuls scan
).
[May 17 10:29:43] INFO [xxxxxx:22] (331/331) Scanned zlib-devel-1.2.3-3 -> 1.2.3-7.el5 : []
[May 17 10:29:43] INFO [xxxxxx:22] Fetching CVE details...
WARN[0933] Failed to HTTP GET. retrying in 552.330144ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2010-2431: EOF], url: http://127.0.0.1:1323/cves/CVE-2010-2431, resp: <nil>
WARN[0933] Failed to HTTP GET. retrying in 720.254544ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2011-2748: EOF], url: http://127.0.0.1:1323/cves/CVE-2011-2748, resp: <nil>
WARN[0933] Failed to HTTP GET. retrying in 582.280027ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2010-3704: dial tcp 127.0.0.1:1323: socket: too many open files], url: http://127.
0.0.1:1323/cves/CVE-2010-3704, resp: <nil>
WARN[0933] Failed to HTTP GET. retrying in 468.857094ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2012-0061: dial tcp 127.0.0.1:1323: socket: too many open files], url: http://127.
0.0.1:1323/cves/CVE-2012-0061, resp: <nil>
WARN[0933] Failed to HTTP GET. retrying in 462.318748ms seconds. err: HTTP GET error: [Get http://127.0.0.1:1323/cves/CVE-2011-0281: dial tcp 127.0.0.1:1323: socket: too many open files], url: http://127.
0.0.1:1323/cves/CVE-2011-0281, resp: <nil>
-loop....-
{"time":"2016-05-17T10:29:44+09:00","remote_ip":"127.0.0.1","method":"GET","uri":"/cves/CVE-2011-2692","status":200, "latency":3995,"latency_human":"3.995597ms","rx_bytes":0,"tx_bytes":6178}
2016/05/17 10:29:44 http: Accept error: accept tcp 127.0.0.1:1323: accept: too many open files; retrying in 10ms
2016/05/17 10:29:44 http: Accept error: accept tcp 127.0.0.1:1323: accept: too many open files; retrying in 20ms
2016/05/17 10:29:44 http: Accept error: accept tcp 127.0.0.1:1323: accept: too many open files; retrying in 40ms
2016/05/17 10:29:44 http: Accept error: accept tcp 127.0.0.1:1323: accept: too many open files; retrying in 80ms
-loop...-
Thank you!
from vuls.
Related Issues (20)
- Question: Heatmap Category Count HOT 2
- Windows not shown in supported OS list HOT 3
- Support for Fedora is not working HOT 1
- Remote scan from Linux to Windows fails
- Results of the scan & report seem odd HOT 3
- Issue in trivy to vuls convertor HOT 1
- How to remove password from the logs ? HOT 1
- no information in "title" field for vuls scan on ubuntu vm HOT 6
- Error on json report : err: json: cannot unmarshal object into Go struct field Nvd.Cvss2 of type HOT 2
- A lot of bugs are there
- How is server/json mode expected to work for windows ? HOT 1
- false positive redhat unpatched vulnerability HOT 2
- severity is different for each scan on debian
- failed to get modularitylabel on RedHat HOT 1
- Enhanced kernel package check with multiple versions installed HOT 1
- The enhancement of the amount of cveContents information included in trivy-to-vuls HOT 1
- Difference in cve contents between vuls report and trivy-to-vuls
- Support for alpine is not actually in place despite the OS being listed as supported HOT 1
- Multiple versions are detected in some packages on Debian-based distributions HOT 1
- Support for Gentoo Linux HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuls.