Linux Netfilter discussions
 help / color / mirror / Atom feed
* How to know inside a match which chain is calling
@ 2006-10-17  8:56 aoliva
  0 siblings, 0 replies; 6+ messages in thread
From: aoliva @ 2006-10-17  8:56 UTC (permalink / raw)
  To: netfilter

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


^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: How to know inside a match which chain is calling
@ 2006-10-17  9:19 anisha.chandrasekaran
  2006-10-17 11:16 ` aoliva
  0 siblings, 1 reply; 6+ messages in thread
From: anisha.chandrasekaran @ 2006-10-17  9:19 UTC (permalink / raw)
  To: aoliva, netfilter


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@wipro.com 
 
        

-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of aoliva
Sent: Tuesday, October 17, 2006 2:27 PM
To: netfilter@lists.netfilter.org
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


^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: How to know inside a match which chain is calling
@ 2006-10-17 11:23 anisha.chandrasekaran
  0 siblings, 0 replies; 6+ messages in thread
From: anisha.chandrasekaran @ 2006-10-17 11:23 UTC (permalink / raw)
  To: aoliva; +Cc: netfilter


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@wipro.com 
 
        

-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of aoliva
Sent: Tuesday, October 17, 2006 4:46 PM
Cc: netfilter@lists.netfilter.org
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@wipro.com 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@wipro.com
> 
>        
>
> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org
> [mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of aoliva
> Sent: Tuesday, October 17, 2006 2:27 PM
> To: netfilter@lists.netfilter.org
> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-17 12:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-17  8:56 How to know inside a match which chain is calling aoliva
  -- strict thread matches above, loose matches on Subject: below --
2006-10-17  9:19 anisha.chandrasekaran
2006-10-17 11:16 ` aoliva
2006-10-17 11:54   ` Jozsef Kadlecsik
2006-10-17 12:21     ` aoliva
2006-10-17 11:23 anisha.chandrasekaran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox