Picon

New Crasher of ANY Source Dedicated server

Hi, friends!

Yesterday I wrote to linux <at> valvesoftware.com about the problem, but
have no answer.

I wont publish the full description of the problem as it is very
simple to realise and lets anyone at the server to crash it.

So all I wanna know now, who can I send the description in Valve to fix this?

Thanks,

Nikita Bulaev

Alfred Reynolds | 1 Feb 2011 07:43
Favicon

Re: New Crasher of ANY Source Dedicated server

Hey Nikita, we got your email today and have a fix in testing, it should be out in the next couple of days. Our
testing has shown your reported bug effects just L4D and L4D2 so those two will have the update.

- Alfred

> -----Original Message-----
> From: hlds_linux-bounces <at> list.valvesoftware.com [mailto:hlds_linux-
> bounces <at> list.valvesoftware.com] On Behalf Of ?????? ?????? [Nikita
> Bulaev]
> Sent: Monday, January 31, 2011 10:19 PM
> To: hlds_linux <at> list.valvesoftware.com
> Subject: [hlds_linux] New Crasher of ANY Source Dedicated server
> 
> Hi, friends!
> 
> Yesterday I wrote to linux <at> valvesoftware.com about the problem, but
> have no answer.
> 
> I wont publish the full description of the problem as it is very
> simple to realise and lets anyone at the server to crash it.
> 
> So all I wanna know now, who can I send the description in Valve to fix
> this?
> 
> 
> Thanks,
> 
> Nikita Bulaev
> 
> _______________________________________________
(Continue reading)

Björn Rohlén | 1 Feb 2011 07:55
Picon

Re: Building a daemon

Or, you could just use netcat, open port, set logaddressthen read the logs
as any other without doing the socketstuff yourself. Worked very well when
we did the first pickup/gather-bot.

-TheG

On Tue, Feb 1, 2011 at 12:40 AM, doc <drgamez <at> gmail.com> wrote:

> Not to turn this into programming chat but Python as a language is
> pretty simple to pick up. If you've learned the atrocities of PHP then
> it should be a walk in the park.
>
> On Mon, Jan 31, 2011 at 2:51 PM, Bajdechi "Nightbox" Alexandru
> <alexandrualexandu <at> gmail.com> wrote:
> > I've gussed PHP will have to run as a stand alone procces. The only
> problem
> > with Python is that I find it complicated to learn.
> >
> > 2011/1/31 frostschutz <frostschutz <at> metamorpher.de>
> >
> >> On Mon, Jan 31, 2011 at 10:41:56PM +0200, Bajdechi "Nightbox" Alexandru
> >> wrote:
> >> > I would like to build a daemon for logaddress (preferably) in PHP,
> does
> >> > anyone know a guide/basic infos/example about this ?
> >>
> >> PHP would have to run as a stand alone process (not webserver)
> >> because you need a persistent socket to listen to the incoming
> >> UDP packets.
> >>
(Continue reading)

Saul Rennison | 1 Feb 2011 09:09
Picon

Re: New Crasher of ANY Source Dedicated server

Alfred while you're updating L4D engines, do you mind adding the
"Improved handling of queries" fix in there, too?

Thanks! :)

On Tuesday, 1 February 2011, Alfred Reynolds <Alfred <at> valvesoftware.com> wrote:
> Hey Nikita, we got your email today and have a fix in testing, it should be out in the next couple of days. Our
testing has shown your reported bug effects just L4D and L4D2 so those two will have the update.
>
> - Alfred
>
>> -----Original Message-----
>> From: hlds_linux-bounces <at> list.valvesoftware.com [mailto:hlds_linux-
>> bounces <at> list.valvesoftware.com] On Behalf Of ?????? ?????? [Nikita
>> Bulaev]
>> Sent: Monday, January 31, 2011 10:19 PM
>> To: hlds_linux <at> list.valvesoftware.com
>> Subject: [hlds_linux] New Crasher of ANY Source Dedicated server
>>
>> Hi, friends!
>>
>> Yesterday I wrote to linux <at> valvesoftware.com about the problem, but
>> have no answer.
>>
>> I wont publish the full description of the problem as it is very
>> simple to realise and lets anyone at the server to crash it.
>>
>> So all I wanna know now, who can I send the description in Valve to fix
>> this?
>>
(Continue reading)

Picon

Re: New Crasher of ANY Source Dedicated server

Hi, Alfred!

That's really cool! Sorry for my impatience =)

Nikita

>
> Message: 7
> Date: Tue, 1 Feb 2011 06:43:45 +0000
> From: Alfred Reynolds <Alfred <at> valvesoftware.com>
> Subject: Re: [hlds_linux] New Crasher of ANY Source Dedicated server
> To: "hlds_linux <at> list.valvesoftware.com"
>        <hlds_linux <at> list.valvesoftware.com>
> Message-ID:
>        <256AD3F8B3A8AE48BB2BB92584D7C222C848C2 <at> exchange10.valvesoftware.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hey Nikita, we got your email today and have a fix in testing, it should be out in the next couple of days. Our
testing has shown your reported bug effects just L4D and L4D2 so those two will have the update.
>
> - Alfred
>
>> -----Original Message-----
>> From: hlds_linux-bounces <at> list.valvesoftware.com [mailto:hlds_linux-
>> bounces <at> list.valvesoftware.com] On Behalf Of ?????? ?????? [Nikita
>> Bulaev]
>> Sent: Monday, January 31, 2011 10:19 PM
>> To: hlds_linux <at> list.valvesoftware.com
>> Subject: [hlds_linux] New Crasher of ANY Source Dedicated server
>>
(Continue reading)

