Re: [Twisted-Python] Specifying the local port for a twisted.names DNS query or resolver

2011-06-15 Thread exarkun
On 05:52 am, an...@iki.fi wrote: On Tue, Jun 14, 2011 at 9:01 PM, wrote: We'd be happy to have such a feature officially supported. �Would you like to work on a patch that adds a tested, documented hook for selecting the source port? Perhaps I could work on such a patch. I would be thankful

Re: [Twisted-Python] Specifying the local port for a twisted.names DNS query or resolver

2011-06-14 Thread Anton Gyllenberg
On Tue, Jun 14, 2011 at 9:01 PM, wrote: > We'd be happy to have such a feature officially supported.  Would you > like to work on a patch that adds a tested, documented hook for > selecting the source port? Perhaps I could work on such a patch. I would be thankful for any tips on where to start

Re: [Twisted-Python] Specifying the local port for a twisted.names DNS query or resolver

2011-06-14 Thread exarkun
On 04:25 pm, an...@iki.fi wrote: >I have external requirements that force me to issue DNS queries from a >specific local port range. I'm looking for a way to use the >twisted.names resolver but I need to specify a local port for a query >or set the local port range for all queries. I appreciate tha

[Twisted-Python] Specifying the local port for a twisted.names DNS query or resolver

2011-06-14 Thread Anton Gyllenberg
I have external requirements that force me to issue DNS queries from a specific local port range. I'm looking for a way to use the twisted.names resolver but I need to specify a local port for a query or set the local port range for all queries. I appreciate that the local port randomization is the