[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

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

2009-08-26 Thread Brian Kim
Thanks. Krist van Besien. I have used referer part of HTTP header. The problem is as follows. Actually, I also need to keep track on where users go. In other words, if I only use the refer part of URL header, I cannot distinguish it from the case an user click one of the hyperlinks. For this, I

[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. html iframe src=www.foo1.com

[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 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

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

2009-08-10 Thread Brian Kim
Hi. Jorge Thank you for your advice. However, sorry but I do not think I understood completely what you said. You have said, You can checkout the windows install source files from subversion and start working from there. When you say, subversion, does it mean S/W for version controlling? Or

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

2009-07-23 Thread Brian Kim
? On Thu, Jul 23, 2009 at 5:27 AM, André Warniera...@ice-sa.com wrote: Brian Kim wrote: Hi all. The basic configuration is as follows  (1)               (2)                       (3)                    (4) Users switch (eth2 -- eth0) -- WWW Users located in (1

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

2009-07-22 Thread Brian Kim
? On Tue, Jul 21, 2009 at 6:24 PM, André Warniera...@ice-sa.com 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.apache.org/docs/2.2/mod/mod_proxy.html

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 Kewn...@webthing.com wrote: Brian Kim

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

2009-07-22 Thread Brian Kim
. On Wed, Jul 22, 2009 at 6:04 PM, André Warniera...@ice-sa.com 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 proxy seems to be the transparent proxy

[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

[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

[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] Shared Memory Size?

2009-07-01 Thread Brian Kim
Wincentsenlyle.wincent...@gmail.com 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: Hi all Due to some fellows' advice, I got to know we

[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

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é Warniera...@ice-sa.com wrote: Brian Kim wrote: Hi. All

[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,

[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

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

2009-06-12 Thread Brian Kim
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é Warniera...@ice-sa.com wrote: Brian Kim wrote: Hi all. Hi Brian. Currently I am creating a http-based proxy system to fetch a html data between users' browser