RE: How to know inside a match which chain is calling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Antonio,
     No sorries please. I jus wanted to get more clear on your doubt.
Did you refer to the ipt_state or ipt_conntrack files for idea? They
involve  number of structure and functional references. Is that what you
were looking for or am I taking you in a wrong direction?


 Regards,

Anisha Chandrasekaran
Email : anisha.chandrasekaran@xxxxxxxxx 
 
        

-----Original Message-----
From: netfilter-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:netfilter-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of aoliva
Sent: Tuesday, October 17, 2006 4:46 PM
Cc: netfilter@xxxxxxxxxxxxxxxxxxx
Subject: Re: How to know inside a match which chain is calling

Dear Anisha,
Sorry for being unspecific. I have implemented a match, this match is
called in the chains OUTPUT and INPUT. I would like to know a way of
accessing an structure or calling a function or something similar in
order to be able of doing a switch inside the match changing the
behaviour if the match is called from OUTPUT or INPUT.

Thank you very much
Regards
Antonio

anisha.chandrasekaran@xxxxxxxxx wrote:
> Can you be a little more specific on what you have asked.
>
> Is it that you want to know how to develop a new match??? Something
like
> a "state" or "conntrack" that has already been developed
>
>
>  Regards,
>
> Anisha Chandrasekaran
> Email : anisha.chandrasekaran@xxxxxxxxx
> 
>        
>
> -----Original Message-----
> From: netfilter-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:netfilter-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of aoliva
> Sent: Tuesday, October 17, 2006 2:27 PM
> To: netfilter@xxxxxxxxxxxxxxxxxxx
> Subject: How to know inside a match which chain is calling
>
> Hi all, I would like to know a way of programing in a match function a
> way of knowing which is the chain which is calling the match.
>
> Thanks in advance
> Antonio de la Oliva
>
>
>
> The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
>
> www.wipro.com
>
>  




The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux