Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶ added in v0.16.0
func Start(cfg *config.ThreatFeed)
Start initializes and starts the threat feed server. The server provides a list of IP addresses observed interacting with the honeypot servers in various formats.
func Update ¶ added in v0.16.0
Update updates the threat feed with the provided source IP address and threat score. This function should be called by honeypot servers whenever a client interacts with the honeypot. If the source IP address is already in the threat feed, its last-seen timestamp is updated, and its threat score is incremented. Otherwise, the IP address is added as a new entry in the threat feed.
Types ¶
Click to show internal directories.
Click to hide internal directories.