Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
nftban-api
command
|
|
|
nftban-core
command
|
|
|
nftban-ui
command
|
|
|
nftban-ui-auth
command
|
|
|
nftband
command
|
|
|
internal
|
|
|
authproto
Package authproto defines shared authentication protocol types Used by both pkg/auth and cmd/nftban-ui-auth to ensure consistency
|
Package authproto defines shared authentication protocol types Used by both pkg/auth and cmd/nftban-ui-auth to ensure consistency |
|
pkg
|
|
|
analytics
Package analytics provides efficient batch operations for report generation
|
Package analytics provides efficient batch operations for report generation |
|
api
Package api provides HTTP API handlers for NFTBan
|
Package api provides HTTP API handlers for NFTBan |
|
banlog
Package banlog provides centralized ban logging for NFTBan All ban actions (from any source) should log here for stats tracking
|
Package banlog provides centralized ban logging for NFTBan All ban actions (from any source) should log here for stats tracking |
|
logx
Package logx provides structured logging wrappers for NFTBan This centralizes log prefixes and makes future enhancements (JSON logs, levels) easier
|
Package logx provides structured logging wrappers for NFTBan This centralizes log prefixes and makes future enhancements (JSON logs, levels) easier |
|
metrics
Package metrics provides efficient metrics collection for NFTBan This collector replaces slow bash-based metrics with fast Go implementation
|
Package metrics provides efficient metrics collection for NFTBan This collector replaces slow bash-based metrics with fast Go implementation |
|
netutil
Package netutil provides network utility functions for NFTBan Centralizes IP address handling, whitelist checking, and CIDR operations
|
Package netutil provides network utility functions for NFTBan Centralizes IP address handling, whitelist checking, and CIDR operations |
|
session
Package session provides simple in-memory session management for nftban-ui.
|
Package session provides simple in-memory session management for nftban-ui. |
|
sync
Package sync provides nftables synchronization utilities
|
Package sync provides nftables synchronization utilities |
|
system
Package system provides unified system lookup utilities
|
Package system provides unified system lookup utilities |
|
version
Package version provides centralized version information for NFTBan.
|
Package version provides centralized version information for NFTBan. |
|
watchdog
============================================================================= NFTBan v1.0 - Dynamic Watchdog Package ============================================================================= SPDX-License-Identifier: MPL-2.0
|
============================================================================= NFTBan v1.0 - Dynamic Watchdog Package ============================================================================= SPDX-License-Identifier: MPL-2.0 |
Click to show internal directories.
Click to hide internal directories.