A quick note about compiling problems on Solaris Hi, recently I had many people mailing me and asking me about compiling and runtime problems they had with some of my code on solaris. While I'm now aware of this and will probably be releasing future programs with configure scripts or at least compiling options for solaris, there are a few current programs affected, which are: * tfn2k DoS * e4d sniffer * exo scanner * ides.c The two problems I found are: 1) IP_HDRINCL - This is a constant for setsockopt() calls, and is always 3 on Posix systems, but in Solaris, it might be 2. Problem: setsockopt() may fail, and constructed packets may be misinterpreted Quick Fix: On solaris, look at /usr/include/netinet/in.h and change my definition of IP_HDRINCL to the systems official definition. 2) sockaddr_in structure - Normally, this structure contains exactly one unsigned int, s_addr. On some Solaris systems, it can be a big, obscure structure. Problem: compilation will fail Quick Fix: just completely remove the sockaddr_in definition from ip.h This is all for now, if you experience problems that still aren't solved, please mail me an extensive description (strace and truss output preferred), and I'll add a description in this file or release a fixed version... Mixter