{"id":19483545,"url":"https://github.com/librity/ft_netwhat","last_synced_at":"2026-06-11T02:31:38.488Z","repository":{"id":99703181,"uuid":"341006635","full_name":"librity/ft_netwhat","owner":"librity","description":"42 São Paulo - netwhat","archived":false,"fork":false,"pushed_at":"2022-02-25T10:51:34.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-19T02:03:45.088Z","etag":null,"topics":["42","42born2code","42saopaulo","42school","c","netwhat","network","networking","norminette"],"latest_commit_sha":null,"homepage":"https://www.42sp.org.br/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/librity.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":"2021-02-21T21:20:48.000Z","updated_at":"2021-12-29T01:28:32.000Z","dependencies_parsed_at":"2023-04-07T04:34:19.018Z","dependency_job_id":null,"html_url":"https://github.com/librity/ft_netwhat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/librity/ft_netwhat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fft_netwhat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fft_netwhat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fft_netwhat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fft_netwhat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/librity","download_url":"https://codeload.github.com/librity/ft_netwhat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fft_netwhat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34180147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":["42","42born2code","42saopaulo","42school","c","netwhat","network","networking","norminette"],"created_at":"2024-11-10T20:15:30.618Z","updated_at":"2026-06-11T02:31:38.471Z","avatar_url":"https://github.com/librity.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e42 São Paulo - NetWhat?\u003c/h3\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![42 São Paulo](https://img.shields.io/badge/42-SP-1E2952)\n![License](https://img.shields.io/github/license/librity/ft_netwhat?color=yellow)\n![Code size in bytes](https://img.shields.io/github/languages/code-size/librity/ft_netwhat?color=blue)\n![Lines of code](https://img.shields.io/tokei/lines/github/librity/ft_netwhat?color=blueviolet)\n![Top language](https://img.shields.io/github/languages/top/librity/ft_netwhat?color=ff69b4)\n![Last commit](https://img.shields.io/github/last-commit/librity/ft_netwhat?color=orange)\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e Putting the FUN in networking fundamentals.\n  \u003cbr\u003e\n\u003c/p\u003e\n\n---\n\n## 📜 Table of Contents\n\n- [About](#about)\n- [Notes](#notes)\n- [42 São Paulo](#ft_sp)\n- [References](#references)\n- [Resources](#resources)\n\n## 🧐 About \u003ca name = \"about\"\u003e\u003c/a\u003e\n\nIn this project we learn the basics of networking and th Internet Protocol.\nMost of the questions use the IP calculator.\n\n## 📝 Notes \u003ca name = \"notes\"\u003e\u003c/a\u003e\n\n### TCP\n\nTCP sends information to a single known host.\nThe information's integrity is pretty much guaranteed by extensive error-checking.\nAll packets arrive in order, and it's slower than UDP.\nIt's used by SMTP, HTTP, FTP and many others.\n\n### UDP\n\nUPD listens and broadcasts data to and from anything else that's broadcasting and listening.\nThe only error-checking it has is a checksum in each package.\nIt's used by DHCP (if you don't have an IP you can't use TCP), Voice over IP,\nDNS, some streaming protocols, and more.\n\n### DHCP\n\nIt's what assigns dynamic IPs to devices in a network.\nSupports IPv4 and IPv6.\n\n### ping\n\nA common networking tool that checks if a host is turned on and connected. Uses ICMP.\n\n### IP classes\n\nClass A is the largest, with almost 17 million assignable IP addresses.\nUsed by very large organizations.\n\n### Hosts in a Network\n\nThe ammount of assignable IPs in a subnet is always `pow(2, ip_bits_available) - 2`\n\n### Network and Broadcast IPs\n\nThe Network IP address always ends with a 0.\nThe Broadcast IP address is always the last IP in the subnet.\nAny package sent to the broadcast address relayed to all hosts in the subnet.\n\n### DNS\n\nIt's a program running on a server somewhere that tells you which IP belongs to `google.com`.\nYou can talk to those servers with `nslookup`:\n\n```bash\n$ nslookup google.com\n```\n\n### Private IP\n\nThey all start with 192, 172 and 10.\n\n## 🛸 42 São Paulo \u003ca name = \"ft_sp\"\u003e\u003c/a\u003e\n\nPart of the larger [42 Network](https://www.42.fr/42-network/),\n[42 São Paulo](https://www.42sp.org.br/) is a software engineering school\nthat offers a healthy alternative to traditional education:\n\n- It doesn't have any teachers and classes.\n- Students learn by cooperating\n  and correcting each other's work (peer-to-peer learning).\n- Its focus is as much on social skills as it is on technical skills.\n- It's completely free to anyone that passes its selection process -\n  [**The Piscine**](https://42.fr/en/admissions/42-piscine/)\n\nIt's an amazing school, and I'm grateful for the opportunity.\n\n## 🏫 References \u003ca name=\"references\"\u003e\u003c/a\u003e\n\n- [https://en.wikipedia.org/wiki/Private_IP](https://en.wikipedia.org/wiki/Private_IP)\n- [https://en.wikipedia.org/wiki/OSI_model](https://en.wikipedia.org/wiki/OSI_model)\n- [https://en.wikipedia.org/wiki/User_Datagram_Protocol](https://en.wikipedia.org/wiki/User_Datagram_Protocol)\n- [https://en.wikipedia.org/wiki/Transmission_Control_Protocol](https://en.wikipedia.org/wiki/Transmission_Control_Protocol)\n- [https://en.wikipedia.org/wiki/Ping\\_(networking_utility)](https://en.wikipedia.org/wiki/Ping_%28networking_utility%29)\n- [https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol](https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol)\n- [https://www.meridianoutpost.com/resources/articles/IP-classes.php](https://www.meridianoutpost.com/resources/articles/IP-classes.php)\n\n## 📚 Resources \u003ca name = \"resources\"\u003e\u003c/a\u003e\n\n- [Private IP](https://whatismyipaddress.com/private-ip?__cf_chl_jschl_tk__=5b82b4f491407ec3c21c21de877c674ab747e579-1613940129-0-AWiz3zZF8QDWnRF0_vuiCAeZoCm1crquVe_N7ljLWW2854clNl-RxEzSU_HktAlZPFT4f7MValxzkzYvX3gdwa_D0-LXt5OgA56Kc7FRixHudg8ZVxZWUoKIYEEexYsZTcQrzBruxujERC-TzktMtvU3SJCbs1WRlCqSW0SfZK6Zu84i8_LdOEp5xOgHG-vYPKqLxrutUF7T2_RLiYO2IBD1VYdoKOvZ99PudLjuhV5sNbETrT7wOO4mudNyqmOK3JysgUbVs7nZh7knQKsNxnrDJgJK1GbJZPgEXfLoj5p7khCXrxqHaxA1Q8piIslMvpl08BCtm8R30iGRWG4kDiiKKuSZ9tNKqIDLSJh4XGWUSsV80g9v_6H14t3-hnVhDA)\n- [https://www.lifewire.com/what-is-a-private-ip-address-2625970](https://www.lifewire.com/what-is-a-private-ip-address-2625970)\n- [https://www.csestack.org/different-classes-of-ip-address/#Class_A](https://www.csestack.org/different-classes-of-ip-address/#Class_A)\n- [https://www.youtube.com/c/ippsec/videos](https://www.youtube.com/c/ippsec/videos)\n- [https://github.com/appinha/42cursus/tree/master/01-netwhat](https://github.com/appinha/42cursus/tree/master/01-netwhat)\n- [https://github.com/lucasnfarias/42Cursus/blob/master/netwhat/NETWHAAAAAAAAAAAAAAAT\\_.pdf](https://github.com/lucasnfarias/42Cursus/blob/master/netwhat/NETWHAAAAAAAAAAAAAAAT_.pdf)\n\n### Testers\n\n- [https://github.com/adblanc/netwhat42-train](https://github.com/adblanc/netwhat42-train)\n- [https://github.com/appinha/42cursus/tree/master/01-netwhat](https://github.com/appinha/42cursus/tree/master/01-netwhat)\n\n### IP Mask Calculators\n\n- [http://jodies.de/ipcalc?host=192.168.0.1\u0026mask1=24\u0026mask2=](http://jodies.de/ipcalc?host=192.168.0.1\u0026mask1=24\u0026mask2=)\n- [https://github.com/appinha/ip_calc-netwhat-42cursus](https://github.com/appinha/ip_calc-netwhat-42cursus)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrity%2Fft_netwhat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibrity%2Fft_netwhat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrity%2Fft_netwhat/lists"}