IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Protocoles Discussion :

Android TV probleme de port TCP


Sujet :

Protocoles

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Octobre 2007
    Messages
    299
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2007
    Messages : 299
    Points : 137
    Points
    137
    Par défaut Android TV probleme de port TCP
    Bonjour,

    J'ai une android box TV qui me sert en tant que client XIBO pour faire du "digital signage". Celle ci est connectée aux WIFI entreprise avec une adresse IP fixe. Les port 80, 443, 5228, 38388 sont ouvert en INPUT/OUTPUT sur l'adresse IP fixe dans le wifi. Mon soucis est que l'android ne se met pas à l'heure et Google play ne se connecte pas pour les mise à jour . Le client XIBO semble fonctionner et la navigation Chrome fonctionne. Cependant des widgets du client XIBO utilisent l'heure du système android et non pas l'heure du serveur. Voici mon netstat de l'android quand il connecté au WIFI entreprise :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
     u0_a67@android:/ $ netstat
            Proto Recv-Q Send-Q Local Address          Foreign Address        State
            tcp6       0      0 ::ffff:10.212.127.251:38388 <http://10.212.127.251:38388> :::*
            LISTEN
            tcp6       0      1 ::ffff:10.212.127.251:39643 <http://10.212.127.251:39643> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:34495 <http://10.212.127.251:34495> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:46563 <http://10.212.127.251:46563> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:46332 <http://10.212.127.251:46332> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      0 ::ffff:10.212.127.251:53406 <http://10.212.127.251:53406> ::ffff:14.17.41.151:443 <http://14.17.41.151:443>
            ESTABLISHED
            tcp6       0      1 ::ffff:10.212.127.251:57860 <http://10.212.127.251:57860> ::ffff:103.7.30.158:80 <http://103.7.30.158:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:39039 <http://10.212.127.251:39039> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:36796 <http://10.212.127.251:36796> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:53894 <http://10.212.127.251:53894> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:53360 <http://10.212.127.251:53360> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:34809 <http://10.212.127.251:34809> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:50549 <http://10.212.127.251:50549> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:38316 <http://10.212.127.251:38316> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.212.127.251:43701 <http://10.212.127.251:43701> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      0 ::ffff:10.212.127.251:38207 <http://10.212.127.251:38207> ::ffff:216.58.198.14:80 <http://216.58.198.14:80>
            ESTABLISHED
            udp6       0      0 :::56331               :::*            CLOSE
            udp6       0      0 :::56456               :::*            CLOSE
            udp6       0    688 :::1900                :::*            CLOSE
            udp6       0      0 :::1900                :::*            CLOSE
            udp6       0      0 :::51117               :::*            CLOSE
            u0_a67@android:/ $
    Pour tester, j'ai fait une connexion partagée sur mon portable. Mon laptop est en filaire sur mon reseau et je partage mon WIFI avec l'android. Dans ce cas tout fonctionne heure, et google play, etc...
    Voici le netstat quand l'android est connecté sur ma conexion adhoc:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    0_a67@android:/ $ netstat
            Proto Recv-Q Send-Q Local Address          Foreign Address        State
            tcp       0      1 10.42.0.32:49350 <http://10.42.0.32:49350> 64.233.184.95:443 <http://64.233.184.95:443> CLOSE_WAIT
            tcp       0    342 10.42.0.32:49348 <http://10.42.0.32:49348> 64.233.184.95:443 <http://64.233.184.95:443> ESTABLISHED
            tcp       0      0 10.42.0.32:49349 <http://10.42.0.32:49349> 64.233.184.95:443 <http://64.233.184.95:443> ESTABLISHED
            tcp       0      0 10.42.0.32:50538 <http://10.42.0.32:50538> 216.58.210.195:443 <http://216.58.210.195:443>  ESTABLISHED
            tcp       0    326 10.42.0.32:50539 <http://10.42.0.32:50539> 216.58.210.195:443 <http://216.58.210.195:443>  ESTABLISHED
            tcp       0      0 10.42.0.32:38193 <http://10.42.0.32:38193> 216.58.210.205:443 <http://216.58.210.205:443>  ESTABLISHED
            tcp6       0      0 ::ffff:10.42.0.32:38388 <http://10.42.0.32:38388> :::*        LISTEN
            tcp6       0      1 ::ffff:10.42.0.32:34620 <http://10.42.0.32:34620> ::ffff:216.58.198.14:443 <http://216.58.198.14:443>
            CLOSE_WAIT
            tcp6       0      0 ::ffff:10.42.0.32:37272 <http://10.42.0.32:37272> ::ffff:14.17.41.151:443 <http://14.17.41.151:443>
            ESTABLISHED
            tcp6       0      0 ::ffff:10.42.0.32:47723 <http://10.42.0.32:47723> ::ffff:216.58.198.5:443 <http://216.58.198.5:443>
            ESTABLISHED
            tcp6       0      1 ::ffff:10.42.0.32:57464 <http://10.42.0.32:57464> ::ffff:216.58.198.14:443 <http://216.58.198.14:443>
            CLOSE_WAIT
            tcp6       0      0 ::ffff:10.42.0.32:46796 <http://10.42.0.32:46796> ::ffff:216.58.198.14:443 <http://216.58.198.14:443>
            ESTABLISHED
            tcp6       0      1 ::ffff:10.42.0.32:52775 <http://10.42.0.32:52775> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.42.0.32:55022 <http://10.42.0.32:55022> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      0 ::ffff:10.42.0.32:59043 <http://10.42.0.32:59043> ::ffff:64.233.166.95:443 <http://64.233.166.95:443>
            ESTABLISHED
            tcp6       0      0 ::ffff:10.42.0.32:49918 <http://10.42.0.32:49918> ::ffff:54.235.220.202:443 <http://54.235.220.202:443>
            ESTABLISHED
            tcp6       0      1 ::ffff:10.42.0.32:48967 <http://10.42.0.32:48967> ::ffff:183.61.38.246:80 <http://183.61.38.246:80>
            CLOSE_WAIT
            tcp6       0      0 ::ffff:10.42.0.32:55363 <http://10.42.0.32:55363> ::ffff:64.233.166.188:5228 <http://64.233.166.188:5228>
            ESTABLISHED
            tcp6       0      1 ::ffff:10.42.0.32:49725 <http://10.42.0.32:49725> ::ffff:216.58.198.14:443 <http://216.58.198.14:443>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.42.0.32:60436 <http://10.42.0.32:60436> ::ffff:216.58.198.14:443 <http://216.58.198.14:443>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.42.0.32:40960 <http://10.42.0.32:40960> ::ffff:216.58.198.14:443 <http://216.58.198.14:443>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.42.0.32:34897 <http://10.42.0.32:34897> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      0 ::ffff:10.42.0.32:54859 <http://10.42.0.32:54859> ::ffff:216.58.198.5:443 <http://216.58.198.5:443>
            ESTABLISHED
            tcp6       0      1 ::ffff:10.42.0.32:50305 <http://10.42.0.32:50305> ::ffff:183.61.38.246:80 <http://183.61.38.246:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.42.0.32:50217 <http://10.42.0.32:50217> ::ffff:216.58.198.14:443 <http://216.58.198.14:443>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.42.0.32:36045 <http://10.42.0.32:36045> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.42.0.32:32996 <http://10.42.0.32:32996> ::ffff:183.61.38.246:80 <http://183.61.38.246:80>
            CLOSE_WAIT
            tcp6       0      1 ::ffff:10.42.0.32:34448 <http://10.42.0.32:34448> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      0 ::ffff:10.42.0.32:55716 <http://10.42.0.32:55716> ::ffff:216.58.198.14:80 <http://216.58.198.14:80>
            ESTABLISHED
            tcp6       0      1 ::ffff:10.42.0.32:57795 <http://10.42.0.32:57795> ::ffff:157.169.25.15:80 <http://157.169.25.15:80>
            CLOSE_WAIT
            tcp6       0      0 ::ffff:10.42.0.32:48863 <http://10.42.0.32:48863> ::ffff:64.233.166.95:443 <http://64.233.166.95:443>
            ESTABLISHED
            udp6       0      0 :::56456               :::*            CLOSE
            udp6       0    688 :::1900                :::*            CLOSE
            udp6       0   1376 :::1900                :::*            CLOSE
            udp6       0      0 :::1900                :::*            CLOSE
            u0_a67@android:/ $
    J'ai essayé de bloquer l'android avec iptables en entrant cette règle :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    /sbin/iptables -A INPUT -i wlp3s0 -j DROP
    ou celle ci
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    /sbin/iptables -A INPUT -s 10.42.0.32 -j DROP
    mais la connexion de l'android continue de fonctionner. A noter que quand je déconnecte mon adhoc que je repasse l'android sur le Wifi entreprise tout continue de fonctionner normalement (c'est le point le plus bizarre. ) 8
    L'android box va être fixé en hauteur et je ne pourrai pas faire tout le temps ces manipulations pour qu'elle fonctionne comme j'aimerais

    Merci pour votre aide.

  2. #2
    Membre habitué
    Profil pro
    Inscrit en
    Octobre 2007
    Messages
    299
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2007
    Messages : 299
    Points : 137
    Points
    137
    Par défaut
    J'ai réglé l'heure manuellement et tout ses mis à fonctionner sur le wifi entreprise. J'ai donc installé une application NTP qui se connecte sur le serveur NTP qui est accessible dans le domaine.

    Merci

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. probleme de port
    Par ced2004 dans le forum Installation
    Réponses: 3
    Dernier message: 28/02/2006, 11h37
  2. [MySQL] lire le contenu d'un port TCP
    Par manaboko dans le forum PHP & Base de données
    Réponses: 8
    Dernier message: 03/10/2005, 18h39
  3. probleme de port usb
    Par blue dans le forum Composants
    Réponses: 6
    Dernier message: 26/08/2005, 10h05
  4. Probleme de port !
    Par _matt_44 dans le forum PostgreSQL
    Réponses: 1
    Dernier message: 10/06/2005, 15h26
  5. [debutant]servlet probleme de port
    Par noOneIsInnocent dans le forum Servlets/JSP
    Réponses: 14
    Dernier message: 04/09/2003, 16h33

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo