listening UDP broadcast on Solaris 9?

From: Jacques Beigbeder (Jacques.Beigbeder@ens.fr)
Date: Wed Mar 17 2004 - 07:25:58 EST


OS: SunOS xxxxxxx 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-280R

I have 2 programs who try to listen UDP broascasts, both fails.

The first is rwhod (I use it to monitor a lot of computers):

        # lsof | grep rwho | grep UDP
        in.rwhod 891 root 3u IPv4 0x30002675e60 0t0 UDP *:who (Idle)
        # snoop broadcast and udp
           ... displays what I think ...
        # truss -p 891
        recvfrom(3, 0xFFBFF7F4, 1068, 0, 0xFFBFF7E4, 0xFFBFFC20) (sleeping...)

So rwhod opens a socket, waits for packets, nothing arrives in rwhod
but snoop show packets. ifconfig shows a good broadcast address.

My second problem is ntpd: my configuration was to listen UDP
broadcast from a NTP server. It also fails...

Did I make a mistake? Is there any kind of firewall on default
Solaris 9 installations?

--
Jacques Beigbeder                    |  Jacques.Beigbeder@ens.fr
Service de Prestations Informatiques |     http://www.spi.ens.fr
Ecole normale supirieure             |
45 rue d'Ulm                         |Tel : (+33 1)1 44 32 37 96
F75230 Paris cedex 05                |Fax : (+33 1)1 44 32 20 75
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:17 EDT