Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Oct 2019, 08:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
inadyn
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
scsijon

Joined: 23 May 2007
Posts: 1496
Location: the australian mallee

PostPosted: Sat 06 Oct 2018, 18:01    Post subject:  inadyn
Subject description: Internet Automated Dynamic DNS Client
 

Not sure how many are using this package, but very interesting, only needs libConfuse and openssl (or equiv) to work.

https://github.com/troglobit/inadyn

Quote:
Inadyn is a small and simple Dynamic DNS, DDNS, client with HTTPS support. Commonly available in many GNU/Linux distributions, used in off the shelf routers and Internet gateways to automate the task of keeping your Internet name in sync with your public¹ IP address. It can also be used in installations with redundant (backup) connections to the Internet.

Most people are unaware they share a pool of Internet addresses with other users of the same Internet Service Provider (ISP). Protocols like DHCP, PPPoE, or PPPoA are used to give you an address and a way to connect to the Internet, but usually not a way for others to connect to you. If you want to run an Internet server on such a connection you risk losing your IP address every time you reconnect, or as in the case of DHCP even when the lease is renegotiated.

By using a DDNS client like inadyn you can register an Internet name with a DDNS provider, like FreeDNS. The DDNS client updates your DNS record periodically and/or on demand when your IP address changes. Inadyn can maintain multiple host records with the same IP address, use a combination of a script, the address from an Internet-facing interface, or default to using the IP address change detector of the DDNS provider.

__
¹ Public IP address is the default, private addresses can also be used.
Back to top
View user's profile Send private message Visit poster's website 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Sun 24 Mar 2019, 17:52    Post subject:  

Compiled this and tested it.
Working in Dpup Wheezy
Thanks for posting about it.

_________________
Oscar in England

Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3548

PostPosted: Mon 25 Mar 2019, 19:24    Post subject:  

Can't get it to compile for me under EasyOS (1.0) (my compile skills are very limited/basic).

Pulled down libconfuse and that compiled ok, but after autogen.sh, running configure results in a complaint about libconfuse not being >3.0 despite libconfuse seemingly being at something like version 3.2.

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Mon 25 Mar 2019, 20:14    Post subject:  

In the libconfuse github page you can download a checkout of "Master" which is named "libconfuse" or you can download a release tarball which is just named "confuse" version 3.2.2

In Wheezy the master checkout complained that gettext was too old so I used the release which worked OK

In Stretch which is newer I could use either. Sometimes you do have to poke around a bit and look for options. Sometimes you can edit a Makefile or some header or something to work around certain issues

Not sure why something is picking up the wrong version information from somewhere. I have only compiled it in those 2 Puppies which are both 32bit and in both cases I was able to succeed.

You can build only the static libconfuse by the way. Then inadyn links statically to it and you don't need to include the shared libconfuse library.

_________________
Oscar in England

Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3548

PostPosted: Mon 25 Mar 2019, 21:17    Post subject:  

Thanks. I'll give that a try (tomorrow, or rather later today).
_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1263
Location: Connecticut, United States

PostPosted: Mon 25 Mar 2019, 21:31    Post subject:  

this inadyn-2.3.1 is compiled on Bionic32-v8. I also have a version compiled in Tahr somewhere.

REMOVE the false ".gz" extension!
inadyn-2.3.1-i686.pet.gz
Description 
gz

 Download 
Filename  inadyn-2.3.1-i686.pet.gz 
Filesize  66.54 KB 
Downloaded  119 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
rufwoof


Joined: 24 Feb 2014
Posts: 3548

PostPosted: Tue 26 Mar 2019, 04:30    Post subject:  

EasyOS is 64 bit. Tried a range of things to compile (mostly in the dark given my limited compilation abilities). Gave up and restored back to clean (no devx, session as before). Thanks anyway.
_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Tue 26 Mar 2019, 06:29    Post subject:  

It compiles OK in Xenial 64bit Puppy using master of both libconfuse and inadyn.

However, if compiling with view to running it in EasyOS it would be handy to know if EasyOS has GnuTLS or OpenSSL and the version number in each case. These are configure options in inadyn with GnuTLS being the default, but in my Puppies I configured for OpenSSL. In either case the runtime libraries will need to have matching version numbers.

_________________
Oscar in England

Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3548

PostPosted: Tue 26 Mar 2019, 07:11    Post subject:  

In my EasyOS 1.0 installation ...
Code:
# uname -a
Linux EASYPC11428 4.14.91 #1 SMP Tue Jan 1 19:31:34 AWST 2019 x86_64 x86_64 x86_64 GNU/Linux
# openssl version
OpenSSL 1.0.2k  26 Jan 2017
#

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Tue 26 Mar 2019, 07:52    Post subject:  

