Skip to content

Commit

Permalink
Update bro.sh to generate bacnet.log
Browse files Browse the repository at this point in the history
  • Loading branch information
helenwangjia authored Jun 27, 2024
1 parent dc1f289 commit ff125cd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions osect_sensor/Infrastructure/edge_cron/work/ot_tools/bro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,17 @@ merge_and_remove_log "nbns.*.log" "netbios-ns.log"
reformat_log "netbios-ns.log"
merge_and_remove_log "ssdp.*.log" "ssdp.log"
reformat_log "ssdp.log"
# OTプロトコル: Bacnet/IP
merge_and_remove_log "bacnet.*.log" "bacnet.log"
# OTプロトコル: CC-Link
merge_and_remove_log "cclink-ief-basic.*.log" "cclink-ief-basic.log"
merge_and_remove_log "cclink-ie.*.log" "cclink-ie.log"
merge_and_remove_log "cclink-ie-tsn.*.log" "cclink-ie-tsn.log"
merge_and_remove_log "cclink-ie-tsn-slmp.*.log" "cclink-ie-tsn-slmp.log"
merge_and_remove_log "cclink-ie-tsn-ptp.*.log" "cclink-ie-tsn-ptp.log"

# OTプロトコル: Bacnet/IP
if [ $4 = "True" ]; then
# tsharkでの出力と同じにするため
merge_and_remove_log "bacnet.*.log" "bacnet.log"
fi

if [ $5 = "True" ]; then
merge_and_remove_log "modbus_detailed.*.log" "modbus_detailed.log"
fi

0 comments on commit ff125cd

Please sign in to comment.