POST to Delete MAC and mark vouchers expired



  • Hi there,

    I want to set up an auto-addition of mac after voucher first time authentication, and after authentication i will do another POST  to mark voucher as expired.

    Please help to provide what are the parameters needed as I cannot see it in the pfsensebook.

    Thank you in advance.


  • Banned

    Kinda waste of effort, no? Make the vouchers valid for a couple of minutes or so and move on.



  • Hi doktornotor,

    This is to avoid sharing of vouchers at the same time. e.g. voucher is valid for 10 days, but after authentication I will automatically add the mac-address and then disable the voucher. But after 10 days, I need to do POST to remove the MAC-Address.


  • Banned

    @xedlinux:

    This is to avoid sharing of vouchers at the same time.

    Hmmm? This works for vouchers as well:



  • @doktornotor:

    @xedlinux:

    This is to avoid sharing of vouchers at the same time.

    Hmmm? This works for vouchers as well:

    Just need to clarify, just to avoid sharing of vouchers NOT ON THE SAME TIME. so, disable concurrent log is not useful because when other person will not use the voucher, the voucher person can use. correct?



  • @xedlinux:

    Just need to clarify, just to avoid sharing of vouchers NOT ON THE SAME TIME. so, disable concurrent log is not useful because when other person will not use the voucher, the voucher person can use. correct?

    I think you failed to clarify …..


  • Banned

    Yeah, it's the exact opposite of what originally requested.



  • @Gertjan:

    @xedlinux:

    Just need to clarify, just to avoid sharing of vouchers NOT ON THE SAME TIME. so, disable concurrent log is not useful because when other person will not use the voucher, the voucher person can use. correct?

    I think you failed to clarify …..

    sorry typo error:
    Just need to clarify, just to avoid sharing of vouchers NOT ON THE SAME TIME. so, disable concurrent log is not useful because when other person will not use the voucher, the other person can use same voucher. correct?


  • Banned

    Dude, dunno. If you make vouchers with short expiration as said above and add the MAC to passthrough, it's kinda hard to share it later because it's no longer valid.


Log in to reply