I've not tested it. You will need to access the firewall (iptables)
and put this rule.

iptables -A INPUT -p udp --dport YOUR_SERVER_PORT -m string
--hex-string "|FF FF FF FF 54 53 6F 75 72 63 65 20 45 6E 67 69 6E 65
20 51 75 65 72 79 00|" --algo bm -j DROP

Doc on https://developer.valvesoftware.com/wiki/Server_queries

2012/12/5 Sachin Sud <[email protected]>:
> Thanks
> How can i block queries of A2A_PING,A2S_INFO,A2S_PLAYER,A2S_RULES
>
> Need some insight on this.
>
> Thanks,
> Sachin
>
> On Wed, Dec 5, 2012 at 6:52 PM, Vitor F. - Killall <[email protected]> wrote:
>
>> Use a firewall to block some
>> querys(A2A_PING,A2S_INFO,A2S_PLAYER,A2S_RULES), put a password on the
>> server, use sv_steamgroup_exclusive=1, add -nomaster to command line.
>>
>> I can't imagine a server more restrict than this .
>>
>>
>>
>> 2012/12/5 Marco Padovan <[email protected]>
>> >
>> > on tf2 in the past we could add to the config file:
>> >
>> >
>> >     hideserver 1
>> >
>> >
>> > that will also disable the a2s info replies... is that working on other
>> > games too?
>> >
>> > Il 05/12/2012 11.36, LouLouBizou ha scritto:
>> > > simply add -nomaster to command line ....
>> > >
>> > > 2012/12/5 Drogen Viech <[email protected]>
>> > >
>> > >> You could block the master servers ips so the server can not list
>> > >> itself in the first place - that would help a bit i presume?
>> > >>
>> > >> 2012/12/5 Bruno Garcia <[email protected]>:
>> > >>> I don't think you could HIDE the server ip address and still show up
>> in
>> > >> the
>> > >>> browser.
>> > >>> Perhaps there's a way of not being "published" to the browsers.
>> > >>>
>> > >>> I understand the DDoS attacks, but in the end, you could block them
>> > >> calling
>> > >>> the ISP, they have the necessary tools for doing so.
>> > >>>
>> > >>>
>> > >>> On Wed, Dec 5, 2012 at 4:01 AM, Sachin Sud <[email protected]>
>> wrote:
>> > >>>
>> > >>>> Hi,
>> > >>>>
>> > >>>> We want to setup our left4dead2 servers in such a way , so that if a
>> > >> player
>> > >>>> joins our server and another player wants to see view player info it
>> > >> shows
>> > >>>> the server info as blank.
>> > >>>> It means user can only come to server using ip and port and using
>> the
>> > >>>> connect command from console.
>> > >>>>
>> > >>>> We basically want
>> > >>>> 1) Server should not appear in server list or favourites (If that is
>> > >> poss
>> > >>>> isble)
>> > >>>> 2) If a user right click on another user , the server info should
>> > >> appear as
>> > >>>> blank.
>> > >>>>
>> > >>>> The reason why we want to do because in India there is only 1
>> left4dead2
>> > >>>> server and its so prone to ddos attacks that we cannot even play.
>> > >>>>
>> > >>>> So we would like to server completely private and hidden as much as
>> > >>>> possible.
>> > >>>>
>> > >>>> Some forums has suggested using a2s info but i could not find
>> anything
>> > >> for
>> > >>>> left4dead2
>> > >>>>
>> > >>>> Any help on the same would be great
>> > >>>>
>> > >>>> We can block any port or do anything in server side to achieve this
>> or
>> > >> get
>> > >>>> this implemented.
>> > >>>>
>> > >>>> Thanks,
>> > >>>> Sachin
>> > >>>> _______________________________________________
>> > >>>> To unsubscribe, edit your list preferences, or view the list
>> archives,
>> > >>>> please visit:
>> > >>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>> > >>>>
>> > >>> _______________________________________________
>> > >>> To unsubscribe, edit your list preferences, or view the list
>> archives,
>> > >> please visit:
>> > >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>> > >> _______________________________________________
>> > >> To unsubscribe, edit your list preferences, or view the list archives,
>> > >> please visit:
>> > >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>> > >>
>> > > _______________________________________________
>> > > To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>> >
>> > _______________________________________________
>> > To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to