add configure file parse funtion
add log function
use a seperate file as black ip list