Suddenly Segfaulting Client

A place for people to post strange occurances that could be potential bugs.

Moderator: Board moderators

cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

Thing is, the hostname can be set to anything, I think it is possible to target a DoS this way if Bort's suggestion were implemented, set the hostname on your server to crossfire.metalforge.net...
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

Then match one server and ip with previous entries. IF they dont match, dont let it be replaced. If they do, it updates to that server name. And if you needed to change the ip, change the hostname.
lordyoukai.DA
My wraith is cooler than your dragon.
Casper
Senior member
Posts: 288
Joined: Fri Aug 06, 2004 7:17 pm
Location: UK/Ukraine

Post by Casper »

This will lock out servers with frequently changing IPs. Why not just drop the need for DNS, and asume that the server sent the packet (therefore the originating IP of the packet is the server address), and the URL can say anything, so the Metalforge one can say "Metalforge CVS server" and cat2 one can say "MLAB's test server".
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

That is what is done atm, triv. therefore it does not fix the problem....
Casper
Senior member
Posts: 288
Joined: Fri Aug 06, 2004 7:17 pm
Location: UK/Ukraine

Post by Casper »

I proposed that alongside only permitting one entry from a single IP and communicating kepalive packets. AFAIK that is not what is done currently. :P
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

This is the crucial point, bensnoodle kept fetching new IP adresses, he mangled his router config or something, cos he kept dropping and reconnecting /with a new ip adress/ every single time.

Look on the metaserver list, crossfire.real-time.com/metaserver and you will see that this is the case.
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

i would also suggest a new list order: each time a server reconnects, it get a place at bottem of the list. this should easily filter out unstable servers.
Bibendi ergo sum
or rather: sum ergo bibendi
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

better plan, servers get sorted alphabetically, with a custom alphabet which has B last and E second from last.
Casper
Senior member
Posts: 288
Joined: Fri Aug 06, 2004 7:17 pm
Location: UK/Ukraine

Post by Casper »

Better plan, servers get sorted in alphabetical order by number of clients connected to the server. That way when conecting you will press 1, 2, 3, maybe 4, but hardly ever more than 5.

Since new server always get 0 clients to start with they will be placed on the bottom of the list
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

better better plan, list of 'favourite' servers is displayed at startup, then full list is shown only on demand...
Post Reply