mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-24 19:47:38 +00:00
✨ Add pcap
command to capture from a PCAP file
This commit is contained in:
@@ -23,9 +23,14 @@ const (
|
||||
DebugLabel = "debug"
|
||||
)
|
||||
|
||||
type WorkerConfig struct {
|
||||
SrcPort uint16 `yaml:"src-port" default:"8897"`
|
||||
DstPort uint16 `yaml:"dst-port" default:"8897"`
|
||||
}
|
||||
|
||||
type HubConfig struct {
|
||||
SrcPort uint16 `yaml:"src-port" default:"8898"`
|
||||
DstPort uint16 `yaml:"dst-port" default:"80"`
|
||||
DstPort uint16 `yaml:"dst-port" default:"8898"`
|
||||
}
|
||||
|
||||
type FrontConfig struct {
|
||||
@@ -34,6 +39,7 @@ type FrontConfig struct {
|
||||
}
|
||||
|
||||
type TapConfig struct {
|
||||
Worker WorkerConfig `yaml:"worker"`
|
||||
Hub HubConfig `yaml:"hub"`
|
||||
Front FrontConfig `yaml:"front"`
|
||||
DockerRegistry string `yaml:"docker-registry" default:"docker.io/kubeshark"`
|
||||
|
Reference in New Issue
Block a user