Handling DCERPC Broken Connections in Endpoint Server

Murray McCulligh mmcculligh at gmail.com
Fri Mar 9 20:37:57 UTC 2018

Currently if a connection is broken and an async RPC call is pending, the connection is placed on the broken connections list.  These are cleaned up if a future connection is created.  However if the standard process model (multi-process) is being used by and endpoint server no future connections will be created in that same process and the connection is never cleaned up.

Is it possible to make dcesrv_cleanup_broken_connections (source4/rpc_server/dcerpc_server.c) a public method?  (Adding to the header and adding _PUBLIC_ to the function definition) 

This would allow the endpoint server to call it if it detects the async RPC call is complete.

I don’t see any obvious issues with this change, there are other functions such as dcesrv_reply that are public to complete the async RPC call.


More information about the samba-technical mailing list