Why is VPN client truncating socket data ~ 1300 bytes?
Using Cisco VPN Client Release 4.8.02.0030 for Linux on Centos 5.
Locally I have a C application that accepts socket requests and sends data.
On the remote server farm in the DMZ is a php page that asks the socket on the local machine for data over the socket.
It gets around 1300 bytes out of the 4500 or so bytes and errs out:
function.socket-read</a>]: unable to read from socket : Connection reset by peer
The identical application running on a server inside the remote server farm sends the full 4500 bytes or so of data to the php application.
I also wrote a trivial C client for the application to see if it was a php issue. It works from the local host to the local application, but not from any remote host on the server farm to the local application.
I uploaded the c file, and it is also below.
(EDIT) I also uploaded the php client code (client.php) and pasted it below as well.
The php client gets fewer characters returned, not sure why
Thus it appears that the VPN Client is truncating the data, possibly at the MTU boundary.
The basic issue: remote host->remote application - OK remote host->local application (via vpnclient) - Truncates data
Please note that I have tried read and write in addition to send/recv on the socket with identical results.
Any ideas on how to get around this would be appreciated.
We are happy to share changes to the Cisco Threat Grid support experience! Our customers have spoken, and we have listened! You want a single, streamlined, easy to access tool to open, view, and update your cases across Cisco Services. That tool is Cisco’...
Where can I find out how to integrate my Cisco products with Threat Response?
There are quick start guides and instructional videos to help you get set up with your Cisco products and the Cisco Threat Response platform.
Inviting all Security & Networking professionals! We want you to tell us what devices you use to do your work and its screen resolution. Your response will help us improve network and security management tools.
Click here to take the 5-minute s...
This guide is intended to show some nifty and powerful use cases that a lot of customers either want or don’t know they want. There are tons of other content out there for specific knobs or capabilities, but this is looking to be a more complete...