Wind River Support Network

HomeDefectsLIN6-4434
Fixed

LIN6-4434 : wrlinux4.3 - apache proxy server close TCP session during transmission

Created: Apr 8, 2013    Updated: Dec 3, 2018
Resolved Date: Apr 29, 2015
Previous ID: LIN4-5761
Found In Version: 6.0
Fix Version: 6.0.0.20
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Networking

Description

PC-------------Proxy----------Web server(content)
        (WRL 4.3/Web server)   (WRL4.3 or Linux host)

The proxy may close TCP session(Proxy <-> Web server) 
during transmission.

Steps to Reproduce

1.
add proxy option to apache-ssl.spec(configure)
    --enable-proxy \
    --enable-proxy-http \

%configure \
...
%endif
    --enable-so \
    --enable-cgi \
+    --enable-proxy \
+    --enable-proxy-http \
    --enable-rewrite

2. add the setting below to  proxy server conf (/etc/apache2/httpd.conf) 

</IfModule>
<IfModule proxy_module>
      ProxyRequests off
      ProxyPass / http://192.168.167.10/
      ProxyPassReverse / http://192.168.167.10/
</IfModule>

3.set proxy server index.html(/usr/share/apache2/htdocs/index.html)

<html><body><h1>Hello!</h1>
<img src="test1.jpg" />
<img src="test2.png" />
</body></html>

and add "test1.jpg"(3M) / "test2.png"(1M)

4.run proxy web server
  /usr/sbin/httpd (or strace -f /usr/sbin/httpd)
5.run web server(default setting is OK)
   /usr/sbin/httpd (or strace -f /usr/sbin/httpd)
6.access proxy web server from PC by browser
7. set dummy MAC address of proxy web server on back-end server during data transmission
    arp -s 192.168.167.111(proxy server IP address) 00:11:22:33:44:55
8. delete the dummy MAC address on back-end server  before timeout
    arp -d 192.168.167.111(proxy server IP address)

Other Downloads


Live chat
Online