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

Logging of dest_ip / dest_port and changed logging format for hpfeeds. #14

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

vorband
Copy link
Contributor

@vorband vorband commented Aug 23, 2018

  • Logging to hpfeeds is now plain json for better automated processing
  • Logging has been enhanced with destination ip and port from socket.

vorband and others added 11 commits May 25, 2018 11:40
added hpfeeds support for ciscoasa_honeypot.

If hpfeeds shall be enabled, you must set either
a) the following environment variables
HPFEEDS_SERVER, HPFEEDS_PORT, HPFEEDS_IDENT, HPFEEDS_SECRET,
HPFEEDS_CHANNEL, SERVERID
or
b) add corresponding arguments --hpfserver, --hpfport, --hpfident,
--hpfsecret, --hpfchannel, --serverid (eq. id/name)

In case they are not set, it will behave as before and only log
locally/stdout.
removed debug logging for hpfeeds (server started /ended)
metadata like headers, postdata, timestamp added.
@vorband
Copy link
Contributor Author

vorband commented Aug 23, 2018

now logs additional information via hpfeeds for non-exploit requests.
metadata like dest ip, dest port, headers, postdata, timestamp added.

only if used with -v flag, otherwise only the exploit detected will be logged.

logs single json structure for each request. by default, hpfeeds only
logs exploits. if run -v all http requests are logged.
@t3chn0m4g3
Copy link

@vorband This is great news!
@omercnet Can you merge please?

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

Successfully merging this pull request may close these issues.

None yet

3 participants