From owner-freebsd-current Mon Jan 27 16:46:20 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D5FD37B401 for ; Mon, 27 Jan 2003 16:46:19 -0800 (PST) Received: from hermes.infos.ru (hermes.infos.ru [195.209.229.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7A6F43F3F for ; Mon, 27 Jan 2003 16:46:18 -0800 (PST) (envelope-from ol@csa.ru) Received: from localhost (localhost.infos.ru [127.0.0.1]) by hermes.infos.ru (Postfix) with SMTP id BE4C83C125 for ; Tue, 28 Jan 2003 03:45:42 +0300 (MSK) Received: from csa.ru (254.228.ip.infos.ru [195.209.228.254]) by hermes.infos.ru (Postfix) with ESMTP id 659593C121 for ; Tue, 28 Jan 2003 03:45:41 +0300 (MSK) Message-ID: <3E35D3E0.2080104@csa.ru> Date: Tue, 28 Jan 2003 03:50:40 +0300 From: Oleg Baranov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: [5.0-RELEASE] uid option in ipfw Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It looks like firewall in 5.0-RELEASE doesn't respect uid option. I migrated from 4.7 where the following lines worked fine: allow tcp from me to any uid 500 setup allow udp from me to any uid 500 keep-state I couldn't get these lines working on 5.0 (packets don't match these rules). it's a little strange thing - the following lines DO work, but they match for ANY user on the system: allow tcp from me to any uid 0 setup allow udp from me to any uid 0 keep-state also the counters are updated in a mysterious way... it's a very confusing thing for me. can anyone help to solve the problem plz? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message