关于Standard virtual server with Layer 7 functionality

前几天同事发现telnet 我们网站的80端口,很长时间都出于连接状态,可能会有安全隐患,对比其他大型网站10几秒就会自动断开,弹出Connection closed by foreign host. 于是乎自己动手测试验证一把。

1)直接telnet连接到内网服务器的80端口进行测试,发现1分钟左右都可以自动断开,弹出Connection closed by foreign host

2)telnet到F5上面不同的VS地址的80端口,发现了不同的情况,有的VS会弹出Connection closed by foreign host,但是主页的却不会,分析了一下VS的不同设置,估计设置了http profile的原因。

3)查找之前在ask.f5上看到关于不同VS类型下tcp连接的不同情况分析,等到了验证

Standard virtual server with Layer 7 functionality

f a Standard virtual server is configured with Layer 7 functionality, such as an HTTP profile, the client must send at least one data packet before the server-side connection can be initiated by the BIG-IP LTM.

Note: The BIG-IP LTM may initiate the server-side connection prior to the first data packet for certain Layer 7 applications, such as FTP, in which the user waits for a greeting banner before sending any data.

The TCP connection set-up behavior for a Standard virtual server with Layer 7 functionality operates as follows: the three-way TCP handshake and initial data packet are processed on the client side of the connection before the LTM initiates the TCP handshake on the server side of the connection.

A Standard virtual server with Layer 7 functionality processes connections using the full proxy architecture. The following TCP flow diagram illustrates the TCP handshake for a Standard virtual server with Layer 7 functionality:
4)在standard模式下设置了http profile就会使得TCP连接变成full proxy,这样的话client发起的tcp连接先到F5,有了GET请求才会发起连接到真实的服务器,所以telnet的连接只会到达F5,所以服务器断开超时连接也只是断开和F5的连接

5)经过验证,在这种情况下,F5和客户端的连接超时值取决于TCP profile里面的idle timeout,默认是300秒,没有看到超时后F5会发送reset,所以client也没有Connection closed by foreign host,只是用b conn查看连接已经不存在,但是设置idle timeout为60秒,超时后会发送reset包,这个无法解释。

6)如果没有使用http profile,则standard模式下,client发起的连接会直接到达服务器,这样server会有timeout值,一般会小于300S,超时会直接关闭连接。

通过测试,进一步理解了F5 Standard模式下full proxy的实现机制。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
RDPCheck程序可以用来检查RDP功能的运行情况。RDP是远程桌面协议(Remote Desktop Protocol)的简称,它允许用户通过网络远程访问和控制其他计算机。使用RDPCheck程序可以验证RDP功能是否正常工作。 使用RDPCheck程序时,我们可以通过以下步骤进行检查: 1. 首先,确保RDPCheck程序已经下载并安装在需要进行检查的计算机上。这个程序通常是由相关的网络安全专业团队或者软件开发人员创建和提供的。 2. 运行RDPCheck程序,它会开始扫描和分析计算机的远程桌面连接设置和配置。 3. RDPCheck程序会检查计算机是否具有开放的监听端口,如TCP端口3389,这是RDP协议默认使用的端口。如果端口被防火墙或其他安全设置封锁了,程序可能会提示RDP不可用或不正常。 4. RDPCheck程序还会检查计算机的操作系统版本和补丁情况。在某些情况下,较旧版本的操作系统或缺少安全补丁可能导致RDP功能无法正常工作。通过提示错误信息或建议安装相关补丁,RDPCheck程序可以帮助用户解决这些问题。 5. 最后,RDPCheck程序还可以测试用户登录权限和验证过程。它会尝试使用提供的凭证登录到目标计算机,以确认RDP功能是否能够正常工作。 总之,RDPCheck程序是一个实用工具,可以帮助用户检查和验证目标计算机的远程桌面协议(RDP)功能是否正常。它可以通过扫描设置和配置、检查监听端口和操作系统版本、测试用户登录权限等方式来确保RDP功能的正常工作。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值