{"id":41975476,"url":"https://github.com/bmartinson/netrestarterd","last_synced_at":"2026-01-25T23:29:52.131Z","repository":{"id":303945441,"uuid":"1017234360","full_name":"bmartinson/netrestarterd","owner":"bmartinson","description":"A daemon for MacOS that detects network interruptions for VPN DNS changes and resets system route tables and network interfaces to automatically help keep you accessing the world wide web.","archived":false,"fork":false,"pushed_at":"2025-07-17T16:26:18.000Z","size":22,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-29T23:57:05.001Z","etag":null,"topics":["clang","daemon","macos","networking"],"latest_commit_sha":null,"homepage":"","language":"C","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/bmartinson.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,"zenodo":null}},"created_at":"2025-07-10T08:19:58.000Z","updated_at":"2025-11-11T18:27:07.000Z","dependencies_parsed_at":"2025-07-10T17:05:13.831Z","dependency_job_id":"aa521469-cea6-4163-87c8-778e3311e2ab","html_url":"https://github.com/bmartinson/netrestarterd","commit_stats":null,"previous_names":["bmartinson/netrestarterd"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bmartinson/netrestarterd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmartinson%2Fnetrestarterd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmartinson%2Fnetrestarterd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmartinson%2Fnetrestarterd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmartinson%2Fnetrestarterd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmartinson","download_url":"https://codeload.github.com/bmartinson/netrestarterd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmartinson%2Fnetrestarterd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28761814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T23:06:19.311Z","status":"ssl_error","status_checked_at":"2026-01-25T23:03:50.555Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clang","daemon","macos","networking"],"created_at":"2026-01-25T23:29:51.540Z","updated_at":"2026-01-25T23:29:52.125Z","avatar_url":"https://github.com/bmartinson.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# netrestarterd\nA daemon for MacOS that detects network interruptions for VPN DNS changes and resets system route tables and network interfaces to automatically help keep you accessing the world wide web.\n\n## Why Does This Exist?\nWhen using a work VPN, whenever an employee would put their computer to sleep while keeping their VPN connection active, or if they disconnected from the VPN, their route tables and network interfaces would not refresh correctly leading to a seemingly dead internet connection. The only way to resolve this would be to refresh such system settings manually via the terminal, to turn the active interface off and on (Wi-Fi toggle off/on), or reboot the computer. So, this daemon was developed to always run and keep an eye out for DNS changes due to an internet disruption when coming off of the VPN and to automate the refresh of the network interfaces and route tables.\n\n## Install\nAll you need to install, uninstall, manually start/stop, or debug the tool can be driven off of the provided bash scripts. The binary will be compiled and installed using the `install.sh` script as will the appropriate plist files to setup the launch daemon.\n\n### The Basic Commands\n\n```sh\n# compile, install, and start the daemon\nsudo ./install.sh\nsudo ./start.sh\n```\n\n### More Commands\n```sh\n# compile the source code, install the binary, configure the daemon\nsudo ./install.sh\n\n# if the daemon isn't running yet, start it up!\nsudo ./start.sh\n\n# want to kill the daemon?\nsudo ./stop.sh\n\n# get rid of everything\nsudo ./uninstall.sh\n\n# uninstall any existing installs and re-compile and run interactively\nsudo ./debug.sh\n\n# want to debug a previously compiled version without uninstalling\nsudo ./stop.sh # kill off any running daemons\n/usr/local/bin/netrestarterd --debug\n```\n\nHope this helps! :)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmartinson%2Fnetrestarterd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmartinson%2Fnetrestarterd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmartinson%2Fnetrestarterd/lists"}