RE: [hlds_linux] Vac turning off / Server going insecure regularly
you cant read sv_secure from a plugin. or at least its not possible in console to write sv_secure and get a 1 or 0. /Bjorn On Tue, 2 May 2006, Alfred Reynolds wrote: Why don't you use sv_secure? kama wrote: Alfred, is it possible to get a read only cvar to check if VAC is enabled or not? /Bjorn On Mon, 1 May 2006, kama wrote: Well, it would be preferably to have a readonly cvar sv_secure that can be queried from within a plugin. /Bjorn On Mon, 1 May 2006, W0kk3L wrote: As far as i could find... no. Well, you can get the status externally by using something like qstat, or by sending an rcon command to the server. The easiest way is trough qstat, because you don't need a rcon password for it. I believe this is the same way the clients do it for displaying the VAC state in the favorites list. -W0kk3L- - Original Message - From: kama [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Monday, May 01, 2006 12:44 AM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Is there any other way than using status that will say if the server is secure or not? /Bjorn On Sun, 30 Apr 2006, W0kk3L wrote: Sure, I haven't included everything of the script, cause our script is mostly SQL based, so it wouldn't work on your servers. But here are the most important parts. I've stripped it down so it would work for one server. If you want it to work on more servers, just select them first, and place the code below in that loop. Here it comes: -- # # Script to check if the www.Crew-Nexus.net CS servers are secure. If not, restart them... # echo - Scanning servers... QSTAT_INFO=`qstat -timeout 5 -R -raw % -a2s ip:port|grep secure=1`; if [ $QSTAT_INFO != ]; then echo Server is secure else echo [$DATE] Server nex1cs is INSECURE...Rebooting this server! ./kkrcon.pl -a ip -p port -t new rconpassword say Server is VAC insecure... will restart now! sleep 3 echo Sending RCON QUIT to nex1cs ip:port) ./kkrcon.pl -a ip -p port -t new rconpassword quit fi echo - Done. --- Just place this in a sh file, and give it executable rights. And finally add it to a cronjob on hourly basis. As you can see it's very basic. But it does the trick :) -W0kk3L- - Original Message - From: FiRe [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 6:42 PM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Would you be kind enough to post the script W0kk3L? FiRe - Original Message - Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly From: W0kk3L [EMAIL PROTECTED] Date: Sun, 30 Apr 2006 08:47:09 +0200 To: hlds_linux@list.valvesoftware.com To: hlds_linux@list.valvesoftware.com Yep, the VAC servers are unreachable for quite a few times on daily basis. We have 20 VAC-based server running (CS and CS:S) and we've performed 21 VAC-insecure reboots yesterday on those server. But i have to say there was one major reboot of all 20 server at 0:00 hour.Most likely the VAC servers themself were being restarted. Usually we have about 4 or 5 VAC insecure reboots per day. What can you do against it? Well, nothing. It's not in our hands. It can be caused by VAC or by the connection from your server to VAC. In both ways, you can't prevent it. The only thing you can do about it is making the reboots automated, so the server are protected most of the time. On our servers i've created a script which reads the secure status by qstat. If that status is not 1 (e.g. 0 or not available), it will send a message to the server that it's going to reboot, and 10 secs later it sends an rcon quit. The runs every hour checking all VAC protected servers. Quite simple, but effective. -W0kk3L- - Original Message - From: [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 7:43 AM Subject: [hlds_linux] Vac turning off / Server going insecure regularly Greetings Has anyone of you experienced the Problem of your Server going insecure regulary after a while, so you got to restart it, so have Vac running again? If yes, what can I do against it? cheers SecurityFox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view
RE: [hlds_linux] Vac turning off / Server going insecure regularly
Why don't you use sv_secure? kama wrote: Alfred, is it possible to get a read only cvar to check if VAC is enabled or not? /Bjorn On Mon, 1 May 2006, kama wrote: Well, it would be preferably to have a readonly cvar sv_secure that can be queried from within a plugin. /Bjorn On Mon, 1 May 2006, W0kk3L wrote: As far as i could find... no. Well, you can get the status externally by using something like qstat, or by sending an rcon command to the server. The easiest way is trough qstat, because you don't need a rcon password for it. I believe this is the same way the clients do it for displaying the VAC state in the favorites list. -W0kk3L- - Original Message - From: kama [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Monday, May 01, 2006 12:44 AM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Is there any other way than using status that will say if the server is secure or not? /Bjorn On Sun, 30 Apr 2006, W0kk3L wrote: Sure, I haven't included everything of the script, cause our script is mostly SQL based, so it wouldn't work on your servers. But here are the most important parts. I've stripped it down so it would work for one server. If you want it to work on more servers, just select them first, and place the code below in that loop. Here it comes: -- # # Script to check if the www.Crew-Nexus.net CS servers are secure. If not, restart them... # echo - Scanning servers... QSTAT_INFO=`qstat -timeout 5 -R -raw % -a2s ip:port|grep secure=1`; if [ $QSTAT_INFO != ]; then echo Server is secure else echo [$DATE] Server nex1cs is INSECURE...Rebooting this server! ./kkrcon.pl -a ip -p port -t new rconpassword say Server is VAC insecure... will restart now! sleep 3 echo Sending RCON QUIT to nex1cs ip:port) ./kkrcon.pl -a ip -p port -t new rconpassword quit fi echo - Done. --- Just place this in a sh file, and give it executable rights. And finally add it to a cronjob on hourly basis. As you can see it's very basic. But it does the trick :) -W0kk3L- - Original Message - From: FiRe [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 6:42 PM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Would you be kind enough to post the script W0kk3L? FiRe - Original Message - Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly From: W0kk3L [EMAIL PROTECTED] Date: Sun, 30 Apr 2006 08:47:09 +0200 To: hlds_linux@list.valvesoftware.com To: hlds_linux@list.valvesoftware.com Yep, the VAC servers are unreachable for quite a few times on daily basis. We have 20 VAC-based server running (CS and CS:S) and we've performed 21 VAC-insecure reboots yesterday on those server. But i have to say there was one major reboot of all 20 server at 0:00 hour.Most likely the VAC servers themself were being restarted. Usually we have about 4 or 5 VAC insecure reboots per day. What can you do against it? Well, nothing. It's not in our hands. It can be caused by VAC or by the connection from your server to VAC. In both ways, you can't prevent it. The only thing you can do about it is making the reboots automated, so the server are protected most of the time. On our servers i've created a script which reads the secure status by qstat. If that status is not 1 (e.g. 0 or not available), it will send a message to the server that it's going to reboot, and 10 secs later it sends an rcon quit. The runs every hour checking all VAC protected servers. Quite simple, but effective. -W0kk3L- - Original Message - From: [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 7:43 AM Subject: [hlds_linux] Vac turning off / Server going insecure regularly Greetings Has anyone of you experienced the Problem of your Server going insecure regulary after a while, so you got to restart it, so have Vac running again? If yes, what can I do against it? cheers SecurityFox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Vac turning off / Server going insecure regularly
I thought it was read-only, at least in the source engine since you have to disable VAC in the start line. On 5/2/06, Alfred Reynolds [EMAIL PROTECTED] wrote: Why don't you use sv_secure? kama wrote: Alfred, is it possible to get a read only cvar to check if VAC is enabled or not? /Bjorn On Mon, 1 May 2006, kama wrote: Well, it would be preferably to have a readonly cvar sv_secure that can be queried from within a plugin. /Bjorn On Mon, 1 May 2006, W0kk3L wrote: As far as i could find... no. Well, you can get the status externally by using something like qstat, or by sending an rcon command to the server. The easiest way is trough qstat, because you don't need a rcon password for it. I believe this is the same way the clients do it for displaying the VAC state in the favorites list. -W0kk3L- - Original Message - From: kama [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Monday, May 01, 2006 12:44 AM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Is there any other way than using status that will say if the server is secure or not? /Bjorn On Sun, 30 Apr 2006, W0kk3L wrote: Sure, I haven't included everything of the script, cause our script is mostly SQL based, so it wouldn't work on your servers. But here are the most important parts. I've stripped it down so it would work for one server. If you want it to work on more servers, just select them first, and place the code below in that loop. Here it comes: -- # # Script to check if the www.Crew-Nexus.net CS servers are secure. If not, restart them... # echo - Scanning servers... QSTAT_INFO=`qstat -timeout 5 -R -raw % -a2s ip:port|grep secure=1`; if [ $QSTAT_INFO != ]; then echo Server is secure else echo [$DATE] Server nex1cs is INSECURE...Rebooting this server! ./kkrcon.pl -a ip -p port -t new rconpassword say Server is VAC insecure... will restart now! sleep 3 echo Sending RCON QUIT to nex1cs ip:port) ./kkrcon.pl -a ip -p port -t new rconpassword quit fi echo - Done. --- Just place this in a sh file, and give it executable rights. And finally add it to a cronjob on hourly basis. As you can see it's very basic. But it does the trick :) -W0kk3L- - Original Message - From: FiRe [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 6:42 PM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Would you be kind enough to post the script W0kk3L? FiRe - Original Message - Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly From: W0kk3L [EMAIL PROTECTED] Date: Sun, 30 Apr 2006 08:47:09 +0200 To: hlds_linux@list.valvesoftware.com To: hlds_linux@list.valvesoftware.com Yep, the VAC servers are unreachable for quite a few times on daily basis. We have 20 VAC-based server running (CS and CS:S) and we've performed 21 VAC-insecure reboots yesterday on those server. But i have to say there was one major reboot of all 20 server at 0:00 hour.Most likely the VAC servers themself were being restarted. Usually we have about 4 or 5 VAC insecure reboots per day. What can you do against it? Well, nothing. It's not in our hands. It can be caused by VAC or by the connection from your server to VAC. In both ways, you can't prevent it. The only thing you can do about it is making the reboots automated, so the server are protected most of the time. On our servers i've created a script which reads the secure status by qstat. If that status is not 1 (e.g. 0 or not available), it will send a message to the server that it's going to reboot, and 10 secs later it sends an rcon quit. The runs every hour checking all VAC protected servers. Quite simple, but effective. -W0kk3L- - Original Message - From: [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 7:43 AM Subject: [hlds_linux] Vac turning off / Server going insecure regularly Greetings Has anyone of you experienced the Problem of your Server going insecure regulary after a while, so you got to restart it, so have Vac running again? If yes, what can I do against it? cheers SecurityFox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit
Re: [hlds_linux] Vac turning off / Server going insecure regularly
Yep, the VAC servers are unreachable for quite a few times on daily basis. We have 20 VAC-based server running (CS and CS:S) and we've performed 21 VAC-insecure reboots yesterday on those server. But i have to say there was one major reboot of all 20 server at 0:00 hour.Most likely the VAC servers themself were being restarted. Usually we have about 4 or 5 VAC insecure reboots per day. What can you do against it? Well, nothing. It's not in our hands. It can be caused by VAC or by the connection from your server to VAC. In both ways, you can't prevent it. The only thing you can do about it is making the reboots automated, so the server are protected most of the time. On our servers i've created a script which reads the secure status by qstat. If that status is not 1 (e.g. 0 or not available), it will send a message to the server that it's going to reboot, and 10 secs later it sends an rcon quit. The runs every hour checking all VAC protected servers. Quite simple, but effective. -W0kk3L- - Original Message - From: [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 7:43 AM Subject: [hlds_linux] Vac turning off / Server going insecure regularly Greetings Has anyone of you experienced the Problem of your Server going insecure regulary after a while, so you got to restart it, so have Vac running again? If yes, what can I do against it? cheers SecurityFox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Vac turning off / Server going insecure regularly
Would you be kind enough to post the script W0kk3L? FiRe - Original Message - Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly From: W0kk3L [EMAIL PROTECTED] Date: Sun, 30 Apr 2006 08:47:09 +0200 To: hlds_linux@list.valvesoftware.com To: hlds_linux@list.valvesoftware.com Yep, the VAC servers are unreachable for quite a few times on daily basis. We have 20 VAC-based server running (CS and CS:S) and we've performed 21 VAC-insecure reboots yesterday on those server. But i have to say there was one major reboot of all 20 server at 0:00 hour.Most likely the VAC servers themself were being restarted. Usually we have about 4 or 5 VAC insecure reboots per day. What can you do against it? Well, nothing. It's not in our hands. It can be caused by VAC or by the connection from your server to VAC. In both ways, you can't prevent it. The only thing you can do about it is making the reboots automated, so the server are protected most of the time. On our servers i've created a script which reads the secure status by qstat. If that status is not 1 (e.g. 0 or not available), it will send a message to the server that it's going to reboot, and 10 secs later it sends an rcon quit. The runs every hour checking all VAC protected servers. Quite simple, but effective. -W0kk3L- - Original Message - From: [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 7:43 AM Subject: [hlds_linux] Vac turning off / Server going insecure regularly Greetings Has anyone of you experienced the Problem of your Server going insecure regulary after a while, so you got to restart it, so have Vac running again? If yes, what can I do against it? cheers SecurityFox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Vac turning off / Server going insecure regularly
Sure, I haven't included everything of the script, cause our script is mostly SQL based, so it wouldn't work on your servers. But here are the most important parts. I've stripped it down so it would work for one server. If you want it to work on more servers, just select them first, and place the code below in that loop. Here it comes: -- # # Script to check if the www.Crew-Nexus.net CS servers are secure. If not, restart them... # echo - Scanning servers... QSTAT_INFO=`qstat -timeout 5 -R -raw % -a2s ip:port|grep secure=1`; if [ $QSTAT_INFO != ]; then echo Server is secure else echo [$DATE] Server nex1cs is INSECURE...Rebooting this server! ./kkrcon.pl -a ip -p port -t new rconpassword say Server is VAC insecure... will restart now! sleep 3 echo Sending RCON QUIT to nex1cs ip:port) ./kkrcon.pl -a ip -p port -t new rconpassword quit fi echo - Done. --- Just place this in a sh file, and give it executable rights. And finally add it to a cronjob on hourly basis. As you can see it's very basic. But it does the trick :) -W0kk3L- - Original Message - From: FiRe [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 6:42 PM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Would you be kind enough to post the script W0kk3L? FiRe - Original Message - Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly From: W0kk3L [EMAIL PROTECTED] Date: Sun, 30 Apr 2006 08:47:09 +0200 To: hlds_linux@list.valvesoftware.com To: hlds_linux@list.valvesoftware.com Yep, the VAC servers are unreachable for quite a few times on daily basis. We have 20 VAC-based server running (CS and CS:S) and we've performed 21 VAC-insecure reboots yesterday on those server. But i have to say there was one major reboot of all 20 server at 0:00 hour.Most likely the VAC servers themself were being restarted. Usually we have about 4 or 5 VAC insecure reboots per day. What can you do against it? Well, nothing. It's not in our hands. It can be caused by VAC or by the connection from your server to VAC. In both ways, you can't prevent it. The only thing you can do about it is making the reboots automated, so the server are protected most of the time. On our servers i've created a script which reads the secure status by qstat. If that status is not 1 (e.g. 0 or not available), it will send a message to the server that it's going to reboot, and 10 secs later it sends an rcon quit. The runs every hour checking all VAC protected servers. Quite simple, but effective. -W0kk3L- - Original Message - From: [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 7:43 AM Subject: [hlds_linux] Vac turning off / Server going insecure regularly Greetings Has anyone of you experienced the Problem of your Server going insecure regulary after a while, so you got to restart it, so have Vac running again? If yes, what can I do against it? cheers SecurityFox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Vac turning off / Server going insecure regularly
Is there any other way than using status that will say if the server is secure or not? /Bjorn On Sun, 30 Apr 2006, W0kk3L wrote: Sure, I haven't included everything of the script, cause our script is mostly SQL based, so it wouldn't work on your servers. But here are the most important parts. I've stripped it down so it would work for one server. If you want it to work on more servers, just select them first, and place the code below in that loop. Here it comes: -- # # Script to check if the www.Crew-Nexus.net CS servers are secure. If not, restart them... # echo - Scanning servers... QSTAT_INFO=`qstat -timeout 5 -R -raw % -a2s ip:port|grep secure=1`; if [ $QSTAT_INFO != ]; then echo Server is secure else echo [$DATE] Server nex1cs is INSECURE...Rebooting this server! ./kkrcon.pl -a ip -p port -t new rconpassword say Server is VAC insecure... will restart now! sleep 3 echo Sending RCON QUIT to nex1cs ip:port) ./kkrcon.pl -a ip -p port -t new rconpassword quit fi echo - Done. --- Just place this in a sh file, and give it executable rights. And finally add it to a cronjob on hourly basis. As you can see it's very basic. But it does the trick :) -W0kk3L- - Original Message - From: FiRe [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 6:42 PM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Would you be kind enough to post the script W0kk3L? FiRe - Original Message - Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly From: W0kk3L [EMAIL PROTECTED] Date: Sun, 30 Apr 2006 08:47:09 +0200 To: hlds_linux@list.valvesoftware.com To: hlds_linux@list.valvesoftware.com Yep, the VAC servers are unreachable for quite a few times on daily basis. We have 20 VAC-based server running (CS and CS:S) and we've performed 21 VAC-insecure reboots yesterday on those server. But i have to say there was one major reboot of all 20 server at 0:00 hour.Most likely the VAC servers themself were being restarted. Usually we have about 4 or 5 VAC insecure reboots per day. What can you do against it? Well, nothing. It's not in our hands. It can be caused by VAC or by the connection from your server to VAC. In both ways, you can't prevent it. The only thing you can do about it is making the reboots automated, so the server are protected most of the time. On our servers i've created a script which reads the secure status by qstat. If that status is not 1 (e.g. 0 or not available), it will send a message to the server that it's going to reboot, and 10 secs later it sends an rcon quit. The runs every hour checking all VAC protected servers. Quite simple, but effective. -W0kk3L- - Original Message - From: [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 7:43 AM Subject: [hlds_linux] Vac turning off / Server going insecure regularly Greetings Has anyone of you experienced the Problem of your Server going insecure regulary after a while, so you got to restart it, so have Vac running again? If yes, what can I do against it? cheers SecurityFox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Vac turning off / Server going insecure regularly
On Apr 29, 2006, at 11:47 PM, W0kk3L wrote: Yep, the VAC servers are unreachable for quite a few times on daily basis. We have 20 VAC-based server running (CS and CS:S) and we've performed 21 VAC-insecure reboots yesterday on those server. But i have to say there was one major reboot of all 20 server at 0:00 hour.Most likely the VAC servers themself were being restarted. Usually we have about 4 or 5 VAC insecure reboots per day. Two things: First, You don't have to reboot the server to bring them secure again (or at least, you shouldn't). Our servers came back secure fine within a minutes, as did many others. Second, for some mail from you kept getting flagged as junk in my Mail client, but no one else on the hlds_linux list did. I took a peek at it and you have this header in each mail you send out: Precedence: bulk Which tells a lot of mail systems that your mail is spam. -- Erik Hollensbe [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Vac turning off / Server going insecure regularly
On Apr 30, 2006, at 4:04 PM, Erik Hollensbe wrote: Precedence: bulk Which tells a lot of mail systems that your mail is spam. Ack! That's a listinfo deal, oopsie. It's your name, here's the SA information: X-Spam-Status: Yes, score=1.5 required=1.0 tests=FROM_HAS_MIXED_NUMS autolearn=no version=3.1.0 X-Spam-Level: * -- Erik Hollensbe [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Vac turning off / Server going insecure regularly
Well, that's the first time i've heard that one :) But i'm not gonna change my name ;) -W0kk3L- - Original Message - From: Erik Hollensbe [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Monday, May 01, 2006 1:18 AM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly On Apr 30, 2006, at 4:04 PM, Erik Hollensbe wrote: Precedence: bulk Which tells a lot of mail systems that your mail is spam. Ack! That's a listinfo deal, oopsie. It's your name, here's the SA information: X-Spam-Status: Yes, score=1.5 required=1.0 tests=FROM_HAS_MIXED_NUMS autolearn=no version=3.1.0 X-Spam-Level: * -- Erik Hollensbe [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Vac turning off / Server going insecure regularly
As far as i could find... no. Well, you can get the status externally by using something like qstat, or by sending an rcon command to the server. The easiest way is trough qstat, because you don't need a rcon password for it. I believe this is the same way the clients do it for displaying the VAC state in the favorites list. -W0kk3L- - Original Message - From: kama [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Monday, May 01, 2006 12:44 AM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Is there any other way than using status that will say if the server is secure or not? /Bjorn On Sun, 30 Apr 2006, W0kk3L wrote: Sure, I haven't included everything of the script, cause our script is mostly SQL based, so it wouldn't work on your servers. But here are the most important parts. I've stripped it down so it would work for one server. If you want it to work on more servers, just select them first, and place the code below in that loop. Here it comes: -- # # Script to check if the www.Crew-Nexus.net CS servers are secure. If not, restart them... # echo - Scanning servers... QSTAT_INFO=`qstat -timeout 5 -R -raw % -a2s ip:port|grep secure=1`; if [ $QSTAT_INFO != ]; then echo Server is secure else echo [$DATE] Server nex1cs is INSECURE...Rebooting this server! ./kkrcon.pl -a ip -p port -t new rconpassword say Server is VAC insecure... will restart now! sleep 3 echo Sending RCON QUIT to nex1cs ip:port) ./kkrcon.pl -a ip -p port -t new rconpassword quit fi echo - Done. --- Just place this in a sh file, and give it executable rights. And finally add it to a cronjob on hourly basis. As you can see it's very basic. But it does the trick :) -W0kk3L- - Original Message - From: FiRe [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 6:42 PM Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly Would you be kind enough to post the script W0kk3L? FiRe - Original Message - Subject: Re: [hlds_linux] Vac turning off / Server going insecure regularly From: W0kk3L [EMAIL PROTECTED] Date: Sun, 30 Apr 2006 08:47:09 +0200 To: hlds_linux@list.valvesoftware.com To: hlds_linux@list.valvesoftware.com Yep, the VAC servers are unreachable for quite a few times on daily basis. We have 20 VAC-based server running (CS and CS:S) and we've performed 21 VAC-insecure reboots yesterday on those server. But i have to say there was one major reboot of all 20 server at 0:00 hour.Most likely the VAC servers themself were being restarted. Usually we have about 4 or 5 VAC insecure reboots per day. What can you do against it? Well, nothing. It's not in our hands. It can be caused by VAC or by the connection from your server to VAC. In both ways, you can't prevent it. The only thing you can do about it is making the reboots automated, so the server are protected most of the time. On our servers i've created a script which reads the secure status by qstat. If that status is not 1 (e.g. 0 or not available), it will send a message to the server that it's going to reboot, and 10 secs later it sends an rcon quit. The runs every hour checking all VAC protected servers. Quite simple, but effective. -W0kk3L- - Original Message - From: [EMAIL PROTECTED] To: hlds_linux@list.valvesoftware.com Sent: Sunday, April 30, 2006 7:43 AM Subject: [hlds_linux] Vac turning off / Server going insecure regularly Greetings Has anyone of you experienced the Problem of your Server going insecure regulary after a while, so you got to restart it, so have Vac running again? If yes, what can I do against it? cheers SecurityFox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Vac turning off / Server going insecure regularly
Another Interesting Fact: It seems to happen more often to HL1 Servers, than HL2. I never see my HL2DM Server insecure. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
[hlds_linux] Vac turning off / Server going insecure regularly
Greetings Has anyone of you experienced the Problem of your Server going insecure regulary after a while, so you got to restart it, so have Vac running again? If yes, what can I do against it? cheers SecurityFox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux