Comments (10)
My ras is mikrotik routeros v5.12 . i just want to work with it's Framed-IPv6-Prefix radius attribute . in radius server logs i have this
2012/01/27-16:39:46 ##############
O> AccessAccept attributes for 10.234.56.75:50974 with id 2
Authenticator: ['\xca\xa3\xa2d\xee\x8f1\x80\xb1\x12kdS\x19\x15\x14']
Framed-IPv6-Prefix: ['2a00:1ce0::15:0:0:0:0/64']
MS-MPPE-Encryption-Policy: ['\x00\x00\x00\x01']
Idle-Timeout: [300L]
MS-CHAP2-Success: ['\x01S=01E3E9BF2AE86CEB9EDA6612D256265B13C05D0B']
MS-MPPE-Recv-Key: ['\x95\xba\xee\x19#\x12\xa8\xb3r\x88\xbe\t\x9c\xa7\x96w\xd0\xaa\x1b\x94e\xfe\r\xba\x92\x14\xeeU}\x0eo\xd0\x91\x96']
MS-MPPE-Send-Key: ['\xbd\x01J2|\xd0urWC\xc2\xae\x88\xb4\xed>{;\x98(DI\x1eYv\xd7\xf2\xb9\xf9\xbe\xb4]\xf8|']
MS-Secondary-DNS-Server: ['208.67.222.222']
MS-MPPE-Encryption-Types: ['\x00\x00\x00\x06']
MS-Primary-DNS-Server: ['109.110.160.172']
But in mikrotik log i have
16:40:52 radius,debug,packet Framed-IPv6-Prefix = 0x326130303a316365303a3a31353a303a
16:40:52 radius,debug,packet 303a303a302f3634
in the dictionary file i tested different values
ATTRIBUTE Framed-IPv6-Prefix 97 ipv6prefix
ATTRIBUTE Framed-IPv6-Prefix 97 octets
ATTRIBUTE Framed-IPv6-Prefix 97 ipv6addr
from pyrad.
How do you calculate mppe attributes?
from pyrad.
more explanation please
from pyrad.
Please, show functions, that generates mppe keys in your pyrad server. I can`t create working solution from rfc.
from pyrad.
Actually i am using following software https://sourceforge.net/projects/ibs/files/IBSng/ . It uses pyrad as radius server . I hope it helps .
from pyrad.
@omidkosari the following new types are implemented now. Please check if this works for you.
ipv6addr 16 octets in network byte order
ipv6prefix 18 octets in network byte order
from pyrad.
This change doesn't actually make pyrad ipv6 clean...
https://github.com/wichert/pyrad/blob/master/pyrad/client.py#L71
is still fixing the listener code to ipv4 only.
would a fix be useful here? :) (it would be to me)
from pyrad.
@morrowc I'd find a fix useful. The company I work for uses this library to test a RADIUS client/server implementation and the lack of an ipv6 listener makes it difficult to completely test the product's ipv6 support.
from pyrad.
Ok, also the link I sent above is the client code, the server code is similarly hobbled...
https://github.com/wichert/pyrad/blob/master/pyrad/server.py#L106
i'll work up a fix in the next few days.
from pyrad.
#61 is the open pull request to add server.py code for binding to ipv4 and ipv6 sockets.
The client code should need similar work, but I'm not sure it's as necessary as the server code.
from pyrad.
Related Issues (20)
- Server.py did not read file changes
- IndexError: list index out of range
- Example acct.py issues PacketError: Packet verification failed with server_async.py HOT 1
- logger error in client_async.py : TypeError: not enough arguments for format string in line 136
- New version release HOT 1
- New version release HOT 2
- Question on if the pyrad based server can do TLS handshaking over RADIUS messages HOT 1
- netaddr 0.9.0 dependency issue HOT 1
- RFE: please provide support for `netaddr` > 0.8
- how to include 'Class' in Accounting Request?
- Question about PAP in Radius HOT 1
- No listen sockets when /etc/services is not found on debian
- New Version of Pyrad HOT 2
- TypeError: unsupported operand type(s) for ^: 'int' and 'str' in packet.py
- Using pyrad => module 'select' has no attribute 'poll' in client.py ( On Windows, only sockets are supported; on Unix, all file descriptors.)
- Decryption of salt encrypted attributes (encrypt=2) is incorrect
- pyrad access accept packet error
- Bug: KeyError when handling CoA packet for 0.0.0.0 host
- Suggestion: clear DF bit in replies (IP_MTU_DISCOVER to IP_PMTUDISC_DONT)
- Imlement countermeasures against BlastRADIUS vulnerability HOT 1
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.
from pyrad.