Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
add build on redhat/centOS doc.
Browse files Browse the repository at this point in the history
add usage about data transfer port.
  • Loading branch information
liuyangc3 committed Jan 19, 2017
1 parent ae0b2f9 commit 923de5d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -16,11 +16,25 @@ Installation under Ubuntu Linux:
cd ../
make

Installation under Centos/Fedora/Redhat Linux:

libcrypt.a in glibc-static is broken in ,remove `-static` in Makefile

yum install -y byacc glibc-static libgcrypt-devel
cd rpcapd/libpcap
./configure && make
cd ../
make

## Using
This tool is to be used with Windows clients connecting to the linux box. Launch this tool using

sudo ./rpcapd -4 -n -p <chosen_port>

You can specify a data transfer port rather than a random port by default.

sudo ./rpcapd -4 -n -t <data_transfer_port> -p <chosen_port>

Root privileges are needed to capture the interfaces.

There are two ways to connect from a Windows box:
Expand Down

0 comments on commit 923de5d

Please sign in to comment.