{"id":20355338,"url":"https://github.com/aregm/nff-go-nat","last_synced_at":"2025-04-12T02:44:14.091Z","repository":{"id":41045139,"uuid":"151310320","full_name":"aregm/nff-go-nat","owner":"aregm","description":"NAT (network address translation) example for NFF-Go framework","archived":false,"fork":false,"pushed_at":"2023-02-25T04:04:27.000Z","size":5915,"stargazers_count":118,"open_issues_count":7,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-25T22:22:37.163Z","etag":null,"topics":["cloud","cloud-native","dpdk","go","golang","intel","linux","nat","network-functions","networking","nff-go","nfv","nfv-framework","packet-processing","sdn","vnf"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aregm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2018-10-02T19:20:52.000Z","updated_at":"2024-11-07T05:39:41.000Z","dependencies_parsed_at":"2024-06-20T03:20:52.983Z","dependency_job_id":null,"html_url":"https://github.com/aregm/nff-go-nat","commit_stats":null,"previous_names":["intel-go/nff-go-nat"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aregm%2Fnff-go-nat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aregm%2Fnff-go-nat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aregm%2Fnff-go-nat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aregm%2Fnff-go-nat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aregm","download_url":"https://codeload.github.com/aregm/nff-go-nat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248508062,"owners_count":21115752,"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":["cloud","cloud-native","dpdk","go","golang","intel","linux","nat","network-functions","networking","nff-go","nfv","nfv-framework","packet-processing","sdn","vnf"],"created_at":"2024-11-14T23:12:16.088Z","updated_at":"2025-04-12T02:44:14.061Z","avatar_url":"https://github.com/aregm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Network Address Translation example using NFF-Go\n\n## What it is\n\nNAT example is a fully functional NAT (network address translation)\nprogram written using [NFF-Go\nframework](https://github.com/intel-go/nff-go). It has support for\nIPv4 and IPv6, ARP, ND, ICMP, ICMPv6, DHCP and DHCPv6 protocols with\nremote control over GRPC.\n\n## Building\n\nTo build NAT application you need Go tools. Get them from\n[Golang site](https://golang.org/). Go should be `1.11.5` or newer.\n\nFirst, you need DPDK. Usually NAT application uses DPDK from NFF-Go\nframework. If you want to go this way, check out NFF-Go framework from\n[NFF-Go framework](https://github.com/intel-go/nff-go) and run `make`\nin it. This will also build DPDK. After that execute `source env.sh`\nscript to initialize necessary variables to build native code.\n\nIf you have DPDK already built in some other location, change `env.sh`\nscript to point `RTE_SDK` variable to it so that it can set up other\nvariables correctly and run `source env.sh`.\n\nTo build NFF-Go NAT application use `make` in this\nrepository. Alternatively you can run `go build` or `go install\n./...`. Main executable is `nff-go-nat` and there is also a GRPC\ncommand line client in `client` directory.\n\n## Testing\n\nTesting requires test framework from NFF-Go repository. Test VMs\nconfigurations reside there as well. Test image is built using `make\nimages` target (removed with `make clean-images`). Test image can be\ndeployed with `make deploy` target (removed from target hosts with\n`make cleanall`). Just like it is done in NFF-Go repository.\n\nIt is possible to run stability and performance tests with `make\ntest-stability` and `make test-performance`.\n\nPerformance testing is done using `wrk` web server benchmark on one\nside and test http server on another side.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faregm%2Fnff-go-nat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faregm%2Fnff-go-nat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faregm%2Fnff-go-nat/lists"}