coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
518 stars 260 forks source link

Too many HTTP requests are redirected to the web server. #205

Closed lin-lu closed 8 years ago

lin-lu commented 8 years ago

Hi all,

I know that CoovaChilli will redirect the user to the portal login page if the user is not authorized and tries to open an HTTP site in the browser.

However, when a Windows laptop is connected and it will automatically send many Windows Update HTTP requests , and CoovaChilli redirects all these requests to my web server, this is causing the max client error on the web server.

My question is: is there a way to configure CoovaChilli, so that it will ignore some HTTP requests that are sent to a certain destination IP?

Lin

sevan commented 8 years ago

Is whitelisting using the uamallowed option feasible?

gareth41 commented 8 years ago

Use a JavaScript redirect, most won't follow this kind of redirect. Windows update eg will follow a 302 but not a parent.location.replace

muratbeser commented 8 years ago

Coova handles all requests not only HTTP, so its not responsibility of Coova but your web server. Also there is other specific software which send requests to the internet check their updates etc stuff.

sevan commented 8 years ago

Hi, There is now a mailing list for questions such as these, the issues section will be used solely for bug reports in code from now on, can I ask you to subscribe & take the discussion there (give it a few days as the system is freshly setup without any subscribers at the moment).