Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2012 16:11:34 +0330
From:      takCoder <tak.official@gmail.com>
To:        s m <sam.gh1986@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: getting packets on a specific port by pf
Message-ID:  <CAPkyVLyPq8=Uvam1MkngyvSDT_TzXhJq6p8jjKa5syZjfrOd5A@mail.gmail.com>
In-Reply-To: <CAA_1SgGoFP-+cDZh_cynH2F1-sZ6ij0CdRqWP--KYVybrtx7HA@mail.gmail.com>
References:  <CAA_1SgGoFP-+cDZh_cynH2F1-sZ6ij0CdRqWP--KYVybrtx7HA@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
hey sam,

i don't know the exact answer for your question.. but a question occurred
in my mind..
what's your final purpose of doing so? what do you exactly mean by the
phrase "to change them"??

and don't you think that this sequence of firewalls has a deep effect on
your system performance? in my idea this seems just like a throughput
bottleneck.. isn't it so? or it's not important here?

any how.. if you tell us more details about what you're looking for, may be
it become more clear for guys such as me! ;)

yours,
takcoder


On Thu, Nov 8, 2012 at 3:53 PM, s m <sam.gh1986@gmail.com> wrote:

>  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
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAPkyVLyPq8=Uvam1MkngyvSDT_TzXhJq6p8jjKa5syZjfrOd5A>