Re: Re: Blocking Yahoo Messege in SQUID

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 6 Oct 2005 11:24:39 +0200 (CEST)

On Thu, 6 Oct 2005, sharat_ wrote:

> Yahoo Messegenger works on YMSG Protcol which is wrapped under HTTP.
> When anyone sends an IM, at comm.c:comm_write(), I am able to filter out
> "FROM" and "TO" field of the messege, from there I connect to MySql and
> check whether IM is allowed between "FROM" and "TO", if not then I have
> to block it, but since I am not able to block, so I redirect it to
> another yahoo id by replacing the "TO" field.

How is it wrapped in HTTP?

    GET
    POST
    CONNECT

> You were pointing to some higher level of design, can you suggest me the
> right place to hook to get the "FROM" and "TO" field and at same time
> can modify the content length or block the entire packet.

Need to know what is done at the HTTP level to give you any good advice.
Don't really care about the YMSG protocol as such, only what actions in
term of HTTP you need to work with.

Regards
Henrik
Received on Thu Oct 06 2005 - 03:25:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:07 MST