2016年5月10日火曜日

Meridian: memo post message

meridianのpost message

tcpdumpオプション。参考にしたページ。
http://qiita.com/LOUIS_rui/items/cc73ade2c115ee96b22a

tcpdump -A 'tcp dst port 80 and (tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504f5354)’


[root@ip-172-31-27-217 ~]# tcpdump -A 'tcp dst port 80 and (tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504f5354)'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
21:18:51.765462 IP 155.195.178.107.gae.googleusercontent.com.42996 > ip-172-31-27-217.ap-northeast-1.compute.internal.http: Flags [P.], seq 1195380886:1195381436, ack 1221387923, win 338, options [nop,nop,TS val 2878997545 ecr 1231919], length 550
E..Z....,...k..........PG@..H......R.......
...).../POST /top2.html/ HTTP/1.1
Host: 52.196.145.104
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer e72e16c7e42f292c6912e7710c838347ae178b4a
Accept: application/json
X-Cloud-Trace-Context: 01b58a7df47243fb52270f4f0176afc5/10054798598419312497
Content-Length: 113
Connection: Keep-alive
User-Agent: AppEngine-Google; (+http://code.google.com/appengine; appid: s~meridianedit)
Accept-Encoding: gzip,deflate,br

campaign_id=5838267693924352&broadcaster_id=85BAEDEA-1ACE-404B-874D-29AC21C18D58%3A1000%3A1000&device_id=b312hb12



今度はCamupusAppで挑戦
21:29:10.431804 IP 155.195.178.107.gae.googleusercontent.com.56676 > ip-172-31-27-217.ap-northeast-1.compute.internal.http: Flags [P.], seq 3938895029:3938895605, ack 1002172944, win 338, options [nop,nop,TS val 2879616190 ecr 1850577], length 576
E..t....,...k........d.P....;......RK......
..t...<.POST /top2.html/ HTTP/1.1
Host: 52.196.145.104
Accept-Language: en
Content-Type: application/x-www-form-urlencoded
Accept: application/json
X-Cloud-Trace-Context: c66fc58921ca8743c88a766b5bc0e585/11051419201282406574
Content-Length: 182
Connection: Keep-alive
User-Agent: AppEngine-Google; (+http://code.google.com/appengine; appid: s~meridianedit)
Accept-Encoding: gzip,deflate,br


is_enter=1&campaign_id=5838267693924352&broadcaster_id=85BAEDEA-1ACE-404B-874D-29AC21C18D58%3A16005%3A17237&device_id=34C1572A-FFB4-465E-B4D5-6AAB4D5C2CC3%3Acom.arubanetworks.Beacons
------------------------------------------------------------
[root@ip-172-31-27-217 ~]# tail /var/log/httpd/access_log
107.178.195.155 - - [09/May/2016:21:29:10 -0400] "POST /top2.html/ HTTP/1.1" 404 289 "-" "AppEngine-Google; (+http://code.google.com/appengine; appid: s~meridianedit)"
[root@ip-172-31-27-217 ~]# tail /var/log/httpd/access_log

107.178.195.155 - - [09/May/2016:21:29:10 -0400] "POST /top2.html/ HTTP/1.1" 404 289 "-" "AppEngine-Google; (+http://code.google.com/appengine; appid: s~meridianedit)"


AppViewerでキック

22:08:57.887969 IP 155.195.178.107.gae.googleusercontent.com.36438 > ip-172-31-27-217.ap-northeast-1.compute.internal.http: Flags [P.], seq 32345798:32346490, ack 2670821938, win 338, options [nop,nop,TS val 2882003602 ecr 4238022], length 692
E...c...,.0.k........V.P.....1.2...R.c.....
.....@..POST /top2.html/ HTTP/1.1
Host: 52.196.145.104
Accept-Language: en
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer 7f216595d41eb90157944a8e67e76b09c2736376
Accept: application/json
X-Cloud-Trace-Context: 833b1b781f70a2ec7c26fdc0e0781ee8/9675176237563929392
Content-Length: 235
Connection: Keep-alive
User-Agent: AppEngine-Google; (+http://code.google.com/appengine; appid: s~meridianedit)
Accept-Encoding: gzip,deflate,br

is_enter=1&access_token=7f216595d41eb90157944a8e67e76b09c2736376&campaign_id=5838267693924352&broadcaster_id=85BAEDEA-1ACE-404B-874D-29AC21C18D58%3A16005%3A17237&device_id=34C1572A-FFB4-465E-B4D5-6AAB4D5C2CC3%3Acom.arubanetworks.campus

0 件のコメント:

コメントを投稿