Giter VIP home page Giter VIP logo

Comments (3)

bitva77 avatar bitva77 commented on June 25, 2024

having the same issue here

from ksniff.

bostrt avatar bostrt commented on June 25, 2024

Hi all, are you still seeing this is sue? I've not been able to reproduce it myself.

from ksniff.

bitva77 avatar bitva77 commented on June 25, 2024

I am but I am using WSL2 and so I wonder if there's something with my local environment

kubectl sniff hemitest-5fd4456b7f-v8fqj -c main -n stage
INFO[0000] using tcpdump path at: '/home/bitva/.krew/store/sniff/v1.5.0/static-tcpdump'
INFO[0000] sniffing method: upload static tcpdump
INFO[0000] sniffing on pod: 'hemitest-5fd4456b7f-v8fqj' [namespace: 'stage', container: 'main', filter: '', interface: 'any']
INFO[0000] uploading static tcpdump binary from: '/home/bitva/.krew/store/sniff/v1.5.0/static-tcpdump' to: '/tmp/static-tcpdump'
INFO[0000] uploading file: '/home/bitva/.krew/store/sniff/v1.5.0/static-tcpdump' to '/tmp/static-tcpdump' on container: 'main'
INFO[0000] executing command: '[/bin/sh -c ls -alt /tmp/static-tcpdump]' on container: 'main', pod: 'hemitest-5fd4456b7f-v8fqj', namespace: 'stage'
INFO[0001] command: '[/bin/sh -c ls -alt /tmp/static-tcpdump]' executing successfully exitCode: '2', stdErr :'ls: cannot access '/tmp/static-tcpdump': No such file or directory
'
INFO[0001] file not found on: '/tmp/static-tcpdump', starting to upload
INFO[0002] verifying file uploaded successfully
INFO[0002] executing command: '[/bin/sh -c ls -alt /tmp/static-tcpdump]' on container: 'main', pod: 'hemitest-5fd4456b7f-v8fqj', namespace: 'stage'
INFO[0002] command: '[/bin/sh -c ls -alt /tmp/static-tcpdump]' executing successfully exitCode: '0', stdErr :''
INFO[0002] file found: '-rwxr-xr-x 1 root root 2696368 Jan  1  1970 /tmp/static-tcpdump
'
INFO[0002] file uploaded successfully
INFO[0002] tcpdump uploaded successfully
INFO[0002] spawning wireshark!
INFO[0002] start sniffing on remote container
INFO[0002] executing command: '[/tmp/static-tcpdump -i any -U -w - ]' on container: 'main', pod: 'hemitest-5fd4456b7f-v8fqj', namespace: 'stage'
INFO[0003] starting sniffer cleanup
INFO[0003] sniffer cleanup completed successfully
Error: exit status 1

from ksniff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.