Sending ECHO_REQUEST (pinging) with python

Thomas Dybdahl Ahle lobais at
Mon Mar 26 16:50:09 CEST 2007

Den Mon, 26 Mar 2007 11:24:34 +0200 skrev Michal 'vorner' Vaner:
> On Mon, Mar 26, 2007 at 08:30:16AM +0200, Thomas Dybdahl Ahle wrote:

>> Do anybody know how to do this in python?

> You need root for that and the ping command is allowed to have them by
> suid bit. You can execute ping from inside python and use ping as is, if
> you need.

Yeah, I could execute ping, but it would lock me harder to the platform.

More information about the Python-list mailing list