[16.5] Bug/exploit Linux Headless Server Ubuntu 16.04

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Aus_Karlos
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat Mar 25, 2017 5:18 am
Contact:

[16.5] Bug/exploit Linux Headless Server Ubuntu 16.04

Post by Aus_Karlos »

A player attempted to join my server and the server crashed out with this in the logs

Code: Select all

  19.276 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.318 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.338 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.363 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.402 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.444 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.465 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.507 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.527 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.569 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.612 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.636 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.678 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.699 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.741 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.763 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.808 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.829 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.875 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender
  19.896 Info UnparsedNetworkMessage.cpp:87: Invalid packet (type ClientToServerHeartbeat) received from 1.27.89.29:38794: unknown sender

Start of new log....
   0.000 2017-12-18 21:23:32; Factorio 0.16.5 (build 34419, linux64, headless)
   0.025 Operating system: Linux (Ubuntu 16.04)
   0.025 Program arguments: "/home/factorio/factorio/bin/x64/factorio" "--start-server-load-latest" "--server-settings" "home/factorio/factorio/data/server-settings.json" 
   0.025 Read data path: /home/factorio/factorio/data
   0.025 Write data path: /home/factorio/factorio [31766/37669MB]
   0.025 Binaries path: /home/factorio/factorio/bin
   0.031 System info: [CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 4 cores, RAM: 3950MB]
   0.031 Running in headless mode
   0.033 Loading mod core 0.0.0 (data.lua)
   0.039 Loading mod base 0.16.5 (data.lua)
   0.113 Loading mod base 0.16.5 (data-updates.lua)
   0.140 Checksum for core: 3081778054
   0.140 Checksum of base: 1679652734
   0.228 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1513603412
   0.228 Info PlayerData.cpp:72: Cloud player-data.json unavailable
   0.229 Custom inputs active: 0
   0.229 Info Updater.cpp:750: Downloading https://updater.factorio.com/get-available-versions?username=Aus_Karlos&token=<private>&apiVersion=2
   5.894 0 packages available to download (experimental updates disabled).
   5.897 Factorio initialised
   5.897 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-login?api_version=2
   8.947 Info HttpSharedState.cpp:127: Status code: 200
   8.947 Info AuthServerConnector.cpp:172: Got token from auth server for username(Aus_Karlos).
   8.948 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   8.948 Info ServerMultiplayerManager.cpp:693: mapTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
   8.948 Info ServerMultiplayerManager.cpp:693: mapTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
   8.948 Loading map /home/factorio/factorio/saves/_autosave1.zip: 58284964 bytes.
   8.956 Loading Level.dat: 153947218 bytes.
   8.961 Info Scenario.cpp:135: Map version 0.16.5-0
It spams for a while.

The Factorio service crashed and restarted from the last save.
I've added that ip to my banlist.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14778
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.5] Bug/exploit Linux Headless Server Ubuntu 16.04

Post by Rseding91 »

Thanks for the report but I'm not seeing any crash in the log you've pasted?
If you want to get ahold of me I'm almost always on Discord.
Aus_Karlos
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat Mar 25, 2017 5:18 am
Contact:

Re: [16.5] Bug/exploit Linux Headless Server Ubuntu 16.04

Post by Aus_Karlos »

The log ended at 19.896. The server then restarted a created a new "factrorio-current.log". Unfortunately the server didn't go through the usual shutdown procedure like closing the socket then saying goodbye, the log just stops.
Post Reply

Return to “Pending”