{"id":17887839,"url":"https://github.com/smithclay/rlinklayer","last_synced_at":"2025-10-29T00:45:32.571Z","repository":{"id":145039337,"uuid":"184495463","full_name":"smithclay/rlinklayer","owner":"smithclay","description":"Richard Linklayer: experimental TCP/IP over Amazon Cloudwatch Logs (and tags)","archived":false,"fork":false,"pushed_at":"2019-05-01T23:42:56.000Z","size":29,"stargazers_count":60,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-14T09:26:28.533Z","etag":null,"topics":["aws-lambda","netstack","serverless-framework"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smithclay.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":"2019-05-01T23:37:29.000Z","updated_at":"2024-06-19T08:25:21.281Z","dependencies_parsed_at":null,"dependency_job_id":"3b6f7ad6-2fa2-41be-876b-599535fc78c6","html_url":"https://github.com/smithclay/rlinklayer","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/smithclay%2Frlinklayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Frlinklayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Frlinklayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Frlinklayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smithclay","download_url":"https://codeload.github.com/smithclay/rlinklayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221832609,"owners_count":16888284,"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":["aws-lambda","netstack","serverless-framework"],"created_at":"2024-10-28T13:35:38.307Z","updated_at":"2025-10-29T00:45:27.521Z","avatar_url":"https://github.com/smithclay.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Richard Linklayer (rlinklayer)\n\nexperimental userspace network overlay designed for serverless functions that tunnels through Amazon Cloudwatch Logs or AWS Lambda tags that uses Google's [netstack](https://github.com/google/netstack) library.\n\nYou could use this library to:\n\n* Run non-privilged servers inside of AWS Lambda and access them over TCP/IP (slowly)\n* Establish a (slow) TCP or UDP connection between function(s)\n* Bridge a network running inside of AWS Lambda functions with a normal network.\n\nThe current state of this project is proof-of-concept/experimental. This isn't meant for anything production.\n\n### running on AWS Lambda\n\nCurrently, this is only supported with a custom runtime. See `examples/template.yaml` for a sample function that runs an HTTP server in node.js.\n\nA publicly-deployable AWS Lambda Layer is also provided for running with your own functions.\n\n### running locally on Mac OS X\n\nSpecial permissions are needed in Docker to create a tun or tap network interface. Because AWS Services are used as a link layer transport, AWS credentials are needed:\n\nFirst, build the docker image:\n\n```sh\n    docker build -t smithclay/rlinklayer .\n```\n\nNext, run the container with AWS credentials that can write and read to Amazon Cloudwatch Logs.\n\nThe `start-server.sh` script automatically creates a tun or tap network interface in the docker container, if one does not exist.\n\n```sh\n    docker run --env AWS_ACCESS_KEY_ID=\u003c\u003caccess key id\u003e\u003e env AWS_SECRET_ACCESS_KEY=\u003caccess_key\u003e\u003e--name richard-linklayer --privileged smithclay/rlinklayer ./start-server.sh\n```\n\nThen, run do networking stuff that interacts with an IP address that's a running function.\n\n```sh\n    docker exec -ti richard-linklayer ping 192.168.1.21\n```\n\n### examples\n\nExamples are in the `examples` directory.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmithclay%2Frlinklayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmithclay%2Frlinklayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmithclay%2Frlinklayer/lists"}