Welcome! Log In Create A New Profile

Advanced

Re: areca-http

April 11, 2011 02:04PM
А вот сессия nginx -> areca с данными:
# tcpdump -i lo tcp port 1080 -s 0 -X
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes


18:59:13.562648 IP localhost.tuugo.com.48293 >
localhost.tuugo.com.socks: S 1019999416:1019999416(0) win 32792 <mss
16396,sackOK,timestamp 2012650 0,nop,wscale 7>
0x0000: 4500 003c 4152 4000 4006 fb67 7f00 0001 E..<AR@.@..g....
0x0010: 7f00 0001 bca5 0438 3ccb f4b8 0000 0000 .......8<.......
0x0020: a002 8018 fe30 0000 0204 400c 0402 080a .....0....@.....
0x0030: 001e b5ea 0000 0000 0103 0307 ............
18:59:13.562666 IP localhost.tuugo.com.socks >
localhost.tuugo.com.48293: S 1027252904:1027252904(0) ack 1019999417 win
32768 <mss 16396,sackOK,timestamp 2012650 2012650,nop,wscale 7>
0x0000: 4500 003c 0000 4000 4006 3cba 7f00 0001 E..<..@.@.<.....
0x0010: 7f00 0001 0438 bca5 3d3a a2a8 3ccb f4b9 .....8..=:..<...
0x0020: a012 8000 fe30 0000 0204 400c 0402 080a .....0....@.....
0x0030: 001e b5ea 001e b5ea 0103 0307 ............
18:59:13.562674 IP localhost.tuugo.com.48293 >
localhost.tuugo.com.socks: . ack 1 win 257 <nop,nop,timestamp 2012650
2012650>
0x0000: 4500 0034 4153 4000 4006 fb6e 7f00 0001 E..4AS@.@..n....
0x0010: 7f00 0001 bca5 0438 3ccb f4b9 3d3a a2a9 .......8<...=:..
0x0020: 8010 0101 fe28 0000 0101 080a 001e b5ea .....(..........
0x0030: 001e b5ea ....
18:59:13.562702 IP localhost.tuugo.com.48293 >
localhost.tuugo.com.socks: P 1:921(920) ack 1 win 257 <nop,nop,timestamp
2012650 2012650>
0x0000: 4500 03cc 4154 4000 4006 f7d5 7f00 0001 E...AT@.@.......
0x0010: 7f00 0001 bca5 0438 3ccb f4b9 3d3a a2a9 .......8<...=:..
0x0020: 8018 0101 01c1 0000 0101 080a 001e b5ea ................
0x0030: 001e b5ea 4745 5420 2f20 4854 5450 2f31 ....GET./.HTTP/1
0x0040: 2e30 0d0a 486f 7374 3a20 3734 2e32 3038 .0..Host:.74.208
0x0050: 2e31 3439 2e34 360d 0a58 2d52 6561 6c2d .149.46..X-Real-
0x0060: 4950 3a20 3137 382e 3934 2e31 3337 2e31 IP:.178.94.137.1
0x0070: 320d 0a58 2d46 6f72 7761 7264 6564 2d46 2..X-Forwarded-F
0x0080: 6f72 3a20 3137 382e 3934 2e31 3337 2e31 or:.178.94.137.1
0x0090: 320d 0a43 6f6e 6e65 6374 696f 6e3a 2063 2..Connection:.c
0x00a0: 6c6f 7365 0d0a 5573 6572 2d41 6765 6e74 lose..User-Agent
0x00b0: 3a20 4d6f 7a69 6c6c 612f 352e 3020 2858 :.Mozilla/5.0.(X
0x00c0: 3131 3b20 553b 204c 696e 7578 2069 3638 11;.U;.Linux.i68
0x00d0: 363b 2065 6e2d 5553 3b20 7276 3a31 2e39 6;.en-US;.rv:1.9
0x00e0: 2e32 2e31 3629 2047 6563 6b6f 2f32 3031 .2.16).Gecko/201
0x00f0: 3130 3430 3920 4765 6e74 6f6f 2046 6972 10409.Gentoo.Fir
0x0100: 6566 6f78 2f33 2e36 2e31 360d 0a41 6363 efox/3.6.16..Acc
0x0110: 6570 743a 2074 6578 742f 6874 6d6c 2c61 ept:.text/html,a
0x0120: 7070 6c69 6361 7469 6f6e 2f78 6874 6d6c pplication/xhtml
0x0130: 2b78 6d6c 2c61 7070 6c69 6361 7469 6f6e +xml,application
0x0140: 2f78 6d6c 3b71 3d30 2e39 2c2a 2f2a 3b71 /xml;q=0.9,*/*;q
0x0150: 3d30 2e38 0d0a 4163 6365 7074 2d4c 616e =0.8..Accept-Lan
0x0160: 6775 6167 653a 2065 6e2d 7573 2c65 6e3b guage:.en-us,en;
0x0170: 713d 302e 350d 0a41 6363 6570 742d 456e q=0.5..Accept-En
0x0180: 636f 6469 6e67 3a20 677a 6970 2c64 6566 coding:.gzip,def
0x0190: 6c61 7465 0d0a 4163 6365 7074 2d43 6861 late..Accept-Cha
0x01a0: 7273 6574 3a20 4953 4f2d 3838 3539 2d31 rset:.ISO-8859-1
0x01b0: 2c75 7466 2d38 3b71 3d30 2e37 2c2a 3b71 ,utf-8;q=0.7,*;q
0x01c0: 3d30 2e37 0d0a 436f 6f6b 6965 3a20 7374 =0.7..Cookie:.st
0x01d0: 6174 6973 7469 6373 5f74 7261 636b 3d62 atistics_track=b
0x01e0: 6264 3637 6565 3764 3937 3064 6233 6531 bd67ee7d970db3e1
0x01f0: 6232 3338 3165 3566 6164 6532 6136 3664 b2381e5fade2a66d
0x0200: 3064 3765 6530 633b 2073 656c 6563 7465 0d7ee0c;.selecte
0x0210: 645f 6c61 6e67 5f69 643d 3237 3b20 6964 d_lang_id=27;.id
0x0220: 5f63 6f64 653d 6331 6665 6530 3265 3034 _code=c1fee02e04
0x0230: 6436 6663 3162 6332 3665 6333 3162 3462 d6fc1bc26ec31b4b
0x0240: 3939 6335 3934 3b20 5f5f 7574 6d61 3d31 99c594;.__utma=1
0x0250: 3236 3734 3732 3735 2e32 3337 3439 3730 26747275.2374970
0x0260: 3833 2e31 3239 3938 3432 3530 362e 3132 83.1299842506.12
0x0270: 3939 3834 3235 3036 2e31 3239 3938 3432 99842506.1299842
0x0280: 3530 362e 313b 205f 5f75 746d 7a3d 3132 506.1;.__utmz=12
0x0290: 3637 3437 3237 352e 3132 3939 3834 3235 6747275.12998425
0x02a0: 3036 2e31 2e31 2e75 746d 6373 723d 2864 06.1.1.utmcsr=(d
0x02b0: 6972 6563 7429 7c75 746d 6363 6e3d 2864 irect)|utmccn=(d
0x02c0: 6972 6563 7429 7c75 746d 636d 643d 286e irect)|utmcmd=(n
0x02d0: 6f6e 6529 0d0a 4175 7468 6f72 697a 6174 one)..Authorizat
0x02e0: 696f 6e3a 2044 6967 6573 7420 7573 6572 ion:.Digest.user
0x02f0: 6e61 6d65 3d22 6164 6d69 6e22 2c20 7265 name="admin",.re
0x0300: 616c 6d3d 2252 6169 6420 436f 6e73 6f6c alm="Raid.Consol
0x0310: 6522 2c20 6e6f 6e63 653d 2234 6338 3234 e",.nonce="4c824
0x0320: 6561 3866 3632 6230 3030 3061 6364 6566 ea8f62b0000acdef
0x0330: 3233 3434 3232 3435 3738 3922 2c20 7572 23442245789",.ur
0x0340: 693d 222f 6172 6563 615f 6d61 696e 222c i="/areca_main",
0x0350: 2072 6573 706f 6e73 653d 2239 6162 3364 .response="9ab3d
0x0360: 6636 3766 3234 6363 3462 6536 3531 3265 f67f24cc4be6512e
0x0370: 3562 6366 3034 6361 3831 3722 2c20 716f 5bcf04ca817",.qo
0x0380: 703d 6175 7468 2c20 6e63 3d30 3030 3030 p=auth,.nc=00000
0x0390: 3030 352c 2063 6e6f 6e63 653d 2261 6139 005,.cnonce="aa9
0x03a0: 3532 3939 6134 6233 6461 3933 3722 0d0a 5299a4b3da937"..
0x03b0: 4361 6368 652d 436f 6e74 726f 6c3a 206d Cache-Control:.m
0x03c0: 6178 2d61 6765 3d30 0d0a 0d0a ax-age=0....
18:59:13.562707 IP localhost.tuugo.com.socks >
localhost.tuugo.com.48293: . ack 921 win 271 <nop,nop,timestamp 2012650
2012650>
0x0000: 4500 0034 1743 4000 4006 257f 7f00 0001 E..4.C@.@.%.....
0x0010: 7f00 0001 0438 bca5 3d3a a2a9 3ccb f851 .....8..=:..<..Q
0x0020: 8010 010f fe28 0000 0101 080a 001e b5ea .....(..........
0x0030: 001e b5ea ....
18:59:13.618795 IP localhost.tuugo.com.socks >
localhost.tuugo.com.48293: P 1:187(186) ack 921 win 271
<nop,nop,timestamp 2012706 2012650>
0x0000: 4500 00ee 1744 4000 4006 24c4 7f00 0001 E....D@.@.$.....
0x0010: 7f00 0001 0438 bca5 3d3a a2a9 3ccb f851 .....8..=:..<..Q
0x0020: 8018 010f fee2 0000 0101 080a 001e b622 ..............."
0x0030: 001e b5ea 4854 5450 2f31 2e31 2034 3031 ....HTTP/1.1.401
0x0040: 2055 6e61 7574 686f 7269 7a65 640d 0a43 .Unauthorized..C
0x0050: 6f6e 7465 6e74 2d54 7970 653a 2074 6578 ontent-Type:.tex
0x0060: 742f 6874 6d6c 0d0a 5757 572d 4175 7468 t/html..WWW-Auth
0x0070: 656e 7469 6361 7465 3a20 4469 6765 7374 enticate:.Digest
0x0080: 2072 6561 6c6d 3d22 5261 6964 2043 6f6e .realm="Raid.Con
0x0090: 736f 6c65 222c 2071 6f70 3d22 6175 7468 sole",.qop="auth
0x00a0: 222c 2073 7461 6c65 3d74 7275 652c 206e ",.stale=true,.n
0x00b0: 6f6e 6365 3d22 3864 3361 3163 3562 6636 once="8d3a1c5bf6
0x00c0: 3630 3030 3030 6163 6465 6632 3334 3432 600000acdef23442
0x00d0: 3234 3537 3839 220d 0a43 6f6e 7465 6e74 245789"..Content
0x00e0: 2d4c 656e 6774 683a 2030 0d0a 0d0a -Length:.0....
18:59:13.618818 IP localhost.tuugo.com.48293 >
localhost.tuugo.com.socks: . ack 187 win 265 <nop,nop,timestamp 2012706
2012706>
0x0000: 4500 0034 4155 4000 4006 fb6c 7f00 0001 E..4AU@.@..l....
0x0010: 7f00 0001 bca5 0438 3ccb f851 3d3a a363 .......8<..Q=:.c
0x0020: 8010 0109 fe28 0000 0101 080a 001e b622 .....(........."
0x0030: 001e b622 ..."
^C
7 packets captured
14 packets received by filter
0 packets dropped by kernel


.. и тишина


I'm sorry for overquoting.


On 04/11/11 20:53, Sergey Kobzar wrote:
> On 04/11/11 15:25, Михаил Монашёв wrote:
>> Здравствуйте, Сергей.
>>
>> SK> Вот только что-то не выходит к нему подключиться через nginx...
>>
>> Сделайте к нему обращение напряму и потом через nginx. Оба запроса
>> сдампите через tcpdump и потом сравните работающий вариант с
>> неработающим. Ещё можно самому теонетом запросы поделать имитируя
>> nginx, чтобы понять чего Ваш бэкенд хочет но недополучает.
>
> Вот дамп сессии от nginx к areca-http и закрытие по таймауту:
> # tcpdump -i lo tcp port 1080
> 18:46:09.748770 IP localhost.34846 > localhost.socks: S
> 1627516871:1627516871(0) win 32792 <mss 16396,[|tcp]>
> 18:46:09.748786 IP localhost.socks > localhost.34846: S
> 1627714722:1627714722(0) ack 1627516872 win 32768 <mss 16396,[|tcp]>
> 18:46:09.748794 IP localhost.34846 > localhost.socks: . ack 1 win 257
> <nop,nop,timestamp[|tcp]>
> 18:46:09.748826 IP localhost.34846 > localhost.socks: P 1:921(920) ack 1
> win 257 <nop,nop,timestamp[|tcp]>
> 18:46:09.748830 IP localhost.socks > localhost.34846: . ack 921 win 271
> <nop,nop,timestamp[|tcp]>
> 18:46:09.784687 IP localhost.socks > localhost.34846: P 1:732(731) ack
> 921 win 271 <nop,nop,timestamp[|tcp]>
> 18:46:09.784702 IP localhost.34846 > localhost.socks: . ack 732 win 268
> <nop,nop,timestamp[|tcp]>
> 18:47:09.808872 IP localhost.34846 > localhost.socks: F 921:921(0) ack
> 732 win 268 <nop,nop,timestamp[|tcp]>
> 18:47:09.808929 IP localhost.socks > localhost.34846: F 732:732(0) ack
> 922 win 271 <nop,nop,timestamp[|tcp]>
> 18:47:09.808947 IP localhost.34846 > localhost.socks: . ack 733 win 268
> <nop,nop,timestamp[|tcp]>
>
> Или необходим дамп именно данных?
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

areca-http

sergey.kobzar April 10, 2011 08:02PM

Re: areca-http

Alexander Petrovsky April 10, 2011 11:10PM

Re: areca-http

sergey.kobzar April 11, 2011 08:14AM

Re[2]: areca-http

Михаил Монашёв April 11, 2011 08:26AM

Re: areca-http

sergey.kobzar April 11, 2011 01:54PM

Re: areca-http

sergey.kobzar April 11, 2011 02:04PM

Re: areca-http

Maxim Dounin April 11, 2011 02:30PM

Re: areca-http

sergey.kobzar April 11, 2011 04:46PM

Re: areca-http

Maxim Dounin April 11, 2011 05:22PM

Re: areca-http

sergey.kobzar April 11, 2011 05:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready