[squid-users] Re: Help setting up a custom captive portal
Thanks for reply and suggestions, I found this discussion http://squid-web-proxy-cache.1019090.n4.nabble.com/Splash-page-doesn-t-work-on-every-web-browser-td4661496.html#a4661514 and I want to adopt the method used by Andrew Beverley, can you help me? What external helper he used? I like that method because I can code my custom captive portal in php, so I can do everything I want, but I just need to understand what will be saved in the db! P.S. That method can be edited to show the captive portal every hour (or so)? Thanks for your help! - You can put lipstick on a Pig, but it will remain a Pig! -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Help-setting-up-a-custom-captive-portal-tp4667499p4667502.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Help setting up a custom captive portal
I suggest, you first start with a simple solution, before turning to Andrews. Have a look at the contents of (squid2.7-sources)/helpers/external_acl/session There you find squid_session.c with some description. For other versions of squid sources, you will find something similar, too. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Help-setting-up-a-custom-captive-portal-tp4667499p4667503.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Help setting up a custom captive portal
With squid, you can use the session_helper to create a simple captive portal with splash page: http://wiki.squid-cache.org/ConfigExamples/Portal/Splash Not difficult to customize the external helper, as it is simple C. Another, more complicated solution, containing much more functionality (like RADIUS accouting etc.): http://coova.org/CoovaChilli But quite some hard learning, as not very much support around. However, in case you can master it, very powerful, and stable. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Help-setting-up-a-custom-captive-portal-tp4667499p4667500.html Sent from the Squid - Users mailing list archive at Nabble.com.
Re: [squid-users] Re: Help setting up a custom captive portal
You can also use this helper: http://wiki.squid-cache.org/EliezerCroitoru/SessionHelper and config example. http://wiki.squid-cache.org/EliezerCroitoru/SessionHelper/Conf In a case you want to use a web interface to login you can use a simple php\cgi script for that that interacts with memcached. There are couple other solution for captive portal in the iptables level which are pretty nice. Eliezer On 09/02/2014 10:04 PM, babajaga wrote: With squid, you can use the session_helper to create a simple captive portal with splash page: http://wiki.squid-cache.org/ConfigExamples/Portal/Splash Not difficult to customize the external helper, as it is simple C. Another, more complicated solution, containing much more functionality (like RADIUS accouting etc.): http://coova.org/CoovaChilli But quite some hard learning, as not very much support around. However, in case you can master it, very powerful, and stable. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Help-setting-up-a-custom-captive-portal-tp4667499p4667500.html Sent from the Squid - Users mailing list archive at Nabble.com.