Je vais te faire un test plus simple et tu pourras facilement faire la meme chose si tu souhaite comparer tes résultats aux miens.
Je pose un dossier "TEST" sur le bureau du PC, dans lequel je vais créer 60 dossiers numérotés test1, test1-copie, etc... (voir image ci dessous)
Je vais partager cet ensemble en faisant un clic droit sur ce dossier et en allant dans "propriétés" puis partager "avec tout le monde"
Ensuite je lance mon Mac, et je fait un coup de terminal en ouvrant ce dossier TEST.
Je t'envoie les lignes de code (enfin un echantillon bien représentatif), et surtout je te dis combien de dossiers ont été zappés.
Je reviens dans 10 minutes et je rebalance mes test...
---------- Nouveau message ajouté à 23h10 ---------- Le message précédent a été envoyé à 22h56 ----------
Et voila, mon finder me retourne 36 dossier au lieu des 60 attendus.
Voici le compte rendu extrait du début et de la fin, on voit bien les traces correspondantes à l'ouverture des 36 premiers sous-dossiers. Je m'excuse par avance pour le code qui suit, ça risque d'être imbuvable :
Last login: Tue Oct 11 20:11:59 on ttys000
ALXDESIGNMAC:~ alxdesign$ sudo tcpdump -i en1 -v -c 300 -A host 192.168.0.10
Password:
tcpdump: listening on en1, link-type EN10MB (Ethernet), capture size 65535 bytes
22:59:30.437621 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.0.1 tell 192.168.0.10, length 28
........,.X..1...
..........
22:59:30.746116 IP (tos 0x0, ttl 1, id 9256, offset 0, flags [none], proto UDP (17), length 161)
192.168.0.10.58961 > 239.255.255.250.ssdp: UDP, length 133
E...$(.....w...
.....Q.l....M-SEARCH * HTTP/1.1
Host:239.255.255.250:1900
ST:urn:schemas-upnp-org:device:InternetGatewayDevice:1
Man:"ssdp:discover"
MX:3
22:59:33.715558 IP (tos 0x0, ttl 1, id 9257, offset 0, flags [none], proto UDP (17), length 161)
192.168.0.10.58961 > 239.255.255.250.ssdp: UDP, length 133
E...$).....v...
.....Q.l....M-SEARCH * HTTP/1.1
Host:239.255.255.250:1900
ST:urn:schemas-upnp-org:device:InternetGatewayDevice:1
Man:"ssdp:discover"
MX:3
22:59:36.787581 IP (tos 0x0, ttl 1, id 9258, offset 0, flags [none], proto UDP (17), length 161)
192.168.0.10.58961 > 239.255.255.250.ssdp: UDP, length 133
E...$*.....u...
.....Q.l....M-SEARCH * HTTP/1.1
Host:239.255.255.250:1900
ST:urn:schemas-upnp-org:device:InternetGatewayDevice:1
Man:"ssdp:discover"
MX:3
22:59:37.095906 IP (tos 0x0, ttl 64, id 17142, offset 0, flags [DF], proto TCP (6), length 192)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [P.], cksum 0xf514 (correct), seq 987556141:987556281, ack 1968647207, win 65535, options [nop,nop,TS val 312989406 ecr 4791296], length 140SMB PACKET: SMBtrans2 (REQUEST)
E...B.@
[email protected]........
....:..-uW,'...........
.....I.......SMB2............................D...
.............D.D.........G................\.a.l.x.d.e.s.i.g.n.H.O.M.E.\.D.e.s.k.t.o.p.\.T.E.S.T...
22:59:37.107083 IP (tos 0x0, ttl 128, id 9259, offset 0, flags [DF], proto TCP (6), length 228)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0xfa5c (correct), seq 1:177, ack 140, win 63, options [nop,nop,TS val 4793624 ecr 312989406], length 176SMB PACKET: SMBtrans2 (REPLY)
[email protected]...
........uW,':......?.\.....
.I%..........SMB2...........................
.h...
.8...h.D.....u..........................W.......W.......W.......W.........................................................T.E.S.T...
22:59:37.107120 IP (tos 0x0, ttl 64, id 19183, offset 0, flags [DF], proto TCP (6), length 52)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [.], cksum 0x5100 (correct), ack 177, win 65535, options [nop,nop,TS val 312989417 ecr 4793624], length 0
E..4J.@
[email protected].......
....:...uW,.....Q......
.....I%.
22:59:37.107176 IP (tos 0x0, ttl 64, id 50391, offset 0, flags [DF], proto TCP (6), length 182)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [P.], cksum 0x85f3 (correct), seq 140:270, ack 177, win 65535, options [nop,nop,TS val 312989417 ecr 4793624], length 130SMB PACKET: SMBtrans2 (REQUEST)
E.....@.@..........
....:...uW,............
.....I%....~.SMB2............................:...
.............:.D...~.....=................\.a.l.x.d.e.s.i.g.n.H.O.M.E.\.D.e.s.k.t.o.p...
22:59:37.109063 IP (tos 0x0, ttl 128, id 9260, offset 0, flags [DF], proto TCP (6), length 236)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0xeafb (correct), seq 177:361, ack 270, win 63, options [nop,nop,TS val 4793624 ecr 312989417], length 184SMB PACKET: SMBtrans2 (REPLY)
E...$,@...Tp...
........uW,.:..;...?.......
.I%..........SMB2...........................
.p...
.8...p.D.....}......................^@C(=...Y...W...Y...W...Y...W.........................................................D.e.s.k.t.o.p.....
22:59:37.109096 IP (tos 0x0, ttl 64, id 7330, offset 0, flags [DF], proto TCP (6), length 52)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [.], cksum 0x4fc5 (correct), ack 361, win 65535, options [nop,nop,TS val 312989418 ecr 4793624], length 0
E..4..@.@..........
....:..;uW-.....O......
.....I%.
22:59:37.109174 IP (tos 0x0, ttl 64, id 57295, offset 0, flags [DF], proto TCP (6), length 166)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [P.], cksum 0xba1b (correct), seq 270:384, ack 361, win 65535, options [nop,nop,TS val 312989418 ecr 4793624], length 114SMB PACKET: SMBtrans2 (REQUEST)
E.....@.@..........
....:..;uW-............
.....I%....n.SMB2............................*...
.............*.D...n.....-................\.a.l.x.d.e.s.i.g.n.H.O.M.E...
22:59:37.110996 IP (tos 0x0, ttl 128, id 9261, offset 0, flags [DF], proto TCP (6), length 244)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0x4a4d (correct), seq 361:553, ack 384, win 62, options [nop,nop,TS val 4793624 ecr 312989418], length 192SMB PACKET: SMBtrans2 (REPLY)
[email protected]...
........uW-.:......>JM.....
.I%..........SMB2...........................
.x...
.8...x.D............................*8z&=......~.......~.......~..................................A.L.X.D.E.S.~.1.........a.l.x.d.e.s.i.g.n.H.O.M.E.
22:59:37.111021 IP (tos 0x0, ttl 64, id 27325, offset 0, flags [DF], proto TCP (6), length 52)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [.], cksum 0x4e92 (correct), ack 553, win 65535, options [nop,nop,TS val 312989419 ecr 4793624], length 0
E..4j.@
[email protected]........
....:...uW.O....N......
.....I%.
22:59:37.111482 IP (tos 0x0, ttl 64, id 59835, offset 0, flags [DF], proto TCP (6), length 126)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [P.], cksum 0x2cce (correct), seq 384:458, ack 553, win 65535, options [nop,nop,TS val 312989419 ecr 4793624], length 74SMB PACKET: SMBtrans2 (REQUEST)
E..~..@
[email protected].......
....:...uW.O....,......
.....I%....F.SMB2................................................D...F............
22:59:37.112843 IP (tos 0x0, ttl 128, id 9262, offset 0, flags [DF], proto TCP (6), length 136)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0xf065 (correct), seq 553:637, ack 458, win 62, options [nop,nop,TS val 4793624 ecr 312989419], length 84SMB PACKET: SMBtrans2 (REPLY)
[email protected]....
........uW.O:......>.e.....
.I%........P.SMB2...........................
........8.....8..........e.....ZB. ............
22:59:37.112869 IP (tos 0x0, ttl 64, id 49880, offset 0, flags [DF], proto TCP (6), length 52)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [.], cksum 0x4df3 (correct), ack 637, win 65535, options [nop,nop,TS val 312989420 ecr 4793624], length 0
E..4..@.@..{.......
....:...uW......M......
.....I%.
22:59:37.112925 IP (tos 0x0, ttl 64, id 37813, offset 0, flags [DF], proto TCP (6), length 196)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [P.], cksum 0x3290 (correct), seq 458:602, ack 637, win 65535, options [nop,nop,TS val 312989420 ecr 4793624], length 144SMB PACKET: SMBtrans2 (REQUEST)
E.....@.@.%........
....:...uW......2......
.....I%......SMB2............................H...
.............H.D.........K......-.........\.a.l.x.d.e.s.i.g.n.H.O.M.E.\.D.e.s.k.t.o.p.\.T.E.S.T.\.*...
22:59:37.117232 IP (tos 0x0, ttl 128, id 9263, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [.], cksum 0x8852 (correct), seq 637:2085, ack 602, win 67, options [nop,nop,TS val 4793625 ecr 312989420], length 1448WARNING: Packet is continued in later TCP segments
SMB PACKET: SMBtrans2 (REPLY)
E...$/@...O}...
........uW..:......C.R.....
.I%..........SMB2...........................
.....
.8.....D..........!.....|...d...........W.......W.......W.......W...............................................................h...........W.......W.......W.......W...................................................................h.........L.W.....L.W.....L.W.......W.......................
.................................t.e.s.t.1.x.........S.W.....S.W.....L.W.....S.W.................................T.E.S.T.1.-.~.1.........t.e.s.t.1. .-. .C.o.p.i.e..........\..W....\..W.....L.W....\..W.......................$.........T.E.C.0.3.E.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.0.).................F.W.....F.W.....L.W.....F.W.......................$.........T.E.C.2.1.9.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.1.)................B..W....B..W.....L.W....i..W.......................$.........T.E.F.9.2.6.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.2.)...............4T..W...4T..W.....L.W...4T..W.......................$.........T.E.F.7.4.B.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.3.)...................W.......W.....L.W.......W.......................$.........T.E.8.A.3.C.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.4.).................E.W.....E.W.....L.W.....E.W.......................$.........T.E.1.C.7.A.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.5.).................G.W.....G.W.....L.W.....H.W.......................$.........T.E.A.0.C.4.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.6.)...
22:59:37.117958 IP (tos 0x0, ttl 128, id 9264, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [.], cksum 0x51f4 (correct), seq 2085:3533, ack 602, win 67, options [nop,nop,TS val 4793625 ecr 312989420], length 1448SMB-over-TCP packet
raw data or continuation?)
[email protected]|...
........uW4K:......CQ......
.I%..................
P.W....
P.W.....L.W....
P.W.......................$.........T.E.D.1.C.2.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.7.)...............U.x.W...U.x.W.....L.W...e.x.W.......................$.........T.E.D.3.A.D.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.8.)...............l8..W...l8..W.....L.W...}_..W.......................$.........T.E.E.8.9.1.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.1.9.)...............^...W...^...W.....L.W...^...W.......................".........T.E.S.T.1.-.~.2.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.).............W.......W.....L.W.......W.......................$.........T.E.1.5.F.B.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.0.)................{..W....{..W.....L.W.......W.......................$.........T.E.6.D.8.B.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.1.)...................W.......W.....L.W.......W.......................$.........T.E.F.E.C.9.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.2.).................l.W.....l.W.....L.W.....l.W.......................$.........T.E.C.D.6.5.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.3.)...............v...W...v...W.....L.W.......W.......................$.........T.E.B.4.1.2.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.4.)...............y...W...y...W.....L.W.......W.......................$.........T.E.B.6.F.C.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.5.)...................W.......W.....L.W.......W.......................$.........T.E.0.6.4.2.~.1.......
22:59:37.117984 IP (tos 0x0, ttl 64, id 15068, offset 0, flags [DF], proto TCP (6), length 52)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [.], cksum 0x42d0 (correct), ack 3533, win 65341, options [nop,nop,TS val 312989424 ecr 4793625], length 0
E..4:.@.@.~x.......
....:...uW9....=B......
.....I%.
22:59:37.118570 IP (tos 0x0, ttl 128, id 9265, offset 0, flags [DF], proto TCP (6), length 1500)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [.], cksum 0xddcd (correct), seq 3533:4981, ack 602, win 67, options [nop,nop,TS val 4793625 ecr 312989420], length 1448SMB-over-TCP packet
raw data or continuation?)
[email protected]{...
........uW9.:......C.......
.I%.......t.e.s.t.1. .-. .C.o.p.i.e. .(.2.6.).................9.W.....9.W.....L.W.....9.W.......................$.........T.E.0.4.6.7.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.7.)...............muP.W...muP.W.....L.W...muP.W.......................$.........T.E.0.E.7.3.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.8.)...................W.......W.....L.W.......W.......................$.........T.E.4.E.1.F.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.2.9.)
[email protected][email protected].......................".........T.E.S.T.1.-.~.3.........t.e.s.t.1. .-. .C.o.p.i.e. .(.3.)..........Z..W....Z..W.....L.W....Z..W.......................$.........T.E.7.A.7.9.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.3.0.)................A..W....A..W.....L.W....h..W.......................$.........T.E.9.7.6.1.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.3.1.)................+h.W....+h.W.....L.W...&Rh.W.......................$.........T.E.9.9.4.C.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.3.2.).................i.W.....i.W.....L.W.....i.W.......................$.........T.E.2.3.F.2.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.3.3.)...................W.......W.....L.W.......W.......................$.........T.E.2.1.1.8.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.3.4.)...................W.......W.....L.W.......W.......................$.........T.E.5.1.7.F.~.1.........t.e.s.t.1. .-. .C.o.p.i.e. .(.3.5.)...................W.......W.....L.W.......W...............
22:59:37.118691 IP (tos 0x0, ttl 128, id 9266, offset 0, flags [DF], proto TCP (6), length 68)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0x080f (correct), seq 4981:4997, ack 602, win 67, options [nop,nop,TS val 4793625 ecr 312989420], length 16SMB-over-TCP packet
raw data or continuation?)
[email protected]....
........uW?.:......C.......
.I%.............$.......
22:59:37.118708 IP (tos 0x0, ttl 64, id 39552, offset 0, flags [DF], proto TCP (6), length 52)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [.], cksum 0x3dce (correct), ack 4997, win 65158, options [nop,nop,TS val 312989425 ecr 4793625], length 0
E..4..@.@..........
....:...uW?.....=......
.....I%.
22:59:37.119891 IP (tos 0x0, ttl 128, id 9267, offset 0, flags [DF], proto TCP (6), length 180)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0x7d3d (correct), seq 4997:5125, ack 602, win 67, options [nop,nop,TS val 4793625 ecr 312989425], length 128SMB PACKET: SMBtrans2 (REPLY)
////////////////////////////////////////on coupe, c'est trop long
////////////////////////////////////////vers la FIN
E...Mv@
[email protected]........
....:...uW......Lc.....
..m..I.......SMB..................................T..........................................W..\.a.l.x.d.e.s.i.g.n.H.O.M.E.\...T.e.m.p.o.r.a.r.y.I.t.e.m.s.:.A.F.P._.A.f.p.I.n.f.o..............<.<.....<.......
23:06:49.743926 IP (tos 0x0, ttl 128, id 9850, offset 0, flags [DF], proto TCP (6), length 248)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0x5cbc (correct), seq 23197:23393, ack 5258, win 67, options [nop,nop,TS val 4836886 ecr 313421187], length 196SMB PACKET: SMBntcreateX (REPLY)
E...&
[email protected]....
........uW..:......C\......
.I....m......SMB............................"..g........yX$.j}..9.).j}..9.).j}..9.).j}......@.......<.........................<.............>.y.AFP.....................@...................................
23:06:49.743994 IP (tos 0x0, ttl 64, id 4702, offset 0, flags [DF], proto TCP (6), length 52)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [.], cksum 0xa2aa (correct), ack 23393, win 65535, options [nop,nop,TS val 313421195 ecr 4836886], length 0
E..4.^@.@..........
....:...uW.............
..m..I..
23:06:49.744070 IP (tos 0x0, ttl 64, id 6774, offset 0, flags [DF], proto TCP (6), length 97)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [P.], cksum 0x11c6 (correct), seq 5258:5303, ack 23393, win 65535, options [nop,nop,TS val 313421195 ecr 4836886], length 45SMB PACKET: SMBclose (REQUEST)
E..a.v@.@..........
....:...uW.............
..m..I.....).SMB.....................................
23:06:49.752731 IP (tos 0x0, ttl 128, id 9851, offset 0, flags [DF], proto TCP (6), length 91)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0x93ef (correct), seq 23393:23432, ack 5303, win 67, options [nop,nop,TS val 4836887 ecr 313421195], length 39SMB PACKET: SMBclose (REPLY)
E..[&{@...R....
........uW..:......C.......
.I....m....#.SMB...............................
23:06:49.752808 IP (tos 0x0, ttl 64, id 63338, offset 0, flags [DF], proto TCP (6), length 52)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [.], cksum 0xa24d (correct), ack 23432, win 65535, options [nop,nop,TS val 313421203 ecr 4836887], length 0
E..4.j@.@..........
....:...uW.......M.....
..m..I..
23:06:49.752954 IP (tos 0x0, ttl 64, id 18012, offset 0, flags [DF], proto TCP (6), length 182)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [P.], cksum 0xbd41 (correct), seq 5303:5433, ack 23432, win 65535, options [nop,nop,TS val 313421203 ecr 4836887], length 130SMB PACKET: SMBtrans2 (REQUEST)
E...F\@
[email protected].......
....:...uW.......A.....
..m..I.....~.SMB2............................:.................:.D...~.....=..........\.a.l.x.d.e.s.i.g.n.H.O.M.E.\.N.T.U.S.E.R...D.A.T...
23:06:49.754826 IP (tos 0x0, ttl 128, id 9852, offset 0, flags [DF], proto TCP (6), length 154)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0xd0ce (correct), seq 23432:23534, ack 5433, win 67, options [nop,nop,TS val 4836887 ecr 313421203], length 102SMB PACKET: SMBtrans2 (REPLY)
E...&|@...Rr...
........uW..:..f...C.......
.I....m....b.SMB2...........................
..&.....8...&.<.....+................d.......d.....:.:.$.D.A.T.A.
23:06:49.754903 IP (tos 0x0, ttl 64, id 63302, offset 0, flags [DF], proto TCP (6), length 52)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [.], cksum 0xa163 (correct), ack 23534, win 65535, options [nop,nop,TS val 313421205 ecr 4836887], length 0
........@..
....:..fuW.......c.....
..m..I..
23:06:49.755030 IP (tos 0x0, ttl 64, id 61477, offset 0, flags [DF], proto TCP (6), length 192)
192.168.0.21.52441 > 192.168.0.10.microsoft-ds: Flags [P.], cksum 0x6591 (correct), seq 5433:5573, ack 23534, win 65535, options [nop,nop,TS val 313421205 ecr 4836887], length 140SMB PACKET: SMBntcreateX (REQUEST)
E....%@.@..........
....:..fuW......e......
..m..I.......SMB..................................2................................... ......5..\.a.l.x.d.e.s.i.g.n.H.O.M.E.\.N.T.U.S.E.R...D.A.T...
23:06:49.756477 IP (tos 0x0, ttl 128, id 9853, offset 0, flags [DF], proto TCP (6), length 191)
192.168.0.10.microsoft-ds > 192.168.0.21.52441: Flags [P.], cksum 0xb6b6 (correct), seq 23534:23673, ack 5573, win 66, options [nop,nop,TS val 4836887 ecr 313421205], length 139SMB PACKET: SMBntcreateX (REPLY)
E...&}@...RL...
........uW..:......B.......
.I....m......SMB............................*..............(=...............Y.......Y... .....d.......d............................................
300 packets captured
2498 packets received by filter
0 packets dropped by kernel