user script to get client MAC and send to server
Posted: Mon Apr 23, 2012 9:04 am
Hello,
I have configured openvpn 2.2.2. server on RHEL 6 and openvpn clienr on windows. Server and client are getting authenticated using digital certificates and --auth-user-pass(-verfy).
I know that using --script-security 2 user scripts can be executed from clien.conf & server.conf.
****My requirement**** is to get some details, like MAC, from client machine and send it server after username/password so as to verify it. I know the limitations of this, but i have to do it. I can write some script for windows client to get required info from machine and write it to a file. simillarly i can write shell script to compare the values at server.
Now my problem is, how to send this info which is in the file to the server and compare the corresponding value that has been put is some file on server.
Please help me. Thanks.
Santh
I have configured openvpn 2.2.2. server on RHEL 6 and openvpn clienr on windows. Server and client are getting authenticated using digital certificates and --auth-user-pass(-verfy).
I know that using --script-security 2 user scripts can be executed from clien.conf & server.conf.
****My requirement**** is to get some details, like MAC, from client machine and send it server after username/password so as to verify it. I know the limitations of this, but i have to do it. I can write some script for windows client to get required info from machine and write it to a file. simillarly i can write shell script to compare the values at server.
Now my problem is, how to send this info which is in the file to the server and compare the corresponding value that has been put is some file on server.
Please help me. Thanks.
Santh