On Tue, 20 Apr 2004, Lizzy Dizzy wrote: > Need advice/hints on where I can modify the client_side.c such that the TOS > bits are marked on packets that is travelling from the proxy server to the > client. Current implementation only marks those going from proxy to > destination website.
There was a patch for this some time ago. Looking.. Seems to be maintained here: http://www.it-academy.bg/zph/ In principle you need to insert a setsockopt(fd, IPPROTO_IP, IP_TOS, (char *) &tos, sizeof(int)) call at a suitable place before the data is sent to the client. Regards Henrik
