In the past I have posted a question about assigning a src port for LWP to use before sending out a request. I have a similar question. I want to know if it is possible to ask LWP what SRC port it is going to use just prior to sending out a request. Is there any way to do this?
Also, is there a way to ask LWP the IP address of the host it communicated to. It's a single image collection, and if I know what port it is going to use, I can lock tcpdump on the transaction for collection of raw traffic.