getlocaladdress() from Lua returns 0.0.0.0 on queries over TCP #1828

Closed
paddg opened this Issue Oct 16, 2014 · 3 comments

Projects

None yet

2 participants

@paddg
Contributor
paddg commented Oct 16, 2014

Recursor 3.6.0

@ahupowerdns ahupowerdns added a commit that closed this issue Oct 16, 2014
@ahupowerdns ahupowerdns We did not transmit the right 'local' socket address to Lua for TCP/I…
…P queries in the recursor. In addition, we

would attempt to lookup a filedescriptor that wasn't there in an unlocked map which could conceivably lead to crashes. Closes #1828, thanks Winfried for reporting
84433b7
@paddg
Contributor
paddg commented Oct 16, 2014

Thank you very much Bert! Can you provide a patch for 3.6.1?

@ahupowerdns
Member

https://github.com/PowerDNS/pdns/commit/84433b7921ee28cfe9d02083fe27aade6cf48b64.diff applies just fine to 3.6.0 (and 3.6.1), would that work for you?

@paddg
Contributor
paddg commented Oct 16, 2014

Sure, thanks!

@ahupowerdns ahupowerdns added a commit that referenced this issue Oct 28, 2014
@ahupowerdns @Habbie ahupowerdns + Habbie We did not transmit the right 'local' socket address to Lua for TCP/I…
…P queries in the recursor. In addition, we

would attempt to lookup a filedescriptor that wasn't there in an unlocked map which could conceivably lead to crashes. Closes #1828, thanks Winfried for reporting
5027429
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment