使用 Java 或 C# 进行 SCCP 和 GSM MAP 数据包分析
我必须分析 GSM MAP 和 SCCP 数据包。 Wireshark 解码这些数据包没有任何问题,但我需要使用 Java 或 C# 执行非常类似的任务。该应用程序将从头开始编写。嗅探数据包不是问题,但是分析 IP 数据包并获取 SCCP/GSM MAP 数据(例如“imsi”号)非常复杂。
也许您知道如何以方便的方式处理它,而无需阅读大量文档?也许有一些开源软件适合这项任务(最好是开源的,Java 或 C# 作为主要语言)?
I have to analyze GSM MAP and SCCP packets.
Wireshark decodes these packets without any problems, but I would need to do very similar task using Java or C#. The application will be written from the scratch. Sniffing packets is not a problem, however analyzing IP packets and getting SCCP/ GSM MAP data (such as “imsi” number) is very complicated.
Perhaps you have an idea how to handle it in a convenient way, without reading tons of documentation? Perhaps there is some open source software suitable for this task (ideally open source, Java or C# as primary language)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Mobicents jSS7 堆栈是开源堆栈,可以帮助您解码这些数据包 https://code.google.com/ p/jss7/
Mobicents jSS7 stack is Open Source stack that can help you decode these packets https://code.google.com/p/jss7/
SCCP 相对容易解码,但您别无选择,只能了解一些规范。对于 ITU,您应该熟悉 Q.713 规范,对于 ANSI,T1.112.3(即 SCCP 格式和代码),
现在对于 GSM MAP,这就是有趣的地方。我建议您阅读一些有关抽象语法符号一 (ASN.1) 的内容。 GSM MAP 都是用这种过于灵活的符号来定义的。同样,您需要从 ITU 网站下载 GSM MAP 的所有规范和 ASN.1。为什么你说的是ASN.1?因为您会发现商业编译器会将所有 ASN.1 规范编译为 C、C++、Java 或 C#。
请看这里:ASN.1 简介
SCCP is relatively easy to decode but you will have no other choice but to put your head into some specifications. For ITU you should be alright with the specification Q.713 and for ANSI, T1.112.3 (which is the SCCP Formats and Codes)
Now for the GSM MAP this is where the fun begins. I suggest that you get some readings on the abstract syntax notation one (ASN.1). The GSM MAP is all defined with this too flexible notation. Again you'll need to download from the ITU website all the specs and ASN.1 for GSM MAP. Why the ASN.1 you say? Because you will find commercial compilers out there which will compile all the ASN.1 specifications into C, C++, Java or C#.
Take a look here: Introduction to ASN.1