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 | |||
transmission:l2tp [2024/09/04 14:32] sthibaul |
transmission:l2tp [2024/09/04 14:45] (Version actuelle) sthibaul |
||
---|---|---|---|
Ligne 52: | Ligne 52: | ||
``` | ``` | ||
sudo tcpdump -v -n -i any 'port 1701 | sudo tcpdump -v -n -i any 'port 1701 | ||
- | and ( not (( udp[8] & 0x40 == 0 ) and udp[16] = 0x00 and udp[17] = 0x21) ) | + | and ( not (( udp[8] & 0x40 == 0 ) and udp[16] |
- | and ( not (( udp[8] & 0x40 != 0 ) and udp[18] = 0x00 and udp[19] = 0x21) ) | + | and ( not (( udp[8] & 0x40 != 0 ) and udp[18] |
- | and ( not (( udp[8] & 0x40 == 0 ) and udp[16] = 0x00 and udp[17] = 0x57) ) | + | and ( not (( udp[8] & 0x40 == 0 ) and udp[16] |
- | and ( not (( udp[8] & 0x40 != 0 ) and udp[18] = 0x00 and udp[19] = 0x57) ) | + | and ( not (( udp[8] & 0x40 != 0 ) and udp[18] |
- | and ( not (( udp[8] & 0x40 == 0 ) and udp[16] = 0x80 and udp[17] = 0xfd) ) | + | and ( not (( udp[8] & 0x40 == 0 ) and udp[16] |
- | and ( not (( udp[8] & 0x40 != 0 ) and udp[18] = 0x80 and udp[19] = 0xfd) ) | + | and ( not (( udp[8] & 0x40 != 0 ) and udp[18] |
- | and ( not (( udp[8] & 0x40 == 0 ) and udp[18] = 0x9 ) ) | + | and ( not (( udp[8] & 0x40 == 0 ) and udp[18] |
- | and ( not (( udp[8] & 0x40 != 0 ) and udp[20] = 0x9 ) ) | + | and ( not (( udp[8] & 0x40 != 0 ) and udp[20] |
- | and ( not (( udp[8] & 0x40 == 0 ) and udp[18] = 0xa ) ) | + | and ( not (( udp[8] & 0x40 == 0 ) and udp[18] |
- | and ( not (( udp[8] & 0x40 != 0 ) and udp[20] = 0xa ) ) | + | and ( not (( udp[8] & 0x40 != 0 ) and udp[20] |
' | ' | ||
``` | ``` | ||
Ligne 84: | Ligne 84: | ||
``` | ``` | ||
+ | * Observer les RS/RA: | ||
+ | |||
+ | ``` | ||
+ | sudo tcpdump -v -n -i any 'port 1701 | ||
+ | and ( ( ( udp[8] & 0x40 != 0 ) and udp[18] == 0x00 and udp[19] == 0x57 and udp[26] == 58 and ( udp[60] == 134 or udp[60] == 133 ) ) | ||
+ | or ( ( udp[8] & 0x40 == 0 ) and udp[16] == 0x00 and udp[17] == 0x57 and udp[24] == 58 and ( udp[58] == 134 or udp[58] == 133 ) ) ) | ||
+ | ' | ||
+ | ``` | ||