Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
     Forums advanced search
HP.com Home
IT Resource Center Forums > HP-UX > networking

ICMP turned off on network. systems croaked.

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: ICMP turned off on network. systems croaked.      Add to my favorites
Paul S This member has accumulated 2500 or more points
Aug 26, 2003 22:00:09 GMT   

Greeting everyone

We got hit by the blaster virus and in an attempt to cut down on network traffic the
network guys turned off ICMP. All of my
HP-UX 11.11 systems totally chocked.
I could not get to them from any other vlan
other than the one they were on. Also NFS
mounts hung even if on the same vlan. We have alpha servers "tru64 5.something" and they ran just fine. My question is, is ICMP required for HP-UX networking. And if not what would I
need to configure in its absence. Just in case this happens again.

TIA
and points to all
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Jeff Schussele This member has accumulated 20000 or more points
Aug 26, 2003 23:12:15 GMT  10 pts

Hi Paul,

Yes it is in it's default config.
It uses pings (ICMP based of course) to detect dead gateways & since ICMP is disabled, the systems think they have no gateways - hence no traffic beyond their subnets. Choke...choke..hack..hack...uuuggghhh.

The dead-gateway detection is configured in /etc/rc.config.d/nddconf, I believe. Turn it off & it should keep on aroutin.

Cheers,
Jeff
Brian Bergstrand This member has accumulated 1000 or more points
Aug 27, 2003 00:28:17 GMT  10 pts

Turning off all ICMP is just using a hammer to solve a problem that requires a bit more finesse.

TCP/IP expects certain ICMP messages to be available. In particular, ICMP echo (Ping), source-quench, dest. unreachable and ttl-exceeded should always be enabled for proper network operation. For your internal net you may want to enable others such as traceroute and/or router adv..

See http://www.iana.org/assignments/icmp-parameters for a description of ICMP ports.

See these for ICMP firewall guidelines.

http://www.faqs.org/faqs/computer-security/most-common-qs/section-18.html

http://www.cctec.com/maillists/nanog/historical/9804/msg00391.html

HTH.
Steven E. Protter This member has accumulated 80000 or more points
Aug 27, 2003 00:35:17 GMT  10 pts

Did the network guys warn you or just turn off icmp.

Lots of things can be broken by a shoot from the hip aproach to virus control. Better preparation and virus protection would have negated the need for such measures.

I recommend a few other wellness checks just to make sure all is well.

If your server has a DNS server, make sure that remote clients can still resolve DNS requests in this environment.

I imagine traceroute is dead too, but you should check it.

If your server has an httpd server, you will need to try and connect to it from outside your subnet and make sure it can tolerate the environment. I kept trying to turn off icmp on my firewalls for my web hosting business, and ultimately gave up, because DNS and httpd (it was probably dns) would not function under those conditions. I'm still working on a way to make it happen. You should not need to ping the server to do dns and httpd pages.

As Jeff noted, most everything else should be okay once ndd is reconfigured to work without icmp.

The following thread MAY provide you a procedure to implement Jeff's change.

SEP
Steven E. Protter This member has accumulated 80000 or more points
Aug 27, 2003 00:35:29 GMT  10 pts

Did the network guys warn you or just turn off icmp.

Lots of things can be broken by a shoot from the hip aproach to virus control. Better preparation and virus protection would have negated the need for such measures.

I recommend a few other wellness checks just to make sure all is well.

If your server has a DNS server, make sure that remote clients can still resolve DNS requests in this environment.

I imagine traceroute is dead too, but you should check it.

If your server has an httpd server, you will need to try and connect to it from outside your subnet and make sure it can tolerate the environment. I kept trying to turn off icmp on my firewalls for my web hosting business, and ultimately gave up, because DNS and httpd (it was probably dns) would not function under those conditions. I'm still working on a way to make it happen. You should not need to ping the server to do dns and httpd pages.

As Jeff noted, most everything else should be okay once ndd is reconfigured to work without icmp.

