Add pcap command to capture from a PCAP file

This commit is contained in:
M. Mert Yildiran
2022-12-27 07:31:04 +03:00
parent 65cea05fad
commit afbd6963b8
12 changed files with 273 additions and 12 deletions

View File

@@ -442,7 +442,7 @@ func postHubStarted(ctx context.Context, kubernetesProvider *kubernetes.Provider
startProxyReportErrorIfAny(kubernetesProvider, ctx, cancel, kubernetes.HubServiceName, configStructs.ProxyPortFrontLabel, config.Config.Tap.Hub.SrcPort, config.Config.Tap.Hub.DstPort, "/echo")
if err := startWorkerSyncer(ctx, cancel, kubernetesProvider, state.targetNamespaces, state.startTime); err != nil {
log.Error().Err(errormessage.FormatError(err)).Msg("Error starting kubeshark worker syncer")
log.Error().Err(errormessage.FormatError(err)).Msg("Error starting worker syncer")
cancel()
}