From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 12:41:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B6965356 for ; Thu, 8 Nov 2012 12:41:56 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 714A18FC0A for ; Thu, 8 Nov 2012 12:41:56 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so3469980oag.13 for ; Thu, 08 Nov 2012 04:41:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=a5XBaVhkuk66bpNhV/v1MO+gkwGF1bu3LVOKi4FCnc4=; b=YXHEbyCmhsYIuWEb6CKofN5FG+zuxw7E1KBCLsTyM1CKRvGp2s3swR3e2ikeCKQ5zI Xwd87rRMxfEqMACoQkb6kiHIJRaLVI9eKaY8AMDMaj5LAlCxX2HiV/BVaRlpbZgVjyRM VEFv+ziaXnfUtVWQtxdvuTbAgOOGdhEFrPJmufxpA2R3u56jQ4VzTTJCx07hBls4YAKN y8yLI3Fj+suG8P/Ux1H2bCb2wSwcndqDpTXQOv+DvTE+nShvAZXaKbxBHOYOspgiPl+L 7rb8UTtIpztGgNlRwy6zaqYfADI0QqUishr9v8xna5T6sv4/hV8huPMxHrr42wk+YoOo uCyw== Received: by 10.182.184.102 with SMTP id et6mr5388544obc.102.1352378514835; Thu, 08 Nov 2012 04:41:54 -0800 (PST) MIME-Version: 1.0 Sender: talayeh.asadi@gmail.com Received: by 10.182.71.69 with HTTP; Thu, 8 Nov 2012 04:41:34 -0800 (PST) In-Reply-To: References: From: takCoder Date: Thu, 8 Nov 2012 16:11:34 +0330 X-Google-Sender-Auth: hYqsDTHERLquvxLxECItgzipu1A Message-ID: Subject: Re: getting packets on a specific port by pf To: s m Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tak.official@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 12:41:56 -0000 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 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" >