Re: AW: Net::Ping Bug found?

2007-05-21 Thread John W. Krahn
Angerstein wrote: > Ethereal would do, too. They've changed the name from Ethereal to Wireshark. John -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

AW: Net::Ping Bug found?

2007-05-20 Thread Angerstein
traffic. Thanks, Bastian -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tom Phoenix Gesendet: Mittwoch, 16. Mai 2007 23:12 An: Angerstein Cc: beginners@perl.org Betreff: Re: Net::Ping Bug found? On 5/16/07, Angerstein <[EMAIL PROTECTED]>

Re: Net::Ping Bug found?

2007-05-16 Thread Tom Phoenix
On 5/16/07, Angerstein <[EMAIL PROTECTED]> wrote: Start iptrace with Machine #1: Doesn't have iptrace. OpenBSD 4.0 system. Machine #2: Doesn't have iptrace. MacOS X 10.4.9. I hope that other testers have better results for you! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-ma

AW: Net::Ping Bug found?

2007-05-16 Thread Angerstein
I can hand my Routine to you people. Use: Start iptrace with iptrace -i en1 -S 1500 -P ICMP /tmp/trace.bin (when you kill iptrace use kill -15 important!!!) Use this code # use Net::Ping; my $p; # Ping Objekt my $r = 127.0.0.1; # Give any IP address

Re: Net::Ping Bug found?

2007-05-16 Thread Tom Phoenix
On 5/16/07, Angerstein <[EMAIL PROTECTED]> wrote: So Please: Could somebody verify this on her/his own System? I'm sure that many people will be glad to help you. Could you please supply a small program that testers could run and send you the output? Good luck with your project! --Tom Phoeni

Net::Ping Bug found?

2007-05-16 Thread Angerstein
Hi there! I am using Net::Ping on AIX (here 5.2) and I noticed a strange behaviour concerning the ICMP Payload Data Field. If I do a typical default ping with $p = new Net::Ping('icmp', $ping_timeout); I will get a EthernetII-IP-ICMP-Package (so far so good), but this package does not

Re: Net::Ping Cannot redirect output !

2003-03-29 Thread R. Joseph Newton
Rob Dixon wrote: > R. Joseph Newton wrote: > > > > > $p->bind("192.168.2.211"); # Specify source interface of pings [with no my or > > > our] > > But it's a method call on an existing object ;-) Oops, my bad. cited the wrong line--should h

Re: Net::Ping Cannot redirect output !

2003-03-29 Thread Rob Dixon
R. Joseph Newton wrote: > > > $p->bind("192.168.2.211"); # Specify source interface of pings [with no my or our] But it's a method call on an existing object ;-) /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Net::Ping Cannot redirect output !

2003-03-29 Thread R. Joseph Newton
Ramprasad wrote: > I cant beleive this , it seems so impossible can anyone help me I can. You ae not using strict. > ... > @host_array = ; # no my > $p = Net::Ping->new("icmp"); # no my > $p->bind("192.168.2.211"); # Speci

Re: Net::Ping Cannot redirect output !

2003-03-28 Thread Ramprasad
; autoflush STDOUT; use Net::Ping; @host_array = ; $p = Net::Ping->new("icmp"); $p->bind("192.168.2.211"); # Specify source interface of pings I don't know of a 'bind' method for this module. I may be new, of course. foreach $host (@host_array) { chomp(

Re: Net::Ping Cannot redirect output !

2003-03-28 Thread Rob Dixon
dle; autoflush STDOUT; > use Net::Ping; > @host_array = ; > $p = Net::Ping->new("icmp"); > $p->bind("192.168.2.211"); # Specify source interface of pings I don't know of a 'bind' method for this module. I may be new, of course. > foreach $h

Net::Ping Cannot redirect output !

2003-03-28 Thread Ramprasad
I have written a simple script that runs file when I run on command line but fails when I redirect its output I cant beleive this , it seems so impossible can anyone help me $!=1; use Net::Ping; @host_array = ; $p = Net::Ping->new("icmp"); $p->bind("192.168.2.211"); # S

Re: Problem with Net::Ping

2002-07-31 Thread Sudarshan Raghavan
On Tue, 30 Jul 2002, drieux wrote: > I was somewhat surprised that the ping("tcp") method 'failed' > on an unvarnished linux box... You are right, I got confused between the stream echo server and the tcp one. The tcp echo requests do get replied to without having to start any extra service. S

AW:AW: Problem with Net::Ping

2002-07-30 Thread Angerstein
package is generated. Maybe a problem between perl, ping.pm and my OS : AIX 4.3.3. Thanks > -Ursprüngliche Nachricht- > Von: Sudarshan Raghavan [mailto:[EMAIL PROTECTED]] > Gesendet am: Dienstag, 30. Juli 2002 22:47 > An: Perl beginners > Betreff: Re: Problem with Net::Ping

Re: Problem with Net::Ping

2002-07-30 Thread drieux
On Tuesday, July 30, 2002, at 01:47 , Sudarshan Raghavan wrote: [..] > I think this has the same issue, the machine being pinged must recognize > tcp echo requests. On my machine RH linux 7.3 I have to configure xinetd > to accept and reply to udp and tcp echo requests. I guess in both these > ca

Re: Problem with Net::Ping

2002-07-30 Thread drieux
On Tuesday, July 30, 2002, at 09:18 , Jean-Luc BEAUDET wrote: [..] > Yu have to be aware that, generally, if yu go out the local network > FireWall > block ICMP packets... > > The ping statement is not a good evidence test... excuse me while I giggle... a bit here. I have no idea how many time