You can give this one a try.
Compiled in Xenial 64bit Pup
Configured with --enable-openssl
Contains statically linked libconfuse

Remember that configuration needs to be set up in /etc/inadyn.conf
Example configs are in /usr/share/doc/inadyn/examples
inadyn-2.5.1-x86_64.pet
Description  Compiled in Xenial64 - For testing only
pet

 Download 
Filename  inadyn-2.5.1-x86_64.pet 
Filesize  66.16 KB 
Downloaded  132 Time(s) 

_________________
Oscar in England

Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1263
Location: Connecticut, United States

PostPosted: Tue 26 Mar 2019, 09:14    Post subject:  

OscarTalks

the pet works great so far on Bionic64-v8....nice.
Back to top
View user's profile Send private message Visit poster's website 
rufwoof


Joined: 24 Feb 2014
Posts: 3548

PostPosted: Tue 26 Mar 2019, 12:51    Post subject:  

Faults in EasyOS 1.0 ... ??? due to using OpenSSL version 1.0.2k ???
Code:
# inadyn
inadyn: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by inadyn)
inadyn: /usr/lib/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by inadyn)
# openssl version
OpenSSL 1.0.2k  26 Jan 2017
# ls -l /usr/lib/libcrypto*
lrwxrwxrwx 1 root root      18 Mar  5 20:59 /usr/lib/libcrypto.so.0 -> libcrypto.so.1.0.2
lrwxrwxrwx 1 root root      18 Mar  5 20:59 /usr/lib/libcrypto.so.0.9.7 -> libcrypto.so.1.0.2
lrwxrwxrwx 1 root root      18 Mar  5 20:59 /usr/lib/libcrypto.so.0.9.8 -> libcrypto.so.1.0.2
lrwxrwxrwx 1 root root      18 Mar  5 20:59 /usr/lib/libcrypto.so.1 -> libcrypto.so.1.0.2
lrwxrwxrwx 1 root root      18 Mar  5 20:59 /usr/lib/libcrypto.so.1.0.0 -> libcrypto.so.1.0.2
-rwxr-xr-x 1 root root 2324456 Jan 20 01:35 /usr/lib/libcrypto.so.1.0.2
# ls -l /usr/lib/libssl*
-rwxr-xr-x 1 root root 311864 Jan 20 01:34 /usr/lib/libssl3.so
lrwxrwxrwx 1 root root     15 Mar  5 21:00 /usr/lib/libssl.so.0 -> libssl.so.1.0.2
lrwxrwxrwx 1 root root     15 Mar  5 21:00 /usr/lib/libssl.so.0.9.7 -> libssl.so.1.0.2
lrwxrwxrwx 1 root root     15 Mar  5 21:00 /usr/lib/libssl.so.0.9.8 -> libssl.so.1.0.2
lrwxrwxrwx 1 root root     15 Mar  5 21:00 /usr/lib/libssl.so.1 -> libssl.so.1.0.2
lrwxrwxrwx 1 root root     15 Mar  5 21:00 /usr/lib/libssl.so.1.0.0 -> libssl.so.1.0.2
-rwxr-xr-x 1 root root 425208 Jan 20 01:35 /usr/lib/libssl.so.1.0.2
#

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Tue 26 Mar 2019, 20:20    Post subject:  

OpenSSL is quite an important core library and in the case of programs that need to be compiled against it you have to make sure the library version number matches up. In the case of Ubuntu and Debian they also compile in the version information (as a symbol in OpenSSL) so compiled programs look for this and complain if they can't read the information or if it doesn't match up.

There are possible workarounds but they involve lots of fiddling about and trial and error. Really the best way is to compile in the same environment as the one in which you intend it to run (Easy OS).

In case you want to try that again, for libconfuse-master try:-
./autogen.sh
./configure --prefix=/usr --enable-static --disable-shared --disable-nls --disable-examples
make
make install

If libconfuse-master does not build, you can try the confuse-3.2.2 release source package instead with the same configure options.
./autogen.sh is not needed in this case

Make sure the libs are in a location where they can be found (not sure about /usr/lib and /usr/lib64 in Easy OS).

Then try the inadyn-master source checkout:-
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-openssl
make
make install

If this does not build you can try the inadyn-2.5 release source package, again in this case the ./autogen.sh step is not needed.

Might be worth having another go and post any error messages you get when compiling.

_________________
Oscar in England

Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3548

PostPosted: Wed 27 Mar 2019, 04:07    Post subject:  

That worked perfectly thanks Oscar ... EasyPak for EasyOS 1.0 (sfs + .specs file in a gzip'd tar)
https://drive.google.com/file/d/18FNSWqyxbqymoSPtMFPXxsj_KvKFKh_e/view?usp=sharing

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0482s ][ Queries: 13 (0.0042s) ][ GZIP on ]