Skip to content


kapcheng – My Captive Portal Engine (using SQUID, Apache, and PHP)

No Gravatar

Just completed a major part of my PHP-based SQUID filtering, adding in captive portal feature. I name it as “kapcheng”, which derives from two words, “capture engine”.

Why kapcheng?

 

  • It can capture those who misuse my Free WiFi
  • It can filter
  • It has captive portal

 

This is part of a larger scheme, which is to have these features around:

  • URL rewriter - done
  • URL-based filtering - done
  • Redirector - done
  • Access Control by IP - done
  • Access Control by IP range - in progress
  • Captive Portal - improving
  • Selective captivity (only capture IP or range of IPs) - done
  • Authentication by text-file - in progress
  • Authentication by LDAP - in progress
  • Logging - improving
  • Web-based administration - kicking in later

freewifi-banner

Would you like to try it out? Let me know.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Print
  • Slashdot
  • StumbleUpon
  • Technorati
  • email
  • Ma.gnolia

Posted in development, info.

Tagged with , , , , , , , , , , , , , .


14 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Matthew KemmererNo Gravatar says

    I would like to learn more about your methods. I’m trying to do something similar. can I see what you have?

  2. Gerald VergneNo Gravatar says

    Hi,
    Nice job Could you help me to install a captive portal like that on ununtu server 9.04

    Thanks

  3. LeraJenkinsNo Gravatar says

    Not logically

  4. AlfonsoNo Gravatar says

    Hi
    Could I see how you have done this? It’s perfect for my situation (I need to authenticated same users through http authentication)

  5. SteelburnNo Gravatar says

    Hi Gerald,
    It’s possible to install captive portal on just _any_ Linux platform. It’s all about the same. Let me know what you have and what you need. I’d be glad to assist.

    Hi Alfonso,
    I’ve released the package out. It’s preliminary, but it can be used as a base for your development work if you want to. Most importantly, it’s working.

  6. MikeNo Gravatar says

    Hi

    “I’ve released the package out. It’s preliminary, but it can be used as a base for your development work if you want to. Most importantly, it’s working.”

    could you send me a copy please.
    I’m trying to set up something similar on FreeBSD.

    Thanks

  7. BiggieNo Gravatar says

    Please can you send me details of what you have done and of the package please. This appears to be exactly what we need.

    Thanks,

    • SteelburnNo Gravatar says

      Hi,

      The package is made available on the site. Just browse for other posts marked with the same tag.

  8. afiqNo Gravatar says

    Hi
    I have ubuntu server with squid, apache,php,mysql.
    What can i do, to make captive portal like your project.
    You know, i was tried chilli but i didn’t like, cause Chiili use tun0.

    thanks

    • SteelburnNo Gravatar says

      Afiq,

      I just use PHP+httpd+squid. You can make use of mysql for user/session store. I’m using text files to store the session. Feel free to download the package and modify to your liking.

  9. AmeraprapNo Gravatar says

    I am always looking for brand-new infos in the net about this topic. Thx!

  10. MarcNo Gravatar says

    where can i download it?

  11. arpitNo Gravatar says

    Hie Steelburn
    How can i configure it to authenticate LDAP users. Can you please help me regarding this. and when is new release coming for this software.

    vikram

Continuing the Discussion

  1. Using Squid to build a captive portal, for free! « Alex van Herwijnen linked to this post on December 26, 2009

    [...] got inspired to do this after reading about Kapcheng, a project with exactly the same goal as mine. I asked for his sources and I got them, but after [...]



Some HTML is OK

or, reply to this post via trackback.

This site is using OpenAvatar based on