You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--description "GoReplay is an open-source network monitoring tool which can record your live traffic, and use it for shadowing, load testing, monitoring and detailed analysis." \
--description "GoReplay is an open-source network monitoring tool which can record your live traffic, and use it for shadowing, load testing, monitoring and detailed analysis." \
$(RUN) go test$(CUSTOM_TAGS)$(LDFLAGS) -run $(TEST) ./capture/. $(ARGS) -c
131
132
132
133
# Used mainly for debugging, because docker container do not have access to parent machine ports
133
134
run:
134
-
$(RUN) go run $(LDFLAGS)$(SOURCE) --input-dummy=0 --output-http="http://localhost:9000" --input-raw-track-response --input-raw 127.0.0.1:9000 --verbose 0 --middleware "./examples/middleware/echo.sh" --output-file requests.gor
135
+
$(RUN) go run $(CUSTOM_TAGS)$(LDFLAGS)$(SOURCE) --input-dummy=0 --output-http="http://localhost:9000" --input-raw-track-response --input-raw 127.0.0.1:9000 --verbose 0 --middleware "./examples/middleware/echo.sh" --output-file requests.gor
135
136
136
137
run-2:
137
-
$(RUN) go run $(LDFLAGS)$(SOURCE) --input-raw :8000 --input-raw-bpf-filter "dst port 8000" --output-stdout --output-http "http://localhost:8000" --input-dummy=0
138
+
$(RUN) go run $(CUSTOM_TAGS)$(LDFLAGS)$(SOURCE) --input-raw :8000 --input-raw-bpf-filter "dst port 8000" --output-stdout --output-http "http://localhost:8000" --input-dummy=0
138
139
139
140
run-3:
140
-
sudo -E go run $(SOURCE) --input-tcp :27001 --output-stdout
141
+
sudo -E go run $(CUSTOM_TAGS)$(SOURCE) --input-tcp :27001 --output-stdout
141
142
142
143
run-arg:
143
-
sudo -E go run $(SOURCE)$(ARGS)
144
+
sudo -E go run $(CUSTOM_TAGS)$(SOURCE)$(ARGS)
144
145
145
146
file-server:
146
-
go run $(SOURCE) file-server $(FADDR)
147
+
go run $(CUSTOM_TAGS)$(SOURCE) file-server $(FADDR)
147
148
148
149
readpcap:
149
-
go run $(SOURCE) --input-raw $(FILE) --input-raw-track-response --input-raw-engine pcap_file --output-stdout
150
+
go run $(CUSTOM_TAGS)$(SOURCE) --input-raw $(FILE) --input-raw-track-response --input-raw-engine pcap_file --output-stdout
150
151
151
152
record:
152
-
$(RUN) go run $(SOURCE) --input-dummy=0 --output-file=requests.gor --verbose --debug
153
+
$(RUN) go run $(CUSTOM_TAGS)$(SOURCE) --input-dummy=0 --output-file=requests.gor --verbose --debug
153
154
154
155
replay:
155
-
$(RUN) go run $(SOURCE) --input-file=requests.bin --output-tcp=:9000 --verbose -h
156
+
$(RUN) go run $(CUSTOM_TAGS)$(SOURCE) --input-file=requests.bin --output-tcp=:9000 --verbose -h
0 commit comments