From owner-freebsd-questions@FreeBSD.ORG Thu Dec 4 08:10:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FD3E16A4CE for ; Thu, 4 Dec 2003 08:10:57 -0800 (PST) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF48B43F85 for ; Thu, 4 Dec 2003 08:10:55 -0800 (PST) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([67.20.101.103]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031204161059.PMCS25110.mta10.adelphia.net@barbish>; Thu, 4 Dec 2003 11:10:59 -0500 From: "fbsd_user" To: "Norman Walek" , Date: Thu, 4 Dec 2003 11:10:53 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal cc: freebsd-questions@freebsd.org Subject: RE: Connection attempt to TCP messages in /var/log/messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2003 16:10:57 -0000 The log-in-vain MIB is an poor mans version of an firewall. When you enable IPFW or IPFILTER this MIB and the other network security MIB's become meaningless, as the firewall gets access to the packets before anything else and drops all packets arriving on ports without any application listening on the port as technically invalid. This subject has been posted to the questions list this week. See subject thread 'network security sysctl mib's' -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Norman Walek Sent: Thursday, December 04, 2003 10:53 AM To: mtech@buffnet.net Cc: freebsd-questions@freebsd.org Subject: Re: Connection attempt to TCP messages in /var/log/messages edit /etc/syslog.conf appropriately kernel.debug for said example >Nov 25 03:09:56 asia /kernel: Connection attempt to TCP 202.79.180.131:80 njw "Mohsin Rahman" wrote in message news:<005d01c3b2d1$2cd8caa0$6213f6cd@mohsin.lucky.freebsd.questions> ... >sysctl -w net.inet.tcp.log_in_vain=1 >sysctl -w net.inet.udp.log_in_vain=1 > >turns em on and > >sysctl -w net.inet.tcp.log_in_vain=0 >sysctl -w net.inet.udp.log_in_vain=0 > >turns them off. Hope this helps. > >Anyone know how to add a time/date to this log entry and which file to >modify? > >-- >Mohsin Rahman >mtech@buffnet.net > > >----- Original Message ----- From: "Kent Stewart" >To: "Spades" ; >Sent: Monday, November 24, 2003 2:28 PM >Subject: Re: Connection attempt to TCP messages in /var/log/messages > > > > On Monday 24 November 2003 11:11 am, Spades wrote: > > > I did a tail -f /var/log/messages and got all these.. > > > > > > previously before my cvs and recompile kernel to 4.9 stable > > > it didn't have below.. now it does.. > > > > > > Nov 25 03:09:56 asia /kernel: Connection attempt to TCP > 202.79.180.131:80 > > > from 65.217.41.66:1681 > > > Nov 25 03:09:58 asia /kernel: Connection attempt to TCP > 202.79.180.130:80 > > > from 24.136.234.77:4059 > > > > > > question.. how to stop seeing them in /var/log/messages? > > > > > > > Buy a hardware firewall that you place in front of your computer. You > probably > > have a log option in your firewall and someone is trying to connect to > your > > web server. You could turn off logging but I like to know who is trying >to > > connect to my systems. This is especially true when I am not running a > > service and they are probing to find out if I am. > > > > Kent > > > > -- > Kent Stewart > > Richland, WA > > > > http://users.owt.com/kstewart/index.html > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Tired of slow downloads and busy signals? Get a high-speed Internet connection! Comparison-shop your local high-speed providers here. https://broadband.msn.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"