8000 GitHub - juhaj77/snort_log_view: GUI for Snort
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

juhaj77/snort_log_view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snort_log_view

Colorized HTML table view for Snort alerts, AppID, and performance monitor logs.
The Perf tab automatically hides fields with zero values.
Alert information is used to generate a Wireshark filter based on timestamp data.
The AppID feature displays real-time data. It uses the appid_listener feature from snort3_extra.
The server reads the following log files:

  • /var/log/snort/alert_json.txt
  • /var/log/snort/appid.json
  • /var/log/snort/perf_monitor_base.csv

install

/snort_log_view/client$ npm install
/snort_log_view/server$ npm install

start

/snort_log_view/server$ export NODE_OPTIONS=--max-old-space-size=8192
/snort_log_view/server$ sudo npm start
/snort_log_view/client$ npm start

snort.lua:

perf_monitor = {}

alert_json =
{
    file = true,
    limit = 100,
    fields = 'timestamp iface src_addr src_port dst_addr dst_port proto action msg priority class sid dir dst_ap eth_dst eth_len eth_src eth_type gid icmp_code iface ip_id ip_len mpls pkt_gen pkt_len pkt_num rev rule seconds service src_ap target tcp_ack tcp_flags tcp_len tcp_seq tcp_win tos ttl udp_len vlan'
}
-- only timestamp, priority, rule, proto, src_ap, dst_ap, msg, class and seconds are mandatory

appid_listener =
{
    json_logging = true,
    file = "/var/log/snort/appid.json",
}

screenshots

The alert view shows the latest alerts
alert view
Appid view is updated with a socket connection.
appid view
The search tab has various search and arrangement features search view
search view
Performance monitor data in table perf monitor view

todo

Find a faster solution than read-last-lines.

About

GUI for Snort

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0