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 :
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...
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:/ $
Voici le netstat quand l'android est connecté sur ma conexion adhoc:
J'ai essayé de bloquer l'android avec iptables en entrant cette règle :
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:/ $
ou celle ci
Code : Sélectionner tout - Visualiser dans une fenêtre à part /sbin/iptables -A INPUT -i wlp3s0 -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
Code : Sélectionner tout - Visualiser dans une fenêtre à part /sbin/iptables -A INPUT -s 10.42.0.32 -j DROP
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.
Partager