summaryrefslogtreecommitdiff
path: root/modules/enet
AgeCommit message (Collapse)Author
2016-10-15modules: Clone env in each moduleRémi Verschelde
This allows to pass include paths and flags only to a given thirdparty library, thus preventing conflicts between their files (e.g. between opus and openssl which both provide modes.h. This also has the nice effect of making the compilation command smaller for each module as it no longer related to all other modules, only the final linking brings them together. This however requires adding manually the ogg include path in opus and vorbis when building against the builtin ogg, since it is no longer in the global env. Also simplified template 'thirdparty_<module>_sources' to 'thirdparty_sources'. "Core" modules like cscript, gdscript, gridmap, ik and virtual_script still use the main env_modules, but it could be changed if need be.
2016-10-15enet: Split enet thirdparty files and allow unbundlingRémi Verschelde
Building against shared libraries only implemented for Linux X11 so far. TODO: Document Godot's modifications of upstream enet.
2016-10-09Merge pull request #6741 from Faless/network_no_spoofRémi Verschelde
Better checks for Multiplayer API, prevent packet source spoofing.
2016-10-09Merge pull request #6657 from Faless/multi_channel_rpcRémi Verschelde
Use 2 different ENet channels for reliable/unreliable packets
2016-10-07Better checks for Multiplayer API, prevent packet source spoofing.Fabio Alessandrelli
Fixes the following problems. A malicious client was able to contact another peer faking its identity (even looking like he was the server). A malicious client was able to force other client disconnections by sending bogus system packets to the server.
2016-09-30Fix possible buffer overflow in NetworkedMultiplayerENetFabio Alessandrelli
NetworkedMultiplayerENet::get_packet was reporting the wrong size for the packet buffer exposing a potential buffer overflow in case of malformed/malicious packets
2016-09-30Use 2 different ENet channels for reliable/unreliable packetsFabio Alessandrelli
This avoids stalling other sequenced but unreliable packets (i.e. UNRELIABLE_ORDERED) when sending RELIABLE packets.
2016-09-03Patch thirdy-party libraries to build for WinRTGeorge Marques
- Patch enet code. - Patch OpenSSL code and add shims for unavailable API. - Add extra definition header for Freetype.
2016-08-27add NetworkedMultiplayerENet::set_bind_ipHubert Jarosz
which allows ENet to bind on custom IP.
2016-08-22enet: Fix build on android and iphone platformsRémi Verschelde
Fixes #6156.
2016-08-22-High Level protocol optimization (should be smaller)Juan Linietsky
-Ability to set compression to ENet packets (check API) -Fixed small bug in StringDB that lead to duplicate empty strings -Added a new class, StreamPeerBuffer, useful to create your own tightly packed data
2016-08-19Changed API to use sequenced packets for UDP (drop old)Juan Linietsky
2016-08-20ENet windows compilation fixes.Juan Linietsky
For reference, when you include a Windows header (be it directly windows.h or something that includes it) put it at the end of the includes. it seems I forgot.
2016-08-19Many fixes to networking, demo should work nowJuan Linietsky
2016-08-19Brand new networked multiplayerJuan Linietsky
2016-08-14Added high level networked multiplayer to Godot.Juan Linietsky
It's complete, but absolutely and completely untested, undocumented and NSFW. Have fun :-)
2016-08-14Missing some bits, and added connection status.Juan Linietsky
2016-08-14-Added an ENet implementation for NetworkedMultiplayerPeer for "a bit higher ↵Juan Linietsky
level" networking.