From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 22 18:07:21 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6585216A4CF for ; Thu, 22 Apr 2004 18:07:21 -0700 (PDT) Received: from blurp.one.pl (blurp.t4.ds.pwr.wroc.pl [156.17.226.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B42C43D3F for ; Thu, 22 Apr 2004 18:07:21 -0700 (PDT) (envelope-from gizmen@blurp.one.pl) Received: by blurp.one.pl (Postfix, from userid 1001) id 20742A47; Fri, 23 Apr 2004 02:27:00 +0200 (CEST) Date: Fri, 23 Apr 2004 02:27:00 +0200 From: GiZmen To: freebsd-hackers@freebsd.org Message-ID: <20040423002700.GA39351@blurp.one.pl> References: <20040422095415.GA31126@blurp.one.pl> <20040422131040.GB9359@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040422131040.GB9359@ip.net.ua> User-Agent: Mutt/1.5.6i Subject: Re: Changing ttl of incoming packets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2004 01:07:21 -0000 > On Thu, Apr 22, 2004 at 11:54:15AM +0200, GiZmen wrote: > > Hello, > > > > Is there any way to change ttl of incoming packet to a lower value ? > > I had tried min-ttl option in pf packet filter but this option only increase > > ttl to a given value when ttl is lower than this value. > > > > I have searched on google and mailing lists but i do not find any answer. > > I am running Freebsd 5.2.1 and i am using pf as my packet filter. > > > You mean, make the IP forwarding decrement the IP TTL more than by one? ---end quoted text--- No, i want to change ttl to whatever value i want. For example i want to changle ttl value for any packet incoming to my iface to 10 value. I only want to know that is there some tool or option or anything else to set this. -- Best Regards: GiZmen UNIX is user-friendly; it's just picky about its friends UNIX is simple; it just takes a genius to understand its simplicity