-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnetgear-r8000-soap.txt
4535 lines (3993 loc) · 152 KB
/
netgear-r8000-soap.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
##############################################################################
###
### Netgear Nighthawk X6 R8000 AC3200 Tri-Band WiFi Router
### (Firmware v1.0.3.48_1.1.33)
###
### This is a commented log depicting the exercise of some of the SOAP API
### for this router. The first request is a login and the last is a
### logout, the latter being achieved by deliberately authenticating with
### an incorrect password.
###
### Use something like this to view only the comments:
###
### grep '^###' netgear-r8000-soap.log
###
### Before we get to the SOAP messages, some general comments:
###
### - Uses SOAP 1.1 and what appears to be either "RPC/literal" or
### "Document/literal wrapped" style binding (not sure which).
###
### - Does not comply with SOAP specification, which establishes the SOAP
### Fault element for error and status information. Instead, Netgear
### includes a ResponseCode element and sometimes an additional
### NewErrorCode element in the response Body. A ResponseCode value of
### '000' apparently indicates that a request was successfully made and
### responded to. However, if a NewErrorCode is also included and it is
### not '0', then there is apparently still some sort of error condition.
### A ResponseCode of 401 appears to mean authentication failure
### or invalid service name. 501 means invalid method name. 402 may
### mean request parameters are missing.
###
### - Defined SOAP methods are grouped under a number of different
### services. The same method name may appear under different services
### without being related. So far, the known example of this is method
### name 'GetInfo', which appears under several services. It is helpful
### for discussion purposes to fully qualify a method in a manner such
### as "<ServiceName>/<MethodName>", an example of this being
### 'DeviceInfo/GetInfo'.
###
### - Despite the Netgear GENIE applications sending session IDs in the
### SOAP Header of their requests, these are simply ignored by the router
### in all cases tested so far. The ID value can be anything and even the
### 20-character length is unimportant. However, packet captures of the
### 'DeviceConfig/ConfigurationStarted' request generated by the
### Netgear GENIE application show the session ID included not as a
### Header element, but as a request method parameter. It is conceivable
### that configuration changes that span multiple SOAP requests are
### linked together by that session ID once the
### 'DeviceConfig/ConfigurationFinished' request is issued, but these
### request methods have yet to be tested.
###
### - Of the methods tested so far, only 'DeviceConfig/GetConfigInfo'
### produces a response in which the serialization type is specified
### for a response parameter, and it is done incorrectly by Netgear.
### See comments linked with that method below. One might suppose that
### this same flaw will appear in as-yet untested methods that also
### include unusual data types.
###
### - The majority of method requests depicted in this log file do not
### include request parameters, rightly or wrongly. It is possible that
### some of them will accept as yet unknown optional parameters.
###
### - Methods 'AdvancedQOS/GetCurrentAppBandwidth' and
### 'AdvancedQOS/GetCurrentDeviceBandwidth' crash the SOAP server for
### both v1.0.3.46_1.1.32 and v1.0.3.48_1.1.33, requiring the router
### be restarted. Neither are depicted in this log.
###
### - Note that "5G1" is what the Netgear web UI refers to as "5GHz-1" and
### "5G" is "5GHz-2".
###
### - In the comment block at the end of this log file is found a list of
### additional method names still requiring investigation.
###
### - It seems that '?/Get5GAvailableChannel' and '?/Get5GSupportMode'
### are defined in some manner, but all known services deny this. We
### should expect them to belong to the 'WLANConfiguration' service.
###
### - Method 'DeviceConfig/Reboot' reboots the router without first
### responding to the request message. This method is not depicted in
### this log. Although not yet tested, one might guess that
### '?/ResetToFactoryDefault' might also result in no response.
###
### - Batch testing large numbers of request methods seems to be impossible
### without triggering bugs that cause some methods to return 501. Pacing
### the requests with as much as 5-second waits does not solve the
### problem, but patiently issuing the requests manually with only a few
### requests at a time seems to work. Clearly there are substantive bugs
### in this SOAP server implementation.
###
### - Implementation of the Netgear SOAP server is in the closed source
### binary /usr/sbin/upnpd found by extracting the file system from the
### router's firmware 'chk' image file.
###
### - Although not particular to the SOAP interface, it should be noted
### that a factory reset most definitely does NOT actually reset
### everything to its factory state on this router. This was proven by
### discovering that collected traffic statistics survived a factory
### reset.
###
### - In short, the Netgear SOAP server implementation is insecure, badly
### implemented, rife with bugs, non-compliant with XML and SOAP
### specifications, and apparently foisted on customers with minimal
### testing.
###
### Regards, alcoolfire (https://github.com/alcoolfire)
###
### 2017-08-09
###
##############################################################################
### HTTP Request: ParentalControl/Authenticate
### - An authenticated session appears to last indefinitely unless
### deliberately ended or the device is restarted.
### - There is no mechanism to tie an authenticated session to any given
### user or process. No cookies and no tokens of any sort. A session
### appears to be tied to nothing more than the sending host's IP
### address, so hijacking sessions would be trivial.
### - There is no HTTPS SOAP support and passwords are sent cleartext,
### so the SOAP interface should not be used on unsafe networks.
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 719
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:ParentalControl:1#Authenticate"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:ParentalControl:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:Authenticate>
<NewUserName xsi:type="xsd:string">admin</NewUserName>
<NewPassword xsi:type="xsd:string">*** VALID PASSWORD ***</NewPassword>
</M1:Authenticate>
</soap:Body>
</soap:Envelope>
### HTTP Response: ParentalControl/Authenticate
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 435
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:29:43 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:AuthenticateResponse
xmlns:m="urn:NETGEAR-ROUTER:service:ParentalControl:1">
</m:AuthenticateResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: ParentalControl/GetAllMACAddresses
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 593
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:ParentalControl:1#GetAllMACAddresses"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:ParentalControl:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetAllMACAddresses xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: ParentalControl/GetAllMACAddresses
### - Have yet to get any MAC addresses with this request.
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 492
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:29:43 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetAllMACAddressesResponse
xmlns:m="urn:NETGEAR-ROUTER:service:ParentalControl:1">
<AllMACAddresses></AllMACAddresses>
</m:GetAllMACAddressesResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: ParentalControl/GetEnableStatus
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 590
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:ParentalControl:1#GetEnableStatus"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:ParentalControl:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetEnableStatus xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: ParentalControl/GetEnableStatus
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 487
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:29:43 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetEnableStatusResponse
xmlns:m="urn:NETGEAR-ROUTER:service:ParentalControl:1">
<ParentalControl>0</ParentalControl>
</m:GetEnableStatusResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: ParentalControl/GetDNSMasqDeviceID
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 593
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:ParentalControl:1#GetDNSMasqDeviceID"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:ParentalControl:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetDNSMasqDeviceID xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: ParentalControl/GetDNSMasqDeviceID
### - Notice the ResponseCode of 001 for this response. The meaning is
### unknown. The request returned 000 for an earlier version of
### firmware and it was thought to do so for this version as well, until
### a large batch of API methods were exercised sequentially. Even a
### factory reset will not correct this. A bug?
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 484
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:30:03 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetDNSMasqDeviceIDResponse
xmlns:m="urn:NETGEAR-ROUTER:service:ParentalControl:1">
<NewDeviceID></NewDeviceID>
</m:GetDNSMasqDeviceIDResponse>
<ResponseCode>001</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceInfo/GetInfo
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 577
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceInfo:1#GetInfo"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceInfo:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetInfo xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: DeviceInfo/GetInfo
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 1116
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:30:28 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetInfoResponse
xmlns:m="urn:NETGEAR-ROUTER:service:DeviceInfo:1">
<ModelName>Nighthawk X6 R8000</ModelName>
<Description>Netgear Smart Wizard 3.0, specification 0.7 version</Description>
<SerialNumber>0123456789ABC</SerialNumber>
<Firmwareversion>V1.0.3.48</Firmwareversion>
<SmartAgentversion>3.0</SmartAgentversion>
<FirewallVersion>ACOS NAT-Netfilter v3.0.0.5 (Linux Cone NAT Hot Patch 06/11/2010)</FirewallVersion>
<VPNVersion>N/A</VPNVersion>
<OthersoftwareVersion>1.1.33</OthersoftwareVersion>
<Hardwareversion>Nighthawk X6 R8000</Hardwareversion>
<Otherhardwareversion>N/A</Otherhardwareversion>
<FirstUseDate>Saturday, 05 Aug 2017 21:57:32</FirstUseDate>
</m:GetInfoResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceInfo/GetSupportFeatureList
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 591
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceInfo:1#GetSupportFeatureList"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceInfo:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetSupportFeatureList xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: DeviceInfo/GetSupportFeatureList
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 492
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:30:28 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetSupportFeatureListResponse
xmlns:m="urn:NETGEAR-ROUTER:service:DeviceInfo:1">
<newFeatureList>0</newFeatureList>
</m:GetSupportFeatureListResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceInfo/GetSysUpTime
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 582
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceInfo:1#GetSysUpTime"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceInfo:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetSysUpTime xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: DeviceInfo/GetSysUpTime
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 471
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:30:28 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetSysUpTimeResponse
xmlns:m="urn:NETGEAR-ROUTER:service:DeviceInfo:1">
<SysUpTime>00:23:21</SysUpTime>
</m:GetSysUpTimeResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceInfo/GetSystemInfo
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 583
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceInfo:1#GetSystemInfo"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceInfo:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetSystemInfo xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: DeviceInfo/GetSystemInfo
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 695
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:30:28 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetSystemInfoResponse
xmlns:m="urn:NETGEAR-ROUTER:service:DeviceInfo:1">
<NewCPUUtilization>4</NewCPUUtilization>
<NewPhysicalMemory>64</NewPhysicalMemory>
<NewMemoryUtilization>55</NewMemoryUtilization>
<NewPhysicalFlash>128</NewPhysicalFlash>
<NewAvailableFlash>145.00</NewAvailableFlash>
</m:GetSystemInfoResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceInfo/GetAttachDevice
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 585
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceInfo:1#GetAttachDevice"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceInfo:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetAttachDevice xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: DeviceInfo/GetAttachDevice
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 967
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:30:45 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetAttachDeviceResponse
xmlns:m="urn:NETGEAR-ROUTER:service:DeviceInfo:1">
<NewAttachDevice>7@1;192.168.123.201;agatha;DE:AD:C0:DE:AA:AA;wired;;100;Allow@2;192.168.123.202;bradley;DE:AD:C0:DE:BB:BB;wired;;100;Allow@3;192.168.123.203;clara;DE:AD:C0:DE:CC:CC;wired;;100;Allow@4;192.168.123.204;dixon;DE:AD:C0:DE:DD:DD;wireless;72;53;Allow@5;192.168.123.205;erica;DE:AD:C0:DE:EE:EE;wireless;72;73;Allow@6;192.168.123.206;floyd;DE:AD:C0:DE:FF:FF;wireless;351;100;Allow@7;192.168.123.207;gisele;DE:AD:C0:DE:00:00;wireless;39;51;Allow</NewAttachDevice>
</m:GetAttachDeviceResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceInfo/GetAttachDevice2
### - This method always crashes the SOAP server for firmware version
### 1.0.3.46_1.1.32, but has yet to do so for version 1.0.3.48_1.1.33.
### Such crashes required the router be restarted to recover.
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 586
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceInfo:1#GetAttachDevice2"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceInfo:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetAttachDevice2 xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: DeviceInfo/GetAttachDevice2
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 3965
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:31:10 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetAttachDevice2Response
xmlns:m="urn:NETGEAR-ROUTER:service:DeviceInfo:1">
<NewAttachDevice>
<Device>
<IP>192.168.123.201</IP>
<Name>agatha</Name>
<NameUserSet>false</NameUserSet>
<MAC>DE:AD:C0:DE:AA:AA</MAC>
<ConnectionType>wired</ConnectionType>
<SSID></SSID>
<Linkspeed></Linkspeed>
<SignalStrength>100</SignalStrength>
<AllowOrBlock>Allow</AllowOrBlock>
<Schedule>false</Schedule>
<DeviceType>47</DeviceType>
<DeviceTypeUserSet>false</DeviceTypeUserSet>
<Upload></Upload>
<Download></Download>
<QosPriority>4</QosPriority>
</Device>
<Device>
<IP>192.168.123.202</IP>
<Name>bradley</Name>
<NameUserSet>false</NameUserSet>
<MAC>DE:AD:C0:DE:BB:BB</MAC>
<ConnectionType>wired</ConnectionType>
<SSID></SSID>
<Linkspeed></Linkspeed>
<SignalStrength>100</SignalStrength>
<AllowOrBlock>Allow</AllowOrBlock>
<Schedule>false</Schedule>
<DeviceType>47</DeviceType>
<DeviceTypeUserSet>false</DeviceTypeUserSet>
<Upload></Upload>
<Download></Download>
<QosPriority>4</QosPriority>
</Device>
<Device>
<IP>192.168.123.203</IP>
<Name>clara</Name>
<NameUserSet>false</NameUserSet>
<MAC>DE:AD:C0:DE:CC:CC</MAC>
<ConnectionType>wired</ConnectionType>
<SSID></SSID>
<Linkspeed></Linkspeed>
<SignalStrength>100</SignalStrength>
<AllowOrBlock>Allow</AllowOrBlock>
<Schedule>false</Schedule>
<DeviceType>47</DeviceType>
<DeviceTypeUserSet>false</DeviceTypeUserSet>
<Upload></Upload>
<Download></Download>
<QosPriority>4</QosPriority>
</Device>
<Device>
<IP>192.168.123.204</IP>
<Name>dixon</Name>
<NameUserSet>false</NameUserSet>
<MAC>DE:AD:C0:DE:DD:DD</MAC>
<ConnectionType>2.4GHz</ConnectionType>
<SSID>here-2.4</SSID>
<Linkspeed></Linkspeed>
<SignalStrength>52</SignalStrength>
<AllowOrBlock>Allow</AllowOrBlock>
<Schedule>false</Schedule>
<DeviceType>47</DeviceType>
<DeviceTypeUserSet>false</DeviceTypeUserSet>
<Upload></Upload>
<Download></Download>
<QosPriority>4</QosPriority>
</Device>
<Device>
<IP>192.168.123.205</IP>
<Name>erica</Name>
<NameUserSet>false</NameUserSet>
<MAC>DE:AD:C0:DE:EE:EE</MAC>
<ConnectionType>2.4GHz</ConnectionType>
<SSID>here-2.4</SSID>
<Linkspeed></Linkspeed>
<SignalStrength>73</SignalStrength>
<AllowOrBlock>Allow</AllowOrBlock>
<Schedule>false</Schedule>
<DeviceType>47</DeviceType>
<DeviceTypeUserSet>false</DeviceTypeUserSet>
<Upload></Upload>
<Download></Download>
<QosPriority>4</QosPriority>
</Device>
<Device>
<IP>192.168.123.206</IP>
<Name>floyd</Name>
<NameUserSet>false</NameUserSet>
<MAC>DE:AD:C0:DE:FF:FF</MAC>
<ConnectionType>5GHz</ConnectionType>
<SSID>here-5</SSID>
<Linkspeed></Linkspeed>
<SignalStrength>100</SignalStrength>
<AllowOrBlock>Allow</AllowOrBlock>
<Schedule>false</Schedule>
<DeviceType>47</DeviceType>
<DeviceTypeUserSet>false</DeviceTypeUserSet>
<Upload></Upload>
<Download></Download>
<QosPriority>4</QosPriority>
</Device>
<Device>
<IP>192.168.123.207</IP>
<Name>gisele</Name>
<NameUserSet>false</NameUserSet>
<MAC>DE:AD:C0:DE:00:00</MAC>
<ConnectionType>2.4GHz</ConnectionType>
<SSID>here-2.4</SSID>
<Linkspeed></Linkspeed>
<SignalStrength>51</SignalStrength>
<AllowOrBlock>Allow</AllowOrBlock>
<Schedule>false</Schedule>
<DeviceType>47</DeviceType>
<DeviceTypeUserSet>false</DeviceTypeUserSet>
<Upload></Upload>
<Download></Download>
<QosPriority>4</QosPriority>
</Device>
</NewAttachDevice>
</m:GetAttachDevice2Response>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceInfo/GetSystemLogs
### - This method always crashes the SOAP server for firmware version
### 1.0.3.46_1.1.32, but has yet to do so for version 1.0.3.48_1.1.33.
### Such crashes required the router be restarted to recover.
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 583
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceInfo:1#GetSystemLogs"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceInfo:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetSystemLogs xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: DeviceInfo/GetSystemLogs
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 1217
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:31:24 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetSystemLogsResponse
xmlns:m="urn:NETGEAR-ROUTER:service:DeviceInfo:1">
<NewLogDetails>*** CENSORED ***
</NewLogDetails>
</m:GetSystemLogsResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceConfig/GetTrafficMeterStatistics
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 597
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceConfig:1#GetTrafficMeterStatistics"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceConfig:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetTrafficMeterStatistics xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: DeviceConfig/GetTrafficMeterStatistics
### - There is no indication in this response as to when the statistics
### apply. Are they current results or does the router calculate them
### on a periodic basis? Either way, this response should contain a
### timestamp parameter as well.
### - Beware that the traffic statistics are computed incorrectly. Day
### changes do NOT occur according to the time zone the user has
### configured. The same flaw applies to the web UI.
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 1355
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:31:35 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:GetTrafficMeterStatisticsResponse
xmlns:m="urn:NETGEAR-ROUTER:service:DeviceConfig:1">
<NewTodayConnectionTime>--:--</NewTodayConnectionTime>
<NewTodayUpload>236.89</NewTodayUpload>
<NewTodayDownload>269.98</NewTodayDownload>
<NewYesterdayConnectionTime>--:--</NewYesterdayConnectionTime>
<NewYesterdayUpload>1503</NewYesterdayUpload>
<NewYesterdayDownload>8136</NewYesterdayDownload>
<NewWeekConnectionTime>--:--</NewWeekConnectionTime>
<NewWeekUpload>2415/345.02</NewWeekUpload>
<NewWeekDownload>27777/3968</NewWeekDownload>
<NewMonthConnectionTime>--:--</NewMonthConnectionTime>
<NewMonthUpload>2415/80.51</NewMonthUpload>
<NewMonthDownload>27777/925.90</NewMonthDownload>
<NewLastMonthConnectionTime>--:--</NewLastMonthConnectionTime>
<NewLastMonthUpload>5845/194.85</NewLastMonthUpload>
<NewLastMonthDownload>136527/4550</NewLastMonthDownload>
</m:GetTrafficMeterStatisticsResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceConfig/CheckNewFirmware
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 588
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceConfig:1#CheckNewFirmware"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceConfig:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:CheckNewFirmware xsi:nil="true" />
</soap:Body>
</soap:Envelope>
### HTTP Response: DeviceConfig/CheckNewFirmware
HTTP/1.1 200 OK
Server: "OS/version" UPnP/1.0 "product/version"
Content-Length: 563
Content-Type: text/xml; charset="UTF-8"
Client-Date: Tue, 08 Aug 2017 09:31:56 GMT
Client-Peer: 192.168.123.1:5000
Client-Response-Num: 1
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
<soap-env:Body>
<m:CheckNewFirmwareResponse
xmlns:m="urn:NETGEAR-ROUTER:service:DeviceConfig:1">
<CurrentVersion>1.0.3.48</CurrentVersion>
<NewVersion></NewVersion>
<ReleaseNote></ReleaseNote>
</m:CheckNewFirmwareResponse>
<ResponseCode>000</ResponseCode>
</soap-env:Body>
</soap-env:Envelope>
### HTTP Request: DeviceConfig/GetBandwidthControlEnableStatus
POST http://routerlogin.net:5000/soap/server_sa/ HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
User-Agent: SOAP::Lite/Perl/1.09
Content-Length: 603
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:NETGEAR-ROUTER:service:DeviceConfig:1#GetBandwidthControlEnableStatus"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:M1="urn:NETGEAR-ROUTER:service:DeviceConfig:1"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<SessionID>16DF8F8B8CBB9B1A1016</SessionID>
</soap:Header>
<soap:Body>
<M1:GetBandwidthControlEnableStatus xsi:nil="true" />
</soap:Body>
</soap:Envelope>