On Tue, Oct 2, 2012 at 10:30 AM, Michael Barrett <[email protected]> wrote: > > Is there a way to configure agent-auth to use the IP address of the agent > instead of ANY? > >
Change the code. There's work being done on this. I can't remember if it made it into 2.7 or not (what's in and what's out keeps changing...), so if you're really curious look at the commit messages. > > [root@arbuckle bin]# /var/ossec/bin/agent-auth -m 144.122.190.48 -p 1515 > 2012/10/02 09:28:41 ossec-authd: INFO: Started (pid: 7472). > INFO: Connected to 144.122.190.48:1515 > INFO: Using agent name as: arbuckle > INFO: Send request to manager. Waiting for reply. > INFO: Received response with agent key > INFO: Valid key created. Finished. > INFO: Connection closed. > [root@arbuckle bin]# cat /var/ossec/etc/client.keys > 1025 arbuckle any 00c21c1d > ____________________________________________ > Michael Barrett | Information Security Analyst - Lead | Mortgage Guaranty > Insurance Corporation > 270 E. Kilbourn Ave. | Milwaukee, WI 53202 USA | ( 1.414.347.6271 | 7 > 1.888.601.4440 | * [email protected] > > This message is intended for use only by the person(s) addressed above and > may contain privileged and confidential information. Disclosure or use of > this message by any other person is strictly prohibited. If this message is > received in error, please notify the sender immediately and delete this > message.
