Comments (3)
I got this resolved by using the VSA as done for attribute e.g.
req["Cisco-AVPair"] = "someattrvalue"
from pyrad.
Hello! Can you show me example code, how you add subattribute?
When i used this:
req['Vendor-Specific'] = 'subscriber:command=account-logon'
i get
TypeError: startswith first arg must be str or a tuple of str, not bytes
Thank you!
from pyrad.
How to add vendor-specific attribute to a packet ,like 3GPP-IMEISV
from pyrad.
Related Issues (20)
- Use of 'select.poll()' in client.py (line 62) not supported by Windows
- unhandled exception in client.py _SendPacket()
- Unable to import FreeRADIUS dictionaries HOT 1
- Better documentation and example
- 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 1
- Question on if the pyrad based server can do TLS handshaking over RADIUS messages
- 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
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.