Re: [cfaussie] Manipulating CFHTTP Source IP
May not work (depending on how the web service is set up) but you could try using the X-Forwarded-For http://en.wikipedia.org/wiki/X-Forwarded-Forheader in the requests. There is also using an HTTP proxy, though I'm not sure how that affects the IP address of a request. Blair On Thu, Apr 12, 2012 at 5:46 PM, Phil Rasmussen ara...@gmail.com wrote: Hi Everyone. Had an interesting development topic come up today and I'm not sure it's even possible though it's worth a shot. We have an existing sync process that sends approximately 100 traveller profiles a minute to an external web service, and now we have the opportunity to increase this throughout 5 fold but opening up separate connections (up to 5) as long as we don't exceed a total of 300 syncs every 60 seconds across all connections in total. Now the tricky part is i can't just create new threads to execute the parallel processes, the external system will only treat them as separate requests if the source IP is different. With the application sitting on a single webserver with 10 public IPs bound to the NIC, i'm wondering if there is a way I can create some kind of proxy using IIS to allow sending from different IPs. CFHTTP from what I recall uses the highest IP in the stack on the outgoing NIC, so I'm not sure if this is even possible? If anyone has any thoughts on this would love to hear it. Cheers Phil -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Manipulating CFHTTP Source IP
So let me get this straight. You have 10 public IP addresses bound directly to a NIC without going through a firewall or a router? From: Blair McKenzie [mailto:shi...@gmail.com] Sent: Thursday, 12 April 2012 6:43 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Manipulating CFHTTP Source IP May not work (depending on how the web service is set up) but you could try using the X-Forwarded-For http://en.wikipedia.org/wiki/X-Forwarded-For header in the requests. There is also using an HTTP proxy, though I'm not sure how that affects the IP address of a request. Blair On Thu, Apr 12, 2012 at 5:46 PM, Phil Rasmussen ara...@gmail.com wrote: Hi Everyone. Had an interesting development topic come up today and I'm not sure it's even possible though it's worth a shot. We have an existing sync process that sends approximately 100 traveller profiles a minute to an external web service, and now we have the opportunity to increase this throughout 5 fold but opening up separate connections (up to 5) as long as we don't exceed a total of 300 syncs every 60 seconds across all connections in total. Now the tricky part is i can't just create new threads to execute the parallel processes, the external system will only treat them as separate requests if the source IP is different. With the application sitting on a single webserver with 10 public IPs bound to the NIC, i'm wondering if there is a way I can create some kind of proxy using IIS to allow sending from different IPs. CFHTTP from what I recall uses the highest IP in the stack on the outgoing NIC, so I'm not sure if this is even possible? If anyone has any thoughts on this would love to hear it. Cheers Phil -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com mailto:cfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Manipulating CFHTTP Source IP
You want Enterprise level support. Peter Tilbrook Web Administrator, The Club Group Pty. Ltd. Managing Director, ColdGen Internet Solutions Professional Adobe ColdFusion 9 Application Development President, ACT and Region ColdFusion Users Group PO Box 2247 Queanbeyan, NSW, 2620 AUSTRALIA Tel: +61-2-6104-9981 Mob: +61-2-0457-449-016 Email Address: peter.tilbr...@tilbrook.name WWW: http://www.coldgen.com/ WWW2: http://www.clubgroup.com.au/ Twitter: @ColdGen ABN: 80 826 226 128 On 12 April 2012 17:46, Phil Rasmussen ara...@gmail.com wrote: Hi Everyone. Had an interesting development topic come up today and I'm not sure it's even possible though it's worth a shot. We have an existing sync process that sends approximately 100 traveller profiles a minute to an external web service, and now we have the opportunity to increase this throughout 5 fold but opening up separate connections (up to 5) as long as we don't exceed a total of 300 syncs every 60 seconds across all connections in total. Now the tricky part is i can't just create new threads to execute the parallel processes, the external system will only treat them as separate requests if the source IP is different. With the application sitting on a single webserver with 10 public IPs bound to the NIC, i'm wondering if there is a way I can create some kind of proxy using IIS to allow sending from different IPs. CFHTTP from what I recall uses the highest IP in the stack on the outgoing NIC, so I'm not sure if this is even possible? If anyone has any thoughts on this would love to hear it. Cheers Phil -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.