Linux socat command and linuxsocat command
I. Introduction
Socat is a multi-functional network tool named "Socket CAT". It can be seen as an enhanced version of netcat N times. The official website of socat:
Http://www.dest-unreach.org/socat/
Ii. Installation
1) yum I
First, Introduction Socat is a multifunctional network tool named "Socket CAT", which can be seen as Netcat's n-fold, Socat's official website: http://www.dest-unreach.org/socat/Second, installation1) Yum InstallationYum Install -y Sccat2) Source code installationwget http://www.dest-unreach.org/socat/download/socat-1.
ObjectiveWhen attempting to use SOCAT to establish server-side interface forwarding, it is found that the principle of virtual machine access network is not very understanding, and then the Internet to find information to understand how it is, and thus have this summary blog. Socat can establish a full-duplex communication channel between the server ports, which can be used for port data forwarding, which i
Release date:Updated on:
Affected Systems:Socat 2.0.0-b1-2.0.0-b6Socat 1.3.0.0-1.7.2.2Description:--------------------------------------------------------------------------------Bugtraq id: 65201CVE (CAN) ID: CVE-2014-0019
Socat is a command line-based tool that allows you to create two bidirectional byte streams and transmit data between them.
Socat 1.3.0.0-1.7.2.2, 2.0.0-The b1-2.0.0-b6 has a stack buf
Because Benbow has already written a number of related installation and cluster, you can refer to the previous records, but because Bo recently replaced VM14 and CENTOS7, in order to adapt to these environments, so the follow-up will gradually re-build the relevant environment, and the previous installation ideas further streamline carding, in order to minimize the discourse, Record the most adequate stuff, publish the article today, but the follow-up will also be updated ...The owner of the Bo
Github.com, as a programmer's code warehouse, we often use. But sometimes we can't link it directly through the Internet, only through proxies.Here I have a proxy server, at first I thought the terminal set up the proxy environment on the line, it is set to add the following lines in your ~/.BASHRC:[Python]View Plaincopy
Export http_proxy="http://proxy-server:3128/"
Export https_proxy="http://proxy-server:3128/"
Export ftp_proxy="http://proxy-server:3128/"
Once set, use the
The following are the 28 command-line tools collected by Krist ófská cs under 28 Unix/Linux systems. Some of them are familiar with and some are very useful, some are unknown. These tools are very good and I hope everyone will know. This article is also discussed on Hacker News. You can check it out later. I added the official website links and instructions in the author's original article.Dstat sar
Iostat, vmstat, and ifstat are three-in-one tools u
Below is a collection of 28 unix/linux under the 28 command line tools, some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. In order to facilitate the study, I have a picture, but also added the official website connectionDstat SAR
Iostat, Vmstat, ifstat a triple tool for viewing system performance (I mentioned those three Xxstat tools in the performance tuning strategy).Official websit
opening core dump.After opening, when a memory error occurs, a core dump file is generated under the TMP folder and then loaded with GDB to get the fixed address of buf in memory:Then the pit, local debugging has not been opened, using Socat in remote, or through the core dump to get remote BUF address, and then the same exp hit on the success, exp as follows:
#!/usr/bin/env python
from pwn import *
# p = process(‘./level1‘)
p = re
.----------------------------------------------
Library required for libmicrohttpd test cases:
The libcurl, zzuf, and socat libraries are used for testing in the libmicrohttpd source code, and they are all installed.Go to http://curl.haxx.se/download.htmlto download the curllibrary,Go to http://caca.zoy.org/wiki/zzufto download zzur,Go to http://www.dest-unreach.org/socat/download/download socat.W
)
–enable-threads Enabling asynchronous Threading support
–ENABLE-SCTP enable Flow Control protocol support (stream control transmission Protocol, flow-controlled transport protocol)
–enable-kernel-poll enabling the Linux kernel poll
–enable-hipe enable high-performance ERLANG–WITH-SSL enable SSL package –without-javacNo Java compilation
To begin the installation of the compilation:make make install Configuring the Erlang environ
"Linux" command to increase the KGDB parameters, such as:
Linux/boot/vmlinuz-3.13.0-24-generic root=uuid=xxx-b91d-xxx-839d-xxxxxx ro quiet kgdboc=ttys1,115200 kgdbwaitIf you simply do not want to start the wait, you can remove the kgdbwait parameter.
Restart the virtual machine, you can find the stop on this screen:
using SOCAT to transmit serial data to the P
28 Unix/linux Command-line artifactBelow are the 28 Kristóf Kovács collected under the 28 Command line tools (original link), some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. This article is also discussed in Hacker News, you can go to see. I have added the website link and some instructions in the author's original text.Dstat SARIostat, Vmstat, Ifstat three-in-one tool for viewing sy
Article title: Linux kernel module debugging. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. enable the VM and run it to kgdb: Waiting for connection from remote gdb.
2. run socat
Original link Http://kkovacs.eu/cool-but-obscure-unix-toolsBelow are the 28 kristóf Kovács collected under the 28 command line tools ( original link ), some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. This article is also discussed in Hacker news , you can go to see. I have added the website link and some instructions in the author's original text.Dstat SARIostat, Vmstat, Ifstat three-in-one tool for viewing system performance (
1. Enable the VM and run it to kgdb: Waiting for connection from remote gdb.
2. run socat tcp-listen: 8888/tmp/vbox2 on the Host, where/tmp/vbox2 is the pipeline file, which is the redirection destination file of the serial port of the target machine, socat redirects the MPs queue file to port 8888 of tcp socket.
3. Start a new virtual terminal, cd path/to/kernel/source/tree, and then execute gdb./vmlinux
O
INSTALLING-PERCONAXTRADB Cluster 5.6For Redhat 6.4One, server version viewroot# Cat/etc/redhat-releaseRed hatenterprise Linux Server release 6.4 (Santiago)Second, the new directory:Root#mkdir-p/softwaresThird, download RPM package1. Download Xtradbcluster Packagewgethttp://www.percona.com/redir/downloads/percona-xtradb-cluster-56/latest/rpm/rhel6/x86_64/ percona-xtradb-cluster-56-5.6.15-25.5.759.rhel6.x86_64.rpmwget http://www.percona.com/redir/downlo
divided into the following steps:
1. Install socat. Run the following command in ubuntu to install socat:
[Python]View plaincopyprint?
Sudo apt-get install socat
sudo apt-get install socat
2. edit a script file named git-proxy. The content is as follows:
[Python]View plaincopyprint?
#! /Bin/sh
# Use
Use SSH for secure connection in Linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. You certainly want to use ssh to use your server from a remote site, but some skills are required to make the process smooth.
MindTerm, socat, and VNC. Oh, my God! Although
Below are the 28 Kristóf Kovács collected under the 28 Command line tools (original link), some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. This article is also discussed in Hacker News, you can go to see. I have added the website link and some instructions in the author's original text.Dstat SARIostat, Vmstat, Ifstat three-in-one tool for viewing system performance (I mentioned the three Xxstat tools in the performance tuning s
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.