X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by lists.alpinelinux.org (Postfix) with ESMTP id 330125C56EC for ; Tue, 18 Sep 2018 19:00:35 +0000 (GMT) Received: by mail-lj1-f173.google.com with SMTP id q127-v6so2738810ljq.11 for ; Tue, 18 Sep 2018 12:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=duniel-no.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wyWfMzYci2j+SLkLmzJA9zmseOXEhx2pjjT0ZScvYwY=; b=oDH1eSwxUzXcIwctl/e1EnsgMuSNl9dzeUckWmTgsvlImmrcbhbtqDxpKUx/zLpfId UMFKea98/hQRcto/nxqcHokrkQkMMLCnlxWgjwrgUZRSi3M6bgWYi4urLbvRJ+awq1ED UogiQdD9g+KWkGWR9m2kxcLNCfCX7f+mrUSLeu7zPcrmvM0I4zXjFKwrrb+ZsSODLbgY x8Sz1dGFurVBZT5I4zfTK7+O83TyxLg0Z6esY5bybXD0nVZ56sO7cjwlkM1mX1Qv0X20 MMN7jFaSjIKG6xu83pkyEan7v+qyACGJ0/SeV1kaAgapSrhsES0mG2ObR9VAEcE92+Wq hM2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wyWfMzYci2j+SLkLmzJA9zmseOXEhx2pjjT0ZScvYwY=; b=e0tbPvDCy5MJNxftkL/aS57fZVj8iLtQavApD3VnoEacqbah+OcDapqGgArdWHu+Qt st7UoWdlcaM7Odq9e741dXl5wGwOdvPRwud2HfoQ3/zzoqTg2rFnoSI30wTp+RwRnoj+ xVKd9AOU2G25pwPwwzGA/Jsm3RvodM9pS/D1MfVU7c6SxM2Z4rfAD3U7zVg2jXNbjPTE DLz7NjMdPJnIQxbBocXirtSaaLM823EKV9smNRNyRPCcPsUGD1s6IN1MdFlWugVpLCcE hExUoRNcxrbI79UZN4pzDTRsHpmjk7w71c/cmUNqEPve5hDk59bbwecL7QA/2fmjoGCs CMEQ== X-Gm-Message-State: APzg51DQSCh3oQDgVnhCKNLig1DDhMJDmKXI8mOfXjgP/yYwmUuwPbC5 sW1gwoC/E3ZNmKB+nQyiYmhjcIBzUleXSONdLXEVIQ== X-Google-Smtp-Source: ANB0VdYicPHnB0ECqOuCg9STSGpnjIYW9igYj5yDpcaKxtNbNx58n+bEtrVGJF2zexInzqsYCiwcmGNZe4V39vPyoWs= X-Received: by 2002:a2e:6385:: with SMTP id s5-v6mr19273505lje.117.1537297234457; Tue, 18 Sep 2018 12:00:34 -0700 (PDT) X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 2002:ab3:5d17:0:0:0:0:0 with HTTP; Tue, 18 Sep 2018 12:00:13 -0700 (PDT) In-Reply-To: References: From: Daniel Isaksen Date: Tue, 18 Sep 2018 21:00:13 +0200 Message-ID: Subject: Re: [alpine-user] ip_tables.ko versions on Raspberry To: "Brent B. Powers" Cc: alpine-user@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="000000000000930fb7057629e714" --000000000000930fb7057629e714 Content-Type: text/plain; charset="UTF-8" Are you using edge? Kernel modules are built against a specific kernel version, and if you upgrade either, you need to upgrade the other. I.e. if you upgraded iptables, you need to upgrade the kernel as well, or install iptables built against the kernel version you are running. Also, after upgrading the kernel, you need to reboot the machine. ----- Sincerely / Med vennlig hilsen, Daniel Isaksen (https://duniel.no) On Tue, Sep 18, 2018 at 8:10 PM, Brent B. Powers wrote: > I've thrown Alpine onto a raspberry 2 to use as a DNS server, via a > sys-type installation. I've got my DNS going just fine, but I'm getting > hammered by ssh attempts. The obvious situation is sshguard, but that > requires (nowadays) a firewall. > > I've apk'd iptables, but the service won't run, as there's no kernel > support. And here's the rub: I can't modprobe ip_tables.ko, as modprobe is > looking for it in 4.14.52-0-rpi2, and I've got it in 4.14.69-0-rpi2. I > don't know how that happened, but neither insmod or modprobe is letting me > past it (actually, insmod is giving me an error about Unknown Symbols). > > > To compound my difficulties, I'm more of a bsd person than linux, so, > please, be gentle. cheers, and thanks for the help. > > > --000000000000930fb7057629e714 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Are you using edge?

Kernel modules are = built against a specific kernel version, and if you upgrade either, you nee= d to upgrade the other. I.e. if you upgraded iptables, you need to upgrade = the kernel as well, or install iptables built against the kernel version yo= u are running.

Also, after upgrading the kernel, y= ou need to reboot the machine.

-----
Sincerely / Med vennlig hilse= n,
Daniel Isaksen <d@duniel.no> (= https://duniel.no)

On Tue, Sep 18, 2018 at 8:10 PM, Brent B. Po= wers <brent.b.powers@gmail.com> wrote:

I've thrown Alpine onto a raspberry 2 to use as a DNS server, via= a sys-type installation. I've got my DNS going just fine, but I'm = getting hammered by ssh attempts. The obvious situation is sshguard, but th= at requires (nowadays) a firewall.

I've apk'd iptables, but the service won't run, as there'= ;s no kernel support. And here's the rub: I can't modprobe ip_table= s.ko, as modprobe is looking for it in 4.14.52-0-rpi2, and I've got it = in 4.14.69-0-rpi2. I don't know how that happened, but neither insmod o= r modprobe is letting me past it (actually, insmod is giving me an error ab= out Unknown Symbols).


To compound my difficulties, I= 9;m more of a bsd person than linux, so, please, be gentle. cheers, and tha= nks for the help.



--000000000000930fb7057629e714-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---