pfSense Support Subscription

Author Topic: Anonymous CP feature for $400  (Read 4919 times)

0 Members and 1 Guest are viewing this topic.

Offline mastermindpro

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Anonymous CP feature for $400
« on: August 18, 2006, 06:00:03 pm »
I have a thread going in the captive portal category about the feature I need.  Basically, I need the CP to:

1) Allow anonymous users (no user name or password) to access the Internet after accepting terms of service
2) Forcefully disconnect the users after a hard timeout
3) Not allow a user that has been forcefully disconnected to reconnect for a defined period of time

Would anyone be even slightly interested in this?  I think it would make a nice addition for coffeshops and similar locations that want to allow free, time-limited Internet access that resets nightly.

BTW, that thread is here: http://forum.pfsense.org/index.php/topic,1875.0.html

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Anonymous CP feature for $400
« Reply #1 on: August 18, 2006, 06:27:32 pm »
May want to publisize this on the m0n0wall-dev list.  Work is being done on the Captive Portal in the last few days so fresh eyes are looking for reports.

Offline mastermindpro

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Anonymous CP feature for $400
« Reply #2 on: August 18, 2006, 08:02:47 pm »
Will do.  I noticed the work posted today, although it doesn't have direct bearing on my needs.

Thanks!

Offline mastermindpro

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Anonymous CP feature for $400
« Reply #3 on: August 18, 2006, 08:10:19 pm »
BTW, assuming one of the m0n0 devs add these features, I'll probably offer a bounty of $100 here to pull them into the current pfSense codebase.  We'll see what they have to say.

Offline Patrick_

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • LiquidObject
Re: Anonymous CP feature for $400
« Reply #4 on: September 12, 2006, 07:20:24 pm »
What you could do is add a generic username & password, then customize the portal webpage and include the "guest" login information there.
--------------------------------------------------------------------------------------
pfSense Documentation Wiki
pfctl reference
Personal Blog

Offline aneip

  • Jr. Member
  • **
  • Posts: 42
    • View Profile
Re: Anonymous CP feature for $400
« Reply #5 on: September 12, 2006, 07:59:54 pm »
I have a thread going in the captive portal category about the feature I need.  Basically, I need the CP to:

1) Allow anonymous users (no user name or password) to access the Internet after accepting terms of service
2) Forcefully disconnect the users after a hard timeout
3) Not allow a user that has been forcefully disconnected to reconnect for a defined period of time

Would anyone be even slightly interested in this?  I think it would make a nice addition for coffeshops and similar locations that want to allow free, time-limited Internet access that resets nightly.

BTW, that thread is here: http://forum.pfsense.org/index.php/topic,1875.0.html

I think I can try this out... But since session timeout is not working, so you mean no 2 is using setting in pfsense? What I have in my mind is like I post in ur thread in Captive Portal. It will involve inserting a account into mysql server. So your pfsense need to be able to connect to mysql server. Contact me for more detail. BTW this will be workaround (small hack), meaning it not a full feature, like able to change setting using GUI and so on. You also need to cron most probably a perl file in mysql server so the script will be able to reset the user at midnight.

Offline aneip

  • Jr. Member
  • **
  • Posts: 42
    • View Profile
Re: Anonymous CP feature for $400
« Reply #6 on: September 13, 2006, 04:55:40 am »
Another idea is to depend only on pfsense. I create 1 file (login-anon.php) which you will link from index.php of captive portal. This file display TnC, after clicking accept it will

1. Check mac on local file (anon-mac-todaydate.db) whether the mac already exists or not. If the today file not exists, create new one. This will automatically reset logged mac access without using cron every midnight. Optionally can delete yesterday file.
2. If mac not exists on today file, allow access and insert into today file.

That it.. very simple.

I will offline until next week.. If you wanna discuss this can pm me.

Offline pcatiprodotnet

  • Full Member
  • ***
  • Posts: 239
    • View Profile
Re: Anonymous CP feature for $400
« Reply #7 on: September 13, 2006, 05:59:34 pm »
It appears that we're interested in some of the same features, mastermindpro.
I'll pitch in another $300+ on this bounty if they can also implement individual bandwidth limits, etc as specified in this bounty inquiry...
http://forum.pfsense.org/index.php/topic,1802.0.html
« Last Edit: September 13, 2006, 06:06:28 pm by pcatiprodotnet »