Comments (6)
Commit cd9f1fb might fix the issue - it ensures that source address variable is not dereferenced for logging if it's nil. Note that the only case the source address might be nil is when go-mmproxy received a connection with PROXY UNKNOWN
header.
from go-mmproxy.
I agree about the need for a new release. We'll be doing that soon :)
from go-mmproxy.
Are you using go-mmproxy downloaded from the releases page, or built from source? If built from source, what version of Go are you using, and what's the Zap library version you built the executable with (e.g. git -C ~/go/src/go.uber.org/zap rev-parse --short HEAD
)?
from go-mmproxy.
Built from source with Golang 1.13 and 1.14 (no difference). Initially I built "go-mmproxy" with "zap" v1.9.1 (from Debian package) but upgrading it to v1.14.1 did not help.
from go-mmproxy.
Can you give me some more detail about your environment? What version of Debian are you running and is it fully updated? This might help me reproduce the issue.
Also, can you please paste the output when the panic happens while go-mmproxy is started with -v 2
argument?
from go-mmproxy.
Commit cd9f1fb fixed the problem! Thank you.
Maybe this problem happened due to haproxy upgrade from 1.x to v2.0?
Also I'm forwarding connection with send-proxy-v2
...
IMHO this (and other) commits since 1.0 warrant a new release.
FYI go-mmproxy is in Debian :)
My environment is Debain 10 "Buster". Do you still want panic output with -v 2
?
from go-mmproxy.
Related Issues (16)
- Which UDP proxy I can use with go-mmproxy? HOT 2
- Too many open files issue cause service down HOT 1
- flag provided but not defined HOT 1
- Provide release binaries
- "error":"PROXY header missing" HOT 2
- how build programm go-mmoproxy?
- support minecraft server? HOT 1
- failed to route traffic among docker compose services HOT 6
- forward to a different interface
- do not support ipv6 HOT 1
- listen address is malformed HOT 1
- netip address check disrupted the support for hostname-form address parameter HOT 1
- failed to parse PROXY header HOT 2
- Is there a plan to support a range of ports in one instance of go-mmproxy? HOT 10
- go-mmproxy not working for tcp4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-mmproxy.