This is a Golang-based sinkhole server designed to intercept and log unwanted or malicious network traffic for analysis and mitigation purposes. It sinkhole both TCP and UDP traffic and listen on multiple ports.
go run cmd.go -filenamePrefix <prefix> -logDir <directory> -maxLines <log max lines> -rotationTime <log rotation minutes> -protocol <protocol> -ports <ports>