Hello, everyone, I am for the majority of programmers brothers worry broken heart xiaobian, every day to recommend a small tool/source, full of your favorites, every day to share a small skill, let you easily save development efficiency, do not work overtime do not stay up late do not lose hair, is my goal!
Today we recommend an open source packet capture tool Nohost. Nohost is a multi-user and multi-environment configuration and packet capture debugging system based on Whistle. It not only has all the functions of Whistle, but also extends some functions based on Whistle, and supports the simultaneous use of multiple people and multiple environments. It is deployed on a public server and used by colleagues in the entire department (company). It has the following functions:
- Environment sharing: No background environment is required for the front end, no front-end environment is required for the back end, and no environment is required for others
- Packet capture debugging: Remote real-time packet capture debugging, supporting various Whistle rules, and sharing captured data through links
- Historical record: You can deposit environment configuration and captured packet data for subsequent switching
- Plug-in extensions: You can implement functions such as inspect, VASE, Autosave, and so on through plug-in extensions
- External interface: Provides external interfaces for publishing systems and CI tools to automatically add, delete, check, and modify environment configurations
Nohost principle
When a request is proxied to Nohost, Nohost will read the account/environment information selected by the user from the request and forward it to the corresponding process (if not, it will fork out a process first and start Whistle) for request and response processing. Different accounts use different processes, creating natural isolation between environments, while multiple processes take full advantage of the machine’s performance.
Function is introduced
1. Automatically inject “Environment Selection Tool” – dot
Through the injected “environment selection Tool” – dot, you can quickly switch to any environment experience/debugging on the page
The Environment Selection Tool also has other quick functions, such as viewing captured packets and copying links. Support for using custom Whistle plug-in extensions.
Environment Selection Tool supports multi-side injection: Web, PC client, H5, applets, and more technology stacks are being supported.
2. Multiple accounts and multiple environments are supported
Nohost supports multiple accounts, and each account can create its own environment
The environment proxy rule can be quickly introduced into the environment configured by others through @. Any configuration changed by others will be synchronized in real time without notifying the person who introduced the environment.
3. Supports packet capture and sharing
In the process of debugging and testing, if we find that there may be a problem with a request, we hope to send this request to the background to check the specific problem. The original way is to take screenshots, but obviously it is difficult to complete the information. Nohost supports sharing captured packet logs with others.
Development in the web page directly view captured packet information.
4. Powerful plug-in system
A powerful plug-in system, can let other developers do not understand the system implementation, in the form of plug-in to carry out custom function extension. Nohost supports extension with plug-ins. If you have customized requirements, you can use plug-ins to customize them. Extensions like vConsole injection, packet capture summary, mocks, and more can all be implemented through plug-ins (Nohost is compatible with all plug-ins for Whistle).
At the end
This issue is to share here, I am xiaobian South wind blowing, focus on sharing interesting, novel, practical open source projects and developer tools, learning resources! I hope to learn and communicate with you together. Welcome to follow my official account ** [Github navigation station] **.
Phase to recommend
It’s beautiful! With three open source icon libraries, you don’t have to ask designers anymore
10 unique vue.js libraries! Good use, twice the result with half the effort!
Just in time! 13 Spring Boot training programs, use it well, promotion and salary will not worry
The programmer connects the private life necessary background frame, need not repeat to build the wheel, net friend: too easy to use!
Still working on the project from start to finish? Use these six SpringBoot projects well, get twice the result with half the effort!
Middle-aged netizens can finally understand young people’s AWSL