transmission:l2tp

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
transmission:l2tp [2025/03/30 16:47] – voir les ZLB sthibaultransmission:l2tp [2026/04/22 00:01] (Version actuelle) sthibaul
Ligne 38: Ligne 38:
   * [[https://www.grenode.net/Documentation_technique/R%C3%A9seau/Collecte_xDSL/#l2tp]]   * [[https://www.grenode.net/Documentation_technique/R%C3%A9seau/Collecte_xDSL/#l2tp]]
  
-  * Observer les logins pap/chap:+  * Enregistrer un tcpdump dans des fichiers pour analyse post-mortem en utilisant une rotation des fichiers de sortie toutes les heures sur un mois:
  
 ``` ```
-tcpdump --vvv   -i any 'udp and port 1701 and +sudo tcpdump -w /var/tmp/dump%d-%H.pcap -G 3600
-   (udp[8] & 0x80) == 0 and +
-       ((udp[16] == 0xc0 or udp[16] == 0xc2) and udp[17] == 0x23)   +
-     or  ((udp[18] == 0xc0 or udp[18] == 0xc2) and udp[19] == 0x23) )'+
 ``` ```
  
Ligne 81: Ligne 78:
    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 les messages de contrôle L2TP (établissement de tunnel/sessoin)
 +
 +```
 +sudo tcpdump -v -n -i any 'udp and port 1701 and (len <= 40 or ( udp[8] & 0x80 != 0 ))'
 ``` ```
  
Ligne 100: Ligne 103:
           '           '
 ``` ```
 +
 +  * Observer les logins pap/chap:
 +
 +```
 +tcpdump -n -vvv   -i any 'udp and port 1701 and
 +   (udp[8] & 0x80) == 0 and
 +       ((udp[16] == 0xc0 or udp[16] == 0xc2) and udp[17] == 0x23)  
 +     or  ((udp[18] == 0xc0 or udp[18] == 0xc2) and udp[19] == 0x23) )'
 +```
 +
  
   * Observer le dhcpv6:   * Observer le dhcpv6:
  • transmission/l2tp.1743353278.txt.gz
  • Dernière modification : 2025/03/30 16:47
  • de sthibaul