Re: promiscuous mode
Le Tuesday 20 November 2001 à 21:58:49, Richard Bonichon a écrit:
> depuis quelques jours environs; j'ai remarqué qu'au boot j'avais les
> sorties suivantes "eth0 entered promiscuous mode, tap0 entered promiscuous
> mode"
> qu'est-ce-que tap0?
/usr/src/linux-2.4.14/Documentation/devices.txt
36 char Netlink support
16 = /dev/tap0 First Ethertap device
/usr/src/linux-2.4.14/Documentation/Configure.help
Ethertap network tap (OBSOLETE)
CONFIG_ETHERTAP
If you say Y here (and have said Y to "Kernel/User network link
driver", above) and create a character special file /dev/tap0 with
major number 36 and minor number 16 using mknod ("man mknod"), you
will be able to have a user space program read and write raw
Ethernet frames from/to that special file. tap0 can be configured
with ifconfig and route like any other Ethernet device but it is not
connected to any physical LAN; everything written by the user to
/dev/tap0 is treated by the kernel as if it had come in from a LAN
to the device tap0; everything the kernel wants to send out over the
device tap0 can instead be read by the user from /dev/tap0: the user
mode program replaces the LAN that would be attached to an ordinary
Ethernet device. Please read the file
Documentation/networking/ethertap.txt for more information.
> et qu'set-ce qui a bien pu arriver pour que eth0 soit maintenant
> automatiquement mis dans ce mode alors qu'auparavant non?
Aucune idée.
Regarder lors du boot à quel moment les messages sont affichés. Chercher
le script correspondant dans /etc/init.d/ en se fiant au textes affichés
avant et après, grep(1) est ton ami.
Ou lister tout les processus et vérifier ce que fait chacun.
--
Ludovic Rousseau Ludovic.Rousseau@free.fr
-- Normaliser Unix c'est comme pasteuriser le Camembert, L.R. --
Reply to: