Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

I have a very small mind and must live with it. -- E. Dijkstra


computers / alt.os.linux.slackware / Re: dhcp security patch on 14.1

SubjectAuthor
* dhcp security patch on 14.1Wilson R
+* Re: dhcp security patch on 14.1John McCue
|`* Re: dhcp security patch on 14.1Wilson R
| +- Re: dhcp security patch on 14.1Mike Small
| `* Re: dhcp security patch on 14.1Henrik Carlqvist
|  +- Re: dhcp security patch on 14.1Wilson R
|  `- Re: dhcp security patch on 14.1Wilson R
+- Re: dhcp security patch on 14.1Jimmy Johnson
`- Re: dhcp security patch on 14.1Sylvain Robitaille

1
dhcp security patch on 14.1

<878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=557&group=alt.os.linux.slackware#557

  copy link   Newsgroups: alt.os.linux.slackware
X-Received: by 2002:a05:620a:538:: with SMTP id h24mr2487421qkh.18.1628739221178;
Wed, 11 Aug 2021 20:33:41 -0700 (PDT)
X-Received: by 2002:a05:6830:2646:: with SMTP id f6mr1843550otu.129.1628739220876;
Wed, 11 Aug 2021 20:33:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.os.linux.slackware
Date: Wed, 11 Aug 2021 20:33:40 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=210.89.38.220; posting-account=4Vhj4gkAAABqKlkVG3c7DIHvfycQPDQs
NNTP-Posting-Host: 210.89.38.220
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com>
Subject: dhcp security patch on 14.1
From: wrodrigues201@gmail.com (Wilson R)
Injection-Date: Thu, 12 Aug 2021 03:33:41 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Wilson R - Thu, 12 Aug 2021 03:33 UTC

Hello,

after installing the security patch dhcp-4.4.2_P1-x86_64-1_slack14.1.txz on Slackware64 14.1 the dhcpd is not running and giving below error.

#dhcpd -t

Internet Systems Consortium DHCP Server 4.4.2-P1
Copyright 2004-2021 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
stats.c:386: REQUIRE((__builtin_expect(((stats) != ((void *)0)), 1) && __builtin_expect((((const isc__magic_t *)(stats))->magic == ((('S') << 24 | ('t') << 16 | ('a') << 8 | ('t')))), 1))) failed, back trace
#0 0x5fcb94 in ??
#1 0x5fcafa in ??
#2 0x61b2a2 in ??
#3 0x54cd35 in ??
#4 0x4f8862 in ??
#5 0x537b08 in ??
#6 0x48dbd0 in ??
#7 0x48de07 in ??
#8 0x40eb77 in ??
#9 0x40d1df in ??
#10 0x7f4c74bfad05 in ??
#11 0x40db71 in ??
Aborted

If the dhcp is reverted to dhcp-4.2.5_P1-x86_64-1.txz there is no issue.
Kindly let me know if there is an issue with the patch.

Thanks in advance.

WR

Re: dhcp security patch on 14.1

<sf487k$uj6$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=558&group=alt.os.linux.slackware#558

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jmccue@jmcw541.hsd1.ma.comcast.net (John McCue)
Newsgroups: alt.os.linux.slackware
Subject: Re: dhcp security patch on 14.1
Date: Thu, 12 Aug 2021 22:44:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <sf487k$uj6$1@dont-email.me>
References: <878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com>
Reply-To: jmclnx@SPAMisBADgmail.com
Injection-Date: Thu, 12 Aug 2021 22:44:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="42e07a8b73293db25d647093296c2885";
logging-data="31334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aoThZeNtpPJyzUQ8KsCCF"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/4.18.0-326.el8.x86_64 (x86_64))
Cancel-Lock: sha1:8fXMScDEiigPGDNGVryerW+JPDU=
 by: John McCue - Thu, 12 Aug 2021 22:44 UTC

Wilson R <wrodrigues201@gmail.com> wrote:
> Hello,
>
> after installing the security patch
> dhcp-4.4.2_P1-x86_64-1_slack14.1.txz on Slackware64 14.1
> the dhcpd is not running and giving below error.
>
<snip>

On Slackware 14.2 I needed to modify
/etc/NetworkManager/conf.d/00-dhcp-client.conf

and change it to use:
dhcp=dhclient

This was needed due to the modum provided to me by comcast.

>
> Thanks in advance.
>
> WR

HTH

Re: dhcp security patch on 14.1

<ff6b39d9-9594-4ef4-9a8b-9546bde195ffn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=559&group=alt.os.linux.slackware#559

  copy link   Newsgroups: alt.os.linux.slackware
X-Received: by 2002:a05:622a:1007:: with SMTP id d7mr1885392qte.158.1628860167804;
Fri, 13 Aug 2021 06:09:27 -0700 (PDT)
X-Received: by 2002:a05:6830:2646:: with SMTP id f6mr2104426otu.129.1628860167563;
Fri, 13 Aug 2021 06:09:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.os.linux.slackware
Date: Fri, 13 Aug 2021 06:09:27 -0700 (PDT)
In-Reply-To: <sf487k$uj6$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=210.89.38.220; posting-account=4Vhj4gkAAABqKlkVG3c7DIHvfycQPDQs
NNTP-Posting-Host: 210.89.38.220
References: <878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com> <sf487k$uj6$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ff6b39d9-9594-4ef4-9a8b-9546bde195ffn@googlegroups.com>
Subject: Re: dhcp security patch on 14.1
From: wrodrigues201@gmail.com (Wilson R)
Injection-Date: Fri, 13 Aug 2021 13:09:27 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1900
 by: Wilson R - Fri, 13 Aug 2021 13:09 UTC

On Friday, 13 August 2021 at 04:14:06 UTC+5:30, John McCue wrote:
> Wilson R <wrodri...@gmail.com> wrote:
> > Hello,
> >
> > after installing the security patch
> > dhcp-4.4.2_P1-x86_64-1_slack14.1.txz on Slackware64 14.1
> > the dhcpd is not running and giving below error.
> >
> <snip>
>
> On Slackware 14.2 I needed to modify
> /etc/NetworkManager/conf.d/00-dhcp-client.conf
>
> and change it to use:
> dhcp=dhclient
>
> This was needed due to the modum provided to me by comcast.
>
> >
> > Thanks in advance.
> >
> > WR
>
> HTH

The issue is with the dhcp server and not with the dhcp-client. I have now created a slackware package from the source for dhcp-4.4.2_P1-x86_64-1_slack14.1.txz, which is working fine.

Thanks.

Re: dhcp security patch on 14.1

<jpkv9497458.fsf@panix5.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=560&group=alt.os.linux.slackware#560

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!not-for-mail
From: smallm@panix.com (Mike Small)
Newsgroups: alt.os.linux.slackware
Subject: Re: dhcp security patch on 14.1
Date: Fri, 13 Aug 2021 11:31:15 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <jpkv9497458.fsf@panix5.panix.com>
References: <878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com>
<sf487k$uj6$1@dont-email.me>
<ff6b39d9-9594-4ef4-9a8b-9546bde195ffn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="1809"; mail-complaints-to="abuse@panix.com"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix)
Cancel-Lock: sha1:bIli/SaDS0F5qGbL+UDzzPucfeM=
 by: Mike Small - Fri, 13 Aug 2021 15:31 UTC

Wilson R <wrodrigues201@gmail.com> writes:

> The issue is with the dhcp server and not with the dhcp-client. I have
> now created a slackware package from the source for
> dhcp-4.4.2_P1-x86_64-1_slack14.1.txz, which is working fine.

Might you be out of date on a library dhcpd uses? The error before
looked like it was either not finding a struct it expected or else a
magic number within the data structure didn't match. This part...

stats.c:386: REQUIRE((__builtin_expect(((stats) != ((void *)0)), 1) &&
__builtin_expect((((const isc__magic_t *)(stats))->magic == ((('S') <<
24 | ('t') << 16 | ('a') << 8 | ('t')))), 1))) failed, back trace

Or maybe he built against 14.2 and assumed that nothing relevant
underneath had changed from 14.1.

- Mike Sm.

Re: dhcp security patch on 14.1

<sf8nau$kh9$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=561&group=alt.os.linux.slackware#561

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Henrik.Carlqvist@deadspam.com (Henrik Carlqvist)
Newsgroups: alt.os.linux.slackware
Subject: Re: dhcp security patch on 14.1
Date: Sat, 14 Aug 2021 15:26:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <sf8nau$kh9$1@dont-email.me>
References: <878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com>
<sf487k$uj6$1@dont-email.me>
<ff6b39d9-9594-4ef4-9a8b-9546bde195ffn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 14 Aug 2021 15:26:22 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6d312735cd0c62cdc3082d56c644e136";
logging-data="21033"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1918BlMOy2RU9vZd92KxE0J"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:yE6r6dpojOtQvUQ12CfMvz6IaRM=
 by: Henrik Carlqvist - Sat, 14 Aug 2021 15:26 UTC

On Fri, 13 Aug 2021 06:09:27 -0700, Wilson R wrote:
> I have now created a slackware package from the source for
> dhcp-4.4.2_P1-x86_64-1_slack14.1.txz, which is working fine.

Did you have to patch the source or change the way it builds compared to
the slackbuild script to make it work? Sorry I can't be to much help, I
only have a few 14.1 machines and none of them act as a dhcp server.

regards Henrik

Re: dhcp security patch on 14.1

<188f9ac5-c206-48b1-a847-68b834a27f5en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=562&group=alt.os.linux.slackware#562

  copy link   Newsgroups: alt.os.linux.slackware
X-Received: by 2002:a05:620a:138a:: with SMTP id k10mr11424696qki.472.1629028424312;
Sun, 15 Aug 2021 04:53:44 -0700 (PDT)
X-Received: by 2002:a05:6808:aa8:: with SMTP id r8mr5063286oij.171.1629028423908;
Sun, 15 Aug 2021 04:53:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.os.linux.slackware
Date: Sun, 15 Aug 2021 04:53:43 -0700 (PDT)
In-Reply-To: <sf8nau$kh9$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=210.89.38.220; posting-account=4Vhj4gkAAABqKlkVG3c7DIHvfycQPDQs
NNTP-Posting-Host: 210.89.38.220
References: <878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com>
<sf487k$uj6$1@dont-email.me> <ff6b39d9-9594-4ef4-9a8b-9546bde195ffn@googlegroups.com>
<sf8nau$kh9$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <188f9ac5-c206-48b1-a847-68b834a27f5en@googlegroups.com>
Subject: Re: dhcp security patch on 14.1
From: wrodrigues201@gmail.com (Wilson R)
Injection-Date: Sun, 15 Aug 2021 11:53:44 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Wilson R - Sun, 15 Aug 2021 11:53 UTC

On Saturday, 14 August 2021 at 20:56:24 UTC+5:30, Henrik Carlqvist wrote:
> On Fri, 13 Aug 2021 06:09:27 -0700, Wilson R wrote:
> > I have now created a slackware package from the source for
> > dhcp-4.4.2_P1-x86_64-1_slack14.1.txz, which is working fine.
> Did you have to patch the source or change the way it builds compared to
> the slackbuild script to make it work? Sorry I can't be to much help, I
> only have a few 14.1 machines and none of them act as a dhcp server.
>
> regards Henrik

I downloaded the source from isc.org (https://downloads.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz)
I had to comment out line below line from the slackware original dhcp-4.2.5 slackbuild script.

#zcat $CWD/dhclient-script.PATH.diff.gz | patch -p1 || exit 1

After which the new package was created (dhcp-4.4.2_P1-x86_64-1.txz).

Re: dhcp security patch on 14.1

<f898850f-26bb-4f9c-890f-9794db2cac96n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=563&group=alt.os.linux.slackware#563

  copy link   Newsgroups: alt.os.linux.slackware
X-Received: by 2002:a05:620a:983:: with SMTP id x3mr5415855qkx.151.1629028425472;
Sun, 15 Aug 2021 04:53:45 -0700 (PDT)
X-Received: by 2002:a4a:334f:: with SMTP id q76mr8044696ooq.41.1629028425253;
Sun, 15 Aug 2021 04:53:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.os.linux.slackware
Date: Sun, 15 Aug 2021 04:53:45 -0700 (PDT)
In-Reply-To: <sf8nau$kh9$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=210.89.38.220; posting-account=4Vhj4gkAAABqKlkVG3c7DIHvfycQPDQs
NNTP-Posting-Host: 210.89.38.220
References: <878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com>
<sf487k$uj6$1@dont-email.me> <ff6b39d9-9594-4ef4-9a8b-9546bde195ffn@googlegroups.com>
<sf8nau$kh9$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f898850f-26bb-4f9c-890f-9794db2cac96n@googlegroups.com>
Subject: Re: dhcp security patch on 14.1
From: wrodrigues201@gmail.com (Wilson R)
Injection-Date: Sun, 15 Aug 2021 11:53:45 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Wilson R - Sun, 15 Aug 2021 11:53 UTC

On Saturday, 14 August 2021 at 20:56:24 UTC+5:30, Henrik Carlqvist wrote:
> On Fri, 13 Aug 2021 06:09:27 -0700, Wilson R wrote:
> > I have now created a slackware package from the source for
> > dhcp-4.4.2_P1-x86_64-1_slack14.1.txz, which is working fine.
> Did you have to patch the source or change the way it builds compared to
> the slackbuild script to make it work? Sorry I can't be to much help, I
> only have a few 14.1 machines and none of them act as a dhcp server.
>
> regards Henrik

I downloaded the source from isc.org (https://downloads.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz)
I had to comment out line below line from the slackware original dhcp-4.2.5 slackbuild script.

#zcat $CWD/dhclient-script.PATH.diff.gz | patch -p1 || exit 1

After which the new package was created (dhcp-4.4.2_P1-x86_64-1.txz).

Re: dhcp security patch on 14.1

<sfcigs$11tv$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=564&group=alt.os.linux.slackware#564

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!aioe.org!aioZ0bImk1W6iXhakPXh2A.user.46.165.242.75.POSTED!not-for-mail
From: jimmy@none.none (Jimmy Johnson)
Newsgroups: alt.os.linux.slackware
Subject: Re: dhcp security patch on 14.1
Date: Sun, 15 Aug 2021 19:28:44 -0700
Organization: Aioe.org NNTP Server
Message-ID: <sfcigs$11tv$1@gioia.aioe.org>
References: <878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="34751"; posting-host="aioZ0bImk1W6iXhakPXh2A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: PC Repair and Better Built Computers
X-Notice: Filtered by postfilter v. 0.9.2
 by: Jimmy Johnson - Mon, 16 Aug 2021 02:28 UTC

On 08/11/2021 08:33 PM, Wilson R wrote:
> Hello,
>
> after installing the security patch dhcp-4.4.2_P1-x86_64-1_slack14.1.txz on Slackware64 14.1 the dhcpd is not running and giving below error.
>
> #dhcpd -t

> Thanks in advance.

I'm going to give some information that may or may not help. On another
system I run I got a upgrade that messed up my internet connection,
deleting /etc/resolv.conf and rebooting solved the problem by
auto-installing a new config and it worked. I just changed to name to
resolv.conf.save until I know I had a working solution. Upgrading a
system can be a bitch sometimes.
--
Jimmy Johnson

Slackware 14.2 - AMD A8-7600 - EXT4 at sda12
Registered Linux User #380263

Re: dhcp security patch on 14.1

<slrnshr2u3.m6a.syl@elvira.therockgarden.ca>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=594&group=alt.os.linux.slackware#594

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc3.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx42.iad.POSTED!not-for-mail
Newsgroups: alt.os.linux.slackware
From: syl@alcor.concordia.ca (Sylvain Robitaille)
Subject: Re: dhcp security patch on 14.1
References: <878db512-01a9-454f-a89c-b709f9577553n@googlegroups.com>
User-Agent: slrn/1.0.2 (Linux)
Message-ID: <slrnshr2u3.m6a.syl@elvira.therockgarden.ca>
Lines: 29
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Wed, 18 Aug 2021 22:37:55 UTC
Date: Wed, 18 Aug 2021 22:37:55 GMT
X-Received-Bytes: 2021
 by: Sylvain Robitaille - Wed, 18 Aug 2021 22:37 UTC

On 2021-08-12, Wilson R wrote:

> after installing the security patch
> dhcp-4.4.2_P1-x86_64-1_slack14.1.txz on Slackware64 14.1 the dhcpd is
> not running and giving below error.

Not helpful in this specific case, and more than a little late, but
hopefully helpful to someone out there at some point: in contrast to
the above report, my 32-bit Slackware-14.1 system running dhcpd indeed
had no trouble with the update to dhcp-4.4.2_P1-i486-1_slack14.1.
Certainly it suggests either that a) the OPs system may be missing
an additional update that the patched dhcp package needs, or b)
there is something not entirely ok with the patch package (I don't
recall ever encountering that myself in decades of using Slackware,
but I also wouldn't want to rule it out without trying to duplicate
the behaviour).

That building a custom package on the target system works fine also
reinforces that either of the above is a likely cause of the problem,
but I have to admit that I think it's as good a solution as any other,
so I have no further suggestions for the OP.

--
----------------------------------------------------------------------
Sylvain Robitaille syl@encs.concordia.ca
Systems analyst / AITS Concordia University
Faculty of Engineering and Computer Science Montreal, Quebec, Canada
----------------------------------------------------------------------

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor