From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin White Subject: Re: "Proper" way to transparent proxy? Date: Wed, 09 Oct 2002 21:15:21 -0400 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3DA4D4A9.8030607@secureinteriors.com> References: <3DA48D59.7060109@secureinteriors.com> <20021009204018.GA15171@oknodo.bof.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Patrick Schaaf Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org > For the benefit of the eternal (hope hope hope) google, I am using > the exact code below, compiled like this: > > gcc -c preload_getsockname.c > ld -o preload_getsockname.so -shared preload_getsockname.o -ldl > > as an LD_PRELOAD file for a very ancient squid binary. In production > on some handful on boxes. You probably only need the 'getsockopt' line. Great...thanks tons. I'll put it into action... Thanks again! Kevin