[arm-allstar] new remnants in /root
Danny K5CG
k5cg at hamoperator.org
Thu Aug 16 08:39:15 EDT 2018
I figured out what was wrong. Self-inflicted wound.
Disregard!
Thanks
Danny
K5CG
----- Original Message -----
From: "David McGough" <kb4fxc at inttek.net>
To: "k5cg" <k5cg at hamoperator.org>
Cc: "ARM Allstar" <arm-allstar at hamvoip.org>
Sent: Thursday, August 16, 2018 2:55:19 AM
Subject: Re: [arm-allstar] new remnants in /root
Danny,
I'm assuming using wget to retrieve that file is the mechanism via which
cloudns.net keeps your IP address refreshed?
If so, then just discard the content from wget, rather than writing a file
out every minute. Discarding the contents is easy, just use the -O- option
to wget. Something like:
/usr/bin/wget -q -O- --read-timeout=0.0 --waitretry=5 --tries=400
--background https://ipv4.cloudns.net/api/dynamicURL/?q=MTc1MDY1OTo3ODE3NjM2MDoxMzQwYzgxZTJkZGVjNDRjZDk3ZmQwMmFk$
&> /dev/null
This wget syntax dumps the output to stdout (standard out), rather than a
file. Then, stdout is dumped into the trashcan (&> /dev/null).
BTW, since you effectively posted the "key" used to update your DNS to
this mailing list, you need to regenerate and replace it ASAP!!!!!!!
73, David KB4FXC
On Wed, 15 Aug 2018, Danny K5CG wrote:
> I have a record in crontab for root
>
> # dynamic update
> 1 * * * * /usr/bin/wget -q --read-timeout=0.0 --waitretry=5 --tries=400 --background https://ipv4.cloudns.net/api/dynamicURL/?q=MTc1MDY1OTo3ODE3NjM2MDoxMzQwYzgxZTJkZGVjNDRjZDk3ZmQwMmFkNmY0YTQxMjk5MGYyZWU2YzU3OGM3MDU4MTJjMzA0NDM3Mzdj$
>
> If you go to https://ipv4.cloudns.net/api/dynamicURL/?q=MTc1MDY1OTo3ODE3NjM2MDoxMzQwYzgxZTJkZGVjNDRjZDk3ZmQwMmFkNmY0YTQxMjk5MGYyZWU2YzU3OGM3MDU4MTJjMzA0NDM3Mzdj$
>
> your browser displays
>
> The record could not be found!
>
>
>
>
> ----- Original Message -----
> From: "David McGough" <kb4fxc at inttek.net>
> To: "ARM Allstar" <arm-allstar at hamvoip.org>
> Cc: "k5cg" <k5cg at hamoperator.org>
> Sent: Wednesday, August 15, 2018 9:02:29 PM
> Subject: Re: [arm-allstar] new remnants in /root
>
> Danny,
>
> No idea about this. What was in the files?
>
> 73, David KB4FXC
>
>
>
> On Wed, 15 Aug 2018, "Danny K5CG via arm-allstar" wrote:
>
> > Updated yesterday. I just found 2300+ files named like...
> >
> > 'index.html?q=MTc1MDY1OTo3ODE3NjM2MDoxMzQwYzgxZTJkZGVjNDRjZDk3ZmQwMmFkNmY0YTQxMjk5MGYyZWU2YzU3OGM3MDU4MTJjMzA0NDM3MzdjZDc1 to c1.2353 in my /root directory.
> >
> > Rebooted then deleted all of them.
> >
> > I think this has something to do with a wget process I saw running yesterday to cloudns.com after the update to -40.
> >
> > Danny
> > K5CG
> >
> >
> > _______________________________________________
> >
> > arm-allstar mailing list
> > arm-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >
> > Visit the BBB and RPi2/3 web page - http://hamvoip.org
> >
>
More information about the arm-allstar
mailing list