yh-radius's Issues
有考虑支持 mschapv2吗
我使用wifi认证,报错信息如下,chap和pap可以正常验证,但是mschap不可以
ERRO[2023-06-29 18:23:09.425] recovery invoke runtime error: invalid memory address or nil pointer dereference
[xorm] [info] 2023/06/29 18:23:09.425625 [SQL] ROLL BACK
ERRO[2023-06-29 18:23:09.46] occur unknown error: runtime error: invalid memory address or nil pointer dereference
DEBU[2023-06-29 18:23:09.46] 异常堆栈信息:goroutine 123 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:24 +0x65
go-rad/radius.RecoveryFunc.func1.1()
/Users/akiraka/Downloads/yh-radius-master/radius/common_middleware.go:54 +0x1ad
panic({0x14e5e60, 0x18c19d0})
/usr/local/go/src/runtime/panic.go:884 +0x213
go-rad/radius.pap({0xc00041c448?, 0x1?}, {0xc00041cc50, 0x6}, {0x1, 0x18, 0xc8, {0xa2, 0xce, 0x98, ...}, ...})
/Users/akiraka/Downloads/yh-radius-master/radius/verify_password.go:34 +0x32b
go-rad/radius.UserVerify(0xc0000d0500)
/Users/akiraka/Downloads/yh-radius-master/radius/auth_middleware.go:47 +0x1cb
go-rad/radius.(*Context).Next(...)
/Users/akiraka/Downloads/yh-radius-master/radius/context.go:30
go-rad/radius.NasValidation(0xc0000d0500)
/Users/akiraka/Downloads/yh-radius-master/radius/common_middleware.go:25 +0x2a5
go-rad/radius.(*Context).Next(...)
/Users/akiraka/Downloads/yh-radius-master/radius/context.go:30
go-rad/radius.RecoveryFunc.func1(0xc0000c4dc0?)
/Users/akiraka/Downloads/yh-radius-master/radius/common_middleware.go:60 +0x8f
go-rad/radius.(*Context).Next(...)
/Users/akiraka/Downloads/yh-radius-master/radius/context.go:30
go-rad/radius.(*radEngine).HandlePackage.func1({0xc0001d0000?, 0xc0004c4f90?, 0xc0004c4fd0?}, 0xc000012010, 0xc000147260)
/Users/akiraka/Downloads/yh-radius-master/radius/radius_engine.go:86 +0x282
created by go-rad/radius.(*radEngine).HandlePackage
/Users/akiraka/Downloads/yh-radius-master/radius/radius_engine.go:69 +0x44a
INFO[2023-06-29 18:23:09.46] 响应报文:RadiusPackage:{
Code=2
Identifier=24
Length=41
Authenticator=939c8bd39e575b5415663235eff3ce02
isChap=false
RadiusAttrs: [
Reply-Message=occur unknown error]
}
你好,请问怎么联系
能否提供一个联系方式,email、QQ、wechat等进行交流
测试使用radtest始终登陆不上,提示账号或者密码错误
请问如何配置MAC认证方式,数据库的内容,如何填充
请问如何配置MAC认证方式,数据库的内容,如何填充
请问是否可以做商业开发
请问是否可以做商业开发
流量扣除异常
acct_middleware.go
第151行,修改前后生成的语句区别如下,问题表现为所有用户的流量信息都被更改了。
_, err = cxt.Session.Cols("available_flow", "available_time").Update(&user)
UPDATE rad_user
SET available_time
= ?, available_flow
= ? []interface {}{0, 197384046}
_, err = cxt.Session.ID(user.Id).Cols("available_flow", "available_time").Update(&user)
UPDATE rad_user
SET available_time
= ?, available_flow
= ? WHERE id
=? []interface {}{0, 197384046, 361}
radtet测试 Shared secret is incorrect
Shared secret is incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.