xsec dns proxy server為一個DNS代理伺服器,可以將DNS請求代理到後端的DNS伺服器中,在代理的過程中會將dns log寫入到資料庫中。
主要特性如下:
- 代理DNS請求並記錄請求數據
- 後端支持sqlite、postgres、mysql和mongodb四種資料庫
使用說明:
$ ./xsec-dns-server
[xorm] [info] 2017/08/15 11:01:24.497380 PING DATABASE mysql
NAME:
xsec dns proxy server - xsec dns proxy server
USAGE:
xsec-dns-server [global options] command [command options] [arguments...]
VERSION:
0.1
COMMANDS:
serve dns proxy Server
web web server
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
- serve參數表示啟動一個dns代理伺服器
- web參數表示啟動一個簡單WEB服務器,用來查看dns日誌。
運行截圖
- 啟動代理伺服器及web服務器,然後運行xshell
- web後臺中已經可以看到功能變數名稱log了,包括xshell的後門功能變數名稱
項目地址:netxfly/xsec-dns-proxy
歡迎試用、提建議、提PR,:-)