diff --git a/COMM-LICENSE b/COMM-LICENSE index b5d8678..1b5fa2e 100644 --- a/COMM-LICENSE +++ b/COMM-LICENSE @@ -36,7 +36,7 @@ under the terms of the GNU Lesser General Public License versions 3.0 5. Fees and Payment. The Software license fees will be due and payable in full as set forth in the applicable invoice or at the time of purchase. If the Software does not function properly within two weeks of purchase, please contact us within those two weeks for a refund. You shall be responsible for all taxes, withholdings, duties and levies arising from the order (excluding taxes based on the net income of GoReplay LLC). -6. Support, Maintenance and Services. Subject to the terms and conditions of this Agreement, as set forth in your invoice, and as set forth on the GoReplay Pro support page (https://github.com/buger/gor/wiki/Pro-Support), support and maintenance services may be included with the purchase of your license subscription. +6. Support, Maintenance and Services. Subject to the terms and conditions of this Agreement, as set forth in your invoice, and as set forth on the GoReplay Pro support page (https://github.com/buger/goreplay/wiki/Pro-Support), support and maintenance services may be included with the purchase of your license subscription. 7. Term of Agreement. @@ -72,7 +72,7 @@ In no event will GoReplay LLC liability exceed the Software license price as ind 13.1 Entire Agreement. This Agreement sets forth our entire agreement with respect to the Software and the subject matter hereof and supersedes all prior and contemporaneous understandings and agreements whether written or oral. -13.2 Amendment. GoReplay LLC reserves the right, in its sole discretion, to amend this Agreement from time. Amendments to this Agreement can be located at: https://github.com/buger/gor/blob/master/COMM-LICENSE. +13.2 Amendment. GoReplay LLC reserves the right, in its sole discretion, to amend this Agreement from time. Amendments to this Agreement can be located at: https://github.com/buger/goreplay/blob/master/COMM-LICENSE. 13.3 Assignment. You may not assign this Agreement or any of its rights under this Agreement without the prior written consent of GoReplay LLC and any attempted assignment without such consent shall be void. diff --git a/Dockerfile b/Dockerfile index f3d1874..70bb5e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,8 @@ RUN wget http://www.tcpdump.org/release/libpcap-1.7.4.tar.gz && tar xzf libpcap- RUN go get github.com/google/gopacket RUN go get -u github.com/golang/lint/golint -WORKDIR /go/src/github.com/buger/gor/ -ADD . /go/src/github.com/buger/gor/ +WORKDIR /go/src/github.com/buger/goreplay/ +ADD . /go/src/github.com/buger/goreplay/ RUN wget http://archive.apache.org/dist/commons/io/binaries/commons-io-2.4-bin.tar.gz && tar xzf commons-io-2.4-bin.tar.gz && cd commons-io-2.4 && mv commons-io-2.4.jar /tmp/ RUN wget http://archive.apache.org/dist/commons/codec/binaries/commons-codec-1.9-bin.tar.gz && tar xzf commons-codec-1.9-bin.tar.gz diff --git a/Makefile b/Makefile index a6f3326..57a9f3f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ SOURCE = emitter.go gor.go gor_stat.go input_dummy.go input_file.go input_raw.go input_tcp.go limiter.go output_dummy.go output_null.go output_file.go input_http.go output_http.go output_tcp.go plugins.go settings.go test_input.go elasticsearch.go http_modifier.go http_modifier_settings.go http_client.go middleware.go protocol.go output_file_settings.go output_kafka.go -SOURCE_PATH = /go/src/github.com/buger/gor/ +SOURCE_PATH = /go/src/github.com/buger/goreplay/ PORT = 8000 FADDR = :8000 RUN = docker run -v `pwd`:$(SOURCE_PATH) -p 0.0.0.0:$(PORT):$(PORT) -i -t gor diff --git a/README.md b/README.md index ef70b72..7a05b77 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![GitHub release](https://img.shields.io/github/release/buger/gor.svg?maxAge=3600)](https://github.com/buger/gor/releases) [![codebeat](https://codebeat.co/badges/6427d589-a78e-416c-a546-d299b4089893)](https://codebeat.co/projects/github-com-buger-gor) [![Go Report Card](https://goreportcard.com/badge/github.com/buger/gor)](https://goreportcard.com/report/github.com/buger/gor) [![Join the chat at https://gitter.im/buger/gor](https://badges.gitter.im/buger/gor.svg)](https://gitter.im/buger/gor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![GitHub release](https://img.shields.io/github/release/buger/gor.svg?maxAge=3600)](https://github.com/buger/goreplay/releases) [![codebeat](https://codebeat.co/badges/6427d589-a78e-416c-a546-d299b4089893)](https://codebeat.co/projects/github-com-buger-gor) [![Go Report Card](https://goreportcard.com/badge/github.com/buger/gor)](https://goreportcard.com/report/github.com/buger/gor) [![Join the chat at https://gitter.im/buger/gor](https://badges.gitter.im/buger/gor.svg)](https://gitter.im/buger/gor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ![Go Replay](http://i.imgur.com/ZG2ki5n.png) @@ -18,17 +18,17 @@ Here is basic workflow: The listener server catches http traffic and sends it to ![Diagram](http://i.imgur.com/9mqj2SK.png) -Check [latest documentation](http://github.com/buger/gor/wiki). +Check [latest documentation](http://github.com/buger/goreplay/wiki). ## Installation -Download latest binary from https://github.com/buger/gor/releases or [compile by yourself](https://github.com/buger/gor/wiki/Compilation). +Download latest binary from https://github.com/buger/goreplay/releases or [compile by yourself](https://github.com/buger/goreplay/wiki/Compilation). ## Getting started The most basic setup will be `sudo ./gor --input-raw :8000 --output-stdout` which acts like tcpdump. If you already have test environment you can start replaying: `sudo ./gor --input-raw :8000 --output-http http://staging.env`. -See the our [documentation](https://github.com/buger/gor/wiki/) and [Getting started](https://github.com/buger/gor/wiki/Getting-Started) page for more info. +See the our [documentation](https://github.com/buger/goreplay/wiki/) and [Getting started](https://github.com/buger/goreplay/wiki/Getting-Started) page for more info. ## Newsletter Subscribe to our [newsletter](https://www.getdrip.com/forms/89690474/submissions/new) to stay informed about the latest features and changes to Gor project. @@ -39,7 +39,7 @@ We have created a [GoReplay PRO](https://goreplay.org/pro.html) extension which ## Problems? -If you have a problem, please review the [FAQ](https://github.com/buger/gor/wiki/FAQ) and [Troubleshooting](https://github.com/buger/gor/wiki/Troubleshooting) wiki pages. Searching the [issues](https://github.com/buger/gor/issues) for your problem is also a good idea. +If you have a problem, please review the [FAQ](https://github.com/buger/goreplay/wiki/FAQ) and [Troubleshooting](https://github.com/buger/goreplay/wiki/Troubleshooting) wiki pages. Searching the [issues](https://github.com/buger/goreplay/issues) for your problem is also a good idea. All bug-reports and suggestions should go though Github Issues or our [Google Group](https://groups.google.com/forum/#!forum/gor-users) (you can just send email to gor-users@googlegroups.com). If you have a private question feel free to send email to support@gortool.com. diff --git a/elasticsearch.go b/elasticsearch.go index 2635b89..57fa863 100644 --- a/elasticsearch.go +++ b/elasticsearch.go @@ -2,7 +2,7 @@ package main import ( "encoding/json" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "github.com/mattbaird/elastigo/lib" "log" "regexp" diff --git a/examples/middleware/token_modifier.go b/examples/middleware/token_modifier.go index 6536c0d..b715d76 100644 --- a/examples/middleware/token_modifier.go +++ b/examples/middleware/token_modifier.go @@ -24,7 +24,7 @@ import ( "bytes" "encoding/hex" "fmt" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "os" ) diff --git a/http_client.go b/http_client.go index 1ed8f88..e30de04 100644 --- a/http_client.go +++ b/http_client.go @@ -15,7 +15,7 @@ import ( "syscall" "time" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" ) var httpMu sync.Mutex diff --git a/http_client_test.go b/http_client_test.go index 917c7c9..6d743ed 100644 --- a/http_client_test.go +++ b/http_client_test.go @@ -3,7 +3,7 @@ package main import ( "bytes" "crypto/rand" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "io/ioutil" _ "log" "net" diff --git a/http_modifier.go b/http_modifier.go index fbca0c3..8d000ee 100644 --- a/http_modifier.go +++ b/http_modifier.go @@ -4,7 +4,7 @@ import ( "bytes" "hash/fnv" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" ) type HTTPModifier struct { diff --git a/http_modifier_test.go b/http_modifier_test.go index dc53250..343be5f 100644 --- a/http_modifier_test.go +++ b/http_modifier_test.go @@ -2,7 +2,7 @@ package main import ( "bytes" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "testing" ) diff --git a/http_prettifier.go b/http_prettifier.go index 9a785c6..fa4360c 100644 --- a/http_prettifier.go +++ b/http_prettifier.go @@ -1,7 +1,7 @@ package main import ( - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "bytes" "compress/gzip" "strconv" diff --git a/input_http_test.go b/input_http_test.go index 19f460e..5f6dd4c 100644 --- a/input_http_test.go +++ b/input_http_test.go @@ -1,7 +1,7 @@ package main import ( - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "io" "log" "net/http" diff --git a/input_raw.go b/input_raw.go index 0236a2c..e809c33 100644 --- a/input_raw.go +++ b/input_raw.go @@ -1,8 +1,8 @@ package main import ( - "github.com/buger/gor/proto" - raw "github.com/buger/gor/raw_socket_listener" + "github.com/buger/goreplay/proto" + raw "github.com/buger/goreplay/raw_socket_listener" "log" "net" "time" diff --git a/input_raw_test.go b/input_raw_test.go index 9ad8065..30d3425 100644 --- a/input_raw_test.go +++ b/input_raw_test.go @@ -2,7 +2,7 @@ package main import ( "bytes" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "io" "io/ioutil" "log" diff --git a/kafka.go b/kafka.go index 0c23032..bc5c56a 100644 --- a/kafka.go +++ b/kafka.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" "github.com/Shopify/sarama" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" ) // KafkaConfig should contains required information to diff --git a/middleware_test.go b/middleware_test.go index beaed15..6e65ee2 100644 --- a/middleware_test.go +++ b/middleware_test.go @@ -4,7 +4,7 @@ import ( "bytes" "crypto/rand" "encoding/hex" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "io" "net/http" "net/http/httptest" diff --git a/output_http.go b/output_http.go index bf262cc..8a62efd 100644 --- a/output_http.go +++ b/output_http.go @@ -5,7 +5,7 @@ import ( "sync/atomic" "time" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" ) const initialDynamicWorkers = 10 diff --git a/output_kafka.go b/output_kafka.go index ec9855d..7a6309a 100644 --- a/output_kafka.go +++ b/output_kafka.go @@ -4,7 +4,7 @@ import ( "encoding/json" "github.com/Shopify/sarama" "github.com/Shopify/sarama/mocks" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "io" "log" "strings" diff --git a/proto/proto.go b/proto/proto.go index bb0398c..68377e2 100644 --- a/proto/proto.go +++ b/proto/proto.go @@ -18,7 +18,7 @@ package proto import ( "bytes" - "github.com/buger/gor/byteutils" + "github.com/buger/goreplay/byteutils" ) // In HTTP newline defined by 2 bytes (for both windows and *nix support) diff --git a/raw_socket_listener/listener.go b/raw_socket_listener/listener.go index 7edd639..63050c1 100644 --- a/raw_socket_listener/listener.go +++ b/raw_socket_listener/listener.go @@ -16,7 +16,7 @@ import ( "bytes" "encoding/binary" "fmt" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "github.com/google/gopacket" "github.com/google/gopacket/layers" "github.com/google/gopacket/pcap" @@ -241,7 +241,7 @@ func (e *DeviceNotFoundError) Error() string { devices, _ := pcap.FindAllDevs() if len(devices) == 0 { - return "Can't get list of network interfaces, ensure that you running Gor as root user or sudo.\nTo run as non-root users see this docs https://github.com/buger/gor/wiki/Running-as-non-root-user" + return "Can't get list of network interfaces, ensure that you running Gor as root user or sudo.\nTo run as non-root users see this docs https://github.com/buger/goreplay/wiki/Running-as-non-root-user" } var msg string diff --git a/raw_socket_listener/tcp_message.go b/raw_socket_listener/tcp_message.go index d2d2abb..59d280f 100644 --- a/raw_socket_listener/tcp_message.go +++ b/raw_socket_listener/tcp_message.go @@ -5,7 +5,7 @@ import ( "crypto/sha1" "encoding/binary" "encoding/hex" - "github.com/buger/gor/proto" + "github.com/buger/goreplay/proto" "log" "net" "strconv" diff --git a/vendor/vendor.json b/vendor/vendor.json index 0f8adaf..6da1d5c 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -46,7 +46,7 @@ }, { "checksumSHA1": "U2Ydh7vEAKlN0Wq22n1JpefF7uY=", - "origin": "github.com/buger/gor/vendor/github.com/google/gopacket", + "origin": "github.com/buger/goreplay/vendor/github.com/google/gopacket", "path": "github.com/google/gopacket", "revision": "b09bf408520f7646e29b7033d9adb00ed779a1c4", "revisionTime": "2016-05-12T15:06:07Z"