Coder Social home page Coder Social logo

Comments (3)

jamiesun avatar jamiesun commented on August 23, 2024

这个问题应该搞定了,可以验证一下

from toughradius.

yankaiqian avatar yankaiqian commented on August 23, 2024

我用m0n0wall和0.9.8版配合测试,当设置下发时长为“0”时,确实可以收到“AccessReject”的包,及提示信息‘User has expired’,看来是OK,我想达到的效果是有了。

2015-03-06 08:32:13 :: 
Radius Packet::AccessReject
host:172.28.123.200:65157
id:95
code:3
Attributes: 
Reply-Message: User has expired

但如果我设置特定时长为非0值,类似原来旧版本的默认设定,比如“120”或“60”等,此时看到的“AccessAccept”包中时长信息不对,看到里面都显示为“86400”,具体如下。

2015-03-06 09:43:43 :: 
Radius Packet::AccessAccept
host:172.28.123.200:65421
id:201
code:2
Attributes: 
Framed-Pool: expire
Class: 3030303030303030303030303030303030303030303030303030303030303030
Reply-Message: success!
Session-Timeout: 86400
Acct-Interim-Interval: 120

from toughradius.

jamiesun avatar jamiesun commented on August 23, 2024

找到原因了,引入了一个新bug

from toughradius.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.