Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2020, 09:29 AM   #1
jemail
Junior Member
jemail began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2020
Device: none
Startup connection attempt

Click image for larger version

Name:	2020-02-04 15_28_34-Network alert - simplewall.jpg
Views:	274
Size:	14.5 KB
ID:	176900
Why does Sigil attempt to connect to 8.8.8.8 (Google) on port 53 (DNS) on startup?
Sigil should respect my DNS settings not decide to use it's own.
jemail is offline   Reply With Quote
Old 02-04-2020, 09:49 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,059
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Moderator Notice
Please don't post a new topic on another unrelated thread. Use the NEW TOPIC button. Moved to its own thread
theducks is online now   Reply With Quote
Advert
Old 02-04-2020, 10:14 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,571
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by jemail View Post
Attachment 176900
Why does Sigil attempt to connect to 8.8.8.8 (Google) on port 53 (DNS) on startup?
Sigil should respect my DNS settings not decide to use it's own.
Sigil is merely checking to see if there IS an internet connection or not before it wastes time checking to see if there's a newer version of Sigil available or not. Sigil usage does not require dns, so we're not going to waste even more time/code trying to figure out what every user's preferred dns server is before checking for updates. Get over it.

I know you feel like you've discovered some great evil plot here, but my advice to you is this: block it, deal with it, or use something other than Sigil. Or compile Sigil yourself and edit out the offending connection attempt. We provide instructions for building Sigil yourself. That's the beauty of open source.

Last edited by DiapDealer; 02-04-2020 at 10:19 AM.
DiapDealer is offline   Reply With Quote
Old 02-04-2020, 10:44 AM   #4
jemail
Junior Member
jemail began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2020
Device: none
Quote:
Originally Posted by DiapDealer View Post
Sigil is merely checking to see if there IS an internet connection or not before it wastes time checking to see if there's a newer version of Sigil available or not. Sigil usage does not require dns, so we're not going to waste even more time/code trying to figure out what every user's preferred dns server is before checking for updates. Get over it.

I know you feel like you've discovered some great evil plot here, but my advice to you is this: block it, deal with it, or use something other than Sigil. Or compile Sigil yourself and edit out the offending connection attempt. We provide instructions for building Sigil yourself. That's the beauty of open source.
It was a simple question.
No need to be so hostile.
jemail is offline   Reply With Quote
Old 02-04-2020, 11:05 AM   #5
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
just as a quick devil's advocate- there are scenarios where a user will deliberately block google DNS at router level ( one such is when a user trying to outsmart NETFLIX geo restrictions, because the netflix apps are hard coded to call up google dns and go aha- we know where you really are). some Roku devices are also hard coded to do that.

So some vendors of smart DNS advise their customers to put hard blocks on 8.8.8.8 and 8.8.4.4 in order to get multi region netflix etc. working
anyone with such a block could be missing out on newest sigil updates. because sigil will conclude there is no reachable google dns and therefore no internet ( heck, they may even still have book view working - just saying )

i see no need for changes, but this thread may help explain the next obscure sigil cant find updates complaint..

googling "block google dns for netflix" will show that it is a popular query and bring up various references

Last edited by stumped; 02-04-2020 at 11:07 AM.
stumped is offline   Reply With Quote
Advert
Old 02-04-2020, 11:35 AM   #6
jemail
Junior Member
jemail began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2020
Device: none
Quote:
Originally Posted by DiapDealer View Post
Sigil is merely checking to see if there IS an internet connection or not before it wastes time checking to see if there's a newer version of Sigil available or not. Sigil usage does not require dns, so we're not going to waste even more time/code trying to figure out what every user's preferred dns server is before checking for updates. Get over it.

I know you feel like you've discovered some great evil plot here, but my advice to you is this: block it, deal with it, or use something other than Sigil. Or compile Sigil yourself and edit out the offending connection attempt. We provide instructions for building Sigil yourself. That's the beauty of open source.
Where is the option to disable checking for updates?
I cannot see one in Preferences.
jemail is offline   Reply With Quote
Old 02-04-2020, 12:10 PM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
It only checks if an updated version is available, it does not actually update anything. It just lets you know if one exists. Therefore, there is no preference setting to prevent updates as it is just an alert.

As DiapDealer said, if this still bothers you, build you own version without this check if updates exist. Simply remove the UpdateChecker lines in Sigil/src/main.cpp. Or block outgoing connections from Sigil in your firewall.

Last edited by KevinH; 02-04-2020 at 12:22 PM.
KevinH is offline   Reply With Quote
Old 02-04-2020, 12:34 PM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,571
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yes. I did not mean to imply there was a setting to turn off the check. I meant you could change the source and compile Sigil yourself.
DiapDealer is offline   Reply With Quote
Old 02-04-2020, 12:37 PM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,571
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by stumped View Post
just as a quick devil's advocate- there are scenarios where a user will deliberately block google DNS at router level ( one such is when a user trying to outsmart NETFLIX geo restrictions, because the netflix apps are hard coded to call up google dns and go aha- we know where you really are). some Roku devices are also hard coded to do that.

So some vendors of smart DNS advise their customers to put hard blocks on 8.8.8.8 and 8.8.4.4 in order to get multi region netflix etc. working
anyone with such a block could be missing out on newest sigil updates. because sigil will conclude there is no reachable google dns and therefore no internet ( heck, they may even still have book view working - just saying )

i see no need for changes, but this thread may help explain the next obscure sigil cant find updates complaint..

googling "block google dns for netflix" will show that it is a popular query and bring up various references
I'm perfectly OK with people who are trying to outsmart geo-restrictions (of any kind) outsmarting themselves right out of knowing about Sigil updates being available.
DiapDealer is offline   Reply With Quote
Old 02-04-2020, 12:45 PM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,571
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by jemail View Post
It was a simple question.
No need to be so hostile.
But it wasn't a simple question. You were looking for nefarious activity and hoping to find it within Sigil. You also suggested there was a level of disrespect in the way Sigil was operating.

Quote:
Originally Posted by jemail View Post
Sigil should respect my DNS settings not decide to use it's own.
A simple, unassuming question would have been something along the lines of: "Looking through some logs and I saw Sigil hitting up a Google dns server on startup. What's that about?"

I chose Google for my ping because it's always up and won't be affected by a few thousand extra pings. I chose port 53 because it's common enough that most people wouldn't be alarmed by a ping to well known service port. And at the end of the day, it's not even dns communication that's going on in the first place. The idea is to bail on the update-check as quick as possible so as not to delay the launch of Sigil.

Last edited by DiapDealer; 02-04-2020 at 03:31 PM.
DiapDealer is offline   Reply With Quote
Old 02-04-2020, 01:19 PM   #11
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
I have not staged a test but I assume that sigil works quite happily if the internet is down.

I.e. I can add "edit books" to my much too short list of " things to do when there's no internet"?
stumped is offline   Reply With Quote
Old 02-04-2020, 01:58 PM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,571
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by stumped View Post
I have not staged a test but I assume that sigil works quite happily if the internet is down.
Yes it does. That's part of what the process in question assures. If there is no internet connection available, bail immediately on the update-check and launch. If there is, hit up github to see if there's a newer version of Sigil available (but only if the retrieved version of Sigil does not match the version last retrieved online, and at least 6 hours have passed since the last check).

Basically, with an internet connection available, you get prompted once per new version available.

Last edited by DiapDealer; 02-04-2020 at 02:09 PM.
DiapDealer is offline   Reply With Quote
Old 02-04-2020, 02:51 PM   #13
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
All except for css2 and css3 validation which works over the net.
KevinH is offline   Reply With Quote
Old 02-06-2020, 08:40 PM   #14
The_book
Zealot
The_book began at the beginning.
 
Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
So when people in countries where connecting google is not allawed by the goverment try to use Sigil, they can neither get the information that an updated version is available nor have sigil's preview or book view owing internet resources working?
I can't think this is a good idea.
The_book is offline   Reply With Quote
Old 02-06-2020, 08:56 PM   #15
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,571
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It has absolutely nothing to do with Preview. Book View doesn't exist any more. Been dead for several releases.

The only thing this will affect is the notification that there's a new version of Sigil available. That's it. Nothing else. Zero, zip, zilch, nada.

So yes. If you live in a country where google's dns servers are blocked, you may have to occasionally check for a new version of Sigil manually. Funny thing is, the update notification was completely broken for years and we didn't hear a peep about it. Now we've been pinging a google server for years to determine connection status and it's suddenly the end of the world. Can't win for losing, I guess.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help after a jailbreak attempt. DanMurray Kindle Developer's Corner 12 09-30-2016 09:28 PM
Connection issue: content server works / wireless connection doesn't yunadwb Calibre Companion 4 07-18-2015 02:49 PM
Wireless internet connection frustrating IDS connection Socrates iRex 8 10-21-2009 12:46 PM
My first upload attempt lilac_jive Workshop 1 01-17-2009 10:46 PM


All times are GMT -4. The time now is 01:47 PM.


MobileRead.com is a privately owned, operated and funded community.