RIOT-Lab. How to use RIOT in the IoT-Lab. Oliver "Oleg" Hahm. November 7, 2014 INRIA. O. Hahm (INRIA) RIOT-Lab November 7, / 29
|
|
- Hannah Horn
- 8 years ago
- Views:
Transcription
1 RIOT-Lab How to use RIOT in the IoT-Lab Oliver "Oleg" Hahm INRIA November 7, 2014 O. Hahm (INRIA) RIOT-Lab November 7, / 29
2 Agenda 1 Start the RIOT 2 Using RIOT 3 Writing an Application for RIOT 4 Reading a Sensor 5 Join the RIOT Slides are online available at O. Hahm (INRIA) RIOT-Lab November 7, / 29
3 Start the RIOT Agenda 1 Start the RIOT 2 Using RIOT 3 Writing an Application for RIOT 4 Reading a Sensor 5 Join the RIOT O. Hahm (INRIA) RIOT-Lab November 7, / 29
4 Start the RIOT Prepare your Toolchain Recommended Build Environment For the IoT-Lab nodes we recommend to use gcc-arm-embedded toolchain. It can be found on A quick guide to install the proper toolchain can be found in the RIOT wiki: See also for particular information on RIOT on the IoT-Lab nodes. For the native port you have to install 32bit libraries. See O. Hahm (INRIA) RIOT-Lab November 7, / 29
5 Start the RIOT GitHub Obtain the Code git clone or download the zipped version: For this tutorial please clone also O. Hahm (INRIA) RIOT-Lab November 7, / 29
6 Start the RIOT Understanding RIOT The Architecture O. Hahm (INRIA) RIOT-Lab November 7, / 29
7 Start the RIOT Understanding RIOT The Folder Structure RIOT boards iot-lab_m3 core cpu cortex-m3_common stm32f1 dist doc drivers at86rf231 isl29020 examples hello-world pkg libcoap sys net network_layer sixlowpan tests O. Hahm (INRIA) RIOT-Lab November 7, / 29
8 Start the RIOT Understanding RIOT Best Practice for RIOT programming Dos Use static memory Select the priorities carefully Minimize stack usage with DEVELHELP and CREATE_STACKTEST Use threads Donts Don t use threads Don t use the POSIX wrapper if implementing something from scratch Consult the Wiki: the API documentation: O. Hahm (INRIA) RIOT-Lab November 7, / 29
9 Start the RIOT Understanding RIOT Best Practice for RIOT programming Dos Use static memory Select the priorities carefully Minimize stack usage with DEVELHELP and CREATE_STACKTEST Use threads Increase flexibility, modularity, and robustness by using IPC. Donts Don t use threads Try not to use more than one thread per module. Don t create threads for one-time tasks. Don t use the POSIX wrapper if implementing something from scratch Consult the Wiki: the API documentation: O. Hahm (INRIA) RIOT-Lab November 7, / 29
10 Using RIOT Agenda 1 Start the RIOT 2 Using RIOT 3 Writing an Application for RIOT 4 Reading a Sensor 5 Join the RIOT O. Hahm (INRIA) RIOT-Lab November 7, / 29
11 Using RIOT Working with an Example Compile and run on native Let s prepare a simple, virtual network: [ RIOT ]# cpu / native / tapsetup. sh create 2 creating tapbr0... creating tap0... creating tap1... Now we build and start the first virtual node. [ RIOT ]# cd examples / default / [ default ]# make all term Building application default for native w/ MCU native. " make " -C / home / oleg / git / RIOT / cpu / native... RIOT native board initialized. RIOT native hardware initialization complete. kernel_init (): This is RIOT! ( Version : gace8a - zoidberg ) kernel_init (): jumping into first task Welcome to RIOT! > help help Command Description reboot Reboot the node id Gets or sets the node s id. O. Hahm (INRIA) RIOT-Lab November 7, / 29
12 Using RIOT Working with an Example Setup the second Node Ok, how about a second node? Therefore, we specify the tap interface to use by (re-)using the PORT environment variable. We can use any created tap interface from the previous step. (Default is tap0.) Once the node has started, we configure its radio address. [ default ]# PORT=tap1 make term Welcome to RIOT! > addr 23 [ transceiver ] trying to set address 23 [ transceiver ] got address : 23 We do the same on the first node and configure it to address 42. O. Hahm (INRIA) RIOT-Lab November 7, / 29
13 Using RIOT Working with an Example Connecting the two Nodes It s time to send our first packet (assuming that the first node is still running and configured to address 42.): > txtsnd 42 riotlab [ transceiver ] Sending packet of length 8 to 42: riotlab [ transceiver ] Packet sent : 60 On the first node we should see something like: Got radio packet : Length : 8 Src : 23 Dst : 42 LQI : 0 RSSI : F 74 6C O. Hahm (INRIA) RIOT-Lab November 7, / 29
14 Using RIOT Working with an Example Using the same example on the real hardware Running the same example on a real node is very similar. We use the environment variable BOARD to specify the target platform and maybe PORT for the serial port. [ default ]# BOARD=iot - lab_m3 make all flash term Building application default for iot - lab_m3 w/ MCU stm32f1. " make " -C / home / oleg / git / RIOT / cpu / stm32f1... wrote bytes from file RIOT / examples / default / bin /iot - lab_m3 / default. hex in s ( KiB /s)... shutdown command invoked RIOT / dist / tools / pyterm / pyterm -p / dev / ttyusb2 -b INFO # Connect to serial port / dev / ttyusb2 Welcome to pyterm! Type / exit to exit. help INFO # > help INFO # INFO # Command Description INFO # INFO # reboot Reboot the node INFO # id Gets or sets the node s id. O. Hahm (INRIA) RIOT-Lab November 7, / 29
15 Using RIOT Working with an Example...and on the Testbed Call just BOARD=iot-lab_M3 make all to build the binary (elf and hex are built). Flash the nodes like usual (using the IoT-Lab web interface). If you want use it somewhat more comfortable than using netcat, you can use the same tool which is used for a locally connected node: pyterm. You can find it in dist/tools/pyterm. For example, run pyterm -ts m3-7:20000 on grenoble.iot-lab.info. O. Hahm (INRIA) RIOT-Lab November 7, / 29
16 Using RIOT Using a Custom Application The Shell in a Nutshell For this step we will use sixlowapp application from You can configure RIOT to provide you with some default system shell commands. All available shell commands and some online help are shown by calling help: > help help Command Description nc RIOT netcat - arbitrary UDP connections and listens ping Send an ICMPv6 echo request to another node reboot Reboot the node id Gets or sets the node s id. ps Prints information about running threads. addr Gets or sets the address for the transceiver eui64 Gets or sets the EUI -64 for the transceiver chan Gets or sets the channel for the transceiver txtsnd Sends a text message to a given node via the transceiver pan Gets or sets the pan id for the transceiver monitor Enables or disables address checking for the transceiver ifconfig Configures a network interface The selection of commands depends on the configuration of your application (and may vary a little bit for different platforms). O. Hahm (INRIA) RIOT-Lab November 7, / 29
17 Using RIOT Using a Custom Application Let s communicate The sixlowapp application provides you with two custom (application defined) shell commands: 1 ping: The famous ICMP diagnosis tool. 2 nc: A very basic variation of netcat for arbitrary UDP connections. After we flashed two nodes, we ll have to find out their IPv6 addresses using ifconfig: > ifconfig INFO # INFO # Iface 0 HWaddr : 0xa86c Channel : 11 PAN ID: 0x0001 INFO # EUI -64: 4d -5e-fd -8e -47-3c -5f -80 INFO # Source address mode : short INFO # Transceivers : INFO # * at86rf231 INFO # inet6 addr : fe80 :: ff: fe00 : a86c /128 scope : local INFO # inet6 addr : ff02 ::1: ff00 : a86c /128 scope : local [ multicast ] INFO # inet6 addr : ff02 ::1/128 scope : local [ multicast ] INFO # Now we can try to ping the other node: > ping fe80 :: ff: fe00 : f01e INFO # ping fe80 :: ff: fe00 : f01e INFO # Echo reply from fe80 :: ff: fe00 : f01e received, rtt : s O. Hahm (INRIA) RIOT-Lab November 7, / 29
18 Using RIOT Using a Custom Application Virtualize your Network If you run this example in native, you can also monitor the traffic with Wireshark. The dissector can be found in dist/tools/wireshark_dissector. There s a python framework to setup arbitrary topologies using defined loss-rates: O. Hahm (INRIA) RIOT-Lab November 7, / 29
19 Writing an Application for RIOT Agenda 1 Start the RIOT 2 Using RIOT 3 Writing an Application for RIOT 4 Reading a Sensor 5 Join the RIOT O. Hahm (INRIA) RIOT-Lab November 7, / 29
20 Writing an Application for RIOT Setting up the Application The Makefile To create your own RIOT example, you need only two files: 1 A C (or C++) file with a main function 2 A Makefile You can find a template for a Makefile in dist/makefile. # Giving your application a name APPLICATION = riotlab1 # Choosing a default platform BOARD?= native # Specifying the RIOT folder RIOTBASE?= $( CURDIR ) /../../ RIOT # Some helpful compiler flags CFLAGS += - DSCHEDSTATISTICS - DDEVELHELP # Quieten the building process QUIET?= 1 # Modules to include : USEMODULE += posix USEMODULE += vtimer # Let RIOT s build system take care of the rest include $( RIOTBASE )/ Makefile. include O. Hahm (INRIA) RIOT-Lab November 7, / 29
21 Writing an Application for RIOT Setting up the Application The main() Function The only mandatory thing in your application is a main function with this prototype: int main(void) Standard C libraries can be used and parts of POSIX are ble through a wrapper within RIOT. # include <stdio.h> # include <unistd.h> # define WAIT_USEC (1000 * 1000) int main ( void ) { puts (" Hello!"); usleep ( WAIT_USEC ); puts (" Good night!"); } return 0; O. Hahm (INRIA) RIOT-Lab November 7, / 29
22 Writing an Application for RIOT Setting up the Application Doing it the RIOT way Instead of POSIX functions is usually advisable (and more efficient) to just use the native RIOT functions: # include <stdio.h> # include " vtimer.h" int main ( void ) { puts (" Let s throw a brick!"); vtimer_usleep ( SEC_IN_USEC ); puts (" System terminated "); } return 0; O. Hahm (INRIA) RIOT-Lab November 7, / 29
23 Writing an Application for RIOT Some helpful Features Starting the Shell # include " posix_io.h" # include " shell.h" # include " shell_commands.h" # include " board_uart0.h"... const shell_command_t shell_commands [] = { {" ping ", " Send an ICMPv6 echo request to another node ", sixlowapp_send_ping }, { NULL, NULL, NULL } };... /* Open the UART0 for the shell */ posix_open ( uart0_handler_pid, 0); /* initialize the shell */ shell_t shell ; shell_init (& shell, shell_commands, UART0_BUFSIZE, uart0_readc, uart0_putc ); /* start the shell loop */ shell_run (& shell ); O. Hahm (INRIA) RIOT-Lab November 7, / 29
24 Writing an Application for RIOT Some helpful Features...and 6LoWPAN kernel_pid_t monitor_pid = thread_create ( monitor_stack_buffer, sizeof ( monitor_stack_buffer ), PRIORITY_MAIN - 2, CREATE_STACKTEST, sixlowapp_monitor, NULL, " monitor "); ipv6_register_packet_handler ( monitor_pid );... while (1) { msg_receive (& m); if (m. type == IPV6_PACKET_RECEIVED ) { ipv6_buf = ( ipv6_hdr_t *) m. content. ptr ; if ( ipv6_buf -> nextheader == IPV6_PROTO_NUM_ICMPV6 ) { icmpv6_hdr_t * icmpv6_buf = ( icmpv6_hdr_t *) &(( uint8_t *) ipv6_buf )[( IPV6_HDR_LEN )]; if ( icmpv6_buf ->type == ICMPV6_TYPE_ECHO_REPLY ) { if ( _waiting_for_pong ) { msg_t m; m. type = ICMP_ECHO_REPLY_RCVD ; _waiting_for_pong = 0; msg_send (&m, _waiter_pid, false ); } } } } } O. Hahm (INRIA) RIOT-Lab November 7, / 29
25 Writing an Application for RIOT Up to the Transport Layer Starting a UDP Server sock = socket_base_socket ( PF_INET6, SOCK_DGRAM, IPPROTO_UDP ); memset (&sa, 0, sizeof (sa)); sa. sin6_family = AF_INET ; sa. sin6_port = HTONS ( sixlowapp_netcat_listen_port ); if ( -1 == socket_base_bind ( sock, &sa, sizeof ( sa))) { printf (" Error bind failed!\ n"); socket_base_close ( sock ); sixlowapp_netcat_listen_port = 0; continue ; } printf (" Listening for incoming UDP connection at port %" PRIu16 "\n", sixlowapp_netcat_listen_port ); int32_t recsize = socket_base_recvfrom ( sock, ( void *) buffer_main, UDP_BUFFER_SIZE, 0, &sa, & fromlen ); if ( recsize < 0) { printf (" ERROR : recsize < 0!\ n"); } printf (" UDP packet received, payload : %s\n", buffer_main ); socket_base_close ( sock ); O. Hahm (INRIA) RIOT-Lab November 7, / 29
26 Reading a Sensor Agenda 1 Start the RIOT 2 Using RIOT 3 Writing an Application for RIOT 4 Reading a Sensor 5 Join the RIOT O. Hahm (INRIA) RIOT-Lab November 7, / 29
27 Reading a Sensor Get your Hands dirty Now it s up to you Your task is now to extend the sixlowapp example. Check the documentation for the sensor API, e.g. for the light sensor: driver isl29020.html Initialize all four sensors in the beginning of the application. Extend the netcat command to send optionally measured sensor data. Print the measurements on the receiving side. O. Hahm (INRIA) RIOT-Lab November 7, / 29
28 Join the RIOT Agenda 1 Start the RIOT 2 Using RIOT 3 Writing an Application for RIOT 4 Reading a Sensor 5 Join the RIOT O. Hahm (INRIA) RIOT-Lab November 7, / 29
29 Join the RIOT Getting Support Where to get help Mailing Lists IRC on irc.freenode.org, #riot-os Regular video conferencing meetings O. Hahm (INRIA) RIOT-Lab November 7, / 29
30 The Last Slide Q&A Thank you! Any questions? O. Hahm (INRIA) RIOT-Lab November 7, / 29
Host Configuration (Linux)
: Location Date Host Configuration (Linux) Trainer Name Laboratory Exercise: Host Configuration (Linux) Objectives In this laboratory exercise you will complete the following tasks: Check for IPv6 support
More informationMeshBee Open Source ZigBee RF Module CookBook
MeshBee Open Source ZigBee RF Module CookBook 2014 Seeed Technology Inc. www.seeedstudio.com 1 Doc Version Date Author Remark v0.1 2014/05/07 Created 2 Table of contents Table of contents Chapter 1: Getting
More informationThe BSN Hardware and Software Platform: Enabling Easy Development of Body Sensor Network Applications
The BSN Hardware and Software Platform: Enabling Easy Development of Body Sensor Network Applications Joshua Ellul jellul@imperial.ac.uk Overview Brief introduction to Body Sensor Networks BSN Hardware
More informationAPPLICATION NOTE. AVR2130: Lightweight Mesh Developer Guide. Atmel MCU Wireless. Features. Description
APPLICATION NOTE AVR2130: Lightweight Mesh Developer Guide Atmel MCU Wireless Features Atmel Lightweight Mesh stack specification and APIs Lightweight Mesh Software Development Kit (SDK) Description This
More informationVM-Series Firewall Deployment Tech Note PAN-OS 5.0
VM-Series Firewall Deployment Tech Note PAN-OS 5.0 Revision A 2012, Palo Alto Networks, Inc. www.paloaltonetworks.com Contents Overview... 3 Supported Topologies... 3 Prerequisites... 4 Licensing... 5
More informationIntroducing the Adafruit Bluefruit LE Sniffer
Introducing the Adafruit Bluefruit LE Sniffer Created by Kevin Townsend Last updated on 2015-06-25 08:40:07 AM EDT Guide Contents Guide Contents Introduction FTDI Driver Requirements Using the Sniffer
More informationUsing the Contiki Cooja Simulator
Using the Contiki Cooja Simulator Anuj Sehgal Computer Science, Jacobs University Bremen Campus Ring 1, 28759 Bremen, Germany s.anuj@jacobs-university.de Abstract Setting up large networks on physical
More informationVoIP Laboratory B How to re flash an IP04
VoIP Laboratory B How to re flash an IP04 (cc) Creative Commons Share Alike Non Commercial Attribution 3 This lab guides you through the process of re flashing an IP04. To re flash a unit is useful when
More informationPacket Sniffing and Spoofing Lab
SEED Labs Packet Sniffing and Spoofing Lab 1 Packet Sniffing and Spoofing Lab Copyright c 2014 Wenliang Du, Syracuse University. The development of this document is/was funded by the following grants from
More informationHardware Prerequisites Atmel SAM W25 Xplained Pro Evaluation Kit Atmel IO1 extension Micro-USB Cable (Micro-A / Micro-B)
USER GUIDE Software Programming Guide for SAM W25 Xplained Pro Atmel SmartConnect Prerequisites Hardware Prerequisites Atmel SAM W25 Xplained Pro Evaluation Kit Atmel IO1 extension Micro-USB Cable (Micro-A
More informationAndroid: How To. Thanks. Aman Nijhawan
Android: How To. This is just a collection of useful information and tricks that I used during the time I was developing on the android ADP1. In some cases the information might be a little old and new
More informationLab 4: Socket Programming: netcat part
Lab 4: Socket Programming: netcat part Overview The goal of this lab is to familiarize yourself with application level programming with sockets, specifically stream or TCP sockets, by implementing a client/server
More informationAT12181: ATWINC1500 Wi-Fi Network Controller - AP Provision Mode. Introduction. Features. Atmel SmartConnect APPLICATION NOTE
Atmel SmartConnect AT12181: ATWINC1500 Wi-Fi Network Controller - AP Provision Mode APPLICATION NOTE Introduction This application note explains how to build the state-of-art Internet of Things (IoT) applications
More informationAtmel ATSAM3X8E microcontroller Atmel AT86RF231 2.4GHz radio transceiver Atmel proprietary Lightweight Mesh software stack 10/100Mbps Ethernet
APPLICATION NOTE Atmel AT02744: Lightweight Mesh to Ethernet Gateway with SAM3X - Software User s Guide Features Atmel 32-bit Microcontroller Atmel ATSAM3X8E microcontroller Atmel AT86RF231 2.4GHz radio
More informationNetwork Security. Chapter 3. Cornelius Diekmann. Version: October 21, 2015. Lehrstuhl für Netzarchitekturen und Netzdienste Institut für Informatik
Network Security Chapter 3 Cornelius Diekmann Lehrstuhl für Netzarchitekturen und Netzdienste Institut für Informatik Version: October 21, 2015 IN2101, WS 15/16, Network Security 1 Security Policies and
More informationQ N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v 6. 4. 10 Steps to Developing a QNX Program Quickstart Guide
Q N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v 6. 4 10 Steps to Developing a QNX Program Quickstart Guide 2008, QNX Software Systems GmbH & Co. KG. A Harman International Company. All rights
More informationAPPLICATION NOTE. Atmel AT02607: Wireless Product Development Using Atmel Studio and ASF. Atmel MCU Wireless. Description.
APPLICATION NOTE Atmel AT02607: Wireless Product Development Using Atmel Studio and ASF Description Atmel MCU Wireless This application note introduces the users on how to develop products using Atmel
More informationRecent advances in IPv6 insecurities Marc van Hauser Heuse Deepsec 2010, Vienna. 2010 Marc Heuse <mh@mh-sec.de>
Recent advances in IPv6 insecurities Marc van Hauser Heuse Deepsec 2010, Vienna 2010 Marc Heuse Hello, my name is The future is here already Let s start with the basics IPv4 4 octets 4.294.967.296
More informationNetwork Diagnostic Tools. Jijesh Kalliyat Sr.Technical Account Manager, Red Hat 15th Nov 2014
Network Diagnostic Tools Jijesh Kalliyat Sr.Technical Account Manager, Red Hat 15th Nov 2014 Agenda Network Diagnostic Tools Linux Tcpdump Wireshark Tcpdump Analysis Sources of Network Issues If a system
More informationWireless Communication With Arduino
Wireless Communication With Arduino Using the RN-XV to communicate over WiFi Seth Hardy shardy@asymptotic.ca Last Updated: Nov 2012 Overview Radio: Roving Networks RN-XV XBee replacement : fits in the
More informationLast Class: OS and Computer Architecture. Last Class: OS and Computer Architecture
Last Class: OS and Computer Architecture System bus Network card CPU, memory, I/O devices, network card, system bus Lecture 3, page 1 Last Class: OS and Computer Architecture OS Service Protection Interrupts
More informationClient-server Sockets
Client-server Sockets 1 How to Write a Network Based Program (Using Microchip's TCP/IP Stack) A network based program that uses the Client-server architecture must create at least two separate programs,
More informationPorting applications & DNS issues. socket interface extensions for IPv6. Eva M. Castro. ecastro@dit.upm.es. dit. Porting applications & DNS issues UPM
socket interface extensions for IPv6 Eva M. Castro ecastro@.upm.es Contents * Introduction * Porting IPv4 applications to IPv6, using socket interface extensions to IPv6. Data structures Conversion functions
More informationIPv6.marceln.org. marcel.nijenhof@proxy.nl
IPv6.marceln.org marcel.nijenhof@proxy.nl RFC 1606 RFC 1606 A Historical Perspective On The Usage Of IP Version 9 1 April 1994, J. Onions Introduction The take-up of the network protocol TCP/IPv9 has been
More information6LoWPAN: An Open IoT Networking Protocol
6LoWPAN: An Open IoT Networking Protocol OpenIoT Summit 2016 San Diego Stefan Schmidt stefan@osg.samsung.com 1 6LoWPAN: An Open IoT Networking Protocol Open: Specified by the IETF Specifications available
More informationSocket Programming. Kameswari Chebrolu Dept. of Electrical Engineering, IIT Kanpur
Socket Programming Kameswari Chebrolu Dept. of Electrical Engineering, IIT Kanpur Background Demultiplexing Convert host-to-host packet delivery service into a process-to-process communication channel
More information10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition
10 STEPS TO YOUR FIRST QNX PROGRAM QUICKSTART GUIDE Second Edition QNX QUICKSTART GUIDE A guide to help you install and configure the QNX Momentics tools and the QNX Neutrino operating system, so you can
More informationApplication Note: AN00141 xcore-xa - Application Development
Application Note: AN00141 xcore-xa - Application Development This application note shows how to create a simple example which targets the XMOS xcore-xa device and demonstrates how to build and run this
More informationAN655 R ANGE TEST APPLICATION FOR EZRADIO AND EZRADIOPRO. 1. Introduction. 2. Supported Radio Types
R ANGE TEST APPLICATION FOR EZRADIO AND EZRADIOPRO 1. Introduction The range evaluation demo provides an easy way to evaluate the link budget of EZRadio and EZRadioPRO devices by performing a range test
More informationTREK GETTING STARTED GUIDE
TREK GETTING STARTED GUIDE February 2015 Approved for Public Release; Distribution is Unlimited. TABLE OF CONTENTS PARAGRAPH PAGE 1 Welcome... 2 1.1 About TReK... 2 1.2 About this Guide... 2 1.3 Important
More informationProject 4: IP over DNS Due: 11:59 PM, Dec 14, 2015
CS168 Computer Networks Jannotti Project 4: IP over DNS Due: 11:59 PM, Dec 14, 2015 Contents 1 Introduction 1 2 Components 1 2.1 Creating the tunnel..................................... 2 2.2 Using the
More informationApplication Note: AN00121 Using XMOS TCP/IP Library for UDP-based Networking
Application Note: AN00121 Using XMOS TCP/IP Library for UDP-based Networking This application note demonstrates the use of XMOS TCP/IP stack on an XMOS multicore micro controller to communicate on an ethernet-based
More informationData Transfer between Serial Link and TCP/IP Link Using ez80f91 MCU
Application Note Data Transfer between Serial Link and TCP/IP Link Using ez80f91 MCU AN021904 0808 Abstract This application note describes Zilog s ez80 - based Serial-to-TCP and TCP-to-Serial communicator
More informationSwitching between DHCP and Static IP address Acquisition in NET+OS
Switching between DHCP and Static IP address Acquisition in NET+OS 1 Document History Date Version Change Description 2/20/2014 V1 Initial Entry 2/26/2014 V1.1 Continued entry 2/27/2014 V1.2 Continued
More informationFormat string exploitation on windows Using Immunity Debugger / Python. By Abysssec Inc WwW.Abysssec.Com
Format string exploitation on windows Using Immunity Debugger / Python By Abysssec Inc WwW.Abysssec.Com For real beneficiary this post you should have few assembly knowledge and you should know about classic
More informationSocket Programming in C/C++
September 24, 2004 Contact Info Mani Radhakrishnan Office 4224 SEL email mradhakr @ cs. uic. edu Office Hours Tuesday 1-4 PM Introduction Sockets are a protocol independent method of creating a connection
More informationSocket Programming. Request. Reply. Figure 1. Client-Server paradigm
Socket Programming 1. Introduction In the classic client-server model, the client sends out requests to the server, and the server does some processing with the request(s) received, and returns a reply
More informationUnix System Administration
Unix System Administration Chris Schenk Lecture 08 Tuesday Feb 13 CSCI 4113, Spring 2007 ARP Review Host A 128.138.202.50 00:0B:DB:A6:76:18 Host B 128.138.202.53 00:11:43:70:45:81 Switch Host C 128.138.202.71
More informationSample Configuration Using the ip nat outside source static
Sample Configuration Using the ip nat outside source static Table of Contents Sample Configuration Using the ip nat outside source static Command...1 Introduction...1 Before You Begin...1 Conventions...1
More informationChannel Access Client Programming. Andrew Johnson Computer Scientist, AES-SSG
Channel Access Client Programming Andrew Johnson Computer Scientist, AES-SSG Channel Access The main programming interface for writing Channel Access clients is the library that comes with EPICS base Written
More informationZigBee Technology Overview
ZigBee Technology Overview Presented by Silicon Laboratories Shaoxian Luo 1 EM351 & EM357 introduction EM358x Family introduction 2 EM351 & EM357 3 Ember ZigBee Platform Complete, ready for certification
More informationTCP Labs. WACREN Network Monitoring and Measurement Workshop Antoine Delvaux a.delvaux@man.poznan.pl perfsonar developer 30.09.
TCP Labs WACREN Network Monitoring and Measurement Workshop Antoine Delvaux a.delvaux@man.poznan.pl perfsonar developer 30.09.2015 Hands-on session We ll explore practical aspects of TCP Checking the effect
More informationInterfacing an HTML Form to the ez80f91 MCU
Application Note Interfacing an HTML Form to the ez80f91 MCU AN020803-0708 Abstract This application note demonstrates how to use Zilog s ez80f91 microcontroller unit (MCU) as a web server to send electronic
More informationLAB THREE STATIC ROUTING
LAB THREE STATIC ROUTING In this lab you will work with four different network topologies. The topology for Parts 1-4 is shown in Figure 3.1. These parts address router configuration on Linux PCs and a
More informationOpenDaylight & PacketFence install guide. for PacketFence version 4.5.0
OpenDaylight & PacketFence install guide for PacketFence version 4.5.0 OpenDaylight & PacketFence install guide by Inverse Inc. Version 4.5.0 - Oct 2014 Copyright 2014 Inverse inc. Permission is granted
More informationQuick Note 53. Ethernet to W-WAN failover with logical Ethernet interface.
Quick Note 53 Ethernet to W-WAN failover with logical Ethernet interface. Digi Support August 2015 1 Contents 1 Introduction... 2 1.1 Introduction... 2 1.2 Assumptions... 3 1.3 Corrections... 3 2 Version...
More informationTREK GETTING STARTED GUIDE
TREK GETTING STARTED GUIDE September 2014 Approved for Public Release; Distribution is Unlimited. TABLE OF CONTENTS PARAGRAPH PAGE 1 Welcome... 2 1.1 About TReK... 2 1.2 About this Guide... 2 1.3 Important
More informationIntroduction. Created by Richard Bell 10/29/2014
Introduction GNU Radio is open source software that provides built in modules for standard tasks of a wireless communications system. Within the GNU Radio framework is gnuradio-companion, which is a GUI
More informationELEN 602: Computer Communications and Networking. Socket Programming Basics
1 ELEN 602: Computer Communications and Networking Socket Programming Basics A. Introduction In the classic client-server model, the client sends out requests to the server, and the server does some processing
More informationFuture Technology Devices International Ltd. Mac OS X Installation Guide
Future Technology Devices International Ltd. Mac OS X Installation Guide I Mac OS X Installation Guide Table of Contents Part I Welcome to the Mac OS X Installation Guide 2 Part II VCP Drivers 3 1 Installing
More informationnetkit lab MPLS VPNs with overlapping address spaces 1.0 S.Filippi, L.Ricci, F.Antonini Version Author(s)
netkit lab MPLS VPNs with overlapping address spaces Version Author(s) 1.0 S.Filippi, L.Ricci, F.Antonini E-mail Web Description silvia.filippi@kaskonetworks.it http://www.kaksonetworks.it/ A lab showing
More informationNS3 Lab 1 TCP/IP Network Programming in C
NS3 Lab 1 TCP/IP Network Programming in C Dr Colin Perkins School of Computing Science University of Glasgow http://csperkins.org/teaching/ns3/ 13/14 January 2015 Introduction The laboratory exercises
More informationUG129: ZigBee USB Virtual Gateway Reference Design (RD-0002-0201) User's Guide
UG129: ZigBee USB Virtual Gateway Reference Design (RD-0002-0201) User's Guide The ZigBee USB Virtual Gateway Reference Design (RD-0002-0201) is designed to demonstrate ZigBee gateway functionality with
More informationUM0586 User manual. STM32 Cryptographic Library. Introduction
User manual STM32 Cryptographic Library Introduction This manual describes the API of the STM32 cryptographic library (STM32-CRYP-LIB) that supports the following cryptographic algorithms: AES-128, AES-192,
More informationIntroduction to Socket Programming Part I : TCP Clients, Servers; Host information
Introduction to Socket Programming Part I : TCP Clients, Servers; Host information Keywords: sockets, client-server, network programming-socket functions, OSI layering, byte-ordering Outline: 1.) Introduction
More informationIPMI Firmware Update (AMI) In WEB-GUI/DOS/WIN/Linux
IPMI Firmware Update (AMI) In WEB-GUI/DOS/WIN/Linux Firmware Updates in WEB-GUI: 1.1 Click < Update Firmware > under Maintenance 1.2 Click to enter the update mode. A warning message
More informationwww.mindteck.com 6LoWPAN Technical Overview
www.mindteck.com 6LoWPAN Technical Overview 6LoWPAN : Slide Index Introduction Acronyms Stack Architecture Stack Layers Applications IETF documents References Confidential Mindteck 2009 2 6LoWPAN - Introduction
More informationTCP/IP - Socket Programming
TCP/IP - Socket Programming jrb@socket.to.me Jim Binkley 1 sockets - overview sockets simple client - server model look at tcpclient/tcpserver.c look at udpclient/udpserver.c tcp/udp contrasts normal master/slave
More informationLab Exercise Configure the PIX Firewall and a Cisco Router
Lab Exercise Configure the PIX Firewall and a Cisco Router Scenario Having worked at Isis Network Consulting for two years now as an entry-level analyst, it has been your hope to move up the corporate
More informationSilabs Ember Development Tools
Silabs Ember Development Tools Presented by Silicon Laboratories Shaoxian Luo 1 Development Tools Desktop Network Analyzer Debug Adapter Packet Trace Port Desktop Network Analyzer provides a macroscopic
More informationML310 VxWorks QuickStart Tutorial. Note: Screen shots in this acrobat file appear best when Acrobat Magnification is set to 133.3%
ML30 VxWorks QuickStart Tutorial Note: Screen shots in this acrobat file appear best when Acrobat Magnification is set to 33.3% Overview Setup Boot ROM with VxWorks Hardware and Software ACE file Target
More informationDepartment of Engineering Science. Understanding FTP
Understanding FTP A. Objectives 1. Practice with ftp servers and learn how o measure network throughput 2. Learn about basic Python Network Programing B. Time of Completion This laboratory activity is
More informationThe Advanced JTAG Bridge. Nathan Yawn nathan.yawn@opencores.org 05/12/09
The Advanced JTAG Bridge Nathan Yawn nathan.yawn@opencores.org 05/12/09 Copyright (C) 2008-2009 Nathan Yawn Permission is granted to copy, distribute and/or modify this document under the terms of the
More informationQualNet 4.5 Network Emulation Interface Model Library
QualNet 4.5 Network Emulation Interface Model Library February 2008 Scalable Network Technologies, Inc. 6701 Center Drive West, Suite 520 Los Angeles, CA 90045 Phone: 310-338-3318 Fax: 310-338-7213 http://www.scalable-networks.com
More informationIOTIVITY AND EMBEDDED LINUX SUPPORT. Kishen Maloor Intel Open Source Technology Center
IOTIVITY AND EMBEDDED LINUX SUPPORT Kishen Maloor Intel Open Source Technology Center Outline Brief introduction to IoTivity Software development challenges in embedded Yocto Project and how it addresses
More informationNetwork Licensing. White Paper 0-15Apr014ks(WP02_Network) Network Licensing with the CRYPTO-BOX. White Paper
WP2 Subject: with the CRYPTO-BOX Version: Smarx OS PPK 5.90 and higher 0-15Apr014ks(WP02_Network).odt Last Update: 28 April 2014 Target Operating Systems: Windows 8/7/Vista (32 & 64 bit), XP, Linux, OS
More informationFortiOS Handbook - Load Balancing VERSION 5.2.2
FortiOS Handbook - Load Balancing VERSION 5.2.2 FORTINET DOCUMENT LIBRARY http://docs.fortinet.com FORTINET VIDEO GUIDE http://video.fortinet.com FORTINET BLOG https://blog.fortinet.com CUSTOMER SERVICE
More informationSession NM059. TCP/IP Programming on VMS. Geoff Bryant Process Software
Session NM059 TCP/IP Programming on VMS Geoff Bryant Process Software Course Roadmap Slide 160 NM055 (11:00-12:00) Important Terms and Concepts TCP/IP and Client/Server Model Sockets and TLI Client/Server
More informationExample of Standard API
16 Example of Standard API System Call Implementation Typically, a number associated with each system call System call interface maintains a table indexed according to these numbers The system call interface
More informationInstalling Java (Windows) and Writing your First Program
Appendix Installing Java (Windows) and Writing your First Program We will be running Java from the command line and writing Java code in Notepad++ (or similar). The first step is to ensure you have installed
More informationBuilding a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home
Building a Basic Communication Network using XBee DigiMesh Jennifer Byford April 5, 2013 Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home Abstract: Using Digi International s in-house
More informationCIRA s experience in deploying IPv6
CIRA s experience in deploying IPv6 Canadian Internet Registration Authority (CIRA) Jacques Latour Director, Information Technology Ottawa, April 29, 2011 1 About CIRA The Registry that operates the Country
More information1.0 Basic Principles of TCP/IP Network Communications
Section 1 Basic Principles of TCP/IP Network Communications Section 2 Introduction to Doors NetXtreme Section 3 Common Connection Issues Section 4 Common Causes Section 5 Tools Section 6 Contact Keri Systems
More informationHow To Set Up A Network Map In Linux On A Ubuntu 2.5 (Amd64) On A Raspberry Mobi) On An Ubuntu 3.5.2 (Amd66) On Ubuntu 4.5 On A Windows Box
CSC-NETLAB Packet filtering with Iptables Group Nr Name1 Name2 Name3 Date Instructor s Signature Table of Contents 1 Goals...2 2 Introduction...3 3 Getting started...3 4 Connecting to the virtual hosts...3
More informationMultifaceted Approach to Understanding the Botnet Phenomenon
Multifaceted Approach to Understanding the Botnet Phenomenon Christos P. Margiolas University of Crete A brief presentation for the paper: Multifaceted Approach to Understanding the Botnet Phenomenon Basic
More informationConfiguring NetFlow. Information About NetFlow. Send document comments to nexus1k-docfeedback@cisco.com. CHAPTER
CHAPTER 11 Use this chapter to configure NetFlow to characterize IP traffic based on its source, destination, timing, and application information, to assess network availability and performance. This chapter
More informationMonitoring Software using Sun Spots. Corey Andalora February 19, 2008
Monitoring Software using Sun Spots Corey Andalora February 19, 2008 Abstract Sun has developed small devices named Spots designed to provide developers familiar with the Java programming language a platform
More information4m. MONITORING OF ETHERNET/IP NETWORK TRAFFIC.
4m. MONITORING OF ETHERNET/IP NETWORK TRAFFIC. Wireshark (see Section 6) is a network packet analyser. It is used to: troubleshoot network problems, examine security problems, debug protocol implementations,
More informationSoftware Defined Networking (SDN) - Open Flow
Software Defined Networking (SDN) - Open Flow Introduction Current Internet: egalitarian routing/delivery based on destination address, best effort. Future Internet: criteria based traffic management,
More informationEfficient Video Distribution Networks with.multicast: IGMP Querier and PIM-DM
Efficient Video Distribution Networks with.multicast: IGMP Querier and PIM-DM A Dell technical white paper Version 1.1 Victor Teeter Network Solutions Engineer This document is for informational purposes
More informationInterconnecting IPv6 Domains Using Tunnels
Interconnecting Domains Using Tunnels Version History Version Number Date Notes 1 30 July 2002 This document was created. 2 19 May 2003 Updated the related documents section. This document describes how
More informationNetwork Interface Failover using FONA
Network Interface Failover using FONA Created by Adam Kohring Last updated on 2014-10-20 12:30:12 PM EDT Guide Contents Guide Contents Overview Prerequisites Wiring Raspberry Pi to Fona ifacefailover Service
More informationNetworks class CS144 Introduction to Computer Networking Goal: Teach the concepts underlying networks Prerequisites:
CS144 Introduction to Computer Networking Instructors: Philip Levis and David Mazières CAs: Juan Batiz-Benet, Behram Mistree, Hariny Murli, Matt Sparks, and Tony Wu Section Leader: Aki Kobashi cs144-staff@scs.stanford.edu
More informationIntroduction to Socket programming using C
Introduction to Socket programming using C Goal: learn how to build client/server application that communicate using sockets Vinay Narasimhamurthy S0677790@sms.ed.ac.uk CLIENT SERVER MODEL Sockets are
More information1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router
1 Basic Configuration of Cisco 2600 Router Basic Configuration Cisco 2600 Router I decided to incorporate the Cisco 2600 into my previously designed network. This would give me two seperate broadcast domains
More informationHow To Port A Program To Dynamic C (C) (C-Based) (Program) (For A Non Portable Program) (Un Portable) (Permanent) (Non Portable) C-Based (Programs) (Powerpoint)
TN203 Porting a Program to Dynamic C Introduction Dynamic C has a number of improvements and differences compared to many other C compiler systems. This application note gives instructions and suggestions
More informationEXPLORING LINUX KERNEL: THE EASY WAY!
EXPLORING LINUX KERNEL: THE EASY WAY! By: Ahmed Bilal Numan 1 PROBLEM Explore linux kernel TCP/IP stack Solution Try to understand relative kernel code Available text Run kernel in virtualized environment
More informationInternet of Things based approach to Agriculture Monitoring
Internet of Things based approach to Agriculture Monitoring A. Paventhan ERNET India Regional Centre, Bangalore Asia-Pacific Advanced Network (APAN) 36th Meeting 20th August 2013 1 / 19 Outline 1 IP-based
More informationSocket Programming. Srinidhi Varadarajan
Socket Programming Srinidhi Varadarajan Client-server paradigm Client: initiates contact with server ( speaks first ) typically requests service from server, for Web, client is implemented in browser;
More informationGuide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP
Guide to Network Defense and Countermeasures Third Edition Chapter 2 TCP/IP Objectives Explain the fundamentals of TCP/IP networking Describe IPv4 packet structure and explain packet fragmentation Describe
More informationOperating Systems Design 16. Networking: Sockets
Operating Systems Design 16. Networking: Sockets Paul Krzyzanowski pxk@cs.rutgers.edu 1 Sockets IP lets us send data between machines TCP & UDP are transport layer protocols Contain port number to identify
More informationHow to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.
1 How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers. Back to Basics Series By Steve Smith, MVP SharePoint Server,
More informationIP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP
CSCE 515: Computer Network Programming TCP/IP IP Network Layer Wenyuan Xu Department of Computer Science and Engineering University of South Carolina IP Datagrams IP is the network layer packet delivery
More informationFreescale Semiconductor, I
nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development
More informationSet Up a VM-Series Firewall on an ESXi Server
Set Up a VM-Series Firewall on an ESXi Server Palo Alto Networks VM-Series Deployment Guide PAN-OS 6.0 Contact Information Corporate Headquarters: Palo Alto Networks 4401 Great America Parkway Santa Clara,
More informationOpenWIPS-ng A modular and Open source WIPS. Thomas d Otreppe, Author of Aircrack-ng
OpenWIPS-ng A modular and Open source WIPS Thomas d Otreppe, Author of Aircrack-ng 1 Agenda What is OpenWIPS-ng? Origin Architecture Internal design Release plan Demo ~# whoami Author of Aircrack-ng and
More informationAculab digital network access cards
Aculab digital network access cards Adding and Using IPv6 Capabilities Guide Revision 1.0.2 PROPRIETARY INFORMATION Aculab Plc makes every effort to ensure that the information in this document is correct
More informationAC500. Software Description. Scalable PLC for Individual Automation. Installation of the AC500 Control Builder PS501
Software Description AC500 Scalable PLC for Individual Automation Installation of the AC500 Control Builder PS501 CM572 PM581 DC532 AX522 Contents Installation of the AC500 Control Builder 1 Contents
More informationCREW - FP7 - GA No. 258301. Cognitive Radio Experimentation World. Project Deliverable D7.5.4 Showcase of experiment ready (Demonstrator)
Cognitive Radio Experimentation World!"#$% Project Deliverable Showcase of experiment ready (Demonstrator) Contractual date of delivery: 31-03-14 Actual date of delivery: 18-04-14 Beneficiaries: Lead beneficiary:
More informationMuL SDN Controller HOWTO for pre-packaged VM
MuL SDN Controller HOWTO for pre-packaged VM 1 P a g e Table of Contents 1 Starting the VM... 3 2 Using MuL controller... 3 2.1 Mul component overview... 3 2.2 Running MUL... 5 2.2.1 Running MuL s forwarding
More information