Search found 12 matches

by solidDoWant
Sat Jul 02, 2016 5:34 am
Forum: Resolved Problems and Bugs
Topic: [Network Protocol] Connection brokering potential DDOS
Replies: 12
Views: 6922

Re: [Network Protocol] Connection brokering potential DDOS

Yea, their protocol repeats a lot of what the TCP protocol uses. However this isn't necessarily a bad thing. They have, after all, cut down on the number of packets and number of bytes being sent between the client and server (compared to if they used TCP). The protocol just needs some more testing/...
by solidDoWant
Sat Jul 02, 2016 2:58 am
Forum: Resolved Problems and Bugs
Topic: [Network Protocol] Connection brokering potential DDOS
Replies: 12
Views: 6922

Re: [Network Protocol] Connection brokering potential DDOS

Yep. The TCP handshake ( https://en.wikipedia.org/wiki/Handshaking ) would be extremely easy to implement and would solve the whole issue. Just need to get a dev to actually read this.
by solidDoWant
Fri Jul 01, 2016 6:18 pm
Forum: Resolved Problems and Bugs
Topic: [Network Protocol] Connection brokering potential DDOS
Replies: 12
Views: 6922

Re: [Network Protocol] Connection brokering potential DDOS

Possible solution would be to establish a handshake with the client instead of assuming it is good. Client sends a single packet out, server sends a single packet in reply, client replies to that packet, server starts sending tons of packets to the client. If the client isn't an actual Factorio gam...
by solidDoWant
Thu Jun 30, 2016 4:12 pm
Forum: Resolved Problems and Bugs
Topic: [Network Protocol] Connection brokering potential DDOS
Replies: 12
Views: 6922

Re: [Network Protocol] Connection brokering potential DDOS

Thanks ssilk. I can provide more information, write a script to do this, or test to see if the bug still exists in .13 if you like.
by solidDoWant
Thu Jun 09, 2016 5:06 pm
Forum: Resolved Problems and Bugs
Topic: [0.12.33] Client hangs on server connect
Replies: 5
Views: 1949

Re: [0.12.33] Client hangs on server connect

Yep, thats exactly it.
by solidDoWant
Thu Jun 09, 2016 1:50 am
Forum: Resolved Problems and Bugs
Topic: [0.12.33] Client hangs on server connect
Replies: 5
Views: 1949

Re: [0.12.33][Pending] Client hangs on server connect

I wrote my own program to act as the server (was easier than writing a program to drop packets). Would you like me to post my code for that? I haven't copied an pasted anything from Factorio's source code but it contains details on how your network protocol works and how the game in general works. T...
by solidDoWant
Tue Jun 07, 2016 10:18 pm
Forum: Resolved Problems and Bugs
Topic: [0.12.33] Client hangs on server connect
Replies: 5
Views: 1949

[0.12.33] Client hangs on server connect

The client will hang (as in sit an wait, not doing anything) after a connection to the server is established (that is, once a ConnectionAccept message has been received). If no heartbeat messages or transferblock messages are sent, the client will sit and wait for information from the server indefin...
by solidDoWant
Tue Jun 07, 2016 10:12 pm
Forum: Not a bug
Topic: [0.12.*] [Pending]ApplicationVersion class not deserializing
Replies: 2
Views: 1279

Re: [0.12.*] [Pending]ApplicationVersion class not deserializing

It doesn't cause any actual issues, but if the platform string is always going to be set to "win32", then there is no point in sending the platform name.
by solidDoWant
Fri Jun 03, 2016 12:14 am
Forum: Ideas and Suggestions
Topic: [Network Protocol] Reduce the size of OP codes
Replies: 2
Views: 1162

Re: [Network Protocol] Reduce the size of OP codes

As far as I can tell the session magic isn't currently being used. When a packet is received with a bad session magic, the server logs and error, then proceeds to process the packet. Assuming this isn't a bug, there is no need for the session magic. The ConnectionRequestID should be sufficient to un...
by solidDoWant
Fri Jun 03, 2016 12:11 am
Forum: Resolved Problems and Bugs
Topic: [Network Protocol] Connection brokering potential DDOS
Replies: 12
Views: 6922

[Network Protocol] Connection brokering potential DDOS

As of right now, when a client sends a connection request to a server, the server sends a large number of packets back to the client. Due to the connection being UDP, this could potentially be used to perform a DDOS amplification attack. Here's how it works: 1. An attacker sends a connection request...
by solidDoWant
Thu Jun 02, 2016 11:38 pm
Forum: Ideas and Suggestions
Topic: [Network Protocol] Reduce the size of OP codes
Replies: 2
Views: 1162

[Network Protocol] Reduce the size of OP codes

The OP code that starts each network message it two bytes long. There is no need for this; factorio will never have 256 different OP codes, let alone 65536. One byte is plenty.
by solidDoWant
Thu Jun 02, 2016 6:33 pm
Forum: Not a bug
Topic: [0.12.*] [Pending]ApplicationVersion class not deserializing
Replies: 2
Views: 1279

[0.12.*] [Pending]ApplicationVersion class not deserializing

On all (recent?) 0.12.* versions the ApplicationVerison deserialization constructor isn't properly deserializing the platform string. The string is being transmitted properly, however, the "platform" variable is always being set to "win32". I've tested this on a few versions betw...

Go to advanced search