package
0.0.0-20241129185103-92adcc9d5072
Repository: https://github.com/gr3edydevel0per/securewebgateway.git
Documentation: pkg.go.dev

# Functions

CheckAndScanAllContent scans every type of downloaded content for malware before allowing it.
This function takes a domain name after removing the TLD and checks the database to see whether the domain is blocked.
CheckBlockedIP checks if an IP is blocked by querying the blocked_ip table in the database.
CheckDomainAndIP handles the proxy request and checks domain and IP reputation asynchronously.
CheckDomainAndIP creates a function that checks if a domain or its resolved IP is blocked.
CheckDomainReputation queries the IPQS API for domain reputation.
CheckIPReputation queries the IPQS API for IP reputation.
HandleDomainBlocking checks if a domain is blocked.
HandleDownloadAndScan scans every downloaded content for malware.
HandleIPBlocking checks if an ip is blocked.
ScanFileWithClamAV scans the content using ClamAV.
ScanRequests applies DLP rules to HTTP requests.
No description provided by the author

# Structs

No description provided by the author