Open JJEU opened 8 years ago
You should check the rate with which connections redirected to wifidog HTTP server. Scan your log file for strings like "Received connection from
i think u can try apfree wifidog, which were used widely in china's business project. this is project's address https://github.com/liudf0716/apfree_wifidog
@liudf0716 can not see how it's different from Wifidog projet. Please take a momebt to giveout 3 benefits of it.
Improved performance improved stability More function In addition, it used widely in real business project and inspired by real user demand
In fact, u can easily find apfree wifidog project is active, however this wifidog project not update for a long time
@liudf0716 maybe but on apfree config file I don't see support for domain name management. How are u handling this? for example to allow/block specific websites
Of course we support allowing specific website, I think no need to block website, we can allow it without restart wifidog through wdctl command. If u read code closely, u will find I extend wdctl many function, which all come from real users’ needs
@liudf0716 I'm talking about Walled garden feature without using WDCTL. Point me to that line of code
If u read wdctl
U can read conf.c, all config file related operation can be found there. all wdctl related function can find their related implementation in config file.
I am now in holiday, so not convenience to paste the exact line code here, sorry for that
@liudf0716 I see sorry for inconvenience ;-) I'm compiling it to give it a try in production then I will revert with my feedback.
thanks for your question and recommendations .:-)
@liudf0716 Hi. I had a look to your apfree_wifidog. Awsome work!
It seems you implemented thread pool which lead to perfomance improvement. Right?
@KazukiShimada yes, I useed thread pool to improve performance, It had some effects, but not that good as i had thought.
@liudf0716 glad to see you here. the QQ群 looks not active. Hi, since you know using libevent to do something, why not give the webserver a try? We have implemented a while new authentication system with libevent used in webserver.
@qianguozheng glad to see u too:D. the qq group is ok, I don't known why u find it not active. In fact, the reason I imported libevent was to resolve https redirecting feature, only libevent provide open source solution. in my todo list, I will replace libhttpd with libevent step by step, for our project was deployed in business scenarios, we must be cautious.
@qianguozheng my qq is 407652474
Hello it's Jackson from Ile Sans Fil
We take care of the public wifi in some crowded places in Montreal (ie, wifi areas for the CHUM, and a few big public librairies)
The DHCP server sometimes has more than 1000 different leases in use.
In those places I use openwrt x86-64 trunk on a APU2 hardware from PC engines (x86-64 mini PC, 2ghz quad core CPU, 2/4GB RAM) all 4 cores shows on openwrt and 4GB ram too.
Sometimes i log remotely on a node, and see the CPU usage a 1.50 and more. most of the CPU is used by wifidog. Users complains that the portal page is very slow to appear.
By default, is wifidog optimized to run on multi-core hardware ? do i have to use a switch to enable it ?
I know it's difficult to reproduce such an extreme case-use, so I could give remote access if you are interrested.