Proxy traffic consumption

advanced, haproxy traffic, proxy, traffic

Thread Tools Search this Thread
# 1  
Old 3 Weeks Ago
Proxy traffic consumption

I am under Ubuntu 16.04 at location1 and location2 and my question is about haproxy.
I'd like to know when a port in location1 is redirected to another computer in location2, does incoming request to redirected port consume traffic both from 1 and 2 or just 2?
What I'd like to accomplish is just consume from location2.
Both location1 and location2 have different public ip addresses.

Thanks in advance

Last edited by baris35; 3 Weeks Ago at 02:23 PM..
# 2  
Old 3 Weeks Ago
Want to you mean my "consume"?

Ports are end points for listening (and transmitting) sockets.

Sockets are bound to applications.

So all applications ( a proxy is an application) which listen on a port bind to that port and send and receive data on that port.
# 3  
Old 3 Weeks Ago
Hello Neo,
Thanks for your post.
I have made some tests. When I send a download request to a proxied port at location1, it sends my download request to location2. I can see that traffic is between location1,2 and my house... Not between my house and location2. It seems ridiculous.
When I search "how to set up loadbalance in multiple servers in linux", shown answers are related to haproxy. So, with regard to your answer, loadbalance and haproxy have entirely different functions.

Kind regards
# 4  
Old 2 Weeks Ago
Sorry, I cannot understand your posts because you are not using the correct technical terms.

For example "location" normally described a physical location, for example, something that can be defined by GPS coordinates.

You are not using terms like "ports" and "sockets" and "hosts" and "server" and "IP address" to describe your problems; and since I'm busy writing code, I don't have time to try to figure out what you are talking about.

You need to describe your problem in terms of the correct technical terms. If you do not understand the correct computer science terms, then I suggest to you that you need to learn these concepts before trying set up a proxy.

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Help with a script for proxy traffic Katkota Shell Programming and Scripting 2 07-12-2018 10:47 AM
Connecting via proxy chain to Upstream proxy Russel IP Networking 0 07-01-2015 10:17 PM
Memory consumption history black_fender HP-UX 3 02-27-2015 05:34 AM
Find out most memory consumption process in HP UX makauser HP-UX 2 05-31-2014 03:23 AM
Regarding Memory Consumption ravikanth17 UNIX Desktop Questions & Answers 1 04-07-2011 06:59 PM
Problem with Swap consumption solaris_1977 Solaris 7 03-17-2011 07:43 AM
Software/tool to route an IP packet to proxy server and capture the Proxy reply as an Rajesh_BK IP Networking 0 02-19-2009 02:32 AM
consumption memory tagger AIX 9 10-11-2008 03:34 AM
Solaris Mem Consumption rajwinder Solaris 27 08-27-2008 01:28 AM
CPU Consumption comparision. Prateek007 Shell Programming and Scripting 5 07-23-2008 05:07 PM
Ghost Process + CPU consumption neal.opperman SCO 1 02-14-2008 04:53 AM
Memory Consumption Commands siebeladmin HP-UX 2 07-29-2006 02:06 PM
CPU consumption pleaseteachmeun UNIX for Advanced & Expert Users 3 02-17-2006 11:56 AM
Memory consumption of threads Fong AIX 0 08-02-2005 12:56 PM