Network Programming with Umit project


Published on

My talk at PyconIndia 2011. Since the talk was "dominated" by demonstrations, the slides would be just an index to what I actually talked there :)

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Network Programming with Umit project

  1. 1. Network Programming with Project Narendran Thangarajan @naren_live PyCon India 2011
  2. 2. Outline Why Network Programming  Network Scanning Umit Network Scanner  Nmap Packet Manipulator  Scapy  UMPA PyPcap  Creating a new protocol Future Directions
  3. 3. ”Network is the computer” - Mitch Kapor
  4. 4. Why Network Programming? The future of computing is Mobile and Cloud Computing. With thinner clients and resources getting centralized, almost every file access is going to burden the network. In future, we might reach a point where the loss due to a one-minute network failure will cause a loss greater than earthquakes or cyclones.
  5. 5. We need data.. Enough data to predict a network failure
  6. 6. Network Scanning Second of the three data gathering steps. Footprinting – Scanning - Enumeration Procedure of finding active hosts on the network. Used for :  Network Security Assessment  Purpose of attacking  Research/Study
  7. 7. Nmap - Backend Terminal-based security scanner originally written by Gordon Lyon. Discovers hosts and services – Creates a ”map” Basic Host scanning + determine OS + Names and versions of services running in the remote host + type of device. Examples
  8. 8. Umit Network Scanner – Frontend GUI based Network Scanner Began as a project for GSoC 2005 Inspired other scanners like Zenmap What could we do?  Scanning  Schedule scans  View Network Topology  Create Profiles  Create our own Plugins
  9. 9. Packet Manipulator - Frontend Protocol Analyzer Can capture packets from any interface Decodes the packet based on the protocols supported by the backend
  10. 10. Scapy Python package for Send, sniff, dissect and forge network packets Whats so special?  Create ANY packet  Flexibility  Detailed decoding of the received packets  Fast Packet Design
  11. 11. Scapy - Demo Basic Packet construction Stacking Layers Sending Packets Receiving Packets Traceroute Graph the traces
  12. 12. UMPA – Backend L1 Umit Manipulation of Packets Art Umits Packet Generation and Manipulation Library Under Development Example :
  13. 13. Libpcap Father of Packet capture libraries Implemented in C Initially created for tcpdump Maintained by tcpdump organization Almost all the python packet libraries use libpcap as the backend
  14. 14. Future Directions Solve Connectivity problems – Internet shortages, ISP service blockages. A small disconnection could lead to huge losses in future. Internet Connectivity Monitor
  15. 15. Thus we have networked with Python Thank You!!
  16. 16. Queries? Email : Twitter : naren_live Google : Narendran Thangarajan :P