Closed

Creating a "fake" server

I have a gaming server, HLDS. When people add it to favorites, it adds the IP instead of the DNS name (software related). I have moved the server to a paid host instead of home, but i want the regular people to know about it so i am keeping the old server with a plugin that redirects to the new one, where they are being told to delete and readd the DNS name in favorites.

The use of resources is pointless and I've used wireshark to analyse the packets sent and received by the server. They seem to be in a pretty easy pattern. The protocol is UDP.

I've been pointed by some to try to make it with python as it would be the easiest way. I currently have knowledge in PHP scripting up to OOP, but i failed when trying to do it with twisted. I have no chance of accomplishing this but to try to hire someone to help me out, due to time constraints, college exams.

From what i see this how the game server plays out:

1. Server start.

2. Adding the two Master server lists (setmaster)

0000 00 15 17 8f c9 71 00 e0 4c 57 ea f8 08 00 45 00 .....q.. LW....E.

0010 00 1e 31 3d 00 00 80 11 0e da 5b c9 c2 30 45 1c ..1=.... ..[..0E.

0020 97 a2 69 e8 69 85 00 0a e3 b4 4d ff ..i.i... ..M.

0000 00 15 17 8f c9 71 00 e0 4c 57 ea f8 08 00 45 00 .....q.. LW....E.

0010 00 1e 31 3e 00 00 80 11 65 35 5b c9 c2 30 48 a5 ..1>.... e5[..0H.

0020 3d bd 69 e8 69 82 00 0a 3a 14 4d ff =.i.i... :.M.

M. being the data sent

3. Reply from one of the master server lists

0000 00 e0 4c 57 ea f8 00 15 17 8f c9 71 08 00 45 00 ..LW.... ...q..E.

0010 00 26 42 4b 00 00 70 11 0d c4 45 1c 97 a2 5b c9 .&BK..p. ..E...[.

0020 c2 30 69 85 69 e8 00 12 d2 5d ff ff ff ff 4e 0a .0i.i... .]....N.

0030 cc 34 45 07 00 00 00 00 00 00 00 00 .4E..... ....

Data:

ff ff ff ff 4e 0a cc 34 45 07

4. Send to the master serverlist server information, twice

0000 00 15 17 8f c9 71 00 e0 4c 57 ea f8 08 00 45 00 .....q.. LW....E.

0010 00 f3 31 47 00 00 80 11 0d fb 5b c9 c2 30 45 1c ..1G.... ..[..0E.

0020 97 a2 69 e8 69 85 00 df da 3d 30 0a 5c 70 72 6f ..i.i... .=0.\pro

0030 74 6f 63 6f 6c 5c 37 5c 63 68 61 6c 6c 65 6e 67 tocol\7\ challeng

0040 65 5c 31 32 31 39 37 36 30 31 32 5c 70 6c 61 79 e\121976 012\play

0050 65 72 73 5c 30 5c 6d 61 78 5c 32 30 5c 62 6f 74 ers\0\ma x\20\bot

0060 73 5c 30 5c 67 61 6d 65 64 69 72 5c 63 73 74 72 s\0\game dir\cstr

0070 69 6b 65 5c 6d 61 70 5c 64 65 5f 64 75 73 74 32 ike\map\ de_dust2

0080 5c 70 61 73 73 77 6f 72 64 5c 30 5c 6f 73 5c 77 \passwor d\0\os\w

0090 5c 6c 61 6e 5c 30 5c 72 65 67 69 6f 6e 5c 32 35 \lan\0\r egion\25

00a0 35 5c 67 61 6d 65 70 6f 72 74 5c 32 37 31 31 32 5\gamepo rt\27112

00b0 5c 73 70 65 63 70 6f 72 74 5c 30 5c 64 65 64 69 \specpor t\0\dedi

00c0 63 61 74 65 64 5c 31 5c 61 70 70 69 64 5c 31 30 cated\1\ appid\10

00d0 5c 74 79 70 65 5c 64 5c 73 65 63 75 72 65 5c 31 \type\d\ secure\1

00e0 5c 76 65 72 73 69 6f 6e 5c 31 2e 31 2e 32 2e 36 \version \1.1.2.6

00f0 5c 70 72 6f 64 75 63 74 5c 63 73 74 72 69 6b 65 \product \cstrike

0100 0a .

5. Get queries from clients, example:

0000 00 e0 4c 57 ea f8 00 15 17 8f c9 71 08 00 45 00 ..LW.... ...q..E.

0010 00 35 4c 5e 00 00 75 11 43 4b 5f b3 38 62 5b c9 .5L^..u. [url removed, login to view][.

0020 c2 30 d2 ad 69 e8 00 21 4e 4d ff ff ff ff 54 53 .0..i..! NM....TS

0030 6f 75 72 63 65 20 45 6e 67 69 6e 65 20 51 75 65 ource En gine Que

0040 72 79 00 ry.

Data:

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

....TSource Engine Query.

6. Send server information to clients

7. Ultimately send the packet to the client so he will be redirected, if he connects

I am located in Romania and my budget is pretty slim. I would also be interested in learning how to do it if you have patience and time.

I will pay through wire transfer

Thank you.

Skills: C Programming, Java, Python

See more: fake server, fake server hlds python, fake server hlds, hlds fake server, fake udp server python, server fake, fake server name, python get type, python learning, new hire packets, new hire packet, my wire, learning resources, java learning, want make home map, get dns server, hire wire, hire resources, hire host, gaming hire, df 15, college hire, client get python, 1e 7, tsource engine query wireshark

About the Employer:
( 0 reviews ) Bucharest, Romania

Project ID: #601892

4 freelancers are bidding on average $145 for this job

scyldinga

Sounds interesting, good choice with twisted. We probably can do the learning bit as remote pair programming sessions.

$200 USD in 15 days
(1 Review)
3.1
virgoasc91

hi, let's start. check PM now.

$200 USD in 10 days
(1 Review)
1.5
dansergiu

Hello, I am a Romanian programmer myself. What you want is a Proxy for the server which you'll host locally (to keep the IP). Specifically what packets are exchanged is rather irrelevant at this point since writing a g More

$30 USD in 3 days
(0 Reviews)
0.0
greatwebexpert

GreatWebExpert is a professional company that supplies services of web design and programming. We have good work experience of delivering projects on time and will be able to provide the facilities of Day-Night working More

$150 USD in 7 days
(0 Reviews)
0.0