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

Redis-queue don't work #119

Open
V1D1AN opened this issue Dec 14, 2020 · 0 comments
Open

Redis-queue don't work #119

V1D1AN opened this issue Dec 14, 2020 · 0 comments

Comments

@V1D1AN
Copy link

V1D1AN commented Dec 14, 2020

Hi the team of Punch-Cyber

I have test the plugin redis-queue..
Unfortunately nothing happens when I use it.

My stoq.cfg

[core]
# What syntax should logs be generated as?
# Valid options: text, json
log_syntax: json

# What is the logging level?
# Valid options: DEBUG, INFO, WARNING, ERROR, CRITICAL
log_level: DEBUG

# What is the maximum size of a log file before being rotated?
log_maxbytes: 1500000

# How many log files should be kept after rotation?
log_backup_count: 5

# Where are the plugins located? For multiple paths, separate by comma
plugin_dir_list: /home/stoq/.stoq/plugins/

# What is the maximum recursion depth for the dispatcher?
max_recursion: 3

# What is the maximum size of the internal thread queue?
max_queue: 100

# How many consumers should be instantiated when using a provider?
# Note: Ensure this is a reasonable number for your use. Setting this
#       too high may cause memory issues or unpredictable oddities
#       when interacting with other plugins/services that have
#       timeouts or heartbeats.
#
# provider_consumers: 2

# Which plugins should be loaded by default, if no plugin
# of it's class is loaded. Multiple plugins may be defined,
# but must be comma separated.
providers: dirmon
# archivers:
connectors: filedir,redis-queue
# decorators:
dispatchers: yara

# When disptching, always send the payload to the listed worker
# plugins. Multiple plugins may be defined, but must be comma
# separated.
always_dispatch:
[dirmon]
source_dir=/files
[filedir]
archives_dir=/tmp
results_dir=/tmp
compactly=True
[redis-queue]
redis_host=redis
redis_port=6379
publish_archive=True
[yara]
dispatch_rules=/rules/dispatcher.yar
worker_rules=/rules/index.yar

I do a tcpdump on my redis server and i have no communication..

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

1 participant