Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2018 21:35:08 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Michael Sierchio <kudzu@tenebras.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: ipfw -- selecting locally generated packets
Message-ID:  <2b8de01f-9c67-8ead-5891-f0241be31a8d@freebsd.org>
In-Reply-To: <CAHu1Y72wr_5anAsTC8FQn=cd=HqXL=dR97X5x_uJkAEdNHRs1g@mail.gmail.com>
References:  <979d3478-4bec-e6a1-41cd-bb26beb93123@wagsky.com> <CAHu1Y72wr_5anAsTC8FQn=cd=HqXL=dR97X5x_uJkAEdNHRs1g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/5/18 12:08 am, Michael Sierchio wrote:
> On Mon, Apr 30, 2018 at 10:48 AM, Jeff Kletsky <freebsd@wagsky.com> wrote:
>
>> "not recv any" doesn't seem to be helpful either
>>
>>      $ sudo ipfw add 64000 count ip from any to any out xmit any not recv
>> any
>
> The loopback interface, lo0 ?
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
As was pointed out a selector might be

add 100 ip from me to any out not recv *

one wonders if that would work or maybe

skipto {line x) any from any to any out recv *

followed by lines htat are for locally generated.

these not tested..





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2b8de01f-9c67-8ead-5891-f0241be31a8d>