From owner-freebsd-questions@freebsd.org Mon Oct 2 13:04:43 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9B2EE3F224 for ; Mon, 2 Oct 2017 13:04:43 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qk0-x242.google.com (mail-qk0-x242.google.com [IPv6:2607:f8b0:400d:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8155667A38 for ; Mon, 2 Oct 2017 13:04:43 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-qk0-x242.google.com with SMTP id z14so3794194qkg.3 for ; Mon, 02 Oct 2017 06:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:in-reply-to:references:organization :mime-version:content-transfer-encoding; bh=m3tJPZp4uMYFrvYbhYYB10R7L2rel6YLOriNiBNNnwo=; b=AF/RFSJFj8J4ubSA6C89MiGwwfBUDevMTQfMWtkWmCDX4zBmqPj53R0sIRJy5/0DEB 6nqeVqoMRy6jf0uqE4GwWskcdpGUgOHOfF+5nGOFOsEd8H1cz3nh+9fb9h02EBP/VMBr tNTXov0kyYtqAzQlueeNT2o02d63ydeioGEpc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=m3tJPZp4uMYFrvYbhYYB10R7L2rel6YLOriNiBNNnwo=; b=bBpAuVBHJ0p4t6g0cy9p8knx31TRf7TmwFd+qpDIQydDovJ6S1XFWtCmYjfOW4btFh 3zE+VSF7XDZgi9X/cHmvvYmt05VCamm1TeopgroW8W+snJqJLMFB2XMWRZpidDQ5eWIH W8gGsHIEafhgIHr7yU4B5n3b4HBkt/rAevl8EbHgzA9uJdfGJpTc2dfds6FWPPhM5Ef8 6Wl6ayO19l76a8Am/C4q+jQcnf1lX/qQDUIo0mCWELjRsdViyoxKeqm5udmVDYJwKNdg Vh2AeTcru+tAgYeuHIbxQMFXbO6akq9oSpDA+BCjZiBnHzjic1g8NHpATxYImvaEZEQl nLgQ== X-Gm-Message-State: AMCzsaWpSrLyMoKpQdkgYF9rf7eR1RdmkcAA9ERNizRqX70xwc61B1Un P9QQKXJ5tNWU/75UfGxARChrfmLr X-Google-Smtp-Source: AOwi7QBBnqLBZC6Di0/KnKEY5Gz5kYDBLRfPTvIDWtxyt295gO0A0vqL1Lj8jqgyCpKM3Ga4qhVpnQ== X-Received: by 10.55.21.30 with SMTP id f30mr15845142qkh.335.1506949481742; Mon, 02 Oct 2017 06:04:41 -0700 (PDT) Received: from Papi.lobos ([179.181.51.22]) by smtp.gmail.com with ESMTPSA id a22sm7091560qte.32.2017.10.02.06.04.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Oct 2017 06:04:41 -0700 (PDT) Date: Mon, 2 Oct 2017 10:06:26 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org Subject: Re: Weird turnoff Message-ID: <20171002100626.206b3bdf@Papi.lobos> In-Reply-To: <20171002002506.GA42212@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> Organization: BSD X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 13:04:43 -0000 On Sun, 1 Oct 2017 18:25:06 -0600 The Doctor wrote: > On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > > Could be an attack. > > > > > > All right. > > > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > > has been going intreface down then up and then unable to route. > > > > > > Rebooted this system 2 times today. > > > > > > > > > What should I bee looking for? > > > > Primarily the system's log files in /var/log: messages, auth.log, > > security. Also check the output of the periodic scripts (mailed > > to root or another user), do they contain hints to something that > > looks suspicious (SUID changes, system file modifications, etc.)? > > > > exactly what I am looking for > > I am going to have to do a transcribe as I am opreating from the > potential victim and ssh'ing to this terminal > > or ftp the information over > > > Oct 1 16:56:46 gallifrey kernel: igb0: link state changed to DOWN > Oct 1 17:00:10 gallifrey kernel: igb0: link state changed to UP > Oct 1 17:17:32 gallifrey kernel: igb0: Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb0: Using > MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:17:32 gallifrey > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 17:17:32 gallifrey kernel: igb1: Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb1: Using > MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:17:32 gallifrey > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 17:17:32 gallifrey kernel: igb0: link state changed to UP Oct 1 > 17:17:32 gallifrey kernel: igb1: link state changed to UP Oct 1 > 17:17:46 gallifrey kernel: igb1: link state changed to DOWN Oct 1 > 17:17:53 gallifrey kernel: igb1: link state changed to UP Oct 1 > 17:19:06 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 > 17:40:09 gallifrey kernel: igb0: Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb0: Using > MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:40:09 gallifrey > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 17:40:09 gallifrey kernel: igb1: Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb1: Using > MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:40:09 gallifrey > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 17:40:09 gallifrey kernel: igb0: link state changed to UP Oct 1 > 17:40:09 gallifrey kernel: igb1: link state changed to UP Oct 1 > 17:41:25 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 > 09:02:49 gallifrey kernel: igb0: link state changed to DOWN Oct 1 > 09:06:13 gallifrey kernel: igb0: link state changed to UP Oct 1 > 12:04:48 gallifrey kernel: igb0: Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb0: Using > MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 12:04:48 gallifrey > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 12:04:48 gallifrey kernel: igb1: Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb1: Using > MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 12:04:48 gallifrey > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 12:04:48 gallifrey kernel: igb0: link state changed to UP Oct 1 > 12:16:01 gallifrey kernel: igb0: link state changed to DOWN Oct 1 > 12:19:26 gallifrey kernel: igb0: link state changed to UP > > Nothing in the auth.log that I can see as an issue. > > Also, how do I turn routing / ifconfig back on? > > Rebooting is not that fun > > > > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > _______________________________________________ > > 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" > I once had this problem on a server. It wasn't an Intel nic but it was constantly going up and down by itself, and the system lost its connectivity. I replaced the nic and the problem went away. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."