{"id":21353132,"url":"https://github.com/snick512/dynamic-ip-update","last_synced_at":"2025-03-16T04:44:39.697Z","repository":{"id":263846361,"uuid":"891573556","full_name":"snick512/Dynamic-IP-Update","owner":"snick512","description":"A C program to idle, and update ufw based on the IPv4 of a domain","archived":false,"fork":false,"pushed_at":"2024-11-20T16:01:03.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T17:27:00.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://silentport.net","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snick512.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-11-20T15:17:10.000Z","updated_at":"2024-12-15T23:27:42.000Z","dependencies_parsed_at":"2024-11-25T02:32:00.935Z","dependency_job_id":null,"html_url":"https://github.com/snick512/Dynamic-IP-Update","commit_stats":null,"previous_names":["snick512/dynamic-ip-update"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snick512%2FDynamic-IP-Update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snick512%2FDynamic-IP-Update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snick512%2FDynamic-IP-Update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snick512%2FDynamic-IP-Update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snick512","download_url":"https://codeload.github.com/snick512/Dynamic-IP-Update/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826777,"owners_count":20354220,"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-11-22T03:16:38.722Z","updated_at":"2025-03-16T04:44:39.678Z","avatar_url":"https://github.com/snick512.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic-IP-Update\n A C program to idle, and update ufw based on the IPv4 of a domain.\n\n Wrote by AI, directed by Ty Clifford.\n\n # Setup\n\n Use whatever DNS provider you wish. Set an \"A\" record to the IPv4 you want to be updated in the host's ufw. \n\n ## Compile the Program\n\n```bash\ngcc -o ipupdate ipupdate.c\n```\n\nCreating the .service:\n```bash\nsudo nano /etc/systemd/system/ip-update-ufw.service\n```\n\nInsert: \n```ini\n[Unit]\nDescription=UFW Updater Service\nAfter=network.target\n\n[Service]\nExecStart=/path/to/ip-update_ufw_service \u003cdomain\u003e\nRestart=always\nUser=root\nStandardOutput=syslog\nStandardError=syslog\nSyslogIdentifier=update-ufw\nKillSignal=SIGTERM\n\n[Install]\nWantedBy=multi-user.target\n```\n\n```bash\nsudo systemctl daemon-reload\n```\nEnable:\n```bash\nsudo systemctl enable ip-update-ufw.service\n```\n\nStart:\n```bash\nsudo systemctl start ip-update-ufw.service\n```\n\nStatus:\n```bash\nsudo systemctl status ip-update-ufw.service\n```\n\nLogging/Debugging:\n```bash\nsudo journalctl -u ip-update-ufw.service\n```\n\n# Why?\nSometimes old fashion programs/scripts are the best. Some things have become so bloated they either become useless, or become unfit for practical use when you're looking for simplicity. \n\nStay up to date on full blurbs at [my blog](https://isnick.net). ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnick512%2Fdynamic-ip-update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnick512%2Fdynamic-ip-update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnick512%2Fdynamic-ip-update/lists"}