From nobody@FreeBSD.org Sun May 25 09:10:48 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 980DD106566B for ; Sun, 25 May 2008 09:10:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7578FC16 for ; Sun, 25 May 2008 09:10:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4P99GAn065323 for ; Sun, 25 May 2008 09:09:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m4P99G7f065322; Sun, 25 May 2008 09:09:16 GMT (envelope-from nobody) Message-Id: <200805250909.m4P99G7f065322@www.freebsd.org> Date: Sun, 25 May 2008 09:09:16 GMT From: Ighighi To: freebsd-gnats-submit@FreeBSD.org Subject: net.inet.ip.process_options unimplemented X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 123972 >Category: kern >Synopsis: net.inet.ip.process_options unimplemented >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 25 09:20:00 UTC 2008 >Closed-Date: Sun Jan 04 00:28:48 UTC 2009 >Last-Modified: Sun Jan 04 00:28:48 UTC 2009 >Originator: Ighighi >Release: 6.3-STABLE (RELENG_6) >Organization: >Environment: FreeBSD orion.nebula.mil 6.3-STABLE FreeBSD 6.3-STABLE #0: Tue May 20 07:46:33 VET 2008 root@orion:/usr/obj/usr/src/sys/CUSTOM i386 >Description: The net.inet.ip.process_options sysctl, described by "sysctl -d" as: Enable IP options processing ([LS]SRR, RR, TS) isn't implemented in FreeBSD. The inet(4) manpages describes it as: ip.process_options Integer: control IP options processing. By setting this variable to 0, all IP options in the incoming packets will be ignored, and the packets will be passed unmodified. By setting to 1, IP options in the incoming packets will be processed accordingly. By setting to 2, an ICMP ``prohibited by filter'' message will be sent back in respose to incoming packets with IP options. Default is 1. This sysctl(8) variable affects packets destined for a local host as well as packets forwarded to some other host. >How-To-Repeat: Either search for "process_options" in the FreeBSD Kernel Cross Reference: http://fxr.watson.org/fxr/search?string=process_options or run: /usr/bin/fgrep -l process_options /usr/src >Fix: Either patch inet(4) and delete the sysctl, or implement such functionality. >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: kris State-Changed-When: Sun May 25 09:49:41 UTC 2008 State-Changed-Why: The sysctl appears to be implemented http://www.freebsd.org/cgi/query-pr.cgi?pr=123972 From: Kris Kennaway To: Ighighi Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/123972: net.inet.ip.process_options unimplemented Date: Sun, 25 May 2008 11:49:35 +0200 Ighighi wrote: > The net.inet.ip.process_options sysctl, described by "sysctl -d" as: > Enable IP options processing ([LS]SRR, RR, TS) > isn't implemented in FreeBSD. > > The inet(4) manpages describes it as: > ip.process_options Integer: control IP options processing. By setting > this variable to 0, all IP options in the incoming > packets will be ignored, and the packets will be > passed unmodified. By setting to 1, IP options in > the incoming packets will be processed accordingly. > By setting to 2, an ICMP ``prohibited by filter'' > message will be sent back in respose to incoming > packets with IP options. Default is 1. This > sysctl(8) variable affects packets destined for a > local host as well as packets forwarded to some > other host. > >> How-To-Repeat: > Either search for "process_options" in the FreeBSD Kernel Cross Reference: > http://fxr.watson.org/fxr/search?string=process_options What do you mean? It's implemented right underneath the sysctl declaration that this link shows you. Kris State-Changed-From-To: feedback->closed State-Changed-By: vwe State-Changed-When: Sun Jan 4 00:27:36 UTC 2009 State-Changed-Why: sysctl and functionality already implemented in sys/netinet/ip_input.c and documented for a couple of releases. http://www.freebsd.org/cgi/query-pr.cgi?pr=123972 >Unformatted: