Projet

Général

Profil

ClientSalt » Historique » Version 27

Joël Cuissinat, 04/05/2018 17:05

1 1 Joël Cuissinat
h1. Utilisation de Salt pour remplacer le client Scribe
2 1 Joël Cuissinat
3 6 Joël Cuissinat
{{>toc}}
4 6 Joël Cuissinat
5 1 Joël Cuissinat
h2. Mise en place sur le module
6 1 Joël Cuissinat
7 1 Joël Cuissinat
Les paquets nécessaires sont déjà en place sur un module Seth ou un module Scribe car ils sont nécessaires à l'EAD3.
8 1 Joël Cuissinat
Dans le cadre de ScribeAD, on pourrait envisager d'installer le paquet *salt-master* dans le conteneur _addc_.
9 1 Joël Cuissinat
10 4 Joël Cuissinat
Le service salt-master doit être activé (même si l'EAD3 est désactivé !) et les minions (clients) doivent pouvoir accéder aux ports 4405 et 4406 du master.
11 4 Joël Cuissinat
L'extrait de dictionnaire Creole suivant force l'activation du service (utilisation d'une balise conteneur pour contourner #10956) et ouvre l'accès _eole-firewall_ :
12 1 Joël Cuissinat
<pre>
13 4 Joël Cuissinat
    <containers>
14 4 Joël Cuissinat
        <container name='fichier'>
15 4 Joël Cuissinat
            <service servicelist='websockify'>salt-master</service>
16 4 Joël Cuissinat
            <service_access service='salt-master'>
17 4 Joël Cuissinat
                <port>4505</port>
18 4 Joël Cuissinat
                <port>4506</port>
19 4 Joël Cuissinat
            </service_access>
20 4 Joël Cuissinat
        </container>
21 4 Joël Cuissinat
    </containers>
22 1 Joël Cuissinat
</pre>
23 1 Joël Cuissinat
24 1 Joël Cuissinat
h2. Mise en place sur les clients
25 1 Joël Cuissinat
26 1 Joël Cuissinat
Pour les premières maquettes, nous installons manuellement la dernière version de Salt-Minion à partir de l'exécutable officiel (Python3 AMD64) : https://docs.saltstack.com/en/latest/topics/installation/windows.html
27 2 Joël Cuissinat
28 2 Joël Cuissinat
À l'étape *Minion Settings* :
29 2 Joël Cuissinat
* sélectionner *Default Config*
30 2 Joël Cuissinat
* renseigner Master IP or Hostname avec l'IP du master (exemple : 10.1.3.5 pour etb1.scribe)
31 11 Klaas TJEBBES
* laisser *_hostname_* dans *_Minion Name:_* (c'est un mot clé, "hostname" ne sera pas renseigné dans la configuration et Minion utilisera "socket.getfqdn()" pour savoir quel nom renvoyer au Master)
32 3 Joël Cuissinat
33 3 Joël Cuissinat
NB : Le fichier de configuration du Minion est disponible dans @C:\salt\conf\minion@
34 5 Joël Cuissinat
35 5 Joël Cuissinat
h2. Enregistrement du minion
36 5 Joël Cuissinat
37 12 Klaas TJEBBES
* Le Minion apparaît dans la liste des clés à accepter :
38 12 Klaas TJEBBES
39 5 Joël Cuissinat
<pre>
40 5 Joël Cuissinat
root@scribe:~# salt-key -L
41 5 Joël Cuissinat
Accepted Keys:
42 5 Joël Cuissinat
Denied Keys:
43 5 Joël Cuissinat
Unaccepted Keys:
44 5 Joël Cuissinat
PC-124784.ac-test.fr
45 5 Joël Cuissinat
Rejected Keys:
46 1 Joël Cuissinat
</pre>
47 1 Joël Cuissinat
48 12 Klaas TJEBBES
* Accepter la clé :
49 12 Klaas TJEBBES
50 5 Joël Cuissinat
<pre>
51 5 Joël Cuissinat
root@scribe:~# salt-key -y -a PC-124784.ac-test.fr
52 5 Joël Cuissinat
The following keys are going to be accepted:
53 5 Joël Cuissinat
Unaccepted Keys:
54 5 Joël Cuissinat
PC-124784.ac-test.fr
55 1 Joël Cuissinat
Key for minion PC-124784.ac-test.fr accepted.
56 1 Joël Cuissinat
</pre>
57 5 Joël Cuissinat
58 12 Klaas TJEBBES
* Supprimer la clé :
59 12 Klaas TJEBBES
60 1 Joël Cuissinat
<pre>
61 1 Joël Cuissinat
root@scribe:~# salt-key -d PC-124784.ac-test.fr
62 7 Joël Cuissinat
</pre>
63 7 Joël Cuissinat
64 12 Klaas TJEBBES
* Accepter toutes les clés :
65 12 Klaas TJEBBES
66 7 Joël Cuissinat
<pre>
67 7 Joël Cuissinat
root@scribe:~# salt-key -A
68 7 Joël Cuissinat
</pre>
69 7 Joël Cuissinat
70 1 Joël Cuissinat
h2. Commandes basiques
71 8 Joël Cuissinat
72 8 Joël Cuissinat
h3. Test du Minion
73 9 Joël Cuissinat
74 8 Joël Cuissinat
<pre>
75 8 Joël Cuissinat
root@scribe:~# salt PC-124784.ac-test.fr  test.ping 
76 1 Joël Cuissinat
PC-124784.ac-test.fr:
77 1 Joël Cuissinat
    True
78 1 Joël Cuissinat
</pre>
79 1 Joël Cuissinat
80 19 Joël Cuissinat
81 19 Joël Cuissinat
h3. Redémarrage du PC
82 19 Joël Cuissinat
83 19 Joël Cuissinat
* Immédiat
84 19 Joël Cuissinat
85 19 Joël Cuissinat
<pre>
86 19 Joël Cuissinat
salt PC-124784.ac-test.fr system.reboot 0
87 19 Joël Cuissinat
</pre>
88 19 Joël Cuissinat
89 19 Joël Cuissinat
<pre>
90 19 Joël Cuissinat
salt 'PC-12511.ac-test.fr' cmd.run 'shutdown /r /t 0 /f'
91 19 Joël Cuissinat
</pre>
92 19 Joël Cuissinat
93 19 Joël Cuissinat
* 5 secondes
94 19 Joël Cuissinat
95 19 Joël Cuissinat
<pre>
96 19 Joël Cuissinat
salt 'FDGFDG.ac-test.fr' system.reboot 5 True
97 19 Joël Cuissinat
</pre>
98 19 Joël Cuissinat
99 19 Joël Cuissinat
_Par défaut, le timeout s'exprime en minutes. Il est possible de l'exprimer en seconde en passant le second paramètre à True :)_
100 19 Joël Cuissinat
101 19 Joël Cuissinat
h2. Gestion des clients Microsoft
102 19 Joël Cuissinat
103 19 Joël Cuissinat
h3. Documentation
104 19 Joël Cuissinat
105 19 Joël Cuissinat
* Module win_system : https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_system.html
106 19 Joël Cuissinat
* Module win_dns_client : https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_dns_client.html
107 23 Joël Cuissinat
* Module win_network : https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_network.html
108 25 Joël Cuissinat
* Module win_lgpo : https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_lgpo.html
109 19 Joël Cuissinat
110 24 Joël Cuissinat
h3. Interrogations diverses
111 24 Joël Cuissinat
112 24 Joël Cuissinat
<pre>
113 24 Joël Cuissinat
root@scribe:~# salt 'PC-124784.ac-test.fr' system.get_computer_name
114 24 Joël Cuissinat
PC-124784.ac-test.fr:
115 24 Joël Cuissinat
    PC-CDI1
116 24 Joël Cuissinat
</pre>
117 24 Joël Cuissinat
118 24 Joël Cuissinat
<pre>
119 24 Joël Cuissinat
root@scribe:~# salt 'PC-124784.ac-test.fr' system.get_domain_workgroup
120 24 Joël Cuissinat
PC-124784.ac-test.fr:
121 24 Joël Cuissinat
    ----------
122 24 Joël Cuissinat
    Domain:
123 24 Joël Cuissinat
        etb1.lan
124 24 Joël Cuissinat
</pre>
125 24 Joël Cuissinat
126 24 Joël Cuissinat
<pre>
127 24 Joël Cuissinat
root@scribe:~# salt 'PC-124784.ac-test.fr' system.get_system_date 
128 24 Joël Cuissinat
PC-124784.ac-test.fr:
129 24 Joël Cuissinat
    05/04/2018
130 24 Joël Cuissinat
</pre>
131 24 Joël Cuissinat
132 24 Joël Cuissinat
133 24 Joël Cuissinat
134 15 Joël Cuissinat
h3. Renommage du PC
135 15 Joël Cuissinat
136 15 Joël Cuissinat
<pre>
137 15 Joël Cuissinat
root@scribe:~# salt PC-124784.ac-test.fr system.set_computer_name PC-CDI1
138 15 Joël Cuissinat
PC-124784.ac-test.fr:
139 15 Joël Cuissinat
    ----------
140 15 Joël Cuissinat
    Computer Name:
141 15 Joël Cuissinat
        ----------
142 15 Joël Cuissinat
        Current:
143 15 Joël Cuissinat
            PC-125292
144 15 Joël Cuissinat
        Pending:
145 15 Joël Cuissinat
            PC-CDI1
146 15 Joël Cuissinat
</pre>
147 15 Joël Cuissinat
148 15 Joël Cuissinat
Le renommage ne sera effectif qu'après redémarrage du poste client.
149 20 Joël Cuissinat
Évidemment le renommage du poste ne modifie pas le nom du Minion !
150 20 Joël Cuissinat
151 22 Joël Cuissinat
h3. Jonction au domaine
152 20 Joël Cuissinat
153 20 Joël Cuissinat
<pre>
154 20 Joël Cuissinat
salt PC-124784.ac-test.fr system.join_domain domain='etb1.lan' username='admin' password='eole' account_exists=False restart=True
155 20 Joël Cuissinat
</pre>
156 20 Joël Cuissinat
157 20 Joël Cuissinat
Si on relance la commande une seconde fois, on obtient le message suivant :
158 20 Joël Cuissinat
<pre>
159 20 Joël Cuissinat
PC-124784.ac-test.fr:
160 20 Joël Cuissinat
Already joined to etb1.lan
161 22 Joël Cuissinat
</pre>
162 15 Joël Cuissinat
163 1 Joël Cuissinat
h3. Changer le DNS
164 1 Joël Cuissinat
165 1 Joël Cuissinat
* Récupérer le nom de l'interface réseau du client, 192.168.0.5=<ip salt master> => on récupère le nom de la bonne interface s'il y en a plusieurs
166 1 Joël Cuissinat
167 1 Joël Cuissinat
<pre>
168 1 Joël Cuissinat
salt 'PC-124784.ac-test.fr' network.get_route 192.168.0.5
169 13 Klaas TJEBBES
</pre>
170 13 Klaas TJEBBES
171 13 Klaas TJEBBES
<pre>
172 1 Joël Cuissinat
root@dc1:~# salt 'PC-124784.ac-test.fr' network.get_route 192.168.0.5
173 1 Joël Cuissinat
PC-124784.ac-test.fr:
174 1 Joël Cuissinat
    ----------
175 1 Joël Cuissinat
    destination:
176 13 Klaas TJEBBES
        192.168.0.5
177 18 Klaas TJEBBES
    gateway:
178 18 Klaas TJEBBES
        0.0.0.0
179 18 Klaas TJEBBES
    interface:
180 18 Klaas TJEBBES
        MonInterface
181 18 Klaas TJEBBES
    source:
182 18 Klaas TJEBBES
        192.168.0.184
183 18 Klaas TJEBBES
</pre>
184 18 Klaas TJEBBES
185 18 Klaas TJEBBES
<pre>
186 18 Klaas TJEBBES
salt 'PC-124784.ac-test.fr' ip.set_static_dns MonInterface 192.168.0.5
187 18 Klaas TJEBBES
</pre>
188 18 Klaas TJEBBES
189 26 Joël Cuissinat
h3. Gestion des GPO
190 26 Joël Cuissinat
191 26 Joël Cuissinat
Lister toutes les GPO du poste :
192 26 Joël Cuissinat
<pre>
193 26 Joël Cuissinat
salt 'PC-124784.ac-test.fr' lgpo.get machine return_full_policy_names=True
194 26 Joël Cuissinat
</pre>
195 26 Joël Cuissinat
196 27 Joël Cuissinat
Application mise à disposition par Microsoft qui recense les GPO : http://gpsearch.azurewebsites.net/default.aspx?ref=1#10677
197 27 Joël Cuissinat
198 1 Joël Cuissinat
h3. Autre
199 1 Joël Cuissinat
200 1 Joël Cuissinat
<pre>
201 1 Joël Cuissinat
salt 'PC-12511.ac-test.fr' cmd.run notepad.exe
202 1 Joël Cuissinat
</pre>
203 1 Joël Cuissinat
204 1 Joël Cuissinat
<pre>
205 1 Joël Cuissinat
salt '*ac-test.fr' sys.list_functions
206 1 Joël Cuissinat
salt '*ac-test.fr' sys.list_state_functions
207 1 Joël Cuissinat
</pre>
208 1 Joël Cuissinat
209 1 Joël Cuissinat
<pre>
210 1 Joël Cuissinat
salt 'FDGFDG.ac-test.fr' win_dns_client.get_dns_config
211 1 Joël Cuissinat
salt 'FDGFDG.ac-test.fr' win_dns_client.add_dns 8.8.8.8 "Ethernet" 1
212 1 Joël Cuissinat
salt 'FDGFDG.ac-test.fr' cmd.run "netsh interface ip show config"
213 1 Joël Cuissinat
salt 'FDGFDG.ac-test.fr' cmd.run "CHCP 1252 & netsh interface ip show config"
214 1 Joël Cuissinat
</pre>
215 1 Joël Cuissinat
216 1 Joël Cuissinat
<pre>
217 1 Joël Cuissinat
salt -G 'os_family:Windows' network.interfaces
218 1 Joël Cuissinat
salt 'PC-124784.ac-test.fr' network.interfaces
219 1 Joël Cuissinat
salt 'PC-124784.ac-test.fr' network.interfaces_names
220 1 Joël Cuissinat
</pre>
221 1 Joël Cuissinat
222 1 Joël Cuissinat
h3. Commandes non fonctionnelles 
223 1 Joël Cuissinat
224 1 Joël Cuissinat
Les commandes suivantes ne fonctionne pas :
225 1 Joël Cuissinat
226 1 Joël Cuissinat
<pre>
227 1 Joël Cuissinat
salt 'PC-124784.ac-test.fr' ip.get_all_interfaces
228 1 Joël Cuissinat
</pre> 
229 1 Joël Cuissinat
<pre>
230 18 Klaas TJEBBES
salt -G 'os_family:Windows' ip.get_all_interfaces
231 18 Klaas TJEBBES
</pre>
232 18 Klaas TJEBBES
233 18 Klaas TJEBBES
h2. Voir les logs du client depuis le serveur (avec _tail_ par ex.)
234 18 Klaas TJEBBES
235 18 Klaas TJEBBES
* Monter C$ pour accéder au système de fichiers du client
236 18 Klaas TJEBBES
237 18 Klaas TJEBBES
<pre>
238 18 Klaas TJEBBES
root@dc1:~# mount -t cifs //PC-12511.ac-test.fr/C$ /mnt/ -o username=admin,password='Eole;2121',vers=3.0,ip=192.168.0.181
239 18 Klaas TJEBBES
# notez le "vers=3.0" pour éviter l'erreur "host is down"
240 18 Klaas TJEBBES
</pre>
241 18 Klaas TJEBBES
242 18 Klaas TJEBBES
* changer le log level (vim ou nano sur le fichier devrait fonctionner, sinon notepad depuis windows)
243 18 Klaas TJEBBES
244 18 Klaas TJEBBES
<pre>
245 18 Klaas TJEBBES
root@dc1:~# grep log_level /mnt/salt/conf/minion
246 18 Klaas TJEBBES
#log_level: warning
247 18 Klaas TJEBBES
log_level: info
248 18 Klaas TJEBBES
</pre>
249 18 Klaas TJEBBES
250 18 Klaas TJEBBES
<pre>
251 18 Klaas TJEBBES
root@dc1:~# tail -f /mnt/salt/var/log/salt/minion
252 18 Klaas TJEBBES
</pre>
253 18 Klaas TJEBBES
254 18 Klaas TJEBBES
255 18 Klaas TJEBBES
* MS-DOS :
256 18 Klaas TJEBBES
257 18 Klaas TJEBBES
<pre>
258 18 Klaas TJEBBES
sc stop salt-minion
259 18 Klaas TJEBBES
rem attendre qques secondes que ça s'arrête effectivement
260 18 Klaas TJEBBES
sc start salt-minion
261 18 Klaas TJEBBES
</pre>
262 18 Klaas TJEBBES
263 18 Klaas TJEBBES
264 18 Klaas TJEBBES
h2. Erreur "Minion did not return. [No response]"
265 18 Klaas TJEBBES
266 18 Klaas TJEBBES
<pre>
267 18 Klaas TJEBBES
root@dc1:~# salt 'PC-12511.ac-test.fr' sys.list_functions
268 18 Klaas TJEBBES
PC-12511.ac-test.fr:
269 18 Klaas TJEBBES
    Minion did not return. [No response]
270 18 Klaas TJEBBES
</pre>
271 18 Klaas TJEBBES
272 18 Klaas TJEBBES
<pre>
273 18 Klaas TJEBBES
root@dc1:~# salt 'PC-12511.ac-test.fr' sys.list_functionsA
274 18 Klaas TJEBBES
PC-12511.ac-test.fr:
275 18 Klaas TJEBBES
    Minion did not return. [No response]
276 18 Klaas TJEBBES
</pre>
277 18 Klaas TJEBBES
278 18 Klaas TJEBBES
<pre>
279 18 Klaas TJEBBES
root@dc1:~# salt 'PC-12511.ac-test.fr' sys.list_functionsA -t 15
280 18 Klaas TJEBBES
PC-12511.ac-test.fr:
281 18 Klaas TJEBBES
    'sys.list_functionsA' is not available.
282 18 Klaas TJEBBES
ERROR: Minions returned with non-zero exit code
283 18 Klaas TJEBBES
</pre>
284 18 Klaas TJEBBES
285 18 Klaas TJEBBES
<pre>
286 18 Klaas TJEBBES
root@dc1:~# salt 'PC-12511.ac-test.fr' sys.list_functions -t 15
287 18 Klaas TJEBBES
PC-12511.ac-test.fr:
288 18 Klaas TJEBBES
    - aliases.get_target
289 18 Klaas TJEBBES
    - aliases.has_target
290 18 Klaas TJEBBES
    - aliases.list_aliases
291 18 Klaas TJEBBES
    - aliases.rm_alias
292 18 Klaas TJEBBES
    - aliases.set_target
293 18 Klaas TJEBBES
    - archive.cmd_unzip
294 18 Klaas TJEBBES
    [...]
295 18 Klaas TJEBBES
    - zenoss.set_prod_state
296 18 Klaas TJEBBES
297 18 Klaas TJEBBES
root@dc1:~# salt 'PC-12511.ac-test.fr' sys.list_state_functions -t 15
298 18 Klaas TJEBBES
PC-12511.ac-test.fr:
299 18 Klaas TJEBBES
    - alias.absent
300 18 Klaas TJEBBES
    - alias.present
301 18 Klaas TJEBBES
    - archive.extracted
302 18 Klaas TJEBBES
    - artifactory.downloaded
303 18 Klaas TJEBBES
    - beacon.absent
304 18 Klaas TJEBBES
    - beacon.disabled
305 18 Klaas TJEBBES
    - beacon.enabled
306 18 Klaas TJEBBES
    - beacon.present
307 18 Klaas TJEBBES
</pre>
308 18 Klaas TJEBBES
309 18 Klaas TJEBBES
310 18 Klaas TJEBBES
311 18 Klaas TJEBBES
312 18 Klaas TJEBBES
h2. _tcpdump_ pour voir comment est exécutée une commande  :
313 18 Klaas TJEBBES
314 18 Klaas TJEBBES
* pendant
315 18 Klaas TJEBBES
316 18 Klaas TJEBBES
<pre>
317 18 Klaas TJEBBES
root@dc1:~# date; salt 'PC-12511.ac-test.fr' test.ping; date
318 18 Klaas TJEBBES
vendredi 4 mai 2018, 11:05:22 (UTC+0200)
319 18 Klaas TJEBBES
PC-12511.ac-test.fr:
320 18 Klaas TJEBBES
    True
321 18 Klaas TJEBBES
vendredi 4 mai 2018, 11:05:34 (UTC+0200)
322 18 Klaas TJEBBES
</pre>
323 18 Klaas TJEBBES
324 18 Klaas TJEBBES
* il se passe
325 18 Klaas TJEBBES
326 18 Klaas TJEBBES
<pre>
327 18 Klaas TJEBBES
root@dc1:~# tcpdump -nni any host 192.168.0.181
328 18 Klaas TJEBBES
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
329 18 Klaas TJEBBES
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
330 18 Klaas TJEBBES
11:05:23.512624 IP 192.168.0.5.4505 > 192.168.0.181.62346: Flags [P.], seq 2666401297:2666401476, ack 3424014703, win 229, length 179
331 18 Klaas TJEBBES
11:05:23.560410 IP 192.168.0.181.62346 > 192.168.0.5.4505: Flags [.], ack 179, win 2052, length 0
332 18 Klaas TJEBBES
11:05:28.520941 ARP, Request who-has 192.168.0.181 tell 192.168.0.5, length 28
333 18 Klaas TJEBBES
11:05:28.522143 ARP, Reply 192.168.0.181 is-at 02:00:c0:a8:00:66, length 46
334 18 Klaas TJEBBES
11:05:28.639886 IP 192.168.0.5.4505 > 192.168.0.181.62346: Flags [P.], seq 179:390, ack 1, win 229, length 211
335 18 Klaas TJEBBES
11:05:28.685272 IP 192.168.0.181.62346 > 192.168.0.5.4505: Flags [.], ack 390, win 2051, length 0
336 18 Klaas TJEBBES
11:05:34.192625 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [S], seq 3979318635, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
337 18 Klaas TJEBBES
11:05:34.192773 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [S.], seq 1292250989, ack 3979318636, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
338 18 Klaas TJEBBES
11:05:34.193296 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [.], ack 1, win 256, length 0
339 18 Klaas TJEBBES
11:05:34.193613 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [P.], seq 1:11, ack 1, win 229, length 10
340 18 Klaas TJEBBES
11:05:34.193669 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [P.], seq 1:11, ack 1, win 256, length 10
341 18 Klaas TJEBBES
11:05:34.193690 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [.], ack 11, win 229, length 0
342 18 Klaas TJEBBES
11:05:34.193809 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [P.], seq 11:12, ack 11, win 229, length 1
343 18 Klaas TJEBBES
11:05:34.194073 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [.], ack 12, win 256, length 0
344 18 Klaas TJEBBES
11:05:34.194393 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [P.], seq 11:65, ack 12, win 256, length 54
345 18 Klaas TJEBBES
11:05:34.194525 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [P.], seq 12:65, ack 65, win 229, length 53
346 18 Klaas TJEBBES
11:05:34.194573 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [P.], seq 65:108, ack 65, win 229, length 43
347 18 Klaas TJEBBES
11:05:34.194879 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [.], ack 108, win 256, length 0
348 18 Klaas TJEBBES
11:05:34.194977 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [P.], seq 65:105, ack 108, win 256, length 40
349 18 Klaas TJEBBES
11:05:34.196240 IP 192.168.0.181.64084 > 192.168.0.5.4506: Flags [S], seq 2078233463, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
350 18 Klaas TJEBBES
11:05:34.196318 IP 192.168.0.5.4506 > 192.168.0.181.64084: Flags [S.], seq 3541933958, ack 2078233464, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
351 18 Klaas TJEBBES
11:05:34.196599 IP 192.168.0.181.64084 > 192.168.0.5.4506: Flags [.], ack 1, win 256, length 0
352 18 Klaas TJEBBES
11:05:34.197026 IP 192.168.0.181.64084 > 192.168.0.5.4506: Flags [P.], seq 1:11, ack 1, win 256, length 10
353 18 Klaas TJEBBES
11:05:34.197059 IP 192.168.0.5.4506 > 192.168.0.181.64084: Flags [.], ack 11, win 229, length 0
354 18 Klaas TJEBBES
11:05:34.197276 IP 192.168.0.5.4506 > 192.168.0.181.64084: Flags [P.], seq 1:12, ack 11, win 229, length 11
355 18 Klaas TJEBBES
11:05:34.197631 IP 192.168.0.181.64084 > 192.168.0.5.4506: Flags [P.], seq 11:65, ack 12, win 256, length 54
356 18 Klaas TJEBBES
11:05:34.197803 IP 192.168.0.5.4506 > 192.168.0.181.64084: Flags [P.], seq 12:65, ack 65, win 229, length 53
357 18 Klaas TJEBBES
11:05:34.197836 IP 192.168.0.5.4506 > 192.168.0.181.64084: Flags [P.], seq 65:108, ack 65, win 229, length 43
358 18 Klaas TJEBBES
11:05:34.198124 IP 192.168.0.181.64084 > 192.168.0.5.4506: Flags [.], ack 108, win 256, length 0
359 18 Klaas TJEBBES
11:05:34.198166 IP 192.168.0.181.64084 > 192.168.0.5.4506: Flags [P.], seq 65:105, ack 108, win 256, length 40
360 18 Klaas TJEBBES
11:05:34.198358 IP 192.168.0.181.64084 > 192.168.0.5.4506: Flags [P.], seq 105:888, ack 108, win 256, length 783
361 18 Klaas TJEBBES
11:05:34.198380 IP 192.168.0.5.4506 > 192.168.0.181.64084: Flags [.], ack 888, win 241, length 0
362 18 Klaas TJEBBES
11:05:34.218144 IP 192.168.0.5.4506 > 192.168.0.181.64084: Flags [P.], seq 108:1396, ack 888, win 241, length 1288
363 18 Klaas TJEBBES
11:05:34.232902 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [.], ack 105, win 229, length 0
364 18 Klaas TJEBBES
11:05:34.261652 IP 192.168.0.181.64084 > 192.168.0.5.4506: Flags [F.], seq 888, ack 1396, win 251, length 0
365 18 Klaas TJEBBES
11:05:34.262028 IP 192.168.0.5.4506 > 192.168.0.181.64084: Flags [F.], seq 1396, ack 889, win 241, length 0
366 18 Klaas TJEBBES
11:05:34.262386 IP 192.168.0.181.64084 > 192.168.0.5.4506: Flags [.], ack 1397, win 251, length 0
367 18 Klaas TJEBBES
11:05:34.265439 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [P.], seq 105:302, ack 108, win 256, length 197
368 18 Klaas TJEBBES
11:05:34.265500 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [.], ack 302, win 237, length 0
369 18 Klaas TJEBBES
11:05:34.278014 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [P.], seq 108:179, ack 302, win 237, length 71
370 18 Klaas TJEBBES
11:05:34.281873 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [F.], seq 302, ack 179, win 255, length 0
371 18 Klaas TJEBBES
11:05:34.282010 IP 192.168.0.5.4506 > 192.168.0.181.64083: Flags [F.], seq 179, ack 303, win 237, length 0
372 18 Klaas TJEBBES
11:05:34.282351 IP 192.168.0.181.64083 > 192.168.0.5.4506: Flags [.], ack 180, win 255, length 0
373 18 Klaas TJEBBES
^C
374 18 Klaas TJEBBES
43 packets captured
375 18 Klaas TJEBBES
43 packets received by filter
376 18 Klaas TJEBBES
0 packets dropped by kernel
377 18 Klaas TJEBBES
378 18 Klaas TJEBBES
379 18 Klaas TJEBBES
380 1 Joël Cuissinat
</pre>