You are not logged in.

#1 2010-09-09 17:48:02

RedScare
Member
Registered: 2009-03-28
Posts: 91

Strange ping problem

I have a shell-script that creates a file in my home directory if I am online and deletes it when I go offline, and to do this it uses ping. The problem that I have run into is that, for some strange reason, on the wireless network in my school although I can access the internet through elinks and firefox, I cannot ping anything. Is this some sort of security feature?

Offline

#2 2010-09-10 00:47:41

Ari'osika
Member
From: Your computer, okay?
Registered: 2010-06-22
Posts: 175

Re: Strange ping problem

AFAIK, It probably is. At my local college and at various hotspots around there, I have the same issue(s) and at others its the opposite! (I don't why but I can ping but I can't use the internet).

Maybe you'll have better luck asking the IT department at your school?


If you're reading this; you're awesome.

Offline

#3 2010-09-10 01:16:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Strange ping problem

You could try using wget instead (on some standard page like ip.tupeux.com) and grepping for the 'found' value. Ping is blocked for security reasons in some corporate/school networks.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2010-09-10 04:34:08

RedScare
Member
Registered: 2009-03-28
Posts: 91

Re: Strange ping problem

Does anyone know how they do this? Are they blocking a special sort of packet? Just purely out of interest:)

Offline

#5 2010-09-10 04:44:52

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Strange ping problem

RedScare wrote:

Does anyone know how they do this? Are they blocking a special sort of packet? Just purely out of interest:)

iptables -p icmp --icmp-type echo-request -j DROP

Or worse:

iptables -p icmp -j DROP

It's a stupid thing to do, usually implemented by people who don't actually know what they're doing.

Offline

Board footer

Powered by FluxBB