Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

SunOS loses with sending broadcast packets.
From: avalon () coombs anu edu au (Darren Reed)
Date: Sun, 6 Nov 1994 20:06:14 +1100 (EDT)


In SunOS 4.1.x, the following 4 lines seem to be missing from ip_output():
                if ((flags & IP_ALLOWBROADCAST) == 0) {
                        error = EACCES;
                        goto bad;
                }
(in ip_output.c).  They're there in 4.3, 4.4...

My educated guess is that they did this so that RPC would work (programs
such as "rusers" don't appear to do a setsockopt to toggle SO_BROADCAST)
rather than fix the RPC library (clnt_broadcast doesn't set this option
in the RPC library I have).  I managed to discover this by replacing
Sun's ip_output.o with one I compiled from 4.3BSD and found rusers no
longer worked...(I'm scared to think what else I've broken!).  Using a
version of rusers I wrote myself, I had to insert a setsockopt in the
clnt_broadcast() routine before it would work - it returned the "send:
permission denied" which has been observed elsewhere.

Luckily I wasn't stuck trying to `debug' this problem with Solaris2...

darren

p.s. has anyone reported this as a bug to Sun or know if Sun plan on
     doing anything about this problem ?



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]