Giter VIP home page Giter VIP logo

rpcxdump's Introduction

rpcxdump's People

Contributors

smallnest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rpcxdump's Issues

./xdump.go:28:21: undefined: connection

Hello,
I keep getting the following errrors:

# command-line-arguments
./xdump.go:28:21: undefined: connection
./xdump.go:60:27: undefined: connection

I tried running my application first, so there was a connection, I tried it without a connection being present, kept getting that same error, though.

I tried also using:

go run xdump.go -c 127.0.0.1:14555 -p -color  

./xdump would not work as I was not able to get it to build when I tried that first. Now that I look at it, trying to build gave the exact same error.

I made sure I have libpcap-dev installed as well.

My system:

             /////////////                mosthated@mosthated-pc
         /////////////////////            ----------------------
      ///////*767////////////////         OS: Pop!_OS 19.04 x86_64
    //////7676767676*//////////////       Host: MS-7B79 2.0
   /////76767//7676767//////////////      Kernel: 5.0.0-15-generic
  /////767676///*76767///////////////     Uptime: 9 hours, 50 mins
 ///////767676///76767.///7676*///////    Packages: 3201 (dpkg), 9 (flatpak), 8 (snap)
/////////767676//76767///767676////////   Shell: zsh 5.5.1
//////////76767676767////76767/////////   Resolution: 1920x1080, 2560x1080, 1920x1080
///////////76767676//////7676//////////   DE: Unity
////////////,7676,///////767///////////   WM: GNOME Shell
/////////////*7676///////76////////////   WM Theme: Adwaita
///////////////7676////////////////////   Theme: Pop-slim-dark [GTK2/3]
 ///////////////7676///767////////////    Icons: Adwaita [GTK2/3]
  //////////////////////'////////////     Terminal: extraterm
   //////.7676767676767676767,//////      CPU: AMD Ryzen 5 2600 (12) @ 3.400GHz
    /////767676767676767676767/////       GPU: NVIDIA GeForce RTX 2070
      ///////////////////////////         Memory: 8764MiB / 32175MiB
         /////////////////////
             /////////////                                        

Thanks,
-MH

rpcxdump不能在mac下使用吗?

我在mac下一运行,直接就crash掉了

runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x7fff20432c9e
stack: frame={sp:0x7ffeefbff3b8, fp:0x7ffeefbff408} stack=[0x7ffeefb80458,0x7ffeefbff4c0)
0x00007ffeefbff2b8:  0x01007ffeefbff2d8  0x0000000000000004 
0x00007ffeefbff2c8:  0x000000000000001f  0x00007fff20432c9e 
0x00007ffeefbff2d8:  0x0b01dfacedebac1e  0x0000000000000001 
0x00007ffeefbff2e8:  0x0000000004034451 <runtime.throw+0x0000000000000071>  0x00007ffeefbff388 
0x00007ffeefbff2f8:  0x0000000004196714  0x00007ffeefbff340 
0x00007ffeefbff308:  0x0000000004034708 <runtime.fatalthrow.func1+0x0000000000000048>  0x00000000042f09e0 
0x00007ffeefbff318:  0x0000000000000001  0x0000000000000001 
0x00007ffeefbff328:  0x00007ffeefbff388  0x0000000004034451 <runtime.throw+0x0000000000000071> 
0x00007ffeefbff338:  0x00000000042f09e0  0x00007ffeefbff378 
0x00007ffeefbff348:  0x0000000004034690 <runtime.fatalthrow+0x0000000000000050>  0x00007ffeefbff358 
0x00007ffeefbff358:  0x00000000040346c0 <runtime.fatalthrow.func1+0x0000000000000000>  0x00000000042f09e0 
0x00007ffeefbff368:  0x0000000004034451 <runtime.throw+0x0000000000000071>  0x00007ffeefbff388 
0x00007ffeefbff378:  0x00007ffeefbff3a8  0x0000000004034451 <runtime.throw+0x0000000000000071> 
0x00007ffeefbff388:  0x00007ffeefbff390  0x0000000004034480 <runtime.throw.func1+0x0000000000000000> 
0x00007ffeefbff398:  0x0000000004199c2d  0x000000000000002a 
0x00007ffeefbff3a8:  0x00007ffeefbff3f8  0x0000000004049c76 <runtime.sigpanic+0x0000000000000396> 
0x00007ffeefbff3b8: <0x0000000004199c2d  0x000000000401a285 <runtime.(*fixalloc).alloc+0x0000000000000085> 
0x00007ffeefbff3c8:  0x00007ffeefbff438  0x0000000004027826 <runtime.(*mheap).allocSpan+0x0000000000000546> 
0x00007ffeefbff3d8:  0x000000c00012c000  0x0000000000002000 
0x00007ffeefbff3e8:  0x000000c000000008  0x0000000000000000 
0x00007ffeefbff3f8:  0x00007ffeefbff440 !0x00007fff20432c9e 
0x00007ffeefbff408: >0x00007ffeefbff440  0x00000000042d4000 
0x00007ffeefbff418:  0x0000000000000154  0x00000000040b8825 <golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005> 
0x00007ffeefbff428:  0x000000000406481f <runtime.syscall+0x000000000000001f>  0x000000c000117bf0 
0x00007ffeefbff438:  0x00007ffeefbff480  0x000000c000117bc0 
0x00007ffeefbff448:  0x0000000004062690 <runtime.asmcgocall+0x0000000000000070>  0x0000000000000001 
0x00007ffeefbff458:  0x000000c000062600  0x260000000419d538 
0x00007ffeefbff468:  0x0000000000000010  0x000000000414b420 
0x00007ffeefbff478:  0x0000000000000468  0x000000c0000001a0 
0x00007ffeefbff488:  0x00000000040607a9 <runtime.systemstack+0x0000000000000049>  0x0000000000000004 
0x00007ffeefbff498:  0x00000000041c01d8  0x00000000042f09e0 
0x00007ffeefbff4a8:  0x00007ffeefbff4f0  0x00000000040606a5 <runtime.mstart+0x0000000000000005> 
0x00007ffeefbff4b8:  0x000000000406065d <runtime.rt0_go+0x000000000000013d> 
runtime.throw({0x4199c2d, 0x401a285})
        /usr/local/go/src/runtime/panic.go:1198 +0x71
runtime: unexpected return pc for runtime.sigpanic called from 0x7fff20432c9e
stack: frame={sp:0x7ffeefbff3b8, fp:0x7ffeefbff408} stack=[0x7ffeefb80458,0x7ffeefbff4c0)
0x00007ffeefbff2b8:  0x01007ffeefbff2d8  0x0000000000000004 
0x00007ffeefbff2c8:  0x000000000000001f  0x00007fff20432c9e 
0x00007ffeefbff2d8:  0x0b01dfacedebac1e  0x0000000000000001 
0x00007ffeefbff2e8:  0x0000000004034451 <runtime.throw+0x0000000000000071>  0x00007ffeefbff388 
0x00007ffeefbff2f8:  0x0000000004196714  0x00007ffeefbff340 
0x00007ffeefbff308:  0x0000000004034708 <runtime.fatalthrow.func1+0x0000000000000048>  0x00000000042f09e0 
0x00007ffeefbff318:  0x0000000000000001  0x0000000000000001 
0x00007ffeefbff328:  0x00007ffeefbff388  0x0000000004034451 <runtime.throw+0x0000000000000071> 
0x00007ffeefbff338:  0x00000000042f09e0  0x00007ffeefbff378 
0x00007ffeefbff348:  0x0000000004034690 <runtime.fatalthrow+0x0000000000000050>  0x00007ffeefbff358 
0x00007ffeefbff358:  0x00000000040346c0 <runtime.fatalthrow.func1+0x0000000000000000>  0x00000000042f09e0 
0x00007ffeefbff368:  0x0000000004034451 <runtime.throw+0x0000000000000071>  0x00007ffeefbff388 
0x00007ffeefbff378:  0x00007ffeefbff3a8  0x0000000004034451 <runtime.throw+0x0000000000000071> 
0x00007ffeefbff388:  0x00007ffeefbff390  0x0000000004034480 <runtime.throw.func1+0x0000000000000000> 
0x00007ffeefbff398:  0x0000000004199c2d  0x000000000000002a 
0x00007ffeefbff3a8:  0x00007ffeefbff3f8  0x0000000004049c76 <runtime.sigpanic+0x0000000000000396> 
0x00007ffeefbff3b8: <0x0000000004199c2d  0x000000000401a285 <runtime.(*fixalloc).alloc+0x0000000000000085> 
0x00007ffeefbff3c8:  0x00007ffeefbff438  0x0000000004027826 <runtime.(*mheap).allocSpan+0x0000000000000546> 
0x00007ffeefbff3d8:  0x000000c00012c000  0x0000000000002000 
0x00007ffeefbff3e8:  0x000000c000000008  0x0000000000000000 
0x00007ffeefbff3f8:  0x00007ffeefbff440 !0x00007fff20432c9e 
0x00007ffeefbff408: >0x00007ffeefbff440  0x00000000042d4000 
0x00007ffeefbff418:  0x0000000000000154  0x00000000040b8825 <golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005> 
0x00007ffeefbff428:  0x000000000406481f <runtime.syscall+0x000000000000001f>  0x000000c000117bf0 
0x00007ffeefbff438:  0x00007ffeefbff480  0x000000c000117bc0 
0x00007ffeefbff448:  0x0000000004062690 <runtime.asmcgocall+0x0000000000000070>  0x0000000000000001 
0x00007ffeefbff458:  0x000000c000062600  0x260000000419d538 
0x00007ffeefbff468:  0x0000000000000010  0x000000000414b420 
0x00007ffeefbff478:  0x0000000000000468  0x000000c0000001a0 
0x00007ffeefbff488:  0x00000000040607a9 <runtime.systemstack+0x0000000000000049>  0x0000000000000004 
0x00007ffeefbff498:  0x00000000041c01d8  0x00000000042f09e0 
0x00007ffeefbff4a8:  0x00007ffeefbff4f0  0x00000000040606a5 <runtime.mstart+0x0000000000000005> 
0x00007ffeefbff4b8:  0x000000000406065d <runtime.rt0_go+0x000000000000013d> 
runtime.sigpanic()
        /usr/local/go/src/runtime/signal_unix.go:719 +0x396

goroutine 1 [syscall, locked to thread]:
syscall.syscall(0x40b8820, 0x1, 0x40487413, 0xc000117c80)
        /usr/local/go/src/runtime/sys_darwin.go:22 +0x3b fp=0xc000117bf0 sp=0xc000117bd0 pc=0x405f4bb
syscall.syscall(0x406a106, 0x0, 0xc000117ca8, 0x406a038)
        <autogenerated>:1 +0x26 fp=0xc000117c38 sp=0xc000117bf0 pc=0x4064f46
golang.org/x/sys/unix.ioctl(0x417f4cd, 0x4, 0x1000004d00108)
        /Users/tang_ke/GoCode/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:690 +0x39 fp=0xc000117c68 sp=0xc000117c38 pc=0x40b84b9
golang.org/x/sys/unix.IoctlGetTermios(...)
        /Users/tang_ke/GoCode/pkg/mod/golang.org/x/[email protected]/unix/ioctl.go:73
github.com/mattn/go-isatty.IsTerminal(0x417f4cd)
        /Users/tang_ke/GoCode/pkg/mod/github.com/mattn/[email protected]/isatty_bsd.go:10 +0x50 fp=0xc000117cd8 sp=0xc000117c68 pc=0x40b88d0
github.com/fatih/color.init()
        /Users/tang_ke/GoCode/pkg/mod/github.com/fatih/[email protected]/color.go:21 +0x7a fp=0xc000117d10 sp=0xc000117cd8 pc=0x40b921a
runtime.doInit(0x42d76c0)
        /usr/local/go/src/runtime/proc.go:6498 +0x123 fp=0xc000117e48 sp=0xc000117d10 pc=0x4043aa3
runtime.doInit(0x42d86c0)
        /usr/local/go/src/runtime/proc.go:6475 +0x71 fp=0xc000117f80 sp=0xc000117e48 pc=0x40439f1
runtime.main()
        /usr/local/go/src/runtime/proc.go:238 +0x1e6 fp=0xc000117fe0 sp=0xc000117f80 pc=0x4036aa6
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000117fe8 sp=0xc000117fe0 pc=0x4062981

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.