Re: network programming in php

From: Date: Thu, 29 Jun 2000 21:37:09 +0000
Subject: Re: network programming in php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3898@lists.php.net to get a copy of this message
You have to put the network card in the promiscuous mode, which quickly overloads an interpreted language. Look at traffshow and tcpdump, both programs are good for monitoring. I believe you can cause them to only dump a certain number of packets to a file. You could exec them from PHP. bug On Thu, 29 Jun 2000, Kevin Beckford wrote: > Ok, let me rephrase this question: > I need to write a program to monitor network packets. The OS is Linux. In > this specific case I'll be monitoring packet traffic on a hub, but I'd like to > do it in a more general fashion, just in case the unthinkable happens, and > someone changes their mind. :) How would I go about getting started with this?

« previous php.general (#3898) next »