The following thread MAY provide you a procedure to implement Jeff's change.

http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x378984534efbd5118ff40090279cd0f9,00.html&qt=ndd+%2Bicmp+%2Boff&hit=7

SEP
Giri Sekar. Expert in this area This member has accumulated 250 or more points
Aug 27, 2003 01:29:13 GMT  10 pts

Hi:

Do these steps..


1. netstat -rn (pick up your gateway from the default column)

2. route delete default <ip of the default gateway>

3. netstat -rn (you should not see the gateway now)

4. ndd -set /dev/ip ip_ire_gw_probe 0

(this will make sure that your host will not ping the router (which it will do otherwise every 5 minutes))

now set the default gateway back as hop 1

5. route add default <ip of the default gateway> 1
(note the 1)

6. netstat -rn (you should be able to see the gateway again)

Now you should be able to reach the network.
To make these changes permanent edit the /etc/rc.config.d/nddconf file and replace the last three lines with the above parameters.

Thanks

Giri Sekar.
Ron Kinner This member has accumulated 7500 or more points
Aug 27, 2003 15:36:14 GMT  10 pts

See my post on the subject at:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc707dcbb82f5e14587a82ba5987e67d9,00.html

Source quench is a dinosaur so don't worry about it. Unless you have patched your system to fix the source quench bug just turn it off in ndd.

Ron
Massimo Bianchi This member has accumulated 7500 or more points
Aug 27, 2003 15:44:36 GMT  10 pts

hi,
check answers in this thread, exact same problem:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdb8170647922904583e3df5373c394e4,00.html


Massimo
Paul S This member has accumulated 2500 or more points
Aug 27, 2003 16:31:16 GMT    N/A: Question Author

Thanks for all the great replies.

I didn???t find out there was a problem until
An end user tried to access one of the systems.
Fortunately the virus is gone and ICMP is back on.
Also the systems were for development and training.
However we are getting ready to move our production
Server from tru64 to hp-ux and as you all know
Production servers can never be down. Had we already
Made the switch I???d been scrambling. Now I at least
Know how to handle the situation and could reconfigure
Before the network changes take place.

Thanks again
Steven E. Protter This member has accumulated 80000 or more points
Aug 27, 2003 16:40:54 GMT  5 pts

No need to point this.

In summary, I think making this setup permanent is a good idea:

ndd -set /dev/ip ip_ire_gw_probe 0

Using ping to keep gateways alive is not a good idea.

I don't know how it happened, and am looking into it, but my 11.11 systems all came out with ip_ire_gw_probe 0.

I took no explicit action to do this.

I think it may have been Bastille, or some other patch. A search of the patch database yielded nothing.

SEP
Steven E. Protter This member has accumulated 80000 or more points
Aug 27, 2003 16:44:48 GMT  5 pts

I have further reason to suspect Bastille in this case.

I just checked my educational D320 at home.

It has that feature set on.

Every relavent patch on my 11.11 systems at work is on that system. I've not been able to run Bastille in a satisfactory way and backed out the changes.

Again, just more info, no points necessary. I should have thought of this before my last post. Doh!

SEP
Paul S This member has accumulated 2500 or more points
Aug 27, 2003 16:49:58 GMT    N/A: Question Author

All of my 11.11 had
ip_ire_pw_probe set to 1.

I went a head and changed them all to 0
and made it permament in the nddconf file
I don't see why you want to continually probe
the gateway either.

Sorry SEP your getting points.
W.C. Epperson Expert in this area This member has accumulated 500 or more points
Aug 28, 2003 12:34:56 GMT  10 pts

Also look at the ip_pmtu_strategy settings--we've seen route flapping with ip_pmtu_strategy=1 when ICMP gets turned off, resulting in packets getting sent incorrectly to the default route, which often has ingress filters and regards the packets as spoofed when it tries to loop them back out, and drops them. If the server is "Internet facing", ip_pmtu_strategy=2 is ok, if not, you probably don't need pmtu and can set it to 0.
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.