<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7926</bug_id>
          
          <creation_ts>2015-06-26 14:47:22 +0000</creation_ts>
          <short_desc>connman checks for internet connectivity using a private site</short_desc>
          <delta_ts>2016-02-17 10:42:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>connectivity</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristian Iorga">cristian.iorga</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>jku</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51966</commentid>
    <comment_count>0</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-06-26 14:47:22 +0000</bug_when>
    <thetext>connman checks for online connectivity using a private site.
connman pings connman.net to see if it gets the response it expects, and if there&apos;s captive portal tricks going on.
The solution to this issue will be:
a) make this clearly configurable in the recipe;
b) see if we can use some yoctoproject.org address by default
c) document how the users of our project can establish own web infrastructure to perform the online connectivity check.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52552</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-07-23 10:58:10 +0000</bug_when>
    <thetext>Pushing this to M3 due to changing priorities.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53276</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-08-20 15:07:09 +0000</bug_when>
    <thetext>FYI so you don&apos;t have to start from zero:
I had a discussion about this on connman mailing list (sorry, no link but it was during this summer) and IMO Marcel made a pretty good case for not doing any of these options as well as explaining how the assumed privacy problems really aren&apos;t there: the server really can&apos;t tell anything about the clients that ping connman.net.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58243</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-01-26 16:22:48 +0000</bug_when>
    <thetext>For what it&apos;s worth I agree with Jussi/Marcel here.  Most modern networking stacks do this exact same thing to a well-known service to check for captive portals and determine public IP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58245</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-01-26 16:46:26 +0000</bug_when>
    <thetext>So the mail from Marcel is at https://www.mail-archive.com/connman@connman.net/msg18117.html.

The README for connman explains what hosts it pings, and what the expected API is. https://www.mail-archive.com/connman@connman.net/msg18105.html has an example configuration for nginx.

There&apos;s a huge overhead in maintaining this infrastructure yourself: you need to be constantly available over ipv4 and ipv6, otherwise your hardware breaks.

Closing wontfix as I don&apos;t believe this is something we should fix.  If a user of YP is watching outgoing packets and wants to change the behaviour, it&apos;s just a two line patch to connman (that upstream refuses to accept a configuration for) and an infrastructure commitment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59145</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2016-02-17 10:42:51 +0000</bug_when>
    <thetext>Verified WontFix</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>