Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Compilation of log collection plug-in for H3C Huasan switch based on OSSIM platform

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Compilation of log collection plug-in for H3C Huasan switch based on OSSIM platform

On the basis of the previous article "Development of log collection plug-ins for switches based on the OSSIM platform", let's continue to share the contents of the H3C switch plug-ins:

[DEFAULT]

Plugin_id=1712

[config]

Type=detector

Enable=yes

Source=log

Location=/var/log/h4c-switch.log

Create_file=yes

Process=

Start=no

Stop=no

Restart=no

Startup=

Shutdown=

[translation]

CLKCHANGE=1

NTP_LOG=2

PFWD=3

PHONY_MODULE=4

RX_POW_NORMAL=5

RX_POW_LOW=6

LOGOUT=7

LOGINFAIL=8

[0001-H3C-ETH-SWITCH LOGIN LOGOUT]

Event_type=event

Precheck= "because"

Regexp= "(? P\ w {3}\ s +\ d:\ d\ d:\ d:\ d\ d)\ s +\ s + (? P\ S+)\ s +\%\ d + (? P\ S+)\ / (? P\ d +) / (? PLOGOUT | LOGINFAIL)\ (\ w+\)\:\ s + (? P [Amurz] +). \ d {1pr 3}). *? because\ s?\: (? P.*) "

Date= {normalize_date ($date)}

Plugin_sid= {translate ($sid)}

Device= {$host}

Src_ip= {$client_ip}

Userdata1= {$module}

Userdata2= {$severity}

Userdata3= {$reason}

Userdata4= {$service}

[0002-H3C-ETH-SWITCH]

Event_type=event

Regexp= "(? P\ w {3}\ s +\ d:\ d\ d)\ s +\ s + (? P\ S+)\ s +\%\%\ d + (? P\ S+)\ / (? P\ S+)\ (. *?\: (? P.*)"

Date= {normalize_date ($date)}

Plugin_sid= {translate ($sid)}

Device= {$host}

Userdata1= {$module}

Userdata2= {$severity}

Userdata3= {$explanation}

For information about collecting logs based on plug-ins, you can refer to the book "Open Source Security Operation and maintenance platform OSSIM Best practices".

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report