go-securepoint-nac-http-client

所属分类:浏览器
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2014-12-14 12:25:51
上 传 者sh-1993
说明:  使用安全点网络访问控制器(NAC)的web界面进行自动登录和连接刷新的Go编程,
(Go programm for autologin and connection refresh using the web interface of securepoint network access controler (NAC),)

文件列表:
LICENSE (1082, 2014-12-14)
go-securepoint-http-client.go (2040, 2014-12-14)
login.conf.default (70, 2014-12-14)

# ReadMe ## Intro Go program for autologin and login refresh for Securepoint Network Access Controler (NAC). [Like this one.](http://www.securepoint.cc/products-wifi-network-access-controller.html) ![Securepoint](http://www.securepoint.cc/images/securepoint-logo.jpg) Picture you probably see on your login page. I am not associated with Securepoint, but they have a github profile: https://github.com/Securepoint ## Behavior of Securepoint NAC The NAC has a web login page, which is served by the DNS server of the NAC. The Login page url is normally https://controller.mobile.lan/ and the page communicates with the the php skript: https://controller.mobile.lan/portal_api.php. There are 3 instructions: * authenticate * disconnect * refresh In my case the refresh instruction was turned off. Since it is a german appliance you will bes disconnected at least every 24h. In Germany you get disconnected every 24h without any reason, it's a cultural thing. ## Usage The login data is provided via a config file in json. Just rename login.conf.default to login.conf and fill in you credentials. The password digest can be taken from the log file after the first connect instruction, the server answers in json some configuration details including the digest. After that the programm can be run via cron or windows task scheduler (Haven't tried compiling for windows yet). During the disconnect/connect cycle open connections are not interrupted. ## ToDO * Parse password digest from first response and fill in conf file automatically ## Known NAC Bugs * There is a problem with Notebooks, when your ethernet card goes into energy saving mode your login session is lost * Sometimes the DNS Server of the NAC crashes and your are unable to log in. If you have a valid session open you can still open ip connections. Sadly the use of other DNS Server will be blocked by the NAC (DNS caching is possible, but should be set up in advance) Tested with: go version go1.2.1 linux/386

近期下载者

相关文件


收藏者