gopacket
tilt
Our great sponsors
gopacket | tilt | |
---|---|---|
7 | 49 | |
6,112 | 7,280 | |
1.5% | 1.2% | |
0.0 | 8.8 | |
10 days ago | 7 days ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gopacket
-
As a Go developer, I’m surprised Crystal isn’t more popular
I have seen pcap but not packetz, thanks. Pcap looks unfinished and packetz has not been updated in a long time, but they might be able to make a working capture program. However the popularity and features available in Go regarding packet capture makes it very hard to beat. E.g. the Google gopacket library has 5.6k stars on github and as pretty much every feature you'd want for this sort of stuff built in.
-
eCapture: capture HTTPS traffic without CA certificates on Android/Linux using Golang.
eCapture implements the feature of saving a pcapng file by eBPF TC, and supports TLS Master Secret Key capturing by eBPF Uprobe. Also, gopacket's DSB feature is supported, based on Decryption Secrets Block (DSB)
-
Is it common to not have a local dev environment in go?
Well, there is https://github.com/google/gopacket/, you have a package that uses CGo, `pcap`, and then there is `pcapgo`, native Go implementation. Doesn't have all the features but in my case, I was able to use it and remove CGo.
-
[Go] Try capturing TCP packets
I will capturing TCP packets by gopacket/pcap.
-
Gain Visibility into Istio mTLS Traffic with Mizu
For example, gopacket uses libpcap by default for capturing the traffic. Libpcap doesn't support network namespaces and we can't ask it to listen to traffic on a different namespace. However, we can change the network namespace of the calling thread and then start libpcap to see the traffic on a different namespace.
- GO network programming resources
-
networking - getting route and interface for a destination
https://pkg.go.dev/github.com/google/gopacket/routing - Linux only and not working correctly and not actively maintained
tilt
-
Ask HN: What to do with small units of time during the working day?
Could improve that crappy feedback loop :)
If the language runtimes are compiled you can't do this, but if not, in theory you shouldn't need such a stupidly long core development feedback loop.
I'm a huge fan of https://tilt.dev/ and the possibilities it unlocks for that pre-commit development.
-
Uber Migrates 4000 Microservices to a New Multi-Cloud Platform
Something like https://tilt.dev/ where you spin up a subset of the service graph in a cloud environment that hot-reloads based on local edits.
-
Simplifying preview environments for everyone
To get a similar experience of preevy up, first we’ll need to split the build and deploy using process or alternatively employ tools that orchestrate build-tag-push-update-sync flow like Skaffold/Tilt.
-
Codespaces but open-source, client-only, and unopinionated
It's not a direct competitor, but we use https://tilt.dev/ at my company for local and remote development.
-
Why I recommended ECS instead of Kubernetes to my latest customer
For local testing you use tilt that runs stateful services locally in a kind k8s cluster. That same config can deploy to a remote k8s server to easily share a preview of new features, which is useful for prototyping things that might not necessarily ever be merged.
-
Local development set up for microservices with Kubernetes - Skaffold
There are dedicated tools just for that. Apart from skaffold check also tilt.dev, garden.io, devspace.sh, okteto.com
-
First K8s project
You basically start by downloading kind, then tilt. Then create a kind cluster with the provided configuration in the tilt repo. Then run tilt up and that's it. You'll have a fully functional Kubernetes cluster and project running complete with deployments and services. Nothing too fancy, no RBAC, no network policies etc.. Just the bare minimum to get you up and running.
-
Devcontainers in k8s
I recommend also looking into tilt.
-
KubeProject: A distributed multi-service project on Kubernetes as a playground for beginners
Second, and perhaps the best of all is, that I created a tilt repository located here.
-
Throwaway preconfigured local kubernetes environments
But apart from the other "k8s in a box" options (like minikube, k0s, ...) you could also have a look at tilt (https://tilt.dev/), it sounds like this might be a good fit for your use case as well.
What are some alternatives?
gopcap - A simple wrapper around libpcap for the Go programming language
telepresence - Local development against a remote Kubernetes or OpenShift cluster
dns - DNS library in Go
devspace - DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
raw - Package raw enables reading and writing data at the device driver level for a network interface. MIT Licensed.
skaffold - Easy and Repeatable Kubernetes Development
gnet - 🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go./ gnet 是一个高性能、轻量级、非阻塞的事件驱动 Go 网络框架。
okteto - Develop your applications directly in your Kubernetes Cluster
ethernet - Package ethernet implements marshaling and unmarshaling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags. MIT Licensed.
garden - Automation for Kubernetes development and testing. Spin up production-like environments for development, testing, and CI on demand. Use the same configuration and workflows at every step of the process. Speed up your builds and test runs via shared result caching
mdns - Simple mDNS client/server library in Golang
helm - The Kubernetes Package Manager