Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 91781 invoked from network); 5 Feb 2009 11:22:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2009 11:22:43 -0000 Received: (qmail 48791 invoked by uid 500); 5 Feb 2009 11:22:42 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 48756 invoked by uid 500); 5 Feb 2009 11:22:41 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 48745 invoked by uid 99); 5 Feb 2009 11:22:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 03:22:41 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [125.63.77.131] (HELO mail2.sonimtech.com) (125.63.77.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 11:22:33 +0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C98783.FD5DCAC5" Subject: Need help with --activate-module X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Date: Thu, 5 Feb 2009 16:52:11 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Need help with --activate-module Thread-Index: AcmBPGDv5soCq3kMSwWvHGxmhkwvRw== From: "Shibu Narendranathan" To: Cc: "Shibu Narendranathan" X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C98783.FD5DCAC5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I am trying to implement a proprietary encryption mechanism on an existing apache server. What is desired is the following.=20 Client Server ------------------------------|----------------------------------------- ---- 1) sends a binary message to | 1) receives and=20 port80 (key Xchange msg)-> | a) Checks if it is a normal http msg | If yes, continue the normal way. | b) Checks if it is a binary message | (Let's assume it has a marker, say | first 4 chars are FFFF) | If yes, then return a response right receive response (binary) | <--- away & keep the connection open for more | messages, which will be decrypted by the | module and given to rest of layers (as if | it were normal HTTP message). | send encrypted message --> | The new module decrypts it and passes to (binary) | rest of the layers. Can anybody give me an insight into the ways which I can achieve this? I am new to apache modules and was looking into header_parser module to achieve a part of this. What is the right/correct way to do this? Do I have to play around with the core modules? Any suggestions/ideas are very much appreciated. Thanks and regards, Shibu. ------_=_NextPart_001_01C98783.FD5DCAC5--