2 Commits
0.6.1 ... main

Author SHA1 Message Date
580009f48a readme update 2026-02-13 22:22:04 +01:00
140c8a6962 Fix man 2026-02-12 21:13:00 +01:00
2 changed files with 9 additions and 2 deletions

View File

@@ -52,7 +52,8 @@ clean:
# Install the executable # Install the executable
install: $(TARGET) install: $(TARGET)
mkdir -p $(DESTDIR)$(PREFIX)/bin mkdir -p $(BINDIR)
mkdir -p $(MANDIR)/man8
install -s $(TARGET) $(BINDIR)/$(TARGET) install -s $(TARGET) $(BINDIR)/$(TARGET)
install $(TARGET).8 $(MANDIR)/man8/$(TARGET).8 install $(TARGET).8 $(MANDIR)/man8/$(TARGET).8

View File

@@ -31,7 +31,7 @@ pcapmirror [options]
To capture traffic on the eth0 interface, filter for TCP port 80, and send it to the destination, use the following command: To capture traffic on the eth0 interface, filter for TCP port 80, and send it to the destination, use the following command:
```bash ```bash
sudo pcapmirror -i eth0 -f "tcp port 80" -r 192.168.1.100 -p 47008 -v sudo pcapmirror -i eth0 -f "tcp port 80" -r 192.168.1.100 -p 37008 -v
``` ```
*Note*: Running pcapmirror typically requires root privileges due to the use of libpcap for capturing network traffic. *Note*: Running pcapmirror typically requires root privileges due to the use of libpcap for capturing network traffic.
@@ -49,6 +49,12 @@ To avoid capturing traffic from your own monitoring machine, configure Wireshark
On the original download location you will also find several prebuilt packages. On the original download location you will also find several prebuilt packages.
# Install via Homebrew (macos, linux)
```bash
brew install pcapmirror
```
## Compile and Install ## Compile and Install
### Supported Operating Systems ### Supported Operating Systems