How wanjeri-mj/network_programming works
This repository is a collection of independent network-programming case-study scripts, not one integrated application. Users run a chosen script to perform a small task and see printed results or, for the tool runner, a report file. The examples cover helpdesk sockets, network diagnostics, host and interface information, URL handling, authentication, device abstractions, and proxy policies. The sampled scripts show a few direct runtime interactions; most exercises are independent. Several files are indexed but unsampled, so their internal behavior and connections are left unasserted.
Main entry points: helpdesk_python.py Helpdesk Client · secure_client.py Secure Client · network_tool_runner.py Tool Runner · port_scanner.py Port Scanner
Components 28
Helpdesk Sockets
- Helpdesk Client
network_programming/case_study1/helpdesk_python.py - Helpdesk Server
network_programming/case_study1/helpdesk_python.py - Secure Client
network_programming/case_study1/secure_client.py - Secure Helpdesk
network_programming/case_study1/helpdesk_secure_python.py - TCP UDP Compare
network_programming/case_study1/tcp_udp_compare.py
Network Diagnostics
- Tool Runner
network_programming/case_study2/network_tool_runner.py - Port Scanner
network_programming/case_study2/port_scanner.py - Reachability Checker
network_programming/case_study2/reachability_checker.py
Host And Interfaces
- Host Resolver
network_programming/case_study3/host_resolver.py - IP Classifier
network_programming/case_study3/ip_classifier.py - Local Host Info
network_programming/case_study3/local_host_info.py - Interface Lister
network_programming/case_study4/interface_lister.py - Network Devices
network_programming/case_study4/network_devices.py - Reachability Report
network_programming/case_study4/reachability_report.py
URL And Access
- Relative URL Resolver
network_programming/case_study5/relative_url_resolver.py - URL Component Extractor
network_programming/case_study5/url_component_extractor.py - URL URI Classifier
network_programming/case_study5/url_uri_classifier.py - Authenticator
network_programming/Case_study6/simple_authenticator.py - Protected Page Simulation
network_programming/Case_study6/protected_page_simulation.py - URL Encoder Decoder
network_programming/Case_study6/url_encoder_decoder.py
Proxy Policies
- Proxy Configuration
network_programming/case_study7/proxy_configuration.py - Proxy Failure Handling
network_programming/case_study7/proxy_failure_handling.py - Proxy Selection
network_programming/case_study7/proxy_selection.py
Other components
- User
- Network Hosts
- DNS Service
- Local OS
- System Tools
Connections 29
- User → Helpdesk Client: enters issue
network_programming/case_study1/helpdesk_python.py - Helpdesk Client → Helpdesk Server: sends request
network_programming/case_study1/helpdesk_python.py - Helpdesk Server → Helpdesk Client: returns ticket
network_programming/case_study1/helpdesk_python.py - User → Secure Client: enters issue
network_programming/case_study1/secure_client.py - Secure Client → Secure Helpdesk: sends request
- User → TCP UDP Compare: runs example
- User → Tool Runner: runs tools
network_programming/case_study2/network_tool_runner.py - Tool Runner → System Tools: executes commands
network_programming/case_study2/network_tool_runner.py - User → Port Scanner: enters host
network_programming/case_study2/port_scanner.py - Port Scanner → Network Hosts: probes ports
network_programming/case_study2/port_scanner.py - User → Reachability Checker: runs check
- User → Host Resolver: enters domain
network_programming/case_study3/host_resolver.py - Host Resolver → DNS Service: resolves addresses
network_programming/case_study3/host_resolver.py - User → IP Classifier: runs example
- User → Local Host Info: requests details
network_programming/case_study3/local_host_info.py - Local Host Info → Local OS: reads interfaces
network_programming/case_study3/local_host_info.py - User → Interface Lister: requests profiles
network_programming/case_study4/interface_lister.py - Interface Lister → Local OS: reads interface data
network_programming/case_study4/interface_lister.py - User → Network Devices: runs simulation
network_programming/case_study4/network_devices.py - User → Reachability Report: runs report
- User → Relative URL Resolver: supplies URL
- User → URL Component Extractor: supplies URL
- User → URL URI Classifier: supplies identifier
network_programming/case_study5/url_uri_classifier.py - User → Authenticator: enters credentials
network_programming/Case_study6/simple_authenticator.py - User → Protected Page Simulation: runs simulation
- User → URL Encoder Decoder: supplies URL
- User → Proxy Configuration: sets proxy
- User → Proxy Failure Handling: provides settings
network_programming/case_study7/proxy_failure_handling.py - User → Proxy Selection: enters target
network_programming/case_study7/proxy_selection.py