sudo tcpdump -i eth0 dst port 80
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
14:53:48.501215 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [S], seq 62518866, win
400, options [mss 536], length 0
14:53:48.582768 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [.], ack 3179448309,
win 400, length 0
14:53:48.584594 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [P.], seq 0:80, ack 1,
win 400, length 80
14:53:48.677787 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [P.], seq 80:121, ack
1, win 400, length 41
14:53:48.680555 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [P.], seq 121:144, ack
1, win 400, length 23
14:53:48.686696 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [P.], seq 144:180, ack
1, win 400, length 36
14:53:48.688129 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [P.], seq 180:197, ack
1, win 400, length 17
14:53:48.689983 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [P.], seq 197:238, ack
1, win 400, length 41
14:53:48.758710 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [P.], seq 238:261, ack
1, win 400, length 23
14:53:48.900334 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [.], ack 401, win 400,
length 0
14:53:48.979087 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [.], ack 413, win 389,
length 0
14:53:48.980138 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [.], ack 413, win 400,
length 0
14:53:48.981227 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [F.], seq 261, ack
413, win 400, length 0
14:53:48.981757 IP 192.168.1.18.4102 >
ec2-52-4-188-138.compute-1.amazonaws.com.http: Flags [R.], seq 261, ack
413, win 400, length 0
^C
14 packets captured
14 packets received by filter
0 packets dropped by kernel
sudo tcpdump -A -n -p -l -i eth0 -s0 -w - tcp dst port 80 (Please note the
- tcp not -tcp) There is a space. w/o it I get 0 output.
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size
262144 bytes
<<&�8vB$�n�E(n�d�o��4��/P&}��|EPP����UX���&�8vB$�n�Exn�d���4��/P&}��|EPP��GET
/weatherstation/updateweatherstation?dateutc=now&action=updateraw&realtime=1�UX�M``&�8vB$�n�ERn�d�C��4��/P&}�!|EPP�sI&id=24C86E06B15C&mt=5N1x31&sensor=00002179�UXkVQQ&�8vB$�n�ECn�d�Q��4��/P&}�K|EPP�ΐ&windspeedmph=1&winddir=203�UXFltt&�8vB$�n�Efn�d�-��4��/P&}�f|EPP�Ŧ&rainin=0.00&dailyrainin=0.20&humidity=30&tempf=83.2&dewptf=48�UX�ZZ&�8vB$�n�ELn�d�F��4��/P&}ؤ|EPP��S&baromin=29.28&battery=normal&rssi=3�UXP�GG&�8vB$�n�E9n�d�X��4��/P&}��|EPP���
HTTP/1.1
Host: �UXl�__&�8vB$�n�EQod�?��4��/P&}��|EPP��jhubapi.myacurite.com
User-Agent: Hub/224�UXG�MM&�8vB$�n�E?od�P��4��/P&}�|EPP�2<
Connection: close
�UX0�<<&�8vB$�n�E(od�f��4��/P&}�|EQ�P����UX�<<&�8vB$�n�E(od�e��4��/P&}�|EQ�P����UX�<<&�8vB$�n�E(od�d��4��/P&}�|EQ�P����UX3�<<&�8vB$�n�E(od�c��4��/P&}�|EQ�P����UXA�<<&�8vB$�n�E(od�b��4��/P&}�|EQ�P����UX�%<<&�8vB$�n�E,dv��&f��0P=�v�`�c
�UX�s<<&�8vB$�n�E(o dv
��&f��0P=�v�i��P���UX�}��&�8vB$�n�E�o
GET
/weatherstation/updateweatherstation.php?ID=KCATHOUS110&PASSWORD=ofsglckk&dateutc=now&action=updateraw&realtime=1�UX�
@@&�8vB$�n�E2o
du���&f��0P=�wqi��P�m�&rtfreq=36�UX�``&�8vB$�n�ERo
du���&f��0P=�w{i��P��du���&f��0P=�w�i��P�,]&windspeedmph=1&winddir=203�UXV�tt&�8vB$�n�Efodu���&f��0P=�w�i��P�#s&rainin=0.00&dailyrainin=0.20&humidity=30&tempf=83.2&dewptf=48�UX:ZZ&�8vB$�n�ELodu���&f��0P=�w�i��P��&baromin=29.28&battery=normal&rssi=3�UX�GG&�8vB$�n�E9odu���&f��0P=�x"i��P��
HTTP/1.1
Host:
�UX�OO&�8vB$�n�EAodu���&f��0P=�x3i��P�ƒrtupdate.wunderground.com�UX]MM&�8vB$�n�E?odu���&f��0P=�xLi��P��
Connection: close
�UX
�GET
/weatherstation/updateweatherstation?dateutc=now&action=updateraw&realtime=1�UX��__&�8vB$�n�EQodV<��46�_1P�p{rM�!P��w&id=24C86E06B15C&mt=tower&sensor=00012694�UX�MM&�8vB$�n�E?odVM��46�_1P�p{�M�!P�O&humidity=48&tempf=70.8�UX�ZZ&�8vB$�n�ELodV?��46�_1P�p{�M�!P���&baromin=29.28&battery=normal&rssi=3�UX\#GG&�8vB$�n�E9odVQ��46�_1P�p{�M�!P���
HTTP/1.1
Host: �UX�*__&�8vB$�n�EQodV8��46�_1P�p{�M�!P��hubapi.myacurite.com
User-Agent: Hub/224�UXMM&�8vB$�n�E?o dVI��46�_1P�p|M�!P�Cn
Connection: close
^C44 packets captured
44 packets received by filter
0 packets dropped by kernel
�UX�*<<&�8vB$�n�E(o!dV_��46�_1P�p|'M�P��#�UX�f<<&�8vB$�n�E(o"dV^��46�_1P�p|'M�P��"�UX
k<<&�8vB$�n�E(o#dV]��46�_1P�p|'M�P���UXRo<<&�8vB$�n�E(o$dV\��46�_1P�p|'M�P���UXuq<<&�8vB$�n�E(o%dV[��46�_1P�p|'M�P��
On Saturday, November 5, 2016 at 2:52:36 PM UTC-7, mwall wrote:
>
> On Saturday, November 5, 2016 at 5:32:52 PM UTC-4, Brad Tucker wrote:
>
> Thanks for the new perl script. I have spent some time trying to get it to
>> work and unfortunately it doesn't seem to work with the syntax given.
>>
>
> take it one step at a time.
>
> what is the output you get from a simple tcpdump?
>
> tcpdump -i eth0 dst port 80
>
> then what is the output from tcpdump with all of the other options you
> have thrown in?
>
> tcpdump -A -n -p -l -i eth0 -s0 -w -tcp dst port 80
>
> post those then we can figure out why combine-lines.pl is not stripping
> off the spurious hubapi.acurite.com
>
> m
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.