Eric Riemers | 1 Feb 2011 11:00
Picon
Gravatar

Re: Building a daemon


Or just take a peek at the code from hlxce, perl daemon.

On Tue, 1 Feb 2011 07:55:08 +0100, Björn Rohlén <bjorn.rohlen <at> gmail.com>
wrote:
> Or, you could just use netcat, open port, set logaddressthen read the
logs
> as any other without doing the socketstuff yourself. Worked very well
when
> we did the first pickup/gather-bot.
> 
> -TheG
> 
> On Tue, Feb 1, 2011 at 12:40 AM, doc <drgamez <at> gmail.com> wrote:
> 
>> Not to turn this into programming chat but Python as a language is
>> pretty simple to pick up. If you've learned the atrocities of PHP then
>> it should be a walk in the park.
>>
>> On Mon, Jan 31, 2011 at 2:51 PM, Bajdechi "Nightbox" Alexandru
>> <alexandrualexandu <at> gmail.com> wrote:
>> > I've gussed PHP will have to run as a stand alone procces. The only
>> problem
>> > with Python is that I find it complicated to learn.
>> >
>> > 2011/1/31 frostschutz <frostschutz <at> metamorpher.de>
>> >
>> >> On Mon, Jan 31, 2011 at 10:41:56PM +0200, Bajdechi "Nightbox"
>> >> Alexandru
>> >> wrote:
(Continue reading)

Alfred Reynolds | 1 Feb 2011 18:46
Favicon

Re: New Crasher of ANY Source Dedicated server

Yup, those changes are merging across also.

> -----Original Message-----
> From: hlds_linux-bounces <at> list.valvesoftware.com [mailto:hlds_linux-
> bounces <at> list.valvesoftware.com] On Behalf Of Saul Rennison
> Sent: Tuesday, February 01, 2011 12:09 AM
> To: Half-Life dedicated Linux server mailing list
> Subject: Re: [hlds_linux] New Crasher of ANY Source Dedicated server
> 
> Alfred while you're updating L4D engines, do you mind adding the
> "Improved handling of queries" fix in there, too?
> 
> Thanks! :)
> 
> On Tuesday, 1 February 2011, Alfred Reynolds <Alfred <at> valvesoftware.com>
> wrote:
> > Hey Nikita, we got your email today and have a fix in testing, it
> should be out in the next couple of days. Our testing has shown your
> reported bug effects just L4D and L4D2 so those two will have the
> update.
> >
> > - Alfred
> >
> >> -----Original Message-----
> >> From: hlds_linux-bounces <at> list.valvesoftware.com [mailto:hlds_linux-
> >> bounces <at> list.valvesoftware.com] On Behalf Of ?????? ?????? [Nikita
> >> Bulaev]
> >> Sent: Monday, January 31, 2011 10:19 PM
> >> To: hlds_linux <at> list.valvesoftware.com
> >> Subject: [hlds_linux] New Crasher of ANY Source Dedicated server
(Continue reading)

Andre Müller | 1 Feb 2011 20:31

Re: Building a daemon

I've used Python to program a WarAdmin-Daemon. The daemon get the logs
via UDP and it sends on diffrent chatcommands commands via rcon
(SRCDS.py). For easy configure i'm using the built in ConfigParser.

Here the Class for geting the Logs:

###
class UDPLogReader:
    import socket
    prefix = '\xff\xff\xff\xff\x52'
    def __init__(self, host, port, server_ip, server_port):
            self.source_ip = server_ip
            self.source_port = server_port
            self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
            self.socket.bind((host,port))

    def __iter__(self):
        with closing(self.socket):
            while True:
                data, addr = self.socket.recvfrom(1024)
                if addr == (self.source_ip, self.source_port) and
data.startswith(self.prefix):
                    try:
                        output =
data[len(self.prefix):].rstrip('\n\x00').decode('utf-8', 'replace')
                        yield output
                    except UnicodeDecodeError:
                        pass

    def __del__(self):
(Continue reading)

frostschutz | 2 Feb 2011 00:09
Picon
Gravatar

Re: Building a daemon

On Tue, Feb 01, 2011 at 08:31:22PM +0100, Andre Müller wrote:
> I've used Python to program a WarAdmin-Daemon. The daemon get the logs
> via UDP and it sends on diffrent chatcommands commands via rcon
> (SRCDS.py). For easy configure i'm using the built in ConfigParser.

That's what I do too (except using my own library - SRCDS.py can choke 
on RCON sometimes). I love this approach, you can do a lot of things 
on your server without depending on plugins. And you can do things 
plugins can't do, like automatically downloading and installing maps 
that are mentioned in the chat... ;)

> Python is a powerful and easy language.
> The regex was a little bit heavy. Try out "The Regex Coach":
> http://weitz.de/regex-coach/

Some log related regexps in here:

https://github.com/frostschutz/SourceLib/blob/master/SourceLog.py

Regards
frostschutz

Eric Riemers | 2 Feb 2011 01:33
Picon
Gravatar

l4d2 update

Hi,

Seems a update is out for l4d2, don't know what is new though. Might be that
fixed, but it's a required update.

Eric


Gmane