**Ceci est une ancienne révision du document !**
L2TP
L2TP est un protocole qui permet de livrer une collecte (par exemple ADSL). On fait tourner un serveur L2TP, et il reçoit depuis l'opérateur de collecte les sessions des abonnés.
Voir aussi...
Articles grand public
- Éventuellement des liens vers des articles grand public
Vidéo grand public
- Éventuellement une vidéo grand public
Tutoriel
- Éventuellement des liens ou vidéos vers des tutoriels
Vidéo Geek
- Éventuellement une vidéo geek (pas grand public, quoi)
Travaux de la fédé
- On travaille avec l2tpns
- Ancien upstream: https://github.com/bodea/l2tpns puis http://git.sameswireless.fr/l2tpns.git et puis aussi https://sourceforge.net/projects/l2tpns/
Documentation
- Observer les logins pap/chap:
tcpdump -n -vvv -i any 'port l2f 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 les négociations en tous genre (pas de trafic ipv4, ipv6, echo, ccp):
sudo tcpdump -v -n -i any 'port l2f and ( udp[18] != 0x00 or udp[19] != 0x21) and ( udp[16] != 0x00 or udp[17] != 0x21) and ( udp[16] != 0x00 and udp[17] != 0x57) and ( udp[18] != 0x00 and udp[19] != 0x57) and ( udp[16] != 0x80 or udp[17] != 0xfd) and ( udp[18] != 0x80 or udp[19] != 0xfd) and ( udp[18] != 0x9 ) and ( udp[18] != 0xa ) and ( udp[20] != 0x9 ) and ( udp[20] != 0xa ) '
- Observer une sesison en particulier:
sudo tcpdump -v -n -i any 'port l2f and ( ( ( udp[8] & 0x40 == 0 ) and udp[12] = 0 and udp[13] = 123 ) or ( ( udp[8] & 0x40 != 0 ) and udp[14] = 0 and udp[15] = 123 ) )
- Éventuellement des liens vers de la documentation poussée