Turbofloat server - unable to connectAnswered

I have installed Turbofloat server on a local machine. It's running as a service according to Task Manager, and netstat is showing it's LISTENING on port 13.

I am, however, unable to connect via telnet (using putty.exe). I get "Connection closed by remote host".

I have tried disabling the Windows firewall, but that does not seem to help.I have clicked on "Allow another app" in the "Allow apps to communicate through Windows Firewall". I do not see TurboFloatServer in the list, but when I go to add it - I get told it's already in the list of exceptions.

Any further suggestions? The problem is the software is not activating against the server; but presumably telnet to the port TurboFloatServer is running on should work - and that it's not working is presumably why the software will not activate.

Just realised there are turbofloat logs. These are the errors I get. One type is from using telnet, the other from using our app.

2017-06-23, 10:47:32 <warning>: The sent data exceeds the maximum allowed data. Request has been rejected. (Data came from a computer at ::1)2017-06-23, 10:54:54 <notification>: New connection from IP: ::12017-06-23, 10:54:54 <warning>: The sent data exceeds the maximum allowed data. Request has been rejected. (Data came from a computer at ::1)2017-06-23, 10:55:55 <notification>: New connection from IP: ::ffff:127.0.0.12017-06-23, 10:55:55 <warning>: The sent data exceeds the maximum allowed data. Request has been rejected. (Data came from a computer at ::ffff:127.0.0.1)2017-06-23, 10:56:16 <notification>: New connection from IP: ::ffff:127.0.0.12017-06-23, 10:56:16 <warning>: The sent data exceeds the maximum allowed data. Request has been rejected. (Data came from a computer at ::ffff:127.0.0.1)

TELNET should not work (TELNET is a protocol, the TurboFloat Server encounters it, realizes it's not a valid message from a TurboFloat Library, and closes the connection immediately). This is all by-design.

You don't want your TurboFloat Server instance listening to random protocols and wasting resources keeping connections open that it knows are invalid.

The log is telling you that the connections were successful, just that the data was corrupt and thus rejected.

Regarding your actual problem (not being able to connect with the TurboFloat Library), make sure you open your firewall, and if you're contacting the TFS instance from a different network make sure the correct ports are open on the firewall.

Next, make sure you're always using the latest version of the TurboFloat Library and TurboFloat Server.

Hi Wyatt,

Thanks - ok.

I've tried disabling the Windows firewall as per original message - it made no difference. It's on the same network (same machine!).

This is working for the developer just fine, but is not for me. Can we make turboactive log in a more verbose mode to see what data it's getting (and thus what is wrong) as otherwise we've got no idea how to debug this.

You might try a higher port. Some OSes (with certain configurations) treat "low" port numbers as special and protected. So, choose a higher number, call TF_SaveServer() with the correct address and new port, and then try again.

Hi Wyatt,

We are seeing the same error the original poster of this thread is seeing.

<warning>: The sent data exceeds the maximum allowed data. Request has been rejected. (Data came from a computer at ::ffff:xxx.xxx.xxx.xx)

The port is 13, and no other service is running on that port.   The machine is running Linux, and the following are all the ports that are “listening”.  You can see port 13 is assigned to TFS.  

sudo lsof -i -P -n | grep LISTEN
systemd-r   394 systemd-resolve   13u  IPv4  20120      0t0  TCP 127.0.0.53:53 (LISTEN)
turbofloa   453            root    7u  IPv6  23255      0t0  TCP *:13 (LISTEN)
sshd        637            root    3u  IPv4  24006      0t0  TCP *:22 (LISTEN)
sshd        637            root    4u  IPv6  24017      0t0  TCP *:22 (LISTEN)

So, sometimes our app can lease the license, and other times it returns this error.  It's no immediately obvious to us why this is the case.

Is there a specification for the machine running TFS?  How much RAM does it need?  How about CPU?  

Here's are the specs running the turbofloatserver software:

lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          1
On-line CPU(s) list:             0
Thread(s) per core:              1
Core(s) per socket:              1
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           63
Model name:                      Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz
Stepping:                        2
CPU MHz:                         2400.059
BogoMIPS:                        4800.01
Hypervisor vendor:               Xen
Virtualization type:             full
L1d cache:                       32 KiB
L1i cache:                       32 KiB
L2 cache:                        256 KiB
L3 cache:                        30 MiB
NUMA node0 CPU(s):               0
Vulnerability Itlb multihit:     KVM: Mitigation: VMX unsupported
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq p
                                 ni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault invpcid_single pti fsgsbase bmi1 a
                                 vx2 smep bmi2 erms invpcid xsaveopt

Since I cannot reproduce the error reliably, any pointers for troubleshooting are appreciated!

Thanks,

Arie

, edited
Answer

That warning will show up in 2 cases:

  1. Junk data is being sent to the TFS.
  2. Good data is being sent but is being intercepted and modified (and thus being turned into junk data).

The fix is to use TF / TFS over HTTPS. See the docs.

, edited