Thanks for the info. On Sat, Feb 19, 2022 at 9:54 AM Kumar Ash kumaraish@users.sourceforge.net wrote: First of all, thank you for the wonderful library !!! I don't have permission to create ticket, but in latest version (0.6.0 Nov 05 '21), there is an issue in diameter.py::getPacket()::lineNo1069. It is reading extra 4 bytes. while bytes_recd < msg_len - 4: chunk = existing_connection.recv(min(msg_len - bytes_recd, 2048)) The line should be - while bytes_recd < msg_len - 4: chunk = existing_connection.recv(min(msg_len...
First of all, thank you for the wonderful library !!! I don't have permission to create ticket, but in latest version (0.6.0 Nov 05 '21), there is an issue in diameter.py::getPacket()::lineNo1069. It is reading extra 4 bytes. while bytes_recd < msg_len - 4: chunk = existing_connection.recv(min(msg_len - bytes_recd, 2048)) The line should be - while bytes_recd < msg_len - 4: chunk = existing_connection.recv(min(msg_len - bytes_recd - 4, 2048)) Best Regards Ash
Please check in wireshark dictionary folder if that AVP exist. If not - then you need to add it yourself or update In my dictionary (...wireshark/diameter/dictionary.xml) it is <avp name="Emergency-Services" code="1538" mandatory="mustnot" may-encrypt="no" vendor-bit="must" vendor-id="TGPP"> So you might need to add vendor to the line msg.add("Emergency-Services", 1, "TGPP") or msg.add("Emergency-Services", 1, vendor="TGPP")</avp> Note: AVP is named "Emergency-Services" in my dict (not "Emergncy-Services")....
Please check in wireshark dictionary folder if that AVP exist. If not - then you need to add it yourself or update In my dictionary (...wireshark/diameter/dictionary.xml) it is <avp name="Emergency-Services" code="1538" mandatory="mustnot" may-encrypt="no" vendor-bit="must" vendor-id="TGPP"> So you might need to add vendor to the line msg.add("Emergncy-Services", 1, "TGPP") or msg.add("Emergncy-Services", 1, vendor="TGPP")</avp> On Fri, Jan 7, 2022 at 6:56 PM Naseem Rahman naseemr@users.sourceforge.net...
Hi Sergej, I am trying to add Emergency-Services AVP ( msg.add("Emergncy-Services", 1) but getting error : Exception: ('Unable to find AVP', 'Emergncy-Services', 'None'). Do I need to update my Wireshark?
HSS simulator
HSS sim PUSH
Release
PEP-8 partial
DNS DHCP SNMP PCAP
Version bump
ARM (orange pi) eapcalc
Home
See test_eap in py3/test folder If you are still stuck, explain exactly what you are trying to do (or better yet, send me what you got so far so I can make your test code working) I added the EAP-AKA client demo (EAP-SIM was not needed by OP).
There is python3 version. With python3 there is an eap module you can use to calculate whatever you need See test_eap in py3/test folder If you are still stuck, explain exactly what you are trying to do (or better yet, send me what you got so far so I can make your test code working)
There is python3 version. With python3 there is an eap module you can use to calculate whatever you need See test_eap in py3/test folder If you are still stuck, explain exactly what you are trying to do (or better yet, send me what you got so far so I can make your test code working) On Sun, Oct 31, 2021 at 2:53 AM Naseem Rahman naseemr@users.sourceforge.net wrote: Anyone has any script that calculate EAP SIM in pythonv3? Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pyprotosim/wiki/Home/...
Anyone has any script that calculate EAP SIM in pythonv3?
documentation update
Are you compiling for linux on windows? Please make sure that you include correct path to python.h in build script (compile.sh) Path is hardcoded for my machine, Change it to match your setup Also check that you have all required programs/packages installed (listed in comments) I'll assume that you work on linux In script, I use python 3.6, so if you use newer python, please adjust path from CFLAGS3="-O2 -Wall -fPIC -I/usr/include/python3.6 -shared" to something matching your setup
Anyone having issue compiling the eapcalc? I am getting error, I install python-devel . ./py3/src_cEap/cEap.c:13:10: fatal error: Python.h: No such file or directory
Anyone having issue with compiling eapcalc? I am getting error : ./py3/src_cEap/cEap.c:13:10: fatal error: Python.h: No such file or directory include <python.h></python.h> ^~~~~~~~~~ compilation terminated.
It seems to be missing from the repo. I need to check for it on my dev machine. Within a few days, I'll upload the new one (I'll wrote new one if this one does not work) Thanks for finding this problem for me.
New version with included tool is there.
documentation update
0.5.3 release
Appreciate if you could upload the EAP decode tool. Thanks!
It seems to be missing from the repo. I need to check for it on my dev machine. Within a few days, I'll upload the new one (I'll wrote new one if this one does not work) Thanks for finding this problem for me. On Mon, Apr 12, 2021 at 11:33 PM Naseem Rahman naseemr@users.sourceforge.net wrote: For Python3 version, Is there a tool_EAP_decode.py ? Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pyprotosim/wiki/Home/ To unsubscribe from further messages, please visit...
For Python3 version, Is there a tool_EAP_decode.py ?
Old python2 code is not directly compatible with new python 3 code Supported python is clearly marked by folder name in latest release (py2, py3) For a working py3 diameter client, take a look at the source code folder https://sourceforge.net/p/pyprotosim/code-0/ci/default/tree/py3/sample/
Trying to run on python 3.6.8 and getting error. Any one tried diameter_client.py in version 3.6 > ?
eap fixes
getPacket, grouped AVPs
added radius tool
release notes
diameter sample
renaming & fixing
missing files
fixing ceap build
python3 support
Something is wrong here. Easiest way is to send me snoop+source whatever you are...
OK. Let me state clearly how I undestood your issue: You have a RADIUS client. Radius...
OK. Let me state clearly how I undestood your issue: You have a RADIUS client. Radius...
Can you please find the attached Capture at HSS_SIM, here i am uisng version pyprotosim-0.3.2...
Can you please find the attached Capture at HSS_SIM, here i am uisng version pyprotosim-0.3.2...
Something is wrong here. Easiest way is to send me snoop+source whatever you are...
Something is wrong here. Easiest way is to send me snoop+source whatever you are...
Team i am trying to use Protocal Simulator for EAP-AKA testing using wx inerface,...
Currently I'm playing with using Wireshark diameter dictionary, but there are several...
Currently I'm playing with using Wireshark diameter dictionary, but there are several...
Currently I'm playing with using Wireshark diameter dictionary, but there are several...
Directly using wireshark dictionary seems less and less a possibility. For example,...
Some thoughts about using Wireshark dictionary as suggested by Yordan Tsolov and...
Some thoughts about using Wireshark dictionary as suggested by Yordan Tsolov and...
Some thoughts about using Wireshark dictionary as suggested by Yordan Tsolov and...
One note about receiving TCP traffic (when you have multiple messages or high load)...
Fixed extra encoding + clean-up example
Fixed bug in libSMPP - additional cleanup
Fixed bug in libSMPP
Fixed calculating MAC
Merge
push RAR-T example
RAR-U example
CCR-I-U-T tests
Description test
The practical example of testing Gx functionality by using PCRF simulator on basis...
tests PGW CCR and push RAR oprations
PUSH RAR-U adapted with tests_PGW_CCR_RAR_Gx.py
PGW Client tests
push RAR-U example
tests CCR-I-U-T for PCEF
Push RAR-U
RAR-U
RAR-T example
PGW to PCRF CCR tests without RAR-U(T)
tests PGW to PCRF CCR ( no RAR-U(T))
tests PGW CCR
PCRF Gx SIMULATOR with internal SPR DB
Radius ACCT START example
Modified tests to check with PCRF SIM with inte...
Merge
radius accounting client example
Example of simple PCRF simulator
Added Rx AF support for tests
copyright info
copyright BSD added
Version 0.3.2 - Added ZeroAuthenticator for rad...
Radius accounting client example
Added explanation