NS2-MIUN

转自:http://apachepersonal.miun.se/~qinwan/resources.htm

NS2-MIUN: 

Ns-2 is a popular open source network simulator. A lot of researchers in the community of wireless sensor networks have used ns2 to verify their research results. However, ns2 is not an easy tool for the simulation of sensor networks, partially because of its high difficulty in understanding the ns2 itself, and also because their is currently lack of support for sensor network simulation.

I am using ns2 with my sensor network research, and I share my experience and source code of sensor network simulation using ns2 here. It is supposed to be helpful for those who have similar research interests as me. I modify ns-2.27 to support wireless sensor network simulation, with a specialty on intrusion detection simulation. The enhanced parts in my modified version (with a new name NS2-MIUN) are listed in the following:

  • The integration of NRL's phenomenon node, which enables the ability of simulating an environmental phenomenon.

  • The integration of AODVUU, which is a AODV routing protocol implementation that follows AODV specification better than the one included in the standard ns2 release.

  • The definition of a new packet type PT_SensorApp , which is used to simulate the type of packets used by sensor application.

  • The support of dynamic packet destination configuration. In the standard ns2 release, the <src, dst> pair is configured by statically binding an agent in the source node with an agent in the destination node in the TCL scenario file. This means a source node needs to configure multiple source agents when there are multiple potential receipents and bind each potential <src, dst> pair manually at the configuration file. This doesn't scale well in a dynamic wireless sensor network, where the destination node can vary over time. This drawback is fixed by allowing run-time <src, dst> binding. An example can be seen in the sensorapp.cc file, where a source agent can be configured to launch a DOS attack to any specified destination node during runtime.

  • The integration of an intrusion detection module. It is a module inserted between the MAC layer and the network layer that caputures all packets and impose intrusion detection analysis. Currently, this module is implemented as a trace module, by modifying cmu-trace.cc and some other related source files. Users can easily replace my code with their own intrusion detection algorithms if their algorithms are also traffic-based. The understanding of CMU Monarch project's wireless extention to ns2 is a prerequisite to understand the idea of this intrusion detection module.

  • The imitation of different attacks. The attacks implemented include wormhole, symbil/ID spoofing, DOS/DDOS, sinkhole, etc.

  • An extension of simulating multi-homed node in ns-2. An explanatory document of this extension is available here. Source files which are related to this extension are available here.

  • etc.

The compiled source file of my ns2 version (NS2-MIUN) is available here. I suppose it works directly when you download it and put it in a ns-2 suitable enviroment. If that doens't work, one may need to firstly download and install a ns-2.27 version from the ns2 website , and then replace the installed directory of ns-2.27 with mine, the compilation is however unnecessary unless there is change in my source file. Note that one must make sure all supporting softwares for ns2 have been properly installed on his/her system, and a ns-2.27 bash file is configured by running command source ./.bashrc-ns2.27 before using any ns2 command. The details of how to configure and run ns2 command and scenario file is not supposed to be explained by me. There is however a good FAQ available here.

Example TCL scenarios about how to use NS2-MIUN is available here.

I am glad to announce that I'm starting writing a readme.txt about NS2-MIUN. Although the readme.txt avaiable now is still preliminary, it will be updated according to my available time and also according to the requests. For the features that are not included in this readme.txt, the persons who are interested are recommended to mainly check the files under directory sensornets-NRL and directory trace, since most of my change are within these two directories. But files under directories like tcl, common, etc. have also be changed, it will be a tough work to find all my changes.

(I have repeated the installation process of NS2-MIUN and the details is available here.)

Last updated: 2009-04-07 (not maintained anymore)


资源下载链接为: https://pan.quark.cn/s/abbae039bf2a nw.js(原名node-webkit)是一个开源框架,基于Google的Chromium浏览器内核和Node.js环境构建。它允许开发者使用HTML、CSS和JavaScript等Web技术开发跨平台桌面应用,并提供对本地系统资源的访问能力。版本号v0.48.3表明这是该框架的一个特定稳定版本,包含特定的修复和改进。 nw.js的核心优势在于它结合了浏览器的渲染引擎和Node.js的服务器端功能,让开发者能够利用熟悉的Web开发技能来构建桌面应用。通过nw.js,开发者可以将Web应用程序打包成一个.exe文件,使其能够在Windows操作系统上独立运行,无需用户安装额外的浏览器或插件,只需双击即可启动。这种方式为用户提供了类似原生桌面应用的体验。 在nw.js项目中,通常会有一个主HTML文件作为应用的入口点,开发者可以在其中引入JavaScript代码,利用Node.js的API访问本地文件系统、硬件设备等资源。此外,nw.js还支持使用package.json文件来配置应用的元数据、启动脚本和其他设置。 描述中提到的“包含执行命令”可能是指nw.js提供的命令行参数,例如--load-url,可用于指定应用启动时加载的网页URL。这使得开发者可以通过命令行灵活地改变应用的行为,而无需硬编码在应用内部。 此外,描述中提到的“直接修改URL,运行start.bat即可生成app.exe”,表明压缩包中可能包含一个批处理文件(start.bat)。该文件通过一系列命令设置要加载的URL,并最终生成一个名为app.exe的可执行文件。这一过程可能是自动化构建的一部分,帮助开发者快速打包和部署Web应用程序。 压缩包中的文件很可能是nw.js的运行时环境以及与构建和打包Web应用相关的辅
内容概要:本文全面介绍了虚幻引擎4(UE4)的功能、应用场景、学习准备、基础操作、蓝图系统、材质与纹理、灯光与渲染等方面的内容。UE4是一款由Epic Games开发的强大游戏引擎,支持跨平台开发,广泛应用于游戏、虚拟现实、增强现实、建筑设计等领域。文章详细阐述了学习UE4前的硬件和软件准备,包括最低和推荐配置,以及Epic Games账户创建、启动器安装等步骤。接着介绍了UE4的界面组成和基本操作,如视口、内容浏览器、细节面板等。蓝图系统作为UE4的可视化脚本工具,极大降低了编程门槛,通过实例演练展示了蓝图的应用。材质与纹理部分讲解了材质编辑器的使用和纹理导入设置,灯光与渲染部分介绍了不同类型的灯光及其应用,以及后期处理和高质量图片渲染的方法。最后推荐了一些学习资源,包括官方文档、教程网站、论坛社区和书籍。 适合人群:对游戏开发感兴趣、希望学习UE4的初学者和有一定编程基础的研发人员。 使用场景及目标:①掌握UE4的基本操作和界面认知,为后续深入学习打下基础;②通过蓝图系统快速创建游戏逻辑,降低编程门槛;③学会材质与纹理的创建和设置,提升游戏画面的真实感;④掌握灯光与渲染技术,营造逼真的游戏氛围;⑤利用推荐的学习资源,加速UE4的学习进程。 阅读建议:本文内容详尽,涵盖了UE4的各个方面,建议读者按照章节顺序逐步学习,先从基础操作入手,再深入到蓝图、材质、灯光等高级功能。在学习过程中,结合实际项目进行练习,遇到问题时参考官方文档或社区论坛,不断积累经验和技能。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值