{"id":17978262,"url":"https://github.com/chizhg/rawsockets","last_synced_at":"2025-03-25T17:31:21.111Z","repository":{"id":144308571,"uuid":"89975306","full_name":"chizhg/RawSockets","owner":"chizhg","description":"A simplified TCP/IP stack implemented with raw socket","archived":false,"fork":false,"pushed_at":"2017-05-02T00:53:44.000Z","size":18,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T14:21:40.307Z","etag":null,"topics":["raw-sockets","tcp-ip"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chizhg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-02T00:38:53.000Z","updated_at":"2023-09-29T19:05:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea1c3d52-44a1-40d2-afe9-5d314adcaae3","html_url":"https://github.com/chizhg/RawSockets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chizhg%2FRawSockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chizhg%2FRawSockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chizhg%2FRawSockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chizhg%2FRawSockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chizhg","download_url":"https://codeload.github.com/chizhg/RawSockets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245510660,"owners_count":20627236,"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","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":["raw-sockets","tcp-ip"],"created_at":"2024-10-29T17:32:36.639Z","updated_at":"2025-03-25T17:31:21.099Z","avatar_url":"https://github.com/chizhg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Summary\n\nThe goal of this project is to take a URL on the command line and downloads the associated file.\nThe implementation includes protocols from Data-link Layer to Application Layer with the basic raw socket.\nThe main work is about building the Ethernet, IP and TCP headers in each packet.\n\n---\n\n### Implementation of Each Layer\n\n|Ethernet Header | IP Header |     TCP Header     | HTTP Data | Padding |\n|       ---------|------     |------              |------     |------   |\n|    14 byte     |  20 byte  |   20 byte or more  |           |add to 64|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchizhg%2Frawsockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchizhg%2Frawsockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchizhg%2Frawsockets/lists"}