{"id":15648095,"url":"https://github.com/noracodes/snsp","last_synced_at":"2025-03-29T23:45:42.533Z","repository":{"id":36541123,"uuid":"40846951","full_name":"NoraCodes/SNSP","owner":"NoraCodes","description":"The Site-local Network Service Protocol","archived":false,"fork":false,"pushed_at":"2015-08-22T18:03:17.000Z","size":120,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T01:42:12.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/NoraCodes.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}},"created_at":"2015-08-16T23:12:29.000Z","updated_at":"2015-08-16T23:14:39.000Z","dependencies_parsed_at":"2022-09-08T17:32:26.068Z","dependency_job_id":null,"html_url":"https://github.com/NoraCodes/SNSP","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/NoraCodes%2FSNSP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2FSNSP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2FSNSP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2FSNSP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NoraCodes","download_url":"https://codeload.github.com/NoraCodes/SNSP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258866,"owners_count":20748573,"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":[],"created_at":"2024-10-03T12:23:23.635Z","updated_at":"2025-03-29T23:45:42.502Z","avatar_url":"https://github.com/NoraCodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"SNSP\n----\n\nThe Site-local Network Service Protocol - example scripts and definitions\n\nSNSP is a way to advertise network services over IPv4 broadcast and (WIP) IPv6 multicast.\n\nAn SNSP \"packet\" is just some JSON in a UDP broadcast (or in IPv6, multicast). It contains:\n\n\tService name and specifications (host, port)\n\tTimestamp\n\tImportance (a value from 0 to 7, explained below)\n\tA message (arbitrary text, for, e.g., announcing captive portals in a import. 6 message to be shown to the user.)\n\t\n\tIf service name is \"__user__\" and both port and host are 0, the message should be shown to the user if it is of sufficient importance.\n\t\n\t\nImportance values:\n\n\tIMPORTANCE_ROUTINE (0):\t\t\tMessages for network testing, timed updates, etc. Should never be shown to the user.\n\n\tIMPORTANCE_UTILITY (1): \t\tMessages for utility purpouses, e.g., SNSP ping\n\n\tIMPORTANCE_CONFIG (2):  \t\tMessages that might result in network or application configuration changes, but that do not announce a new service \n\n\tIMPORTANCE_DEFAULT (3): \t\tDefault. For messages announcing services.\n\n\tIMPORTANCE_NETANNOUNCE (4):\t\tMessages about how the network is configured that do NOT require user intervention (i.e., inform devices about optional use of OSPF)\n\n\tIMPORTANCE_SERVICESTOP (5):\t\tMessages about cessation of network services - both temporarily and permanently.\n\n\tIMPORTANCE_USERACTION (6):\t\tMessages that require user interaction - i.e., revealing captive portal, NETWORK DOWN IN..., etc.\n\n\tIMPORTANCE_VITAL (7):\t\t\tMessages that absolutely positively must arrive and be shown to the user, if there is one. Possibly place in syslog too.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoracodes%2Fsnsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoracodes%2Fsnsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoracodes%2Fsnsp/lists"}