> 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" > But for OpenBSD you are right I hope, ossec developers will produce right patch. I'm a sysadmin, not developer, sorry :) -- --- 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.
