Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2012 15:53:24 +0330
From:      s m <sam.gh1986@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   getting packets on a specific port by pf
Message-ID:  <CAA_1SgGoFP-%2BcDZh_cynH2F1-sZ6ij0CdRqWP--KYVybrtx7HA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
 hello guys

i have a problem with getting packets which are diverted to a specific port
by PF. i mean i diverted my packets to a specific port by IPFW and want to
get these packets by PF to change them.
i used "ipfw add 1000 divert 8000 all form any to any" command to divert my
packets. how can i get these packets by pf on port number 8000?

pf has "divert-reply" option. should i use it to get packets? how? any
comments or hints are really appreciated.

thanks,
sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA_1SgGoFP-%2BcDZh_cynH2F1-sZ6ij0CdRqWP--KYVybrtx7HA>