From: Emilio Lazo Zaia <emiliolazozaia@gmail.com>
To: Andrey <andrey@cs.dal.ca>
Cc: netfilter@vger.kernel.org
Subject: Re: iptables in promiscuous mode
Date: Thu, 07 Jul 2011 12:33:39 -0430 [thread overview]
Message-ID: <4E15E6EB.8070500@gmail.com> (raw)
In-Reply-To: <CAPR6_RB_BnxGoozDoQzyNS+Un3pERyYjpxgFHe1orMhMfj7DqQ@mail.gmail.com>
*Maybe* making the device behaves in promiscuous mode to allow these
packets enters into kernel's network stack.
i.e.
# ifconfig [dev] +promisc
# ifconfig [dev] -promisc
or
# ip link set [dev] promisc on
# ip link set [dev] promisc off
What are you doing?
Someone can explain me why when tcpdump or wireshark are capturing
packets, neither ifconfig nor iproute shows the “PROMISC” flag? but
dmesg indeed show “device [dev] entered promiscuous mode”.
On 07/05/2011 11:35 AM, Andrey wrote:
> Hello,
>
> I have traffic that was captured in promiscuous mode, therefore it is
> not destined to my computer.
> From what I understand netfilter/iptables does not work in promiscuous
> mode therefore it will not see the traffic when I replay it.
> My question is can I make iptables work in promiscuous mode, if I can then how?
>
> Regards,
> Andrey
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-07-07 17:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 16:05 iptables in promiscuous mode Andrey
2011-07-07 17:03 ` Emilio Lazo Zaia [this message]
2011-07-07 19:15 ` Marek Kierdelewicz
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=4E15E6EB.8070500@gmail.com \
--to=emiliolazozaia@gmail.com \
--cc=andrey@cs.dal.ca \
--cc=netfilter@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.