After updating 'arping' to 2.15: can't login with SSH
Message ID | 56643CED.9050102@ipfire.org |
---|---|
State | Superseded |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.tremer.info [172.28.1.200]) by septima.ipfire.org (Postfix) with ESMTP id AB38D6038E for <patchwork@ipfire.org>; Sun, 6 Dec 2015 14:48:52 +0100 (CET) Received: from hedwig.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 613FB4456; Sun, 6 Dec 2015 14:48:52 +0100 (CET) Received: from [192.168.100.1] (p578D18EF.dip0.t-ipconnect.de [87.141.24.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 9B72B4440 for <development@lists.ipfire.org>; Sun, 6 Dec 2015 14:48:50 +0100 (CET) To: "IPFire: Development-List" <development@lists.ipfire.org> From: Matthias Fischer <matthias.fischer@ipfire.org> Subject: After updating 'arping' to 2.15: can't login with SSH Organization: None Message-ID: <56643CED.9050102@ipfire.org> Date: Sun, 6 Dec 2015 14:49:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Matthias Fischer
Dec. 7, 2015, 12:49 a.m. UTC
Hi, it came to my view (https://forum.ipfire.org/viewtopic.php?f=27&t=15377&sid=a93f68dc580a6301bb3afe3a85d0c44d#p92425) that there is an update for 'arping'. New version is 2.15 (IPFire: 2.05). Having the time, I tried. First results: - After some lfs-changes building seems ok, Diffs are as follows: ***SNIP*** +# Copyright (C) 2015 Michael Tremer & Christian Schmidt # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 2.05 +VER = 2.15 THISAPP = arping-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 96e7c2ce8ae09046e264a314eeaac4dd +$(DL_FILE)_MD5 = 676584f6eb4ccc8c70fc6b2c702df75d install : $(TARGET) @@ -70,7 +70,8 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr cd $(DIR_APP) && make $(MAKETUNING) - cd $(DIR_APP) && install -m 0755 arping /usr/sbin + cd $(DIR_APP) && make install-exec @rm -rf $(DIR_APP) @$(POSTBUILD) ***SNAP*** Resulting binary is a bit small. Smaller than expected. Ok, nevertheless - ("...this will NOT work...!") - copied it to '/usr/sbin' (after making a backup... ;-) ). Rebooting the machine showed no visible problems. At first. But after starting SSH, I couldn't no longer login with PuTTY. Exactly NOTHING happens. SSH-Log shows: ... 11:18:02 sshd[2852]: Server listening on 0.0.0.0 port 222. 11:18:02 sshd[2852]: Server listening on :: port 222. 11:18:02 sshd[2859]: error: Bind to port 222 on 0.0.0.0 failed: Address already in use. 11:18:02 sshd[2859]: error: Bind to port 222 on :: failed: Address already in use. 11:18:02 sshd[2859]: fatal: Cannot bind any address. ... Copied the old 'arping 2.05' back to '/usr/sbin', rebooted, PuTTY works. Ok, so there is something missing (in lfs!?), probably configure-options, which is beyond my small programming skills. If anyone is interested in the new 'arping'-version and capable of this: any hints are welcome. ;-) Best, Matthias
Comments
Hi Matthias, have build also arping-2.15 (should be the same since i have here an appropriate md5sum) but i have only copied it like /libnet /usr/lib/libnet.so usr/lib/libnet.so.1 /usr/lib/libnet.so.1.7.0 also from my building environment to the productive one (no fresh .iso Install) and have had here no problem with SSH but also arping works as expected: -> arping -h ARPing 2.15, by Thomas Habets <thomas@habets.se> usage: arping [ -0aAbdDeFpPqrRuUv ] [ -w <us> ] [ -W <sec> ] [ -S <host/ip> ] [ -T <host/ip ] [ -s <MAC> ] [ -t <MAC> ] [ -c <count> ] [ -C <count> ] [ -i <interface> ] [ -m <type> ] <host/ip/MAC | -B> For complete usage info, use --help or check the manage. As a beneath info my arping LFS differs a little to yours in Installation Details" section: ############################################################################### # Installation Details ############################################################################### $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && ./bootstrap.sh cd $(DIR_APP) && ./configure --prefix=/usr cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) @$(POSTBUILD) but i think this aren´t a explanation causing your SSH problem which i currently can not´t reproduce here. Greetings, Erik Am 06.12.2015 um 14:49 schrieb Matthias Fischer: > Hi, > > it came to my view (https://forum.ipfire.org/viewtopic.php?f=27&t=15377&sid=a93f68dc580a6301bb3afe3a85d0c44d#p92425) that there is an update for 'arping'. New version is 2.15 (IPFire: 2.05). Having the time, I tried. > > First results: > > - After some lfs-changes building seems ok, Diffs are as follows: > > ***SNIP*** > diff --git a/lfs/arping b/lfs/arping > index 13eb05e..7680fdb 100644 > --- a/lfs/arping > +++ b/lfs/arping > @@ -1,7 +1,7 @@ > ############################################################################### > # # > # IPFire.org - A linux based firewall # > -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # > +# Copyright (C) 2015 Michael Tremer & Christian Schmidt # > # # > # This program is free software: you can redistribute it and/or modify # > # it under the terms of the GNU General Public License as published by # > @@ -24,7 +24,7 @@ > > include Config > > -VER = 2.05 > +VER = 2.15 > > THISAPP = arping-$(VER) > DL_FILE = $(THISAPP).tar.gz > @@ -40,7 +40,7 @@ objects = $(DL_FILE) > > $(DL_FILE) = $(DL_FROM)/$(DL_FILE) > > -$(DL_FILE)_MD5 = 96e7c2ce8ae09046e264a314eeaac4dd > +$(DL_FILE)_MD5 = 676584f6eb4ccc8c70fc6b2c702df75d > > install : $(TARGET) > > @@ -70,7 +70,8 @@ $(subst %,%_MD5,$(objects)) : > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > @$(PREBUILD) > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) > + cd $(DIR_APP) && ./configure --prefix=/usr > cd $(DIR_APP) && make $(MAKETUNING) > - cd $(DIR_APP) && install -m 0755 arping /usr/sbin > + cd $(DIR_APP) && make install-exec > @rm -rf $(DIR_APP) > @$(POSTBUILD) > ***SNAP*** > > Resulting binary is a bit small. Smaller than expected. Ok, nevertheless - ("...this will NOT work...!") - copied it to '/usr/sbin' (after making a backup... ;-) ). > > Rebooting the machine showed no visible problems. At first. But after starting SSH, I couldn't no longer login with PuTTY. Exactly NOTHING happens. > > SSH-Log shows: > > ... > 11:18:02 sshd[2852]: Server listening on 0.0.0.0 port 222. > 11:18:02 sshd[2852]: Server listening on :: port 222. > 11:18:02 sshd[2859]: error: Bind to port 222 on 0.0.0.0 failed: Address already in use. > 11:18:02 sshd[2859]: error: Bind to port 222 on :: failed: Address already in use. > 11:18:02 sshd[2859]: fatal: Cannot bind any address. > ... > > Copied the old 'arping 2.05' back to '/usr/sbin', rebooted, PuTTY works. > > Ok, so there is something missing (in lfs!?), probably configure-options, which is beyond my small programming skills. If anyone is interested in the new 'arping'-version and capable of this: any hints are welcome. ;-) > > Best, > Matthias
On 07.12.2015 15:05, ue wrote: > Hi Matthias, > have build also arping-2.15 (should be the same since i have here an appropriate md5sum) but i have only copied it like /libnet /usr/lib/libnet.so usr/lib/libnet.so.1 /usr/lib/libnet.so.1.7.0 also from my building environment to the productive one (no fresh .iso Install) and have had here no problem with SSH but also arping works as expected: Hm... ;-) > -> arping -h > ARPing 2.15, by Thomas Habets <thomas@habets.se> > usage: arping [ -0aAbdDeFpPqrRuUv ] [ -w <us> ] [ -W <sec> ] [ -S <host/ip> ] > [ -T <host/ip ] [ -s <MAC> ] [ -t <MAC> ] [ -c <count> ] > [ -C <count> ] [ -i <interface> ] [ -m <type> ] <host/ip/MAC | -B> > For complete usage info, use --help or check the manage. I had exactly the same output, so I thought that everything could be fine. It wasn't... > As a beneath info my arping LFS differs a little to yours in Installation Details" section: I'll try again with your settings. Devel is running. > ############################################################################### > # Installation Details > ############################################################################### > > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > @$(PREBUILD) > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) > cd $(DIR_APP) && ./bootstrap.sh > cd $(DIR_APP) && ./configure --prefix=/usr > > cd $(DIR_APP) && make $(MAKETUNING) > cd $(DIR_APP) && make install > > @rm -rf $(DIR_APP) > @$(POSTBUILD) > > > but i think this aren´t a explanation causing your SSH problem which i currently can not´t reproduce here. Thanks a lot - we'll see... Best, Matthias > Greetings, > > Erik > > > > Am 06.12.2015 um 14:49 schrieb Matthias Fischer: > >> Hi, >> >> it came to my view (https://forum.ipfire.org/viewtopic.php?f=27&t=15377&sid=a93f68dc580a6301bb3afe3a85d0c44d#p92425) that there is an update for 'arping'. New version is 2.15 (IPFire: 2.05). Having the time, I tried. >> >> First results: >> >> - After some lfs-changes building seems ok, Diffs are as follows: >> >> ***SNIP*** >> diff --git a/lfs/arping b/lfs/arping >> index 13eb05e..7680fdb 100644 >> --- a/lfs/arping >> +++ b/lfs/arping >> @@ -1,7 +1,7 @@ >> ############################################################################### >> # # >> # IPFire.org - A linux based firewall # >> -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # >> +# Copyright (C) 2015 Michael Tremer & Christian Schmidt # >> # # >> # This program is free software: you can redistribute it and/or modify # >> # it under the terms of the GNU General Public License as published by # >> @@ -24,7 +24,7 @@ >> >> include Config >> >> -VER = 2.05 >> +VER = 2.15 >> >> THISAPP = arping-$(VER) >> DL_FILE = $(THISAPP).tar.gz >> @@ -40,7 +40,7 @@ objects = $(DL_FILE) >> >> $(DL_FILE) = $(DL_FROM)/$(DL_FILE) >> >> -$(DL_FILE)_MD5 = 96e7c2ce8ae09046e264a314eeaac4dd >> +$(DL_FILE)_MD5 = 676584f6eb4ccc8c70fc6b2c702df75d >> >> install : $(TARGET) >> >> @@ -70,7 +70,8 @@ $(subst %,%_MD5,$(objects)) : >> $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >> @$(PREBUILD) >> @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) >> + cd $(DIR_APP) && ./configure --prefix=/usr >> cd $(DIR_APP) && make $(MAKETUNING) >> - cd $(DIR_APP) && install -m 0755 arping /usr/sbin >> + cd $(DIR_APP) && make install-exec >> @rm -rf $(DIR_APP) >> @$(POSTBUILD) >> ***SNAP*** >> >> Resulting binary is a bit small. Smaller than expected. Ok, nevertheless - ("...this will NOT work...!") - copied it to '/usr/sbin' (after making a backup... ;-) ). >> >> Rebooting the machine showed no visible problems. At first. But after starting SSH, I couldn't no longer login with PuTTY. Exactly NOTHING happens. >> >> SSH-Log shows: >> >> ... >> 11:18:02 sshd[2852]: Server listening on 0.0.0.0 port 222. >> 11:18:02 sshd[2852]: Server listening on :: port 222. >> 11:18:02 sshd[2859]: error: Bind to port 222 on 0.0.0.0 failed: Address already in use. >> 11:18:02 sshd[2859]: error: Bind to port 222 on :: failed: Address already in use. >> 11:18:02 sshd[2859]: fatal: Cannot bind any address. >> ... >> >> Copied the old 'arping 2.05' back to '/usr/sbin', rebooted, PuTTY works. >> >> Ok, so there is something missing (in lfs!?), probably configure-options, which is beyond my small programming skills. If anyone is interested in the new 'arping'-version and capable of this: any hints are welcome. ;-) >> >> Best, >> Matthias > >
Hi Erik, I can't explain, but your changes made it! After using your lfs-file for 'arping 2.15', the first tests are all ok. SSH is working as expected and I can login through PuTTY. Thanks again! ;-) Best, Matthias On 07.12.2015 18:48, Matthias Fischer wrote: > On 07.12.2015 15:05, ue wrote: >> Hi Matthias, >> have build also arping-2.15 (should be the same since i have here an >> appropriate md5sum) but i have only copied it like /libnet >> /usr/lib/libnet.so usr/lib/libnet.so.1 /usr/lib/libnet.so.1.7.0 also >> from my building environment to the productive one (no fresh .iso >> Install) and have had here no problem with SSH but also arping works >> as expected: > > Hm... ;-) > >> -> arping -h >> ARPing 2.15, by Thomas Habets <thomas@habets.se> >> usage: arping [ -0aAbdDeFpPqrRuUv ] [ -w <us> ] [ -W <sec> ] [ -S >> <host/ip> ] >> [ -T <host/ip ] [ -s <MAC> ] [ -t <MAC> ] [ -c <count> ] >> [ -C <count> ] [ -i <interface> ] [ -m <type> ] >> <host/ip/MAC | -B> >> For complete usage info, use --help or check the manage. > > I had exactly the same output, so I thought that everything could be > fine. It wasn't... > >> As a beneath info my arping LFS differs a little to yours in >> Installation Details" section: > > I'll try again with your settings. Devel is running. > >> ############################################################################### >> >> # Installation Details >> ############################################################################### >> >> >> $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >> @$(PREBUILD) >> @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) >> cd $(DIR_APP) && ./bootstrap.sh >> cd $(DIR_APP) && ./configure --prefix=/usr >> >> cd $(DIR_APP) && make $(MAKETUNING) >> cd $(DIR_APP) && make install >> >> @rm -rf $(DIR_APP) >> @$(POSTBUILD) >> >> >> but i think this aren´t a explanation causing your SSH problem which i >> currently can not´t reproduce here. > > Thanks a lot - we'll see... > > Best, > Matthias > >> Greetings, >> >> Erik >> >> >> >> Am 06.12.2015 um 14:49 schrieb Matthias Fischer: >> >>> Hi, >>> >>> it came to my view >>> (https://forum.ipfire.org/viewtopic.php?f=27&t=15377&sid=a93f68dc580a6301bb3afe3a85d0c44d#p92425) >>> that there is an update for 'arping'. New version is 2.15 (IPFire: >>> 2.05). Having the time, I tried. >>> >>> First results: >>> >>> - After some lfs-changes building seems ok, Diffs are as follows: >>> >>> ***SNIP*** >>> diff --git a/lfs/arping b/lfs/arping >>> index 13eb05e..7680fdb 100644 >>> --- a/lfs/arping >>> +++ b/lfs/arping >>> @@ -1,7 +1,7 @@ >>> ############################################################################### >>> >>> # # >>> # IPFire.org - A linux based firewall # >>> -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # >>> +# Copyright (C) 2015 Michael Tremer & Christian Schmidt # >>> # # >>> # This program is free software: you can redistribute it and/or >>> modify # >>> # it under the terms of the GNU General Public License as published >>> by # >>> @@ -24,7 +24,7 @@ >>> >>> include Config >>> >>> -VER = 2.05 >>> +VER = 2.15 >>> >>> THISAPP = arping-$(VER) >>> DL_FILE = $(THISAPP).tar.gz >>> @@ -40,7 +40,7 @@ objects = $(DL_FILE) >>> >>> $(DL_FILE) = $(DL_FROM)/$(DL_FILE) >>> >>> -$(DL_FILE)_MD5 = 96e7c2ce8ae09046e264a314eeaac4dd >>> +$(DL_FILE)_MD5 = 676584f6eb4ccc8c70fc6b2c702df75d >>> >>> install : $(TARGET) >>> >>> @@ -70,7 +70,8 @@ $(subst %,%_MD5,$(objects)) : >>> $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >>> @$(PREBUILD) >>> @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) >>> + cd $(DIR_APP) && ./configure --prefix=/usr >>> cd $(DIR_APP) && make $(MAKETUNING) >>> - cd $(DIR_APP) && install -m 0755 arping /usr/sbin >>> + cd $(DIR_APP) && make install-exec >>> @rm -rf $(DIR_APP) >>> @$(POSTBUILD) >>> ***SNAP*** >>> >>> Resulting binary is a bit small. Smaller than expected. Ok, >>> nevertheless - ("...this will NOT work...!") - copied it to >>> '/usr/sbin' (after making a backup... ;-) ). >>> >>> Rebooting the machine showed no visible problems. At first. But after >>> starting SSH, I couldn't no longer login with PuTTY. Exactly NOTHING >>> happens. >>> >>> SSH-Log shows: >>> >>> ... >>> 11:18:02 sshd[2852]: Server listening on 0.0.0.0 port 222. >>> 11:18:02 sshd[2852]: Server listening on :: port 222. >>> 11:18:02 sshd[2859]: error: Bind to port 222 on 0.0.0.0 >>> failed: Address already in use. >>> 11:18:02 sshd[2859]: error: Bind to port 222 on :: failed: >>> Address already in use. >>> 11:18:02 sshd[2859]: fatal: Cannot bind any address. >>> ... >>> >>> Copied the old 'arping 2.05' back to '/usr/sbin', rebooted, PuTTY works. >>> >>> Ok, so there is something missing (in lfs!?), probably >>> configure-options, which is beyond my small programming skills. If >>> anyone is interested in the new 'arping'-version and capable of this: >>> any hints are welcome. ;-) >>> >>> Best, >>> Matthias >> >> > >
Hello guys, I am sorry, but I do not follow. Do I need to do anything? Is this a bug? -Michael On Tue, 2015-12-08 at 18:54 +0100, Matthias Fischer wrote: > Hi Erik, > > I can't explain, but your changes made it! After using your lfs-file > for > 'arping 2.15', the first tests are all ok. SSH is working as expected > and I can login through PuTTY. > > Thanks again! ;-) > > Best, > Matthias > > > On 07.12.2015 18:48, Matthias Fischer wrote: > > On 07.12.2015 15:05, ue wrote: > > > Hi Matthias, > > > have build also arping-2.15 (should be the same since i have here > > > an > > > appropriate md5sum) but i have only copied it like /libnet > > > /usr/lib/libnet.so usr/lib/libnet.so.1 /usr/lib/libnet.so.1.7.0 > > > also > > > from my building environment to the productive one (no fresh .iso > > > Install) and have had here no problem with SSH but also arping > > > works > > > as expected: > > > > Hm... ;-) > > > > > -> arping -h > > > ARPing 2.15, by Thomas Habets <thomas@habets.se> > > > usage: arping [ -0aAbdDeFpPqrRuUv ] [ -w <us> ] [ -W <sec> ] [ -S > > > <host/ip> ] > > > [ -T <host/ip ] [ -s <MAC> ] [ -t <MAC> ] [ -c > > > <count> ] > > > [ -C <count> ] [ -i <interface> ] [ -m <type> ] > > > <host/ip/MAC | -B> > > > For complete usage info, use --help or check the manage. > > > > I had exactly the same output, so I thought that everything could > > be > > fine. It wasn't... > > > > > As a beneath info my arping LFS differs a little to yours in > > > Installation Details" section: > > > > I'll try again with your settings. Devel is running. > > > > > ################################################################# > > > ############## > > > > > > # Installation Details > > > ################################################################# > > > ############## > > > > > > > > > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > > > @$(PREBUILD) > > > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf > > > $(DIR_DL)/$(DL_FILE) > > > cd $(DIR_APP) && ./bootstrap.sh > > > cd $(DIR_APP) && ./configure --prefix=/usr > > > > > > cd $(DIR_APP) && make $(MAKETUNING) > > > cd $(DIR_APP) && make install > > > > > > @rm -rf $(DIR_APP) > > > @$(POSTBUILD) > > > > > > > > > but i think this aren´t a explanation causing your SSH problem > > > which i > > > currently can not´t reproduce here. > > > > Thanks a lot - we'll see... > > > > Best, > > Matthias > > > > > Greetings, > > > > > > Erik > > > > > > > > > > > > Am 06.12.2015 um 14:49 schrieb Matthias Fischer: > > > > > > > Hi, > > > > > > > > it came to my view > > > > (https://forum.ipfire.org/viewtopic.php?f=27&t=15377&sid=a93f68 > > > > dc580a6301bb3afe3a85d0c44d#p92425) > > > > that there is an update for 'arping'. New version is 2.15 > > > > (IPFire: > > > > 2.05). Having the time, I tried. > > > > > > > > First results: > > > > > > > > - After some lfs-changes building seems ok, Diffs are as > > > > follows: > > > > > > > > ***SNIP*** > > > > diff --git a/lfs/arping b/lfs/arping > > > > index 13eb05e..7680fdb 100644 > > > > --- a/lfs/arping > > > > +++ b/lfs/arping > > > > @@ -1,7 +1,7 @@ > > > > ############################################################### > > > > ################ > > > > > > > > # # > > > > # IPFire.org - A linux based firewall # > > > > -# Copyright (C) 2007 Michael Tremer & Christian Schmidt > > > > # > > > > +# Copyright (C) 2015 Michael Tremer & Christian Schmidt > > > > # > > > > # # > > > > # This program is free software: you can redistribute it and/or > > > > modify # > > > > # it under the terms of the GNU General Public License as > > > > published > > > > by # > > > > @@ -24,7 +24,7 @@ > > > > > > > > include Config > > > > > > > > -VER = 2.05 > > > > +VER = 2.15 > > > > > > > > THISAPP = arping-$(VER) > > > > DL_FILE = $(THISAPP).tar.gz > > > > @@ -40,7 +40,7 @@ objects = $(DL_FILE) > > > > > > > > $(DL_FILE) = $(DL_FROM)/$(DL_FILE) > > > > > > > > -$(DL_FILE)_MD5 = 96e7c2ce8ae09046e264a314eeaac4dd > > > > +$(DL_FILE)_MD5 = 676584f6eb4ccc8c70fc6b2c702df75d > > > > > > > > install : $(TARGET) > > > > > > > > @@ -70,7 +70,8 @@ $(subst %,%_MD5,$(objects)) : > > > > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > > > > @$(PREBUILD) > > > > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf > > > > $(DIR_DL)/$(DL_FILE) > > > > + cd $(DIR_APP) && ./configure --prefix=/usr > > > > cd $(DIR_APP) && make $(MAKETUNING) > > > > - cd $(DIR_APP) && install -m 0755 arping /usr/sbin > > > > + cd $(DIR_APP) && make install-exec > > > > @rm -rf $(DIR_APP) > > > > @$(POSTBUILD) > > > > ***SNAP*** > > > > > > > > Resulting binary is a bit small. Smaller than expected. Ok, > > > > nevertheless - ("...this will NOT work...!") - copied it to > > > > '/usr/sbin' (after making a backup... ;-) ). > > > > > > > > Rebooting the machine showed no visible problems. At first. But > > > > after > > > > starting SSH, I couldn't no longer login with PuTTY. Exactly > > > > NOTHING > > > > happens. > > > > > > > > SSH-Log shows: > > > > > > > > ... > > > > 11:18:02 sshd[2852]: Server listening on 0.0.0.0 port > > > > 222. > > > > 11:18:02 sshd[2852]: Server listening on :: port 222. > > > > 11:18:02 sshd[2859]: error: Bind to port 222 on 0.0.0.0 > > > > failed: Address already in use. > > > > 11:18:02 sshd[2859]: error: Bind to port 222 on :: > > > > failed: > > > > Address already in use. > > > > 11:18:02 sshd[2859]: fatal: Cannot bind any address. > > > > ... > > > > > > > > Copied the old 'arping 2.05' back to '/usr/sbin', rebooted, > > > > PuTTY works. > > > > > > > > Ok, so there is something missing (in lfs!?), probably > > > > configure-options, which is beyond my small programming skills. > > > > If > > > > anyone is interested in the new 'arping'-version and capable of > > > > this: > > > > any hints are welcome. ;-) > > > > > > > > Best, > > > > Matthias > > > > > > > > > > >
Hi Michael, hi Erik, On 11.12.2015 19:53, Michael Tremer wrote: > Hello guys, > > I am sorry, but I do not follow. Do I need to do anything? Is this a > bug? Neither ... nor ;-) It looks as it was just a LFS-problem on my side while updating 'arping 2.05' => 2.15. My first try ended with a bind error (see below). Eriks LFS-verson was better, 'arping 2.15' was built successfully and I'm testing it since then - without the PuTTY failures which I had with the first version. Thats all. Who is pushing? Primarily its Eriks work. Best, Matthias > -Michael > > On Tue, 2015-12-08 at 18:54 +0100, Matthias Fischer wrote: >> Hi Erik, >> >> I can't explain, but your changes made it! After using your lfs-file >> for >> 'arping 2.15', the first tests are all ok. SSH is working as expected >> and I can login through PuTTY. >> >> Thanks again! ;-) >> >> Best, >> Matthias >> >> >> On 07.12.2015 18:48, Matthias Fischer wrote: >> > On 07.12.2015 15:05, ue wrote: >> > > Hi Matthias, >> > > have build also arping-2.15 (should be the same since i have here >> > > an >> > > appropriate md5sum) but i have only copied it like /libnet >> > > /usr/lib/libnet.so usr/lib/libnet.so.1 /usr/lib/libnet.so.1.7.0 >> > > also >> > > from my building environment to the productive one (no fresh .iso >> > > Install) and have had here no problem with SSH but also arping >> > > works >> > > as expected: >> > >> > Hm... ;-) >> > >> > > -> arping -h >> > > ARPing 2.15, by Thomas Habets <thomas@habets.se> >> > > usage: arping [ -0aAbdDeFpPqrRuUv ] [ -w <us> ] [ -W <sec> ] [ -S >> > > <host/ip> ] >> > > [ -T <host/ip ] [ -s <MAC> ] [ -t <MAC> ] [ -c >> > > <count> ] >> > > [ -C <count> ] [ -i <interface> ] [ -m <type> ] >> > > <host/ip/MAC | -B> >> > > For complete usage info, use --help or check the manage. >> > >> > I had exactly the same output, so I thought that everything could >> > be >> > fine. It wasn't... >> > >> > > As a beneath info my arping LFS differs a little to yours in >> > > Installation Details" section: >> > >> > I'll try again with your settings. Devel is running. >> > >> > > ################################################################# >> > > ############## >> > > >> > > # Installation Details >> > > ################################################################# >> > > ############## >> > > >> > > >> > > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >> > > @$(PREBUILD) >> > > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf >> > > $(DIR_DL)/$(DL_FILE) >> > > cd $(DIR_APP) && ./bootstrap.sh >> > > cd $(DIR_APP) && ./configure --prefix=/usr >> > > >> > > cd $(DIR_APP) && make $(MAKETUNING) >> > > cd $(DIR_APP) && make install >> > > >> > > @rm -rf $(DIR_APP) >> > > @$(POSTBUILD) >> > > >> > > >> > > but i think this aren´t a explanation causing your SSH problem >> > > which i >> > > currently can not´t reproduce here. >> > >> > Thanks a lot - we'll see... >> > >> > Best, >> > Matthias >> > >> > > Greetings, >> > > >> > > Erik >> > > >> > > >> > > >> > > Am 06.12.2015 um 14:49 schrieb Matthias Fischer: >> > > >> > > > Hi, >> > > > >> > > > it came to my view >> > > > (https://forum.ipfire.org/viewtopic.php?f=27&t=15377&sid=a93f68 >> > > > dc580a6301bb3afe3a85d0c44d#p92425) >> > > > that there is an update for 'arping'. New version is 2.15 >> > > > (IPFire: >> > > > 2.05). Having the time, I tried. >> > > > >> > > > First results: >> > > > >> > > > - After some lfs-changes building seems ok, Diffs are as >> > > > follows: >> > > > >> > > > ***SNIP*** >> > > > diff --git a/lfs/arping b/lfs/arping >> > > > index 13eb05e..7680fdb 100644 >> > > > --- a/lfs/arping >> > > > +++ b/lfs/arping >> > > > @@ -1,7 +1,7 @@ >> > > > ############################################################### >> > > > ################ >> > > > >> > > > # # >> > > > # IPFire.org - A linux based firewall # >> > > > -# Copyright (C) 2007 Michael Tremer & Christian Schmidt >> > > > # >> > > > +# Copyright (C) 2015 Michael Tremer & Christian Schmidt >> > > > # >> > > > # # >> > > > # This program is free software: you can redistribute it and/or >> > > > modify # >> > > > # it under the terms of the GNU General Public License as >> > > > published >> > > > by # >> > > > @@ -24,7 +24,7 @@ >> > > > >> > > > include Config >> > > > >> > > > -VER = 2.05 >> > > > +VER = 2.15 >> > > > >> > > > THISAPP = arping-$(VER) >> > > > DL_FILE = $(THISAPP).tar.gz >> > > > @@ -40,7 +40,7 @@ objects = $(DL_FILE) >> > > > >> > > > $(DL_FILE) = $(DL_FROM)/$(DL_FILE) >> > > > >> > > > -$(DL_FILE)_MD5 = 96e7c2ce8ae09046e264a314eeaac4dd >> > > > +$(DL_FILE)_MD5 = 676584f6eb4ccc8c70fc6b2c702df75d >> > > > >> > > > install : $(TARGET) >> > > > >> > > > @@ -70,7 +70,8 @@ $(subst %,%_MD5,$(objects)) : >> > > > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >> > > > @$(PREBUILD) >> > > > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf >> > > > $(DIR_DL)/$(DL_FILE) >> > > > + cd $(DIR_APP) && ./configure --prefix=/usr >> > > > cd $(DIR_APP) && make $(MAKETUNING) >> > > > - cd $(DIR_APP) && install -m 0755 arping /usr/sbin >> > > > + cd $(DIR_APP) && make install-exec >> > > > @rm -rf $(DIR_APP) >> > > > @$(POSTBUILD) >> > > > ***SNAP*** >> > > > >> > > > Resulting binary is a bit small. Smaller than expected. Ok, >> > > > nevertheless - ("...this will NOT work...!") - copied it to >> > > > '/usr/sbin' (after making a backup... ;-) ). >> > > > >> > > > Rebooting the machine showed no visible problems. At first. But >> > > > after >> > > > starting SSH, I couldn't no longer login with PuTTY. Exactly >> > > > NOTHING >> > > > happens. >> > > > >> > > > SSH-Log shows: >> > > > >> > > > ... >> > > > 11:18:02 sshd[2852]: Server listening on 0.0.0.0 port >> > > > 222. >> > > > 11:18:02 sshd[2852]: Server listening on :: port 222. >> > > > 11:18:02 sshd[2859]: error: Bind to port 222 on 0.0.0.0 >> > > > failed: Address already in use. >> > > > 11:18:02 sshd[2859]: error: Bind to port 222 on :: >> > > > failed: >> > > > Address already in use. >> > > > 11:18:02 sshd[2859]: fatal: Cannot bind any address. >> > > > ... >> > > > >> > > > Copied the old 'arping 2.05' back to '/usr/sbin', rebooted, >> > > > PuTTY works. >> > > > >> > > > Ok, so there is something missing (in lfs!?), probably >> > > > configure-options, which is beyond my small programming skills. >> > > > If >> > > > anyone is interested in the new 'arping'-version and capable of >> > > > this: >> > > > any hints are welcome. ;-) >> > > > >> > > > Best, >> > > > Matthias
Hi, > Who is pushing? Primarily its Eriks work. if you have currently both (the libnet fix and the arping update), on your machine it might be great if you can go for it Matthias, a Perl update fills at this time my complete building environment. Thanks and greetings, Erik Anfang der weitergeleiteten E-Mail: > Von: Matthias Fischer <matthias.fischer@ipfire.org> > Betreff: Re: After updating 'arping' to 2.15: can't login with SSH > Datum: 11. Dezember 2015 21:58:05 MEZ > An: Michael Tremer <michael.tremer@ipfire.org>, ue <ummeegge@ipfire.org>, IPFire Development <development@lists.ipfire.org> > > Hi Michael, hi Erik, > > On 11.12.2015 19:53, Michael Tremer wrote: >> Hello guys, >> >> I am sorry, but I do not follow. Do I need to do anything? Is this a >> bug? > > Neither ... nor ;-) > > It looks as it was just a LFS-problem on my side while updating 'arping 2.05' => 2.15. > > My first try ended with a bind error (see below). > > Eriks LFS-verson was better, 'arping 2.15' was built successfully and I'm testing it since then - without the PuTTY failures which I had with the first version. Thats all. > > Who is pushing? Primarily its Eriks work. > > Best, > Matthias > >> -Michael >> >> On Tue, 2015-12-08 at 18:54 +0100, Matthias Fischer wrote: >>> Hi Erik, >>> >>> I can't explain, but your changes made it! After using your lfs-file >>> for >>> 'arping 2.15', the first tests are all ok. SSH is working as expected >>> and I can login through PuTTY. >>> >>> Thanks again! ;-) >>> >>> Best, >>> Matthias >>> >>> >>> On 07.12.2015 18:48, Matthias Fischer wrote: >>> > On 07.12.2015 15:05, ue wrote: >>> > > Hi Matthias, >>> > > have build also arping-2.15 (should be the same since i have here >>> > > an >>> > > appropriate md5sum) but i have only copied it like /libnet >>> > > /usr/lib/libnet.so usr/lib/libnet.so.1 /usr/lib/libnet.so.1.7.0 >>> > > also >>> > > from my building environment to the productive one (no fresh .iso >>> > > Install) and have had here no problem with SSH but also arping >>> > > works >>> > > as expected: >>> > >>> > Hm... ;-) >>> > >>> > > -> arping -h >>> > > ARPing 2.15, by Thomas Habets <thomas@habets.se> >>> > > usage: arping [ -0aAbdDeFpPqrRuUv ] [ -w <us> ] [ -W <sec> ] [ -S >>> > > <host/ip> ] >>> > > [ -T <host/ip ] [ -s <MAC> ] [ -t <MAC> ] [ -c >>> > > <count> ] >>> > > [ -C <count> ] [ -i <interface> ] [ -m <type> ] >>> > > <host/ip/MAC | -B> >>> > > For complete usage info, use --help or check the manage. >>> > >>> > I had exactly the same output, so I thought that everything could >>> > be >>> > fine. It wasn't... >>> > >>> > > As a beneath info my arping LFS differs a little to yours in >>> > > Installation Details" section: >>> > >>> > I'll try again with your settings. Devel is running. >>> > >>> > > ################################################################# >>> > > ############## >>> > > >>> > > # Installation Details >>> > > ################################################################# >>> > > ############## >>> > > >>> > > >>> > > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >>> > > @$(PREBUILD) >>> > > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf >>> > > $(DIR_DL)/$(DL_FILE) >>> > > cd $(DIR_APP) && ./bootstrap.sh >>> > > cd $(DIR_APP) && ./configure --prefix=/usr >>> > > >>> > > cd $(DIR_APP) && make $(MAKETUNING) >>> > > cd $(DIR_APP) && make install >>> > > >>> > > @rm -rf $(DIR_APP) >>> > > @$(POSTBUILD) >>> > > >>> > > >>> > > but i think this aren´t a explanation causing your SSH problem >>> > > which i >>> > > currently can not´t reproduce here. >>> > >>> > Thanks a lot - we'll see... >>> > >>> > Best, >>> > Matthias >>> > >>> > > Greetings, >>> > > >>> > > Erik >>> > > >>> > > >>> > > >>> > > Am 06.12.2015 um 14:49 schrieb Matthias Fischer: >>> > > >>> > > > Hi, >>> > > > >>> > > > it came to my view >>> > > > (https://forum.ipfire.org/viewtopic.php?f=27&t=15377&sid=a93f68 >>> > > > dc580a6301bb3afe3a85d0c44d#p92425) >>> > > > that there is an update for 'arping'. New version is 2.15 >>> > > > (IPFire: >>> > > > 2.05). Having the time, I tried. >>> > > > >>> > > > First results: >>> > > > >>> > > > - After some lfs-changes building seems ok, Diffs are as >>> > > > follows: >>> > > > >>> > > > ***SNIP*** >>> > > > diff --git a/lfs/arping b/lfs/arping >>> > > > index 13eb05e..7680fdb 100644 >>> > > > --- a/lfs/arping >>> > > > +++ b/lfs/arping >>> > > > @@ -1,7 +1,7 @@ >>> > > > ############################################################### >>> > > > ################ >>> > > > >>> > > > # # >>> > > > # IPFire.org - A linux based firewall # >>> > > > -# Copyright (C) 2007 Michael Tremer & Christian Schmidt >>> > > > # >>> > > > +# Copyright (C) 2015 Michael Tremer & Christian Schmidt >>> > > > # >>> > > > # # >>> > > > # This program is free software: you can redistribute it and/or >>> > > > modify # >>> > > > # it under the terms of the GNU General Public License as >>> > > > published >>> > > > by # >>> > > > @@ -24,7 +24,7 @@ >>> > > > >>> > > > include Config >>> > > > >>> > > > -VER = 2.05 >>> > > > +VER = 2.15 >>> > > > >>> > > > THISAPP = arping-$(VER) >>> > > > DL_FILE = $(THISAPP).tar.gz >>> > > > @@ -40,7 +40,7 @@ objects = $(DL_FILE) >>> > > > >>> > > > $(DL_FILE) = $(DL_FROM)/$(DL_FILE) >>> > > > >>> > > > -$(DL_FILE)_MD5 = 96e7c2ce8ae09046e264a314eeaac4dd >>> > > > +$(DL_FILE)_MD5 = 676584f6eb4ccc8c70fc6b2c702df75d >>> > > > >>> > > > install : $(TARGET) >>> > > > >>> > > > @@ -70,7 +70,8 @@ $(subst %,%_MD5,$(objects)) : >>> > > > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >>> > > > @$(PREBUILD) >>> > > > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf >>> > > > $(DIR_DL)/$(DL_FILE) >>> > > > + cd $(DIR_APP) && ./configure --prefix=/usr >>> > > > cd $(DIR_APP) && make $(MAKETUNING) >>> > > > - cd $(DIR_APP) && install -m 0755 arping /usr/sbin >>> > > > + cd $(DIR_APP) && make install-exec >>> > > > @rm -rf $(DIR_APP) >>> > > > @$(POSTBUILD) >>> > > > ***SNAP*** >>> > > > >>> > > > Resulting binary is a bit small. Smaller than expected. Ok, >>> > > > nevertheless - ("...this will NOT work...!") - copied it to >>> > > > '/usr/sbin' (after making a backup... ;-) ). >>> > > > >>> > > > Rebooting the machine showed no visible problems. At first. But >>> > > > after >>> > > > starting SSH, I couldn't no longer login with PuTTY. Exactly >>> > > > NOTHING >>> > > > happens. >>> > > > >>> > > > SSH-Log shows: >>> > > > >>> > > > ... >>> > > > 11:18:02 sshd[2852]: Server listening on 0.0.0.0 port >>> > > > 222. >>> > > > 11:18:02 sshd[2852]: Server listening on :: port 222. >>> > > > 11:18:02 sshd[2859]: error: Bind to port 222 on 0.0.0.0 >>> > > > failed: Address already in use. >>> > > > 11:18:02 sshd[2859]: error: Bind to port 222 on :: >>> > > > failed: >>> > > > Address already in use. >>> > > > 11:18:02 sshd[2859]: fatal: Cannot bind any address. >>> > > > ... >>> > > > >>> > > > Copied the old 'arping 2.05' back to '/usr/sbin', rebooted, >>> > > > PuTTY works. >>> > > > >>> > > > Ok, so there is something missing (in lfs!?), probably >>> > > > configure-options, which is beyond my small programming skills. >>> > > > If >>> > > > anyone is interested in the new 'arping'-version and capable of >>> > > > this: >>> > > > any hints are welcome. ;-) >>> > > > >>> > > > Best, >>> > > > Matthias >