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 enhancements #69

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

Commits on Jan 5, 2018

  1. Bugfix

    ProxyListener - Initialize dport to none if diverter.getOriginalDestPort does not return a destination port.
    
    Feature enhancements
    - Added ability to send logs to Splunk using HEC
    - Modified the listeners to use the same logger instance
    - Modified listeners to log key session information using json format
    
    Known issues
    - logger.name is not unique to each listener, which makes following the logs difficult
    - Logging json formatted logs to streamhandler/filehandler is not very useful.
    vavarachen committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    3794fce View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2018

  1. Enhancements and new features

    - Extended logging capabilities to include remote syslog and Splunk loggers.
    - Implemented remote logger feature to ListenerBase
    - Splunk loggers are configure with a filter to drop all non-json messages
    - Log messages for remote loggers are created using Common Information Model when applicable
    - Improved logging consistency across most listeners
    - Each listener instance is created with its own stream and remote logger (if configured)
    - Added log and log_cmd to TLS_FakeFTPHander
    
    Bugfix
    - Fixed SSL configuration of SMTP listener
    
    ToDo
    - Improve banner and server configuration for SMTP listener, similar to FTPListener
    vavarachen committed Jan 7, 2018
    Configuration menu
    Copy the full SHA
    3b9535a View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. Simplified the remote logger code by moving most of the logic to List…

    …enerBase.
    
    - Added ability to specify more than one remote loggers
    - Added json_only flag to offer the ability to avoid logging JSON to syslog.
    vavarachen committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    2a2298f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbdd1f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db669ce View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. Added ability to turn off remote logging per listener using RemoteLog…

    …ger = [1|0]
    
    Fixed type in ProxyListener.  Renamed log_mesage to log_message.
    vavarachen committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    c03866e View commit details
    Browse the repository at this point in the history
  2. Added logging filter to main daemon logger. JSON messages are not log…

    …ged if remote logger is not set.
    vavarachen committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    02bfd49 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2018

  1. Configuration menu
    Copy the full SHA
    054d3f5 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. Configuration menu
    Copy the full SHA
    37a2ed7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d28d876 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2018

  1. Implemented ability to send syslog output to /dev/log and option to f…

    …ilter out JSON.
    
    Additionally, addressed the issue of excluding json output in listener stream handler.
    vavarachen committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    a9baef9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79cb90f View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/LoggingEnhancements' into Loggin…

    …gEnhancements
    
    # Conflicts:
    #	fakenet/listeners/ListenerBase.py
    vavarachen committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    d596a22 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2018

  1. Configuration menu
    Copy the full SHA
    118d310 View commit details
    Browse the repository at this point in the history
  2. Added example showing /dev/log as a valid destination. Switched SSL s…

    …pecification to 1|0 from true|false.
    vavarachen committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    48fdca4 View commit details
    Browse the repository at this point in the history