Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web service works only once #2

Open
unstppbl opened this issue Aug 6, 2018 · 9 comments
Open

Web service works only once #2

unstppbl opened this issue Aug 6, 2018 · 9 comments

Comments

@unstppbl
Copy link

unstppbl commented Aug 6, 2018

Web service scans the first file successfully, but crashes on the next run.

╰$ docker run -p 3993:3993 malice/zoner web   
time="2018-08-06T09:27:32Z" level=info msg="web service listening on port :3993"
time="2018-08-06T09:27:38Z" level=fatal msg="exit status 1" category=av path=/malware/web_341723247 plugin=zoner

Output of go version:

go version go1.10.3 linux/amd64

Output of docker version:

Client:
 Version:      18.05.0-ce-rc1
 API version:  1.37
 Go version:   go1.9.5
 Git commit:   33f00ce
 Built:        Thu Apr 26 01:05:07 2018
 OS/Arch:      linux/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.05.0-ce-rc1
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.5
  Git commit:   33f00ce
  Built:        Thu Apr 26 01:08:54 2018
  OS/Arch:      linux/amd64
  Experimental: false

Output of docker info:

Containers: 23
 Running: 1
 Paused: 0
 Stopped: 22
Images: 39
Server Version: 18.05.0-ce-rc1
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.17.9-200.fc28.x86_64
Operating System: Fedora 28 (Twenty Eight)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 7.685GiB
Name: friday
ID: 5QP4:Z3UQ:TIGC:7P6K:74MB:IAET:BZAK:2GXG:BGNX:BUHU:4B63:X7LJ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
@blacktop
Copy link
Member

blacktop commented Aug 7, 2018

I am surprised this works at all?? What output are you seeing from the plugin when it succeeds?

@blacktop
Copy link
Member

blacktop commented Aug 7, 2018

See #1 also

@unstppbl
Copy link
Author

unstppbl commented Aug 7, 2018

I see the usual json output, the result is false however.
Okay, I haven't looked at plugins.toml file, just was checking every plugin if it works or not :)

@unstppbl unstppbl closed this as completed Aug 7, 2018
@blacktop
Copy link
Member

blacktop commented Aug 8, 2018

Thank you for testing the plugins it is a very BIG help to me! I greatly appreciate it 👍

@blacktop
Copy link
Member

blacktop commented Aug 8, 2018

I hope zoner can fix their update server so i can re-enable this plugin soon.

@unstppbl
Copy link
Author

unstppbl commented Aug 8, 2018

No problem, happy to be helpful :)

@blacktop
Copy link
Member

@altsab zoner is working again!!!

@blacktop blacktop reopened this Aug 25, 2018
@unstppbl
Copy link
Author

Yay, cool! But I just checked it, and it processes the first checkup okay, but still fails for the second try..
The reason is the same as before exit status 1

@blacktop
Copy link
Member

blacktop commented Sep 1, 2018

@altsab thank you for testing! I'll look into it 👍

prsyahmi added a commit to prsyahmi/malice-zoner that referenced this issue Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants