From owner-freebsd-security@FreeBSD.ORG Wed Oct 26 01:24:39 2005 Return-Path: X-Original-To: freebsd-security@freebsd.org Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E800C16A41F for ; Wed, 26 Oct 2005 01:24:39 +0000 (GMT) (envelope-from jjfitzgerald@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D48543D45 for ; Wed, 26 Oct 2005 01:24:39 +0000 (GMT) (envelope-from jjfitzgerald@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so18155wra for ; Tue, 25 Oct 2005 18:24:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=QDijgmnbjNCdTabhYuTwDLFjc7qPX/8JTfdklJ76b0V+wYIMxIf9+Fxw7Qvb99OK0fKxyuQkackdWh9V+eoIN1AgT0Du0570xGPw2oJVxtfhnZAtP52yylCKhK6JK8DFSWJrjJXFjTsP8rQ+cP3UitnD3uWWilfncsbwOi2Mgv8= Received: by 10.54.110.9 with SMTP id i9mr129633wrc; Tue, 25 Oct 2005 18:24:38 -0700 (PDT) Received: by 10.54.101.14 with HTTP; Tue, 25 Oct 2005 18:24:38 -0700 (PDT) Message-ID: <5e49673f0510251824r1330bbbcrcdc95da36d90f1b8@mail.gmail.com> Date: Tue, 25 Oct 2005 21:24:38 -0400 From: John Fitzgerald To: list@rsnnv.com In-Reply-To: <20051025212826.B315143D76@mx1.FreeBSD.org> MIME-Version: 1.0 References: <5e49673f0510251032w38312bb7kb082b15d97d00082@mail.gmail.com> <20051025212826.B315143D76@mx1.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-security@freebsd.org Subject: Re: ipf stopped working on 5.3 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 01:24:40 -0000 ipf: IP Filter: v3.4.35 (336) Kernel: IP Filter: v3.4.35 Running: yes Log Flags: 0 =3D none set Default: pass all, Logging: available Active list: 0 Though it does show it as active, it won't process any rules. -JJ On 10/25/05, Chris Odell wrote: > > > I had this same problem and found out there is a parimeter that needs to > be added to the kernel config that was not needed previously. When I get > back to my office, I will look it up and send it to you. > > Chris Odell > > -----Original Message----- > From: owner-freebsd-security@freebsd.org > [mailto:owner-freebsd-security@freebsd.org] On Behalf Of John Fitzgerald > Sent: Tuesday, October 25, 2005 10:33 AM > To: freebsd-security@FreeBSD.org > Subject: ipf stopped working on 5.3 > > I've had ipf working on a few 5.3 servers for quite awhile. Not too long > ago > some developers had to do some coding work and were coming from dynamic > IP's. I (reluctantly) opened up SSH to the world. Immediately I started > seeing the attacks where bots of some sort would try to break in with a > variety of different users. > > So, I (thought) I closed it up again and told the developers to use a > dedicated proxy. They did, but I realized that I hadn't actually closed > things off. I was still getting attacked. I had tried, but ipf suddenly > wasn't working. Whenever I would change the firewall rules and ipf -D and > the ipf -E -f /etc/my.rules it would simply return: > > 1:ioctl(add/insert rule): No such process > > I didn't have the time to look into it at the time, but am now trying to > figure it out. Ipf is obviously not working and I don't know why. I have > tried recompiling the kernel a myriad of different ways. With/without > ipfw, > with/without ipsec, etc. All to no avail. Is this a bug, did I get hacked= ? > > I have googled this quite a bit and the only thing that I found was > possibly > a buildworld scenario where something got updated and it doesn't work now= . > I > didn't install src so I'm a bit out of luck on that one. > > FreeBSD 5.3-RELEASE > OpenSSH_3.8.1p1 FreeBSD-20040419, OpenSSL 0.9.7d 17 Mar 2004 > > Cheers, > JJ > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.or= g > " > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.or= g > " >