Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| transmission:l2tp [2025/02/25 13:07] sthibaul [Documentation] | transmission:l2tp [2025/03/30 18:47] (Version actuelle) sthibaul voir les ZLB | ||
|---|---|---|---|
| Ligne 50: | Ligne 50: | ||
| ``` | ``` | ||
| - | sudo tcpdump -v -n -i any 'udp and port 1701 | + | sudo tcpdump -v -n -i any 'udp and port 1701 and (len <= 40 or ( | 
| - | and ( not (( udp[8] & 0x40 == 0 ) and udp[16] == 0x00 and udp[17] == 0x21) ) | + | ( not (( udp[8] & 0x40 == 0 ) and udp[16] == 0x00 and udp[17] == 0x21) ) | 
| and ( not (( udp[8] & 0x40 == 0 ) and udp[16] == 0xFF and udp[17] == 0x03 and udp[18] == 0x00 and udp[19] == 0x21) ) | and ( not (( udp[8] & 0x40 == 0 ) and udp[16] == 0xFF and udp[17] == 0x03 and udp[18] == 0x00 and udp[19] == 0x21) ) | ||
| and ( not (( udp[8] & 0x40 != 0 ) and udp[18] == 0x00 and udp[19] == 0x21) ) | and ( not (( udp[8] & 0x40 != 0 ) and udp[18] == 0x00 and udp[19] == 0x21) ) | ||
| Ligne 80: | Ligne 80: | ||
| and ( not (( udp[8] & 0x40 != 0 ) and udp[20] == 0xa ) ) | and ( not (( udp[8] & 0x40 != 0 ) and udp[20] == 0xa ) ) | ||
| and ( not (( udp[8] & 0x40 != 0 ) and udp[18] == 0xFF and udp[19] == 0x03 and udp[22] == 0xa ) ) | and ( not (( udp[8] & 0x40 != 0 ) and udp[18] == 0xFF and udp[19] == 0x03 and udp[22] == 0xa ) ) | ||
| - | ' | + | ) )' | 
| + | ``` | ||
| + | |||
| + | * Observer un tunnel en particulier: | ||
| + | |||
| + | ``` | ||
| + | sudo tcpdump -v -n -i any 'udp and port 1701 | ||
| + | and ( ( ( udp[8] & 0x40 == 0 ) and udp[10] = 0 and udp[11] = 10 ) or | ||
| + | ( ( udp[8] & 0x40 != 0 ) and udp[12] = 0 and udp[13] = 10 ) ) | ||
| + |  | ||
| ``` | ``` | ||