From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 15 11:50:42 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9D4F106566B for ; Fri, 15 Jan 2010 11:50:42 +0000 (UTC) (envelope-from lsimakov@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 712358FC15 for ; Fri, 15 Jan 2010 11:50:42 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so51231eyd.9 for ; Fri, 15 Jan 2010 03:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=7J/g1bsi4f9JleE8q53KYfBjkHkHEAEifj1CMqZLWu0=; b=bEYJx1ggLmOPzgkd8LQNUnf8PmegDKYg2ETP4p7J4wHxp6GeGRRE7n9VttuiO9UrTD Jz+Nne0lXoR+WPCjDCikaZDRyFPWHYG4LLx0TIN7GW8DM8HrtHoSUj9ZVCd0K5SZYDIZ ZNMDypQVzFL4oN6O8C1dAnKEoQNbRUtEumluU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TL1Q9rZEpbGWHenwfqofykZzL/r+9vcpdKisO7zu1tpZ4b+H2XedO39RskJ+ftR3qu DvCTGnuRjKbgGZ3xRLC3J91PHKN/H+amcv6K0+LqyXgEqD/b6q5J0byL/afqDKmKjhP1 Zj+doq2iGFBBQQmoWA0uycY1O2UxsELHDQc5Q= MIME-Version: 1.0 Received: by 10.216.88.2 with SMTP id z2mr742820wee.89.1263554766455; Fri, 15 Jan 2010 03:26:06 -0800 (PST) Date: Fri, 15 Jan 2010 14:26:06 +0300 Message-ID: From: q q To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Q:possibility PFIL+mbuf use for packet spawning X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 11:50:42 -0000 I'm using pfil as packet filter for packet modifications. Is it possible to spawn new packets to network from pfil using mbuf? Another question: im using m_append to change packet length and add data(its working, at least server got longer message) but when i wireshark clients packets(win machine) i see that i got acknoledge on older length not on new one. Am i missunderstanding something? Yours, qSpirit.