{"id":25841375,"url":"https://github.com/packet-batch/old-common","last_synced_at":"2025-03-01T05:29:11.202Z","repository":{"id":171358334,"uuid":"433534901","full_name":"Packet-Batch/old-common","owner":"Packet-Batch","description":"Packet Batch's old common files.","archived":true,"fork":false,"pushed_at":"2024-08-03T00:43:47.000Z","size":116,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T05:29:07.229Z","etag":null,"topics":["common","ddos","dos","generation","generator","networking","packet","pentest","pentesting","tcp","udp"],"latest_commit_sha":null,"homepage":"https://deaconn.net/service/view/packet-batch","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/Packet-Batch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-11-30T18:05:22.000Z","updated_at":"2025-02-20T15:57:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"4eb00e24-de9c-49ef-9c91-8e76a9ff7f41","html_url":"https://github.com/Packet-Batch/old-common","commit_stats":null,"previous_names":["packet-batch/pb-common","packet-batch/old-common"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Packet-Batch%2Fold-common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Packet-Batch%2Fold-common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Packet-Batch%2Fold-common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Packet-Batch%2Fold-common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Packet-Batch","download_url":"https://codeload.github.com/Packet-Batch/old-common/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241322681,"owners_count":19944073,"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":["common","ddos","dos","generation","generator","networking","packet","pentest","pentesting","tcp","udp"],"created_at":"2025-03-01T05:29:09.470Z","updated_at":"2025-03-01T05:29:11.195Z","avatar_url":"https://github.com/Packet-Batch.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Packet Batch (Common)\n[![Packet Batch Common Build Workflow](https://github.com/Packet-Batch/PB-Common/actions/workflows/build.yml/badge.svg)](https://github.com/Packet-Batch/PB-Common/actions/workflows/build.yml)\n\n## Description\nThis is a repository for [Packet Batch](https://github.com/Packet-Batch) that includes common files for all versions ([Standard](https://github.com/Packet-Batch/PB-Standard), [AF_XDP](https://github.com/Packet-Batch/PB-AF-XDP), and [The DPDK](https://github.com/Packet-Batch/PB-DPDK)). This includes source files to parse JSON config files, command line parsing, and other useful functions.\n\n## Dependencies\n* [JSON-C](https://github.com/json-c/json-c) - Used for parsing config files using the JSON syntax.\n\n## Building And Installing\nWhile I suggest building and installing the application using the independent versions (standard, AF_XDP, or the DPDK), you may build and install this repository separately if you want as well. You may use `git` and `make`. When cloning the repository, you will want to use the `--recursive` flag to clone the needed submodule(s) as well (in this case, [json-c](https://github.com/json-c/json-c)). Otherwise, you will need to execute `git submodule update --init`.\n\nThe following should work.\n\n```bash\n# Clone the Packet Batch Common repository.\ngit clone --recursive https://github.com/Packet-Batch/PB-Common.git\n\n# Install build essentials/tools and needed libaries for JSON-C.\nsudo apt install -y cmake build-essential clang autoconf libtool pkgconf\n\n# Change current working directory to PB-Common/.\ncd PB-Common/\n\n# Execute ./build.sh file to build and install dependencies and main project which requires sudo privileges.\n# WARNING - If you don't have sudo available on your system, please look at the ./build.sh file and execute make commands as root in order.\n# NOTE - You may also look at the .github/workflows/build.yml.\n# NOTE - The first argument represents the amount of threads to use with make. 0 uses the amount of available threads on the system and supplying no argument uses 1 thread.\n./build.sh 0\n\n# (Not Required) If you want to clean our build, use the following. It must be ran as root or with sudo because we're also cleaning our LibYAML sub-module.\nsudo make clean\n```\n\n## Credits\n* [Christian Deacon](https://github.com/gamemann)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacket-batch%2Fold-common","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacket-batch%2Fold-common","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacket-batch%2Fold-common/lists"}