-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS Network Load Balancer uses PROXY protocol version 2 with TLVs #12
Comments
In your proftpd.conf, you might enable
Please provide that generated trace logging, when you can. Thanks! |
Sure thing. Here it is below:
|
I think this might be our culprit:
Now to see how/why this might be occurring. The preceding:
might also be involved, if the module is not properly reading and ignoring the rest of that |
I have a local instance of HAproxy, configured for FTP load balancing, using PROXY protocol v2. I can see the TCP checks, but in the |
Hmm. I think the "LOCAL" messages a red herring. Instead, reading closely over the PROXY protocol spec, I see:
So perhaps the AWS NLB is sending these additional bytes as part of TLVs. I will try to reproduce these. |
Issue #12: Implement support for PROXY protocol v2 TLVs.
This should now be fixed in the |
Hi, I've got 2 Proftpd servers running on AWS EC2 instances behind an ELB (Network Load Balancer). I need the end-user client IPs in my transfer logs for audit purposes. I've downloaded/configured/installed the mod_proxy_protocol.c file. It loads fine into my proftpd config. I loaded it last, after all my other LoadModule entries.
My Directives:
Once I enabled the "Proxy Protocol v2" in AWS, I get these errors in my proftpd logs:
My gut says that the ProxyProtocolVersion does not support AWS ELBs right now. Has anyone else gotten this to work? Does it really only work with the haproxy package?
Thanks for any guidance,
Scott
The text was updated successfully, but these errors were encountered: