and a raw tcpdump:

sudo tcpdump -Anpl -s0 -w - -i eth0 dst port 80 | stdbuf -oL strings -n8

pi@weather:~ $ sudo tcpdump -Anpl -s0 -w - -i eth0 dst port 80 | stdbuf -oL 
strings -n8
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 
262144 bytes
GET 
/weatherstation/updateweatherstation?dateutc=now&action=updateraw&realtime=1
&id=24C86E06B15C&mt=5N1x31&sensor=00002179
&windspeedmph=1&winddir=293
&rainin=0.00&dailyrainin=0.20&humidity=55&tempf=71.1&dewptf=54
&baromin=29.29&battery=normal&rssi=3
 HTTP/1.1
hubapi.myacurite.com
User-Agent: Hub/224
Connection: close
GET 
/weatherstation/updateweatherstation.php?ID=KCATHOUS110&PASSWORD=XXXXXXXX&dateutc=now&action=updateraw&realtime=1
&rtfreq=36
&id=24C86E06B15C&mt=5N1x31&sensor=00002179
&windspeedmph=1&winddir=293
&rainin=0.00&dailyrainin=0.20&humidity=55&tempf=71.1&dewptf=54
&baromin=29.29&battery=normal&rssi=3
 HTTP/1.1
rtupdate.wunderground.com
Connection: close
GET 
/weatherstation/updateweatherstation?dateutc=now&action=updateraw&realtime=1
&id=24C86E06B15C&mt=tower&sensor=00008384
&humidity=30&tempf=80.0
&baromin=29.29&battery=normal&rssi=2
 HTTP/1.1
hubapi.myacurite.com
User-Agent: Hub/224
Connection: close
GET 
/weatherstation/updateweatherstation?dateutc=now&action=updateraw&realtime=1
&id=24C86E06B15C&mt=tower&sensor=00012694
&humidity=45&tempf=71.5
&baromin=29.29&battery=normal&rssi=3
 HTTP/1.1
hubapi.myacurite.com
User-Agent: Hub/224
Connection: close
^C58 packets captured
58 packets received by filter
0 packets dropped by kernel

>
>
>
> On Saturday, November 5, 2016 at 4:28:20 PM UTC-7, Brad Tucker wrote:
>>
>> Here is the dump.txt
>>
>> On Saturday, November 5, 2016 at 4:23:22 PM UTC-7, mwall wrote:
>>>
>>> On Saturday, November 5, 2016 at 6:47:45 PM UTC-4, Brad Tucker wrote:
>>>>
>>>> this is looking yummy :)
>>>>
>>>>>
>>>>>
>>> getting close.  i don't know where the spurious l_, q_ etc are coming 
>>> from in your tcpdump output, and i am unable to duplicate the behavior.  
>>> could you send the tcpdump output to file and post that file?
>>>
>>> sudo tcpdump -Anpl -s0 -w - -i eth0 dst port 80 > dump.txt
>>>
>>> meanwhile, i tightened up the combiner a bit.  please try version 0.2 of 
>>> combine-lines.pl from the interceptor repository:
>>>
>>>
>>> https://raw.githubusercontent.com/matthewwall/weewx-interceptor/master/util/combine-lines.pl
>>>
>>> that should prevent the hostnames from being appended to the cgi args
>>>
>>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to