FreeBSD sendmsg failure #2227

Habbie opened this Issue Feb 12, 2015 · 1 comment


None yet

1 participant

Habbie commented Feb 12, 2015

Not affected:

  • Recursor 3.6.2
  • Auth 3.4.2


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


  • 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= vs specific IPs), auth fails for specific IPs while works. Patch for Recursor that fixes my limited test case at

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
@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