On Thu, Feb 7, 2013 at 6:25 AM, PAL <[email protected]> wrote: > >> I don't think your patch is correct. >> >> "netstat -ant" produces "netstat: illegal option -- t" on Solaris 10 & >> 11. On OpenBSD the manpage says -t does: "-t With the -i option, >> display the current value of the watchdog timer function." I don't >> think this was your intent. >> >> "netstat -anu" produces a similar error for Solaris 10 & 11, and the >> OpenBSD manpage describes it as limiting the view to the AF_UNIX >> address family (you've mislabeled it as UDP). >> > > ossec have a different code for Sun >> >> /* SunOS netstat */ >> #if defined(sun) || defined(__sun__) >> #define NETSTAT "netstat -an -P %s | "\ >> >> "grep \"[^0-9]%d \" > /dev/null 2>&1" >
Oops, missed that. Thanks! > > But for OpenBSD you are right > I hope, ossec developers will produce right patch. I'm a sysadmin, not > developer, sorry :) > I don't think I understand the real problem. What problem is this patch really trying to solve? > -- > > --- > You received this message because you are subscribed to the Google Groups > "ossec-list" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
