{"id":21323902,"url":"https://github.com/byteshiva/tcp-data-flow-exploration","last_synced_at":"2025-10-10T05:13:10.057Z","repository":{"id":219255135,"uuid":"748579909","full_name":"byteshiva/tcp-data-flow-exploration","owner":"byteshiva","description":"TCP Data Flow Exploration: Python server-client interaction with three-way handshake and data transfer phases.","archived":false,"fork":false,"pushed_at":"2024-06-03T23:26:03.000Z","size":20,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T23:19:40.819Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://byteshiva.medium.com/decoding-the-network-python-server-client-interaction-with-wireshark-data-analysis-56c482db3920","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byteshiva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-26T09:51:11.000Z","updated_at":"2024-01-26T10:47:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5d71f14-3680-40b8-ad82-5e45807fd821","html_url":"https://github.com/byteshiva/tcp-data-flow-exploration","commit_stats":null,"previous_names":["byteshiva/tcp-data-flow-exploration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/byteshiva/tcp-data-flow-exploration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteshiva%2Ftcp-data-flow-exploration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteshiva%2Ftcp-data-flow-exploration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteshiva%2Ftcp-data-flow-exploration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteshiva%2Ftcp-data-flow-exploration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byteshiva","download_url":"https://codeload.github.com/byteshiva/tcp-data-flow-exploration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteshiva%2Ftcp-data-flow-exploration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002787,"owners_count":26083468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T20:27:47.164Z","updated_at":"2025-10-10T05:13:10.042Z","avatar_url":"https://github.com/byteshiva.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"```markdown\n# TCP Data Flow Exploration\n\nThis repository provides a simple example of TCP data flow exploration using Python. It includes a basic TCP server (`server.py`) and client (`client.py`) script, showcasing the three-way handshake, data transfer, and connection closing phases.\n```\n\n\n## Setup\n\nTo explore the TCP data flow, follow these steps:\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/byteshiva/tcp-data-flow-exploration.git\n   cd tcp-data-flow-exploration\n   ```\n\n2. Run the server in one terminal:\n   ```bash\n   nix develop\n   python server.py\n   ```\n\n3. Open another terminal and run the client:\n   ```bash\n   nix develop\n   python client.py\n   ```\n\n4. In a new terminal, open Wireshark to capture traffic on localhost:\n   ```bash\n   nix develop\n   pkexec tcpdump -U -s0 -i lo -w - | wireshark -k -i -\n   ```\n   In Wireshark, select the appropriate network interface (e.g., `lo` for localhost) and start capturing.\n\n## Observing TCP Data Flow\n\nOnce the server and client are running, you can observe the TCP data flow in the Wireshark window. Explore the packets exchanged during the three-way handshake, data transfer, and connection closing phases.\n\nFeel free to analyze and modify the scripts to further understand the intricacies of TCP communication.\n\nHappy exploring!\n```\n\nThis README.md provides instructions for setting up and exploring the TCP data flow using the provided Python scripts and Wireshark.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteshiva%2Ftcp-data-flow-exploration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteshiva%2Ftcp-data-flow-exploration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteshiva%2Ftcp-data-flow-exploration/lists"}