UDP Port (4729) Conflict Between SIMTrace2 and pySim
1. When SIMTrace2 Sniff is Turned Off
2. When SIMTrace2 Sniff is Turned On
UDP Port (4729) Conflict Between SIMTrace2 and pySim
Hello community/admin,
I am experiencing an issue while using SIMTrace2 and pySim to sniff and analyze SIM card communication. Below are the details:
1. When SIMTrace2 Sniff is Turned Off
I run the following command:
Output:
When I check the UDP port (4729) usage:
Output:
2. When SIMTrace2 Sniff is Turned On
I run the following command:
Output:
When I check the UDP port (4729) usage:
Output:
3. When Running SIMTrace2 Sniff and pySim-trace.py Together
If I try to run both SIMTrace2 sniff and pySim-trace.py gsmtap-udp simultaneously, I get the following error from pySim:
Main Issue
- When SIMTrace2 sniff is running, it occupies UDP port 4729, preventing pySim from using the same port.
- When SIMTrace2 sniff is stopped, pySim can access UDP port 4729 but fails to decode data, showing the following errors:
- If I try to run both tools at the same time, pySim crashes with the error
[Errno 98] Address already in use
.
Request for Help
- Has anyone experienced a similar issue when running SIMTrace2 and pySim together?
- How can I avoid the port conflict and ensure both tools can run simultaneously?
- What could cause the decoding error and the warning about an empty
EF.DIR
in pySim?
Any insights or advice would be greatly appreciated. Thank you!