Using the Open Network Lab

Using the Open Network Lab

Using the Open Network Lab Jon Turner Applied Research Laboratory Computer Science and Engineering Department http://www.arl.wustl.edu/arl Motivation What is ONL? » remotely accessible networking lab » gigabit routers with configurable hardware packet forwarding and embedded processors at each port » routers can be remotely configured through intuitive GUI » extensive support for traffic monitoring/visualization » resource for network research community Why did we build ONL? » difficult to experiment with high performance routers n commercial routers are not open n open PC routers have limited performance & experiments using them may have limited relevance to high performance routers » net research community needs better experimental resources What can you do with ONL? » evaluate new and existing protocols & apps in realistic testbed » add new features to routers (embedded processors, hw mods) » mount compelling demonstrations using real-time visualization 2 - Jonathan Turner – 1/31/2006 Sample ONL Session Bandwidth Usage Network Configuration Routing Queue Tables Length Queue Parameters 3 - Jonathan Turner – 1/31/2006 ONL Lab Overview Gigabit routers. 3 Gigabit 3 Ethernet »easily configured thru Remote Switch 16 GigE Lab Interface 3 GigE 3 »embedded processors for adding new features Network Configuration PCs serve as hosts. Switch »half on shared subnets GigE 3 GigE Net configuration switch. 3 »link routers in virtual 3 3 topologies »traffic generation 4 Tools for configuration and collecting results. total traffic »monitoring traffic input »data capture and playback cross traffic cross traffic total traffic input output output Open source video output »all hw & sw sources on web video input 4 - Jonathan Turner – 1/31/2006 Mitigating Denial of Service Attacks Users request connections to communicate Requires with web site temporary entry in table of partial Extensible connections Router User Partial Shadow Conn. Table Table Target Web Site Attacker Extensible router observes partial Table fills up Attackers repeatedly connections and blocking start connection process clears those that legitimate but don’t complete it. don’t complete users. 5 - Jonathan Turner – 1/31/2006 Attack Mitigation Displays Conn. Table fills Table clears when plugin off when plugin on Image xfer Image xfer blocked resumes 6 - Jonathan Turner – 1/31/2006 People Who Make it Happen Ken Wong Jyoti Parwatikar Charlie Wiseman Lab administration RLI software web site dev. Web site manager development dist. sched. Fred Kuhns John Dehart Stephen Levine SPC software FPX hardware plugin development FPX hardware System integration 7 - Jonathan Turner – 1/31/2006 Gigabit Router Architecture PP SPC plugin SPC env. CP FPX PP ATM FPX Switch . external Core . links . to/from to/from links switch core PP Lookup Scalable architecture built around ATM switch core. » core provides 2 Gb/s bandwidth per port (2x speedup) Port processors (PP) implement packet processing » Field Programmable Port Extender (FPX) implements routine packet processing » Smart Port Card (SPC) hosts programmable extensions Control Processor (Linux PC) handles configuration » can support routing protocols, OA&M, etc. 8 - Jonathan Turner – 1/31/2006 ONL Hardware Gigabit Router Field Prog. Port Extender Smart Port Card 9 - Jonathan Turner – 1/31/2006 Field Programmable Port Extender (FPX) Network Interface Device (NID) SRAM 36 Reprogrammable 64 SDRAM routes cells to/from RAD. (1 MB) App. Device (128MB) Reprogrammable Application SRAM 36 (38K logic cells 64 SDRAM Device (RAD) functions: (1 MB) +80 KB SRAM) (128 MB) »implements core router functions 2 Gb/s 2 Gb/s »Xilinx Virtex 1E family y 38K logic cells (LUT4 + flip flop) ⎭ 2 Gb/s ⎬ Network ⎫ 2 Gb/s y 160 block RAMs, 512 bytes each interface ⎫ Interface ⎬ interface ⎭ Core router functions include Device »packet classification & route lookup »packet storage manager »queue manager y link queues (datagram, reserved) y per flow SPC queues y virtual output queues to switch »control cell processing y access status & control registers y update route tables, packet filters 10 - Jonathan Turner – 1/31/2006 Packet Processing in the FPX SDRAM SDRAM from LC Packet Storage Manager to LC ISAR OSAR from SW (includes free space list) to SW Data Path Header Discard Pointer Pointer Header Classification and Queue Manager Proc. Route Lookup SRAM Register Set SRAM Control Route & Register Set DQ Status & Filter Updates Updates & Status Rate Control Control Cell Processor 11 - Jonathan Turner – 1/31/2006 Packet Processing in the FPX Input/Output Segmentation and Reassembly (ISAR/OSAR) » separate reassembly context for link, SPC and each input port » IP packets extracted and stored in memory “chunks” by PSM » headers passed to “control path” » packets retrieved from memory on output and segmented Packet Storage Manager (PSM) » stores packets in one of two SDRAMs based on where arriving from Classification and Route Lookup (CARL) » route lookup (best prefix match) using external SRAM » flow lookup (exact 5-tuple match) using external SRAM » packet classification (general match) using on-chip resources Queue manager (QM) implements three sets of queues » link queues per-flow and datagram queues using weighted DRR » virtual output queues to switch with controllable output rates n can be adjusted by control process in SPC » SPC queues using weighted DRR Control Cell Processor (CCP) » access to traffic counters, updates to lookup tables & control registers 12 - Jonathan Turner – 1/31/2006 Classification and Route Lookup (CARL) Three lookup tables. Route » route table for routing Table datagrams – best prefix » flow table for reserved Flow flows – exact match Table » filter table for management Filter n (adr prefixes, proto, ports) Table Input Demux headers Result Proc. & Lookup processing. Priority Resolution » parallel check of all three bypass » return highest priority primary entry and highest Route lookup & flow filters priority auxiliary entry » share off-chip SRAM » each filter table entry has » limited only by memory size assignable priority General filters done on-chip » all flow entries share same » total of 32 priority, same for routes 13 - Jonathan Turner – 1/31/2006 Lookup Contents Route table – ingress only » output port, Queue Identifier (QID) » packet counter n incremented when entry returned as best match for packet Flow table (exact match) – both ingress and egress » output port – for ingress » Queue Identifier (QID) – for egress or SPC » packet and byte counters n updated for all matching packets Filter table (general) – ingress or egress (rate limits) » for highest priority primary filter, returns QID n packet counter incremented only if used » same for highest priority auxiliary filter If packet matches both primary and auxiliary entries, copy is made. 14 - Jonathan Turner – 1/31/2006 Queue Manager to SPC each queue has WDRR weight and 128 flow queues, discard threshold each with WDRR SPC pkt. weight and sched. discard threshold res. flow ... VOQ per output, queues each with rate and discard threshold ... to link to ... switch ... link pkt. sched. link 64 datagram datagram arriving all queues have a queues, each with queues packets WDRR weight and byte length that discard threshold can be queried 15 - Jonathan Turner – 1/31/2006 Controlling the Queue Manager All queues are configurable. » discard threshold » WDRR quota Virtual Output Queues (QIDs 504-511) » all packets going to switch placed in VOQ for target output Datagram output queues (QIDs 440-503) » packets going to link with no special queue assignment are hashed to one these 64 queues Reserved output queues (QIDs 256-439) SPC queues (QIDs 0-127, 128-255) » assigned in pairs (q, q+128) » packets to SPC use 1-127 » packets returning from SPC, going to link use 128-256 16 - Jonathan Turner – 1/31/2006 FPX Traffic Counters, Status Info. Packet and byte counters are read via control cells » returned value includes counter value and timestamp » timestamps used by software to compute rates Port level packet counters » received from/sent to link (2 counters) » received from/sent to SPC on ingress/egress side (4 counters) » received from/sent to router input/output ports (16 counters) Packet drop counters » ISAR dropped cell counter » ISAR invalid packet counter (CRC failure, etc.) » QM dropped packet for link queues, switch queues, SPC queues And many others, 17 - Jonathan Turner – 1/31/2006 Selected FPX Counters 00 packets from link 04 packets from ingress port 0 05 packets from ingress port 1 . 11 packets from ingress port 7 12 ingress-side packets from SPC 13 egress-side packets from SPC 16 packets to link 20 packets to egress port 0 . 27 packets to egress port 7 28 ingress-side packets to SPC 29 egress-side packets to SPC 64 ISAR input cell drops 65 ISAR invalid packet drops 66 QM packet drops for link 67 QM packet drops for switch 68 QM packet drops for SPC 18 - Jonathan Turner – 1/31/2006 Smart Port Card FPGA routes data straight-thru or 128 Pentium North MB to/from SPC. Bridge » 2 Gb/s data paths Cache Flash PCI APIC is Network Interface Chip Disk » segments packets into cells on APIC transmission » reassembles in memory on reception FPGA 500 MHz Pentium III processor » 100 MHz EDO memory » 32 bit PCI at 33 MHz » flash disk » standard BIOS Hosts software plugins » options processing » application-specific processing 19 - Jonathan Turner – 1/31/2006 Core ATM Switch VXT RCB RSQ XMB CYCB OPP IPP . IXBAR OXBAR Cell Buffer VXT RCB RSQ XMB CYCB OPP IPP 4 Parallel Resequencing Recycling Virtual Switch Planes Buffer Buffer Circuit/Path each cell split Dual Priority Lookup Table into 4 pieces Transmit Buffer 20 - Jonathan Turner – 1/31/2006 PVCs for Inter-port Traffic VCI remapping FPX FPX FPX FPX FPX FPX packets from packets to FPX FPX input k received output k sent FPX FPX on VCI 64+k on VCI 64+k FPX FPX FPX FPX FPX FPX Permanent Virtual Circuits carry traffic between FPXs. Egress FPX maintains separate reassembly buffers. Can use cell counters in switch to monitor traffic. Port-level cell counters also available.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    45 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us