lo interface traffic, tracking connections to webserver
Posted: 23. Feb 2013, 00:48
Hi to all!
i'm using VirtualBox on a Windows Host and have created a Ubuntu Guest and have a NAT and a second host-only adapter. On the Ubuntu Guest, i have a webserver running and Snort. What i want is to capture traffic that is sent from the Guest to the Guest itself (to the webserver especially, so port 80). When i start Snort, i'm capturing the traffic from the lo interface. If i start opening connections from Guest to Guest i dont see any packets coming.
Also, if i tcpdump the lo interface, i can see these packets.
If i capture the eth1 interface traffic, and send packets (or open connections) from the Host to the Guest's port 80, i can see them coming. What is going wrong? What should i change to see these packets-connections??
thanks in advance,
Alex.
i'm using VirtualBox on a Windows Host and have created a Ubuntu Guest and have a NAT and a second host-only adapter. On the Ubuntu Guest, i have a webserver running and Snort. What i want is to capture traffic that is sent from the Guest to the Guest itself (to the webserver especially, so port 80). When i start Snort, i'm capturing the traffic from the lo interface. If i start opening connections from Guest to Guest i dont see any packets coming.
Also, if i tcpdump the lo interface, i can see these packets.
If i capture the eth1 interface traffic, and send packets (or open connections) from the Host to the Guest's port 80, i can see them coming. What is going wrong? What should i change to see these packets-connections??
thanks in advance,
Alex.