How would one go about doing this ?

As it does seem that, rebinding the socket on every mapchange, would get
rid of thep problem completely. Well not get rid of it, but skip over it

> Just make it retry binding the socket every X minutes or at map change.
>>From what I have seen, it happens almost every time when the server
> crashes.
>
> On Tue, 2004-12-14 at 15:02 -0600, hondaman wrote:
>> The RCON bug is reproducible by the whole world.  All except Valve.
>> Alfred said they cant/wont fix it because they cant/wont find it.
>>
>> Andy Hill wrote:
>>
>> >Hi albert, any chance on an update to this ? As also my source servers
>> keep
>> >losing the TCP connection, and only a restart will bring the rcon
>> working
>> >again.
>> >
>> >Which as you must understand is very frustrating for my self, and the
>> clans
>> >who have rented servers off me.
>> >
>> >Thanks
>> >
>> >Andy
>> >
>> >-----Original Message-----
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED] On Behalf Of Luca
>> Fabbro
>> >Sent: 02 December 2004 14:43
>> >To: [EMAIL PROTECTED]
>> >Subject: RE: [hlds_linux] RCON Problems with CS:S
>> >
>> >Seems that you're missing the rcon port
>> >
>> >rcon port now is TCP on port 27015 if you run the server on the
>> standard
>> >port
>> >
>> >you have opened only udp on that port
>> >
>> >Once you''ll open it I think that it will work (except for the problem
>> that
>> >sometimes it dies)
>> >
>> >At 04.34 02/12/2004, you wrote:
>> >
>> >
>> >>[ Converted text/html to text/plain ]
>> >>
>> >>My rcon commands were entered client side.   Also, I do use iptables.
>>  I
>> >>think I have all of the right ports open.   Here is my iptables file
>> which
>> >>defines the chains.   Does it look right?  Do I have the right ports
>> open?
>> >>BTW, I apologize for the ugly line wrapping my e-mail client seems to
>> do.
>> >>
>> >># Firewall configuration written by lokkit
>> >># Manual customization of this file is not recommended.
>> >># Note: ifup-post will punch the current nameservers through the
>> >>#       firewall; such entries will *not* be listed here.
>> >>*filter
>> >>:INPUT ACCEPT [0:0]
>> >>:FORWARD ACCEPT [0:0]
>> >>:OUTPUT ACCEPT [0:0]
>> >>:RH-Lokkit-0-50-INPUT - [0:0]
>> >>-A INPUT -j RH-Lokkit-0-50-INPUT
>> >>-A FORWARD -j RH-Lokkit-0-50-INPUT
>> >>
>> >># SSH
>> >>-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT
>> >>
>> >># Valve stuff - Since I've never seen it specified as input or output
>> I
>> >>
>> >>
>> >opened
>> >
>> >
>> >>it both ways
>> >>-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 1200 -d 0/0 -j ACCEPT
>> >>-A RH-Lokkit-0-50-INPUT -p udp -m udp --sport 1200 -d 0/0 -j ACCEPT
>> >>
>> >># Valve Stuff - Same here, opening incoming and outgoing on all of
>> these;
>> >>
>> >>
>> >both
>> >
>> >
>> >>tcp and udp
>> >>-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 27000:27015 -d 0/0 -j
>> ACCEPT
>> >>-A RH-Lokkit-0-50-INPUT -p udp -m udp --sport 27000:27015 -d 0/0 -j
>> ACCEPT
>> >>-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 27030:27039 --syn -j
>> ACCEPT
>> >>-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --sport 27030:27039 --syn -j
>> ACCEPT
>> >>
>> >># unknown
>> >>-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
>> >>
>> >># DNS PORT
>> >>-A RH-Lokkit-0-50-INPUT -p udp -m udp --sport 53 -d 0/0 -j ACCEPT
>> >>
>> >># I think this catches the rest and tosses it
>> >>-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --syn -j REJECT
>> >>-A RH-Lokkit-0-50-INPUT -p udp -m udp -j REJECT
>> >>COMMIT
>> >>
>> >>
>> >>
>> >>>Subject: RE: [hlds_linux] RCON Problems with CS:S
>> >>>Date: Wed, 1 Dec 2004 13:10:30 -0800
>> >>>From: "Alfred Reynolds"
>> >>>To:
>> >>>Reply-To: [EMAIL PROTECTED]
>> >>>
>> >>>Do you run iptables or similar on the machine? Looks like a firewall
>> >>>could be causing the problem (note that RCON is now sent via TCP).
>> Also
>> >>>you can't run RCON commands from the server console directly (only
>> from
>> >>>remote clients).
>> >>>
>> >>>- Alfred
>> >>>
>> >>>----Original Message----
>> >>>From: [EMAIL PROTECTED]
>> >>>[mailto:[EMAIL PROTECTED] On Behalf Of
>> >>>[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 10:35 AM To:
>> >>>[EMAIL PROTECTED] Subject: [hlds_linux] RCON Problems
>> >>>with CS:S
>> >>>
>> >>>
>> >>>
>> >>>>[ Converted text/html to text/plain ]
>> >>>>
>> >>>>I posted this in a different thread right before HL2DM was
>> >>>>announced/released,
>> >>>>so I have a feeling no one saw the other post. Alfred also said he
>> >>>>tends to
>> >>>>ignore messages beyond one or two responses....here goes nothing:
>> >>>>
>> >>>>---
>> >>>>
>> >>>>Rcon isn't working on my CS:S server. Here is my background info:
>> >>>>
>> >>>>- Restarting the server does not bring rcon back. It just plain
>> >>>>doesn't
>> >>>>work....never did.
>> >>>>- OS = Red Hat 9
>> >>>>- I get a "Unable to connect to remote server (my.ip.here:27015)"
>> >>>>error message
>> >>>>- /home/myuser/srcds_l/cstrike/cfg/server.cfg contains the following
>> >>>>line:
>> >>>>rcon_password "mypassword"
>> >>>>
>> >>>>- Here is my netstat -nlp: tcp 0 0 my.ip.here::27015
>> >>>>0.0.0.0:* LISTEN 22305/srcds_i686
>> >>>>
>> >>>>- Here is my server launch line: screen -R srcds -A
>> >>>>/home/myuser/srcds_l/srcds_run -game cstrike +map de_dust +max
>> >>>>players 24 +ip my.ip.here
>> >>>>
>> >>>>- Here is what I'm typing in the console to try to get it to work:
>> >>>>rcon_address my.ip.here:27015 ; rcon_password "mypassword" ; rcon
>> >>>>say "Hello world"
>> >>>>
>> >>>>Thanks in advance on this one, it's driving me nuts.
>> >>>>
>> >>>>Sorry if the double post annoyed anyone
>> >>>>
>> >>>>Snewo
>> >>>>
>> >>>>
>> >>--
>> >>
>> >>_______________________________________________
>> >>The coolest e-mail address on the web and it's FREE! Sign-up[1] today
>> for
>> >>
>> >>
>> >Beer
>> >
>> >
>> >>Mail @ beer.com.
>> >>
>> >>===References:===
>> >>  1. http://webmail.beer.com
>> >>
>> >>_______________________________________________
>> >>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
>> >
>> >
>> >---
>> >Incoming mail is certified Virus Free.
>> >Checked by AVG anti-virus system (http://www.grisoft.com).
>> >Version: 6.0.806 / Virus Database: 548 - Release Date: 05/12/2004
>> >
>> >
>> >---
>> >Outgoing mail is certified Virus Free.
>> >Checked by AVG anti-virus system (http://www.grisoft.com).
>> >Version: 6.0.809 / Virus Database: 551 - Release Date: 09/12/2004
>> >
>> >
>> >
>> >_______________________________________________
>> >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
> --
> Marcelo de Paula Bezerra <[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

Reply via email to