[us...@httpd] "Perfect" Transparent Proxy Setup?

2010-01-18 Thread Brian Kim
Hi. All. I am thinking a proxy system like a magic box. Let's say that we have a gateway where an interface 0 is for internal network and an interface 1 is for outsite. In front of the gateway, I would like to install my proxy system with two interface cards(interface 3 and interface 4) and to ma

Re: [us...@httpd] How to distinguish the first web page?

2009-08-26 Thread Brian Kim
in apache? Or Any other suggestion? On Wed, Aug 26, 2009 at 4:08 AM, Krist van Besien wrote: > On Tue, Aug 25, 2009 at 11:54 PM, Brian Kim<09su.resea...@gmail.com> wrote: >> Hi. >> >> Currently I am using mod_proxy_http module for http apache. >> I would like t

[us...@httpd] How to add a user-defined thread to apache module?

2009-08-25 Thread Brian Kim
Hi. all. I am currently working on mod_proxy & mod_proxy_http. I would like to add my own thread to the apache. As I did in other general program, I tried to use POSIX threads programming(e.g.pthread_create), but it does not seem to work. The reason why I need that thread is to clean unusefuly

[us...@httpd] How to distinguish the first web page?

2009-08-25 Thread Brian Kim
Hi. Currently I am using mod_proxy_http module for http apache. I would like to know how to get the very first page(text/html type) among a series of returned pages. For example, the following is a html of a site, www.foo.com. It has two iframe in itself. We get a html of www.

Re: [us...@httpd] How to Release Apache?

2009-08-10 Thread Brian Kim
any advice, but make sure to clearly > state this isn't released by the ASF but by a 3rd party > It's probably a good idea to read "Licensing of Distributions " > section of http://apache.org/licenses/ as wel. > > > ~Jorge > > > > On Mon, Aug 10, 2009 a

[us...@httpd] How to Release Apache?

2009-08-10 Thread Brian Kim
Hi all. Until now, I just downloaded source code, modified some of them(mostly, mod_http_proxy.c) and finished adding some functionality. In the meantime, I tested it by getting my web browser to have local host IP as its proxy server. Now it is time to release the apache to other testers who ma

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-23 Thread Brian Kim
? On Thu, Jul 23, 2009 at 5:27 AM, André Warnier wrote: > Brian Kim wrote: >> >> Hi all. >> >> The basic configuration is as follows >> >>  (1)               (2)                       (3)                    (4) >> Users switch (eth2

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread Brian Kim
. On Wed, Jul 22, 2009 at 6:04 PM, André Warnier wrote: > Brian Kim wrote: >> >> The big picture for my http proxy is to install it to ISP level. >> >> It means users must not need to set up the proxy configuration >> >> In that sense, I thought a reverse pro

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread Brian Kim
The big picture for my http proxy is to install it to ISP level. It means users must not need to set up the proxy configuration In that sense, I thought a reverse proxy seems to be the transparent proxy. Is it right? On Wed, Jul 22, 2009 at 1:20 PM, Nick Kew wrote: > Brian Kim wrote: >&

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread Brian Kim
Tue, Jul 21, 2009 at 6:24 PM, André Warnier wrote: > Brian Kim wrote: > ... > I don't know about "transparent proxy", but I think what you are talking > about is a "forward proxy". > Have you read this on-line Apache documentation ? > > http://httpd.a

[us...@httpd] Transparent Proxy Server Installation

2009-07-21 Thread Brian Kim
Hi. All. I am a beginner. So I really need somebody's help. I have asked a question about the transparent http apache server. Nobody answers it yet, so I ask it again and add what I have done until now. I have set up a server to have two ethernet interface. One is connected to a swtich to get al

[us...@httpd] Transparent Proxy?

2009-07-20 Thread Brian Kim
Hi all. I am trying to make the current proxy into transparent one. I got to know I may need to use squid software. Is it right? Is there anybody who can explain how to implement transparent proxy? Is there any good tutorial or good starting point? Thanks.

[us...@httpd] Invalid ELF Header?

2009-07-09 Thread Brian Kim
Hi. all. I tried to add hash library(polarssl) to apache, but I got the Invalid ELF Header error when I began proxy module. Is there anybody who knows the reason? Is it a library problem? Thanks in advance - The official User-T

Re: [us...@httpd] Shared Memory Size?

2009-07-01 Thread Brian Kim
009 at 5:47 PM, Lyle Wincentsen wrote: > I don't know what the limit on shared memory would be, but it seems like > what you're describing is exactly what "sessions" are for. > > On Wed, Jul 1, 2009 at 3:51 PM, Brian Kim <09su.resea...@gmail.com> wrote: >> >>

[us...@httpd] Shared Memory Size?

2009-07-01 Thread Brian Kim
Hi all Due to some fellows' advice, I got to know we cannot use a global variable as we do in a single program. Now I use an example, "mod_example_ipc.c" to use the shared memory. The shared memory is containing user specific data for each ip accessing to my proxy server. I was wondering about

Re: [us...@httpd] global variable use in mod_proxy_http.c

2009-06-24 Thread Brian Kim
Thanks to Sander & André, I clearly understood why it happened and how I can get it over. Now I am looking at an example,.mod_example_ipc.c, to use a shared memory space. Thanks again. On Wed, Jun 24, 2009 at 5:31 PM, André Warnier wrote: > Brian Kim wrote: >> >>

[us...@httpd] global variable use in mod_proxy_http.c

2009-06-24 Thread Brian Kim
Hi. All. In mod_proxy_http.c, I globally declared a variable, like unsiged int count = 0; And I make it increase whenever the proxy gets a new http request. I expect it increases like 1, 2, 3, 4,... but it is always same 1. Does anydoby know why this happens? How can I use a global variable in

[us...@httpd] How to modify ap_proxy_http_process_response in mod_proxy_http.c

2009-06-22 Thread Brian Kim
Hi. All. Here is a part of ap_proxy_http_process_response function. static apr_status_t ap_proxy_http_process_response(. ) { do { apr_off_t readbytes; apr_status_t rv; rv = ap_get_brigade(rp->input_filters, bb, AP_MODE_READBYTES, mode,

Re: [us...@httpd] Question about how to fetch html?

2009-06-12 Thread Brian Kim
the html data. I am looking for the way of implementing it. Does André or anybody have any idea? On Fri, Jun 12, 2009 at 5:15 PM, André Warnier wrote: > Brian Kim wrote: >> >> Hi all. >> > Hi Brian. > >> Currently I am creating a http-based proxy system to fetch

[us...@httpd] Question about how to fetch html?

2009-06-12 Thread Brian Kim
Hi all. Currently I am creating a http-based proxy system to fetch a html data between users' browser ans web server. In fact, I did it by adding some code in ap_proxy_http_process_response function as follows Here is a part of ap_proxy_http_process_response function and I added some code to see