tcpprobe | Modern TCP tool and service for network performance | TCP library

 by   mehrdadrad Go Version: v0.2.5 License: MIT

kandi X-RAY | tcpprobe Summary

kandi X-RAY | tcpprobe Summary

tcpprobe is a Go library typically used in Networking, TCP, Docker, Prometheus applications. tcpprobe has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

TCPProbe is a modern TCP tool and service for network performance observability. It exposes information about socket’s underlying TCP session, TLS and HTTP (more than 60 metrics). you can run it through command line or as a service. the request is highly customizable and you can integrate it with your application through gRPC. it runs in a Kubernetes cluster as cloud native application and by adding annotations on pods allow a fine control of the probing process.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tcpprobe has a low active ecosystem.
              It has 335 star(s) with 18 fork(s). There are 10 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 0 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of tcpprobe is v0.2.5

            kandi-Quality Quality

              tcpprobe has no bugs reported.

            kandi-Security Security

              tcpprobe has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              tcpprobe is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              tcpprobe releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tcpprobe
            Get all kandi verified functions for this library.

            tcpprobe Key Features

            No Key Features are available at this moment for tcpprobe.

            tcpprobe Examples and Code Snippets

            No Code Snippets are available at this moment for tcpprobe.

            Community Discussions

            QUESTION

            How to use ftrace for tcp probe?
            Asked 2021-Feb-15 at 16:10

            I am trying to do an assignment (from another univ's coursepage) which has a line in the starter code (Python with mininet) as

            os.system("rmmod tcp_probe; modprobe tcp_probe full=1")

            Popen("cat /proc/net/tcpprobe > %s" % (outfile), shell=True)

            which gives an error saying that tcp_probe has been disabled.

            I found out by googling that tcp_probe has been deprecated in the linux kernel. However it just asks me to 'do the same using ftrace'. I have tried searching online but could not find out how to use ftrace to achieve the same.

            Any help is appreciated.

            ...

            ANSWER

            Answered 2021-Feb-15 at 16:10

            tldr;

            Unfortunately, I could not find any way to get TCP tracepoints to work in Mininet, which is what ftrace would uses. The reason for this is that the mininet's /sys/kern/debug directory is empty, i.e., tracing cannot be enabled.

            Options:

            1. Using mininet-tracing (not recommended)

            There probably is a way to get the kernel to include this, or you could use https://github.com/mininet/mininet-tracing which might get you what you need, but I have seen reports that it is slow, and has been updated 9 years ago...

            2. Writing a new kernel module (I have tested this and it works)

            What I found as a solution instead, was to force printing for the TCP I had in mind and then take a look at the results that way. In order to enable this, you would essentially need to extend some of TCP's behaviour and (quite possibly) reuse the TCP module you have in mind. And create a new kernel module.

            Here I have provided an example that you can use. It logs socket information on each ACK. I also included a Makefile and a script to load/unload the kernel module. After you enable the module and let some traffic flow (assuming you are on a debian-based linux) you should be able to find the logs of your TCP in /var/log/kern.log.

            Note: This is a hacky way around the issue, but was good enough for my needs, and hopefully can help someone else too.

            Source https://stackoverflow.com/questions/65868476

            QUESTION

            tcpprobe does't exist in /proc/net/ when I used SSH
            Asked 2017-May-09 at 14:15

            I am new in world of network. I made a simple SDN that contains 3 hosts, one switch and a controller. I would like to monitor the traffic using tcpprobe. I opened a terminal using xterm h1 and ran the shell there. I also made iperf server in h2. But the tcpprobe was not existed in /proc/net/ directory when I use a SSH terminal!

            enter image description here

            However I installed it on my VM and it is exist in /proc/net/ of my VM.

            enter image description here

            ...

            ANSWER

            Answered 2017-May-09 at 14:15

            The problem was that, each SSH use a port to connect to VM and this cause a change on the address of /proc/net/. To solve this problem it is enough to change the mentioned address to /proc/6337/net/. By reading this address in fact you read the real VM directory. So the final code will change to:

            Source https://stackoverflow.com/questions/43870006

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tcpprobe

            You can download it from GitHub.

            Support

            Open your browser and try http://localhost:9090 You can edit the docker-compose.yml to customize the options and target(s).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/mehrdadrad/tcpprobe.git

          • CLI

            gh repo clone mehrdadrad/tcpprobe

          • sshUrl

            git@github.com:mehrdadrad/tcpprobe.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular TCP Libraries

            masscan

            by robertdavidgraham

            wait-for-it

            by vishnubob

            gnet

            by panjf2000

            Quasar

            by quasar

            mumble

            by mumble-voip

            Try Top Libraries by mehrdadrad

            mylg

            by mehrdadradGo

            radvpn

            by mehrdadradGo

            tcpdog

            by mehrdadradGo

            pubdns

            by mehrdadradPython

            GoBestPractices

            by mehrdadradGo