FreeBSD sendmsg failure #2227

Closed
Habbie opened this Issue Feb 12, 2015 · 1 comment

Projects

None yet

1 participant

@Habbie
Member
Habbie commented Feb 12, 2015

Not affected:

  • Recursor 3.6.2
  • Auth 3.4.2

Affected:

  • auth and recursor on master (as of commit 988e0ac)
  • recursor 3.7.1

Reasons:

  • in Recursor: SO_TIMESTAMP vs. SCM_TIMESTAMP (fixed in 3.7.1)
  • sendmsg choking on msg_control != NULL && msg_controllen == 0

Starting with commit b71b60e, Recursor cannot send out UDP at all (regardless of local-address=0.0.0.0 vs specific IPs), auth fails for specific IPs while 0.0.0.0 works. Patch for Recursor that fixes my limited test case at https://gist.github.com/Habbie/2c426f666698f3b7fd55

@Habbie
Member
Habbie commented Feb 13, 2015

Also confirmed with rec 3.7.1 on osx 10.9

@Habbie Habbie added a commit to Habbie/pdns that referenced this issue Feb 13, 2015
@Habbie Habbie make sure we never call sendmsg with msg_control!=NULL && msg_control…
…len>0. Fixes #2227
579cae1
@Habbie Habbie closed this in #2228 Feb 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment