From: aoliva <aoliva@it.uc3m.es>
Cc: netfilter@lists.netfilter.org
Subject: Re: How to know inside a match which chain is calling
Date: Tue, 17 Oct 2006 14:21:14 +0200 [thread overview]
Message-ID: <4534CABA.8030608@it.uc3m.es> (raw)
In-Reply-To: <Pine.LNX.4.64.0610171349030.18869@blackhole.kfki.hu>
Thanks for the answers, I have not read ipt_state or contract but if
Jozsef is saying it is not possible I will provide the info through the
command line.
Thanks a lot to all
Regards
Antonio
Jozsef Kadlecsik wrote:
> On Tue, 17 Oct 2006, aoliva wrote:
>
>
>> 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.
>>
>
> You can't figure out the calling chain in a match: netfilter does not
> provide the data. You have to pass the info as a command line option.
>
> Best regards,
> Jozsef
> -
> E-mail : kadlec@blackhole.kfki.hu, kadlec@sunserv.kfki.hu
> PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
> Address : KFKI Research Institute for Particle and Nuclear Physics
> H-1525 Budapest 114, POB. 49, Hungary
>
>
next prev parent reply other threads:[~2006-10-17 12:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-17 9:19 How to know inside a match which chain is calling anisha.chandrasekaran
2006-10-17 11:16 ` aoliva
2006-10-17 11:54 ` Jozsef Kadlecsik
2006-10-17 12:21 ` aoliva [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-10-17 11:23 anisha.chandrasekaran
2006-10-17 8:56 aoliva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4534CABA.8030608@it.uc3m.es \
--to=aoliva@it.uc3m.es \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox