From owner-freebsd-questions@freebsd.org Wed Jun 13 07:33:28 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD16F100E48B for ; Wed, 13 Jun 2018 07:33:27 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [78.47.184.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6891F71A0E for ; Wed, 13 Jun 2018 07:33:27 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) by smtp3.cretaforce.gr (Postfix) with ESMTP id AB8273E8FD for ; Wed, 13 Jun 2018 10:33:18 +0300 (EEST) Received: from [192.168.2.3] (athedsl-128014.home.otenet.gr [85.75.75.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 8B6422734A for ; Wed, 13 Jun 2018 10:33:18 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: NIC locks up for no reason (?) Date: Wed, 13 Jun 2018 10:33:17 +0300 References: <23524.1528853325@segfault.tristatelogic.com> To: FreeBSD In-Reply-To: <23524.1528853325@segfault.tristatelogic.com> Message-Id: <45326DA0-E7D4-45EF-ADBC-E61BE54726CA@cretaforce.gr> X-Mailer: Apple Mail (2.3445.6.18) X-CretaForce-MailScanner-Information: Please contact the ISP for more information X-CretaForce-MailScanner-ID: AB8273E8FD.A2051 X-CretaForce-MailScanner: Found to be clean X-CretaForce-MailScanner-From: chris@cretaforce.gr X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 07:33:28 -0000 No firewall is enabled by default. Use the console and see the output of: dmesg also check /var/log/messages during the outage. > On 13 Jun 2018, at 04:28, Ronald F. Guilmette = wrote: >=20 >=20 > I am experiencing a really rather odd problem, and could use some > helpful advice. I'm sure there is a good explanation for why this > is happening, but at the moment I have no idea what it is. >=20 > More than a month ago, I got myself a shiny new VM on one of the > many providers of such on the Internet. I loaded up 11.1-RELEASE-p9, > fiddled sshd so that it would run on a somewehat obscure unused port. >=20 > Anyway, after doing the above things, all was running well, and = exactly > as expected for some time thereafter. (I have mostly just been using > the box for some obscure research purposes.) >=20 > I never set up any kind of filewall on the thing because frankly, > I was doing so little with the box I didn't think I'd need one. >=20 > Recently, I decided to install and run apache24, which I did. > I configured that also to run on a non-standard port, since my > intent was that the web stuff it would be serving up would only > be stuff that I and perhaps a few close friends would look it. > Apache started up just fine, and I was able to acces web content > on the box via the non-standard port, from a system elsewhere on the > Internet. No problem. >=20 > Anyway, now it appears that the NIC on this VM system is effectively > locking up from time to time, and I have no idea how to even begin > to debug this problem. This happened a few days ago, and I managed > to get to a virtual console, I logged in as root, and then I rebooted > FreeBSD on the VM and again, all was well... for awhile. >=20 > When this problem occurred before, it appeared that the (virtual) NIC > of the VM was not accepting -any- packets from outside. >=20 > Now the NIC has locked up again. Once again, from the outside it > appears that it isn't responding to pings. or to traceroutes, or to > ssh (on my non-standard port), or to attempts to telnet to the > (non-standard) HTTP port I'm using. >=20 > Traceroutes -out- from the VM also get absolutely nowhere... not even > one hop. Pings rom the VM to its own (externally routable) IPv4 > address work fine. >=20 > I logged in again via the virtual console and once again, just like > the last time this happened (a couple of days ago), I can see nothing > obviously wrong. There's plenty of free disk space, and top is = showing > the CPU as being >95% idle. >=20 > ifconfig output looks perfectly normal to me... the interface in > question is listed as "UP". >=20 > Whet the devil could be wrong? >=20 > The relevant hosting company has assured me that they haven't been = doing > anything new or special lately. >=20 > The Handbook says that (recent vintage) FreeBSD provides three = different > flavors of firewalls. Are any of these three enabled by default? = What > about TCP Wrapper? Is that enabled by default on an out-of-the-box > install of 11.1-RELEASE? >=20 > What else could possibly explain a NIC periodically becoming totally > unresponsive... at least from the outside... apparently just because > I had the audacity to install and run apache24? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"