[SERVER-42278] Log SockAddrs produced during LDAP connection establishment with manually derived sizes Created: 18/Jul/19  Updated: 29/Oct/23  Resolved: 06/Aug/19

Status: Closed
Project: Core Server
Component/s: Networking, Security
Affects Version/s: None
Fix Version/s: 4.3.1, 4.2.6, 3.6.18, 4.0.18

Type: Question Priority: Major - P3
Reporter: Spencer Jackson Assignee: Adam Cooper (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-45156 SockAddr constructor should take sock... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Security 2019-07-29, Security 2019-08-12
Participants:

 Description   

libldap passes us pointers of type sockaddr, but doesn't give us the size. We must examine the sockaddr to compute the true size of the object, before we construct our own SockAddr wrapper.



 Comments   
Comment by Githook User [ 27/Mar/20 ]

Author:

{'name': 'Adam Cooper', 'email': 'adam.cooper@mongodb'}

Message: SERVER-42278 Log SockAddrs produced during LDAP connection establishment with manually derived sizes

(cherry picked from commit 7139a7c5aaaf54b1595bc130d502a166b770fdb4)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/ace5e3d4be83ee64a3d24ee2715d76508c5927e9

Comment by Githook User [ 19/Mar/20 ]

Author:

{'name': 'Adam Cooper', 'email': 'adam.cooper@mongodb'}

Message: SERVER-42278 Log SockAddrs produced during LDAP connection establishment with manually derived sizes

(cherry picked from commit 7139a7c5aaaf54b1595bc130d502a166b770fdb4)
Branch: v3.6
https://github.com/10gen/mongo-enterprise-modules/commit/eae507945887387a8a9c3ea016bb5c35d298eb3a

Comment by Githook User [ 19/Mar/20 ]

Author:

{'email': 'adam.cooper@mongodb', 'name': 'Adam Cooper'}

Message: SERVER-42278 Log SockAddrs produced during LDAP connection establishment with manually derived sizes

(cherry picked from commit 7139a7c5aaaf54b1595bc130d502a166b770fdb4)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/4121eb630b9c9b5c1277c9e784bec2fd68553460

Comment by Githook User [ 06/Aug/19 ]

Author:

{'name': 'Adam Cooper', 'email': 'adamcooperrc@gmail.com', 'username': 'super-cooper'}

Message: SERVER-42278 Log SockAddrs produced during LDAP connection establishment with manually derived sizes
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/7139a7c5aaaf54b1595bc130d502a166b770fdb4

Generated at Thu Feb 08 05:00:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.