Re: Problem with Net::Ping

2002-07-30 Thread Sudarshan Raghavan
On Tue, 30 Jul 2002, drieux wrote: > > On Tuesday, July 30, 2002, at 01:31 , Sudarshan Raghavan wrote: > [..] > > The system ping command sends ICMP echo packets and by default Net::Ping > > sends udp packets. This will work only if the machine you are pinging > >

Re: Problem with Net::Ping

2002-07-30 Thread drieux
On Tuesday, July 30, 2002, at 01:31 , Sudarshan Raghavan wrote: [..] > The system ping command sends ICMP echo packets and by default Net::Ping > sends udp packets. This will work only if the machine you are pinging > supports udp echo requests. For compatibility with system pin

Re: Problem with Net::Ping

2002-07-30 Thread Sudarshan Raghavan
On Tue, 30 Jul 2002, Angerstein wrote: > Hello, > I wrote a big skript which uses net::ping (ping.pm) (and tk). > I noticed that the resultes of Net::Ping are not identical to the system > commad ping. > Much more Items are not reachable over Net::Ping then they are over the &

Problem with Net::Ping

2002-07-30 Thread Angerstein
Hello, I wrote a big skript which uses net::ping (ping.pm) (and tk). I noticed that the resultes of Net::Ping are not identical to the system commad ping. Much more Items are not reachable over Net::Ping then they are over the system command. I can´t explain why. (Even after rewriting 500 lines

Re: Trouble with Net::Ping

2002-03-01 Thread Joseph Bajin
Hmmm. I tried putting in the icmp instead, but because I am not root I am unable to run it. I don't understand why I can ping it from the command line just fine but not in this program. Any more ideas. [EMAIL PROTECTED] wrote: >Try changing the line below to: > >$t = Net::P

Re: Trouble with Net::Ping

2002-03-01 Thread Jan Gruber
Hi, Joseph && list ! On Friday 01 March 2002 02:44 pm, you wrote: > I am appearing to have some > troubles. It appears that it can not reach the hosts specified, but when I > try it manually it works just fine. # use TCP if we're not root, ICMP if we are my $pong = Net:

RE: Trouble with Net::Ping

2002-03-01 Thread Timothy Johnson
Try changing the line below to: $t = Net::Ping->new('icmp'); by default Net::Ping uses UDP packets, but not all hosts will respond to this. -Original Message- From: Joseph Bajin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 8:43 AM To: [EMAIL PROTE

Trouble with Net::Ping

2002-03-01 Thread jbajin
I am appearing to have some troubles. It appears that it can not reach the hosts specified, but when I try it manually it works just fine. Here is what I have for my code: #!/usr/bin/perl -w use strict; use Net::Ping; Initalize Variables# my @hosts= qw(au

Trouble with Net::Ping

2002-02-27 Thread Joseph Bajin
I am appearing to have some troubles. Here is what I have for my code: #!/usr/bin/perl -w use strict; use Net::Ping; Initalize Variables# my @hosts= qw(au); my $t; my @lines; my $hostname; my %status; #while(1){ $t = Net::Ping->new(); fore

RE: Net::Ping

2001-10-23 Thread Peter Scott
n that case, I'd need to see the error message. >However, per >the docs, you have to be root to use ICMP. Does this then mean that when run >as "not-root" the ICMP parameter is ignored and defaults to TCP? That might >explain this. I don't think so: % perl -MNet::

RE: Net::Ping

2001-10-23 Thread Gary L. Armstrong
defaults to TCP? That might explain this. -=GLA=- -Original Message- From: Peter Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 1:52 AM To: Daniel Falkenberg; [EMAIL PROTECTED] Subject: Re: Net::Ping At 11:28 AM 10/23/01 +0930, Daniel Falkenberg wrote: >Firstly. I h

Re: Net::Ping

2001-10-22 Thread Peter Scott
At 11:28 AM 10/23/01 +0930, Daniel Falkenberg wrote: >Firstly. I have a host using a 56k modem connection. When I ping these >servers using the ping object > >$p = Net::Ping->new("icmp"); > >If the server that is being pinged doesn't respond it gen

Net::Ping

2001-10-22 Thread Daniel Falkenberg
Hi all, I have just been playing with Net::Ping recently and have a few questions that I need clarifing if any one has the time. Firstly. I have a host using a 56k modem connection. When I ping these servers using the ping object $p = Net::Ping->new("icmp"); If the s

Re: Problem with NET::PING

2001-05-30 Thread Stephen P. Potter
Lightning flashed, thunder crashed and VeeraRaju_Mareddi <[EMAIL PROTECTED]> whispered: | Dear All | I have a small with NET::PING.I hope its working by following command. | USE NET::PING; | But I am Not able to check remote connectivity of a host ("HOTNT002") | through this NET

Re: Problem with NET::PING

2001-05-29 Thread Peter Scott
[Distribution trimmed to the list I belong to.] At 11:09 AM 5/30/01 +0530, VeeraRaju_Mareddi wrote: >Dear All >I have a small with NET::PING.I hope its working by following command. >USE NET::PING; >But I am Not able to check remote connectivity of a host ("HOTNT002") >

Problem with NET::PING

2001-05-29 Thread VeeraRaju_Mareddi
Dear All I have a small with NET::PING.I hope its working by following command. USE NET::PING; But I am Not able to check remote connectivity of a host ("HOTNT002") through this NET function...I am sure its reachable by system ping command(Windows NT 4.0).. My Perl Code is given Below