RRCpacketSniffer is an android application which can be used for capturing tcp udp and icmp data packets and resulting RRC state transitions, simultaneously.
The application is working implementation of the tool discussed in this research paper "Android phone based appraisal of app behavior on cell networks" (<a href="https://www.google.com/url?q=https://www.google.com/url?q%3Dhttp://dl.acm.org/citation.cfm?id%253D2593916%26sa%3DD%26usg%3DAFQjCNEmS9e85p51wm3tn8IzAV2Qj1Hs5Q&sa=D&usg=AFQjCNGBJBOgmGj19v8jUgjVusz4URaRrA" target="_blank">http://dl.acm.org/citation.cfm?id=2593916</a>)
Description
Quantifying an application’s signaling efficiency requires information about:
The data packets that were exchanged.
Corresponding RRC state transitions.
Unlike the existing applications and tools, this application neither requires any special hardware, nor retrieves RRC state in an offline manner using a simulator. The functionality of the tool is split into two parts, the Packet Sniffer and the RRC State Logger.
Packet Sniffer
The packet sniffer uses C_packetCapture a binary executable of libpcap, built using libpcap source code and Android NDK. The executable is launched in a shell with superuser privileges. The packet sniffer enables us to capture all uplink and downlink packets associated with a network interface, and stores the packet timestamp and header information corresponding to IP, UDP, TCP, and ICMP protocols, in a log.text file.
RRC State Logger
For Retrieving RRC States, we adopt a novel approach to find and record the actual RRC state of the device at any given instant. Android Secret codes are required to switch to RRC service mode. The resulting RRC state transitions with timestamp are stored in a dump.txt file on sdcard.Currently we have secret codes for limited samsung devices, though a wide variety of secret codes are available for different manufacturers.
The detailed description of calculating an application's signalling efficiency from the data collected using our app (RRCpacketSniffer) has been described in this paper "Android phone based appraisal of app behavior on cell networks".
Devices Supported
Currently the application supports all Samsung devices ranging from Galaxy S to Galaxy S5. We are working on getting support for other brand devices as well. All devices would require root permission.
License
Copyright (c), Indraprastha Institute of Information Technology Delhi
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice is mentioned and research paper is cited.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
</div> <div jsname="WJz9Hc" style="display:none">RRCpacketSniffer是一个Android应用程序,它可以用于捕捉TCP UDP和ICMP数据包并导致RRC状态转换,同时进行。
该应用程序正在执行本研究报告所讨论的工具“的Android手机基于对手机网络应用行为评估”(<a href="https://www.google.com/url?q=http://dl.acm.org/citation.cfm?id%3D2593916&sa=D&usg=AFQjCNEmS9e85p51wm3tn8IzAV2Qj1Hs5Q" target="_blank">http://dl.acm.org/citation.cfm?id=2593916</a>)
描述
量化应用程序的信令E FFI效率要求有关的信息:
被交换的数据包。
相应的RRC状态转换。
与现有的应用程序和工具,该应用程序既不需要任何特殊的硬件,也没有使用模拟器检索在O ffl第INE方式RRC状态。工具的功能被分成两部分,分组嗅探和RRC状态记录器。
数据包嗅探器
包SNI FF呃使用libpcap的C_packetCapture的二进制可执行文件,使用libpcap的源代码和Android NDK建造。可执行文件的外壳,超级用户权限启动。分组SNI FF呃使我们能够捕获与网络接口相关联的所有上行链路和下行链路分组,并且存储该分组的时间戳和头对应的IP,UDP,TCP和ICMP协议的信息,在一个log.text文件中。
RRC状态记录仪
用于检索RRC国,我们采用了一种新的方法来科幻次和在任何给定时刻记录设备的实际RRC状态。 Android的秘密代码都需要切换到RRC服务模式。所得的RRC状态转换与时间戳被存储在一个文件中dump.txt上sdcard.Currently我们有秘密代码有限三星设备,虽然各种各样的秘密代码可用于不同的制造商。
收集使用我们的应用程序(RRCpacketSniffer)在本文中“对细胞网络应用程序的行为的Android手机基于鉴定”已经描述了计算来自数据的应用程序的信令效率的详细描述。
设备支持
目前,该应用程序支持所有的三星设备,从Galaxy S的银河S5。我们正在努力让其他品牌的设备支持。所有设备都需要root权限。
许可证
版权所有(c),信息技术德里研究所的Indraprastha
许可使用,复制,修改和/或分发本软件为任何目的使用或不收费特此授予,只要提到上述版权声明,并研究论文被引用。
本软件提供的“原样”及作者声明不提供关于该软件包括对适销性和适用性的所有隐含担保。在任何情况下,作者不对任何特殊的,直接的,间接的,继发性损害或任何损害赔偿因无法使用,数据丢失或利润损失,无论是因执行合同,疏忽或其他侵权行为,所产生的或与本软件的使用或性能。</div> <div class="show-more-end">