From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 14:00:34 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 400D64ED for ; Thu, 8 Nov 2012 14:00:34 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id DCF3D8FC19 for ; Thu, 8 Nov 2012 14:00:33 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so3644052vcb.13 for ; Thu, 08 Nov 2012 06:00:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BNFRZf0k7IHDXMEsBQTiiPtpj1kgFWQSiG30iNQSbUU=; b=YJ/QXgFiMxuCbB89ilwkaUJtdRub35PwxhGfuSsLaDSD8Ehohm/1hSdOZGyvfZjrRE tf0vTFOzxeV6OB4Wi/9M1PYad6j6EKmHBnUil7SaCbrqJxzVygH8Ab0Z8lk2jxBdCGhJ Ts3ocl/cTsW5kVwBwq3MXGoULQXQBiP4Fnqb5TJ+/5vcD01pL8kE1TcyrXuN47CTY/kZ IegvgWvbWLYk0Wqg7RA3CRyJsFCmmwMem/nlJU3KOMi99RhWKt90b6hWDxZGhK7Th6fr 3MgWk6f24ykeSDX2VTjb2ya6h2n3ayRzTzjXOxLU3lNEzHFoZafh0MOEl7VHmUm/yV94 wOyQ== MIME-Version: 1.0 Received: by 10.52.36.235 with SMTP id t11mr6196875vdj.62.1352383232536; Thu, 08 Nov 2012 06:00:32 -0800 (PST) Received: by 10.58.196.230 with HTTP; Thu, 8 Nov 2012 06:00:32 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Nov 2012 17:30:32 +0330 Message-ID: Subject: Re: getting packets on a specific port by pf From: s m To: tak.official@gmail.com 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 14:00:34 -0000 dear takcoder maybe you are right but now it is not important for me. i want to get packets by pf in order to set packet's TOS bit (packets which comes from IPFW). have you any suggestion? thanks for your attention sam On Thu, Nov 8, 2012 at 4:11 PM, takCoder wrote: > 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" >> > >