tcpdump mailing list archives
Re: How does packet capture interact with firewalls?
From: Phil Vandry <vandry () TZoNE ORG>
Date: Wed, 23 Sep 2009 15:23:59 -0400
On Wed, 23 Sep 2009 14:01:53 -0400, Robert Burgess wrote:
iptables firewall) and they still appear in my pcap program (the first half), but when I try to reinject, depending on what setup I try, either the injected packets get dropped too, or they get injected correctly but also recaptured, leading to an infinite loop. Is there any way to, say, capture and drop in one direction, and inject in another direction,
This sounds like it would be easy and would work fine as long as you are capturing on one interface and injecting on a different one. You might even be able to avoid using iptables at all in that scenario by just turning off IP forwarding on the system, and that's pretty portable. It sounds like you are capturing and injecting on the same interface (otherwise you wouldn't get that infinite loop). Is that really what you need to do? -Phil - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- How does packet capture interact with firewalls? Robert Burgess (Sep 23)
- Re: How does packet capture interact with firewalls? Phil Vandry (Sep 23)
- Re: How does packet capture interact with firewalls? Robert Burgess (Sep 23)
- Re: How does packet capture interact with Robert Burgess (Sep 23)
- Re: How does packet capture interact with firewalls? Phil Vandry (Sep 23)
- Re: How does packet capture interact with firewalls? Robert Burgess (Sep 23)
- Re: How does packet capture interact with Aaron Turner (Sep 23)
- Re: How does packet capture interact with Tillmann Werner (Sep 24)
- Re: How does packet capture interact with Robert Burgess (Sep 24)
- Re: How does packet capture interact with Aaron Turner (Sep 24)
- Re: How does packet capture interact with Robert Burgess (Sep 24)
- Re: How does packet capture interact with Aaron Turner (Sep 24)
- Re: How does packet capture interact with firewalls? Robert Burgess (Sep 23)
- Re: How does packet capture interact with firewalls? Phil Vandry (Sep 23)