{"id":17099838,"url":"https://github.com/cppcoffee/drops","last_synced_at":"2025-05-13T02:54:02.086Z","repository":{"id":135559633,"uuid":"143978869","full_name":"cppcoffee/drops","owner":"cppcoffee","description":"Drops are base Linux XDP use to proactive defense TCP-SYN flood.","archived":false,"fork":false,"pushed_at":"2021-09-21T14:00:58.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T06:03:10.709Z","etag":null,"topics":[],"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/cppcoffee.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-08T07:43:48.000Z","updated_at":"2023-08-24T15:49:52.000Z","dependencies_parsed_at":"2024-05-30T01:07:58.950Z","dependency_job_id":null,"html_url":"https://github.com/cppcoffee/drops","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/cppcoffee%2Fdrops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppcoffee%2Fdrops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppcoffee%2Fdrops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppcoffee%2Fdrops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cppcoffee","download_url":"https://codeload.github.com/cppcoffee/drops/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253862978,"owners_count":21975588,"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-14T15:11:33.202Z","updated_at":"2025-05-13T02:54:02.079Z","avatar_url":"https://github.com/cppcoffee.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About\n\nThe drops are base Linux XDP use to proactive defense TCP-SYN flood.\n\nwhen SYN package count greater than RX_SYN_LIMIT, accept 10  drops 30 package.\n\n\n## Build dependencies\n\n### Compiling requires having installed:\n\nclang \u003e= version 3.4.0\n\nllvm \u003e= version 3.7.1\n\nNote that LLVM's tool 'llc' must support target 'bpf', list version and supported targets with command: llc --version\n\n\n## Manually compiling LLVM with 'bpf' support\n\nSince version 3.7.0, LLVM adds a proper LLVM backend target for the BPF bytecode architecture.\n\nBy default llvm will build all non-experimental backends including bpf. To generate a smaller llc binary one can use:\n\n```\n-DLLVM_TARGETS_TO_BUILD=\"BPF\"\n```\n\nQuick sniplet for manually compiling LLVM and clang (build dependencies are cmake and gcc-c++):\n\n```shell\n$ git clone http://llvm.org/git/llvm.git\n$ cd llvm/tools\n$ git clone --depth 1 http://llvm.org/git/clang.git\n$ cd ..; mkdir build; cd build\n$ cmake .. -DLLVM_TARGETS_TO_BUILD=\"BPF;X86\"\n$ make -j $(getconf _NPROCESSORS_ONLN)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppcoffee%2Fdrops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcppcoffee%2Fdrops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppcoffee%2Fdrops/lists"}