{"id":23409024,"url":"https://github.com/wjsjtu/socket-control","last_synced_at":"2025-10-18T19:51:06.239Z","repository":{"id":25344998,"uuid":"28772418","full_name":"WJsjtu/socket-control","owner":"WJsjtu","description":"This project is aimed to control the socket connection by hijacking the syscall table, configure file is in JSON format and transferred into kernel by netlink.","archived":false,"fork":false,"pushed_at":"2017-02-09T06:01:37.000Z","size":18,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T01:37:15.022Z","etag":null,"topics":["c","kernel","netlink","socket","socket-control","syscall-table","syscalls"],"latest_commit_sha":null,"homepage":"","language":"C","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/WJsjtu.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-01-04T11:27:25.000Z","updated_at":"2022-01-25T03:05:29.000Z","dependencies_parsed_at":"2022-08-19T18:00:43.310Z","dependency_job_id":null,"html_url":"https://github.com/WJsjtu/socket-control","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/WJsjtu%2Fsocket-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WJsjtu%2Fsocket-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WJsjtu%2Fsocket-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WJsjtu%2Fsocket-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WJsjtu","download_url":"https://codeload.github.com/WJsjtu/socket-control/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247958710,"owners_count":21024821,"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":["c","kernel","netlink","socket","socket-control","syscall-table","syscalls"],"created_at":"2024-12-22T15:19:33.845Z","updated_at":"2025-10-18T19:51:01.174Z","avatar_url":"https://github.com/WJsjtu.png","language":"C","readme":"socket-control\n==============\n\nThis is a project to controll the socket syscall using hijacking the syscall table.\nConfigure file is in JSON format and transferred into kernel by netlink.\n\nWorking well on ubuntu-14.04.4-desktop-i386, system kernel info\n```\nLinux version 4.2.0-27-generic (buildd@lgw01-45) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) )\n```\n\nTo compile ccdaemon\n``` c\ngcc -o ccdaemon ccdaemon.c -lm\n```\n\nTo compile CCModule.ko\n``` c\nmake clean\nmake\n```\nTo install module\n``` c\ninsmod CCModule.ko\n```\nTo run ccdaemon\n``` c\n./ccdaemon black.json\n```\n**Note**: This is only a demo project, it may cause make error on x64 platform since some different integer size.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwjsjtu%2Fsocket-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwjsjtu%2Fsocket-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwjsjtu%2Fsocket-control/lists"}