Très utile pour mettre une VM snort en bridge sur un linux ; il suffit de mettre les deux vmnet du bridge en promiscuous sur la machine hébergeant la VM
# VMware software does not allow the virtual Ethernet adapter to go into promiscuous mode unless the user running the VMware software has permission to make that setting. This follows the standard Linux practice that only root can put a network interface into promiscuous mode.
chgrp vmware/dev/vmnet0
chmod g+rw /dev/vmnet0
# N.B: Change vmnet0 with the bridged device
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/711"></script>
# Prérequis: Linux 2.6 avec package bridge-utils
ifconfig eth0 0.0.0.0 promisc
ifconfig eth1 0.0.0.0 promisc
brctl addbr bridge1
brctl addif bridge1 eth0
brctl addif bridge1 eth1
# Si communication avec cisco
brctl sethello bridge1 1
brctl setfd bridge1 4
# Donner une adresse Ip au bridge
ifconfig bridge1 @IP netmask @Mask
# Supprimer un bridge
brctl delbr bridge1
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/48"></script>