-
Notifications
You must be signed in to change notification settings - Fork 6
/
fingerprint.conf
1945 lines (1897 loc) · 78.2 KB
/
fingerprint.conf
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
##################################
# A few variables to make things cleaner
##################################
# Option 60
# vendor-id used for logging since it gets overwritten in a few cases
if (exists vendor-class-identifier) {
set vendor-id = option vendor-class-identifier;
}
# Option 55
if (exists dhcp-parameter-request-list) {
set prl = binary-to-ascii(16, 8, ":", option dhcp-parameter-request-list);
}
else {
# This means there was no PRL sent. Uncommon but possible.
if (substring(option host-name, 0, 3) = "NPI") { set ident = "HP printer"; }
# Things with PRL and VCI but no defined class match this randomly
}
##################################
# Option definitions for particular clients
##################################
# Aruba access points
# Aruba DHCP discovery seems to cause problems with
# Cisco DHCP discovery in a mixed environment, despite
# Cisco using its own option space. DNS discovery may
# be better.
#option aruba-controller code 43 = ip-address;
# Cisco access points
option space cisco-controller;
option cisco-controller.ip code 241 = array of ip-address;
# IP phones
option voip-tftp-servers code 150 = array of ip-address;
# Prevent unnecessary DHCPINFORMS from Windows clients
# that keep looking for WPAD options
option wpad code 252 = text;
option wpad "\n\000";
##################################
# Match on just Vendor ID
# - very specific ID
# - loose match ok (ie, printer)
##################################
##
## Android unknown version
##
class "Vendor-Android-BrightSign" {
match if (substring(option vendor-class-identifier, 0, 25) = "dhcpcd-5.5.4:Linux-2.6.39") and
(suffix(option vendor-class-identifier, 16) = "BrightSign HD220");
set ident = "BrightSign media appliance (Android)";
}
##
## Android 2.2
##
class "Vendor-Android22-Cisco-Cius" {
match if(substring(option vendor-class-identifier, 0, 10) = "Cisco Cius");
set ident = "Cisco Cius (Android 2.2)";
}
class "Vendor-Android22-Motorola-Triumph" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.35") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:TRIUMPH"));
set ident = "Motorola Triumph (Android 2.2)";
}
# Below other Android 2.2 matches in case of better match
class "Vendor-Android22-Motorola-Droid" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.32") and
(suffix (option vendor-class-identifier, 21) = ":armv7l:mapphone_CDMA"));
set ident = "Motorola Droid family (Android 2.2)";
}
##
## Android 2.3
##
class "Vendor-Android23-HP-TouchPad" {
match if (option vendor-class-identifier = "dhcpcd-5.2.10:Linux-2.6.35-palm-tenderloin:armv7l:TENDERLOIN");
set ident = "HP TouchPad (Android 2.3)";
}
class "Vendor-Android23-HTC-Flyer" {
# Evo View 4G on Sprint
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.35") and
(suffix (option vendor-class-identifier, 13) = ":armv7l:flyer"));
set ident = "HTC Flyer / Evo View 4G (Android 2.3)";
}
class "Vendor-Android23-Samsung-NexusS" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.35") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:herring"));
set ident = "Samsung Nexus S (Android 2.3)";
}
class "Vendor-Android23-Vizio-vTab1008" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.35") and
(suffix (option vendor-class-identifier, 18) = ":armv7l:Brownstone"));
set ident = "Vizio vTab 1008 (Android 2.3)";
}
# Below other Android 2.3 matches in case of better match
class "Vendor-Android23-Motorola-Droid" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.35") and
(suffix (option vendor-class-identifier, 21) = ":armv7l:mapphone_CDMA"));
set ident = "Motorola Droid family (Android 2.3)";
}
##
## Android 3.0 / 3.1
##
class "Vendor-Android3-Acer-IconiaA100" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.36") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:vangogh"));
set ident = "Acer Iconia Tab A100 (Android 3.0 / 3.1)";
}
class "Vendor-Android3-Acer-IconiaA500" {
# Codename Picasso, the "Thor" kernel appears to only be on this device
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.36") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:picasso")) or
(substring (option vendor-class-identifier, 0, 34) = "dhcpcd-5.2.10:Linux-2.6.36.4-thor-");
set ident = "Acer Iconia Tab A500 (Android 3.0 / 3.1)";
}
class "Vendor-Android3-Motorola-Xoom" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.36") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:stingray")) or
(substring (option vendor-class-identifier, 0, 42) = "dhcpcd-5.2.10:Linux-2.6.36.4-Tiamat_Xoom-");
set ident = "Motorola Xoom (Android 3.0 / 3.1)";
}
class "Vendor-Android3-Samsung-GalaxyTab7.0Plus" {
match if (substring(option vendor-class-identifier, 0, 32) = "dhcpcd-5.2.10:Linux-2.6.36-P6210");
set ident = "Samsung Galaxy Tab 7.0 Plus (Android 3.0 / 3.1)";
}
class "Vendor-Android3-Samsung-GalaxyTab7.7" {
match if (substring(option vendor-class-identifier, 0, 31) = "dhcpcd-5.2.10:Linux-2.6.36-I815");
set ident = "Samsung Galaxy Tab 7.7 (Android 3.0 / 3.1)";
}
class "Vendor-Android3-Samsung-GalaxyTab-8.9" {
match if (option vendor-class-identifier = "KT_SD_MV_SAMSUNG_GT-P7310");
set ident = "Samsung Galaxy Tab 8.9 (Android 3.0 / 3.1)";
}
class "Vendor-Android3-Samsung-GalaxyTab10.1" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.36") and
(suffix (option vendor-class-identifier, 10) = ":armv7l:p3")) or
(option vendor-class-identifier = "KT_SD_MV_SAMSUNG_GT-P7510");
set ident = "Samsung Galaxy Tab 10.1 (Android 3.0 / 3.1)";
}
class "Vendor-Android3-Toshiba-Thrive" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.36") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:antares"));
set ident = "Toshiba Thrive AT105 (Android 3.0 / 3.1)";
}
##
## Android 3.2
##
class "Vendor-Android32-Acer-IconiaA100" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.39") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:vangogh"));
set ident = "Acer Iconia Tab A100 (Android 3.2)";
}
class "Vendor-Android32-Acer-IconiaA200" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.39") and
(suffix (option vendor-class-identifier, 17) = ":armv7l:picasso_e"));
set ident = "Acer Iconia Tab A200 (Android 3.2)";
}
class "Vendor-Android32-Acer-IconiaA500" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.39") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:picasso"));
set ident = "Acer Iconia Tab A500 (Android 3.2)";
}
class "Vendor-Android32-Motorola-Xoom" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.39") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:stingray")) or
(substring (option vendor-class-identifier, 0, 37) = "dhcpcd-5.2.10:Linux-2.6.39.4-Tiamat-");
set ident = "Motorola Xoom (Android 3.2)";
}
class "Vendor-Android32-Samsung-GalaxyTab10.1" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.39") and
(suffix (option vendor-class-identifier, 10) = ":armv7l:p3"));
set ident = "Samsung Galaxy Tab 10.1 (Android 3.2)";
}
class "Vendor-Android32-Sony-TabletS" {
# Need to improve matching
match if ((substring(option vendor-class-identifier, 0, 32) = "dhcpcd-5.2.10.13180:Linux-2.6.39") and
(suffix (option vendor-class-identifier, 13) = ":armv7l:nbx03")) or
((substring(option vendor-class-identifier, 0, 32) = "dhcpcd-5.2.10.17290:Linux-2.6.39") and
(suffix (option vendor-class-identifier, 13) = ":armv7l:nbx03"));
set ident = "Sony Tablet S (Android 3.2)";
}
class "Vendor-Android32-Toshiba-Thrive" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.39") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:antares"));
set ident = "Toshiba Thrive AT105 (Android 3.2)";
}
##
## Android 4.0
##
class "Vendor-Android4-Amazon-KindleFireHD" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 27) = ":armv7l:OMAP4 Bowser4 board") and
(substring(option host-name, 0, 7) = "kindle-")) or
((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 25) = ":armv7l:OMAP4 blaze board") and
(substring(option host-name, 0, 7) = "kindle-")) or
((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 26) = ":armv7l:OMAP4 Bowser board") and
(substring(option host-name, 0, 7) = "kindle-"));
set ident = "Amazon Kindle Fire HD (Android 4.0)";
}
class "Vendor-Android4-Archos-101XS" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 26) = ":armv7l:ARCHOS A101S board"));
set ident = "Archos 101 XS (Android 4.0)";
}
class "Vendor-Android4-BN-Nook" {
match if (((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 27) = ":armv7l:OMAP4 ovation board")) or
((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 31) = ":armv7l:OMAP4 Hummingbird board")) and
(substring(option host-name, 0, 5) = "nook-"));
set ident = "B&N Nook family (Android 4.0)";
}
class "Vendor-Android4-HTC-Amaze4G" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 12) = ":armv7l:ruby"));
set ident = "HTC Amaze 4G (Android 4.0)";
}
class "Vendor-Android4-HTC-Evo3D" {
# Shooter is CDMA, ShooterU is GSM
# Evo V 4G on Virgin Mobile
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:shooter")) or
((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 17) = ":armv7l:shooter_u"));
set ident = "HTC Evo 3D / Evo V 4G (Android 4.0)";
}
class "Vendor-Android4-HTC-Evo4GLTE" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 11) = ":armv7l:jet"));
set ident = "HTC Evo 4G LTE (Android 4.0)";
}
class "Vendor-Android4-HTC-EvoDesign4G" {
# Hero S on US Cellular
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:kingdom"));
set ident = "HTC Evo Design 4G / Hero S (Android 4.0)";
}
class "Vendor-Android4-HTC-HD2" {
match if ((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.32") and
(suffix (option vendor-class-identifier, 14) = ":armv7l:htcleo"));
set ident = "HTC HD2 (Android 4.0)";
}
class "Vendor-Android4-HTC-Incredible4G" {
# Droid Incredible 4G LTE on Verizon
# Also called the Incredible 3
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:fighter"));
set ident = "HTC Incredible 4G (Android 4.0)";
}
class "Vendor-Android4-HTC-OneS" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 13) = ":armv7l:ville"));
set ident = "HTC One S (Android 4.0)";
}
class "Vendor-Android4-HTC-OneSV" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 13) = ":armv7l:k2_cl"));
set ident = "HTC One SV (Android 4.0)";
}
class "Vendor-Android4-HTC-OneV" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(substring(suffix(option vendor-class-identifier, 14), 0, 13) = ":armv7l:primo"));
set ident = "HTC One V (Android 4.0)";
}
class "Vendor-Android4-HTC-OneVX" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(substring(option vendor-class-identifier, 0, 11) = ":armv7l:tc2"));
set ident = "HTC One VX (Android 4.0)";
}
class "Vendor-Android4-HTC-OneX" {
# The codename went through a few revisions: Elite -> Edge -> Endeavor
# Elite appears to be the hardware platform for the Evita model
# The EndeavorU model appears to have kernel 2.6.39 despite running Android "4.0.3"
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 13) = ":armv7l:elite")) or
((substring(option vendor-class-identifier, 0, 26) = "dhcpcd-5.2.10:Linux-2.6.39") and
(suffix (option vendor-class-identifier, 17) = ":armv7l:endeavoru"));
set ident = "HTC One X (Android 4.0)";
}
class "Vendor-Android4-HTC-Rezound" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 13) = ":armv7l:vigor"));
set ident = "HTC Rezound (Android 4.0)";
}
class "Vendor-Android4-HTC-Sensation" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:pyramid"));
set ident = "HTC Sensation (Android 4.0)";
}
class "Vendor-Android4-HTC-ThunderBolt" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 13) = ":armv7l:mecha"));
set ident = "HTC ThunderBolt (Android 4.0)";
}
class "Vendor-Android4-HTC-Vivid" {
# Raider 4G internationally
# Velocity 4G in Australia
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:holiday"));
set ident = "HTC Vivid / Raider 4G / Velocity 4G (Android 4.0)";
}
class "Vendor-Android4-LG-OptimusL9" {
# Optimus LTE internationally
# Nitro HD on AT&T, Spectrum on Verizon
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 22) = ":armv7l:LGE P769 board"));
set ident = "LG Optimus L9 (Android 4.0)";
}
class "Vendor-Android4-LG-OptimusLTE" {
# Optimus LTE internationally
# Nitro HD on AT&T, Spectrum on Verizon
# Optimus True HD LTE in Germany
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 27) = ":armv7l:LGE I BOARD MSM8X60"));
set ident = "LG Optimus LTE / Nitro HD / Spectrum (Android 4.0)";
}
class "Vendor-Android4-LG-OptimusLTE2" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 23) = ":armv7l:LGE MSM8960 D1L"));
set ident = "LG Optimus LTE2 (Android 4.0)";
}
class "Vendor-Android4-LG-OptimusRegard" {
# Possibly also Optimus Spectrum II
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 22) = ":armv7l:LGE MSM8960 Lx"));
set ident = "LG Optimus Regard (Android 4.0)";
}
class "Vendor-Android4-LG-Venice" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 22) = ":armv7l:LGE MSM7X30 U0"));
set ident = "LG Venice (Android 4.0)";
}
class "Vendor-Android4-Motorola-AtrixHD" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 14) = ":armv7l:Qinara"));
set ident = "Motorola Atrix HD (Android 4.0)";
}
class "Vendor-Android4-Motorola-DroidRazrHD" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:Vanquish"));
set ident = "Motorola Droid Razr HD (Android 4.0)";
}
class "Vendor-Android4-Pantech-Marauder" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 25) = ":armv7l:QCT MSM8960 STARQ"));
set ident = "Pantech Marauder (Android 4.0)";
}
class "Vendor-Android4-Pantech-Presto" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 30) = ":armv7l:PANTECH MSM8X60 PRESTO"));
set ident = "Pantech Presto (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyAxiom" {
# Infinite appears to the codename or platform name for the SCH-R830
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 24) = ":armv7l:SAMSUNG INFINITE"));
set ident = "Samsung Galaxy Axiom (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyExhilarate" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:SGH-I577")) or
(substring(option vendor-class-identifier, 0, 35) = "dhcpcd-5.2.10:Linux-3.0.8-perf-I577");
set ident = "Samsung Galaxy Exhilarate (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyExpress" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 23) = ":armv7l:SAMSUNG EXPRESS"));
set ident = "Samsung Galaxy Express (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyNexus" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 12) = ":armv7l:Tuna")) or
(substring(option vendor-class-identifier, 0, 32) = "dhcpcd-5.2.10:Linux-3.0.18-tuna-");
set ident = "Samsung Galaxy Nexus (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyNote" {
# N7000 is the original model
# SGH-I717 is LTE for US/CA
# SHV-E160x is LTE from South Korea
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:SGH-I717")) or
((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(substring(suffix(option vendor-class-identifier, 17), 0, 16) = ":armv7l:SHV-E160")) or
(substring(option vendor-class-identifier, 0, 35) = "dhcpcd-5.2.10:Linux-3.0.8-perf-I717") or
(substring(option vendor-class-identifier, 0, 32) = "dhcpcd-5.2.10:Linux-3.0.15-N7000");
set ident = "Samsung Galaxy Note (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyReverb" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:SPH-M950"));
set ident = "Samsung Galaxy Reverb (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyRush" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:SPH-M830"));
set ident = "Samsung Galaxy Rush (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyS" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 13) = ":armv7l:aries"));
set ident = "Samsung Galaxy S (Android 4.0)";
}
class "Vendor-Android4-Samsung-GS-Blaze4G" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:SGH-T769"));
set ident = "Samsung Galaxy S Blaze 4G (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyS2" {
# GT-I9100 is the original
# SGH-T989 is the T-Mobile version
# SGH-I777 is the AT&T version (no LTE)
# Siyah is a custom ROM for Galaxy S II and III
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:SGH-T989")) or
(substring(option vendor-class-identifier, 0, 35) = "dhcpcd-5.2.10:Linux-3.0.8-perf-T989") or
(substring(option vendor-class-identifier, 0, 32) = "dhcpcd-5.2.10:Linux-3.0.15-I9100") or
(substring(option vendor-class-identifier, 0, 31) = "dhcpcd-5.2.10:Linux-3.0.15-I777") or
(substring(option vendor-class-identifier, 0, 35) = "dhcpcd-5.2.10:Linux-3.0.40-Siyah-s2");
set ident = "Samsung Galaxy S II (Android 4.0)";
}
class "Vendor-Android4-Samsung-GS2-Epic4GTouch" {
# Sprint version with WiMax
# Also called Samsung Galaxy S II 4G
match if (substring(option vendor-class-identifier, 0, 35) = "dhcpcd-5.2.10:Linux-3.0.15-SPH-D710");
set ident = "Samsung Galaxy S II Epic 4G Touch (Android 4.0)";
}
class "Vendor-Android4-Samsung-GS2-Skyrocket" {
# AT&T version with LTE
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:SGH-I727")) or
(substring(option vendor-class-identifier, 0, 35) = "dhcpcd-5.2.10:Linux-3.0.8-perf-I727");
set ident = "Samsung Galaxy S II Skyrocket (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyS3" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(substring(suffix(option vendor-class-identifier, 22), 0, 19) = ":armv7l:SAMSUNG M2_"));
set ident = "Samsung Galaxy S III (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyStellar" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 22) = ":armv7l:SAMSUNG JASPER"));
set ident = "Samsung Galaxy Stellar (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyTab7.0Plus" {
match if (substring(option vendor-class-identifier, 0, 32) = "dhcpcd-5.2.10:Linux-3.0.15-P6210");
set ident = "Samsung Galaxy Tab 7.0 Plus (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyTab10.1" {
match if (option vendor-class-identifier = "KT_SD_MV_SAMSUNG_SHW-M380W");
set ident = "Samsung Galaxy Tab 10.1 (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyTab2-7" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:Espresso")) or
((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 24) = ":armv7l:SAMSUNG ESPRESSO"));
set ident = "Samsung Galaxy Tab 2 7.0 (Android 4.0)";
}
class "Vendor-Android4-Samsung-GalaxyTab2-10" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 18) = ":armv7l:Espresso10"));
set ident = "Samsung Galaxy Tab 2 10.1 (Android 4.0)";
}
class "Vendor-Android4-Samsung-NexusS" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 15) = ":armv7l:herring"));
set ident = "Samsung Nexus S (Android 4.0)";
}
class "Vendor-Android4-Samsung-Stratosphere4G" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 22) = ":armv7l:SAMSUNG AEGIS2"));
set ident = "Samsung Stratosphere 4G (Android 4.0)";
}
class "Vendor-Android4-ZTE-N9100" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 25) = ":armv7l:ZTE MSM8960 HAYES"));
set ident = "ZTE Force N9100 (Android 4.0)";
}
# Below other Android 4.0 classes in case of better match
class "Vendor-Android4-Motorola-Droid" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(substring(suffix(option vendor-class-identifier, 21), 0, 17) = ":armv7l:mapphone_"));
set ident = "Motorola Droid family (Android 4.0)";
}
class "Vendor-Android4-Samsung-Galaxy" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:SMDK4x12")) or
((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 16) = ":armv7l:SMDK4210"));
set ident = "Samsung Galaxy family (Android 4.0)";
}
class "Vendor-Android4-Sony-Xperia" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 12) = ":armv7l:fuji")) or
((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.0.") and
(suffix (option vendor-class-identifier, 17) = ":armv7l:riogrande"));
set ident = "Sony Xperia family (Android 4.0)";
}
class "Vendor-Android4-CyanogenMod9" {
match if (substring(option vendor-class-identifier, 0, 33) = "dhcpcd-5.2.10:Linux-2.6.39.4_CM9-");
set ident = "CyanogenMod 9 (Android 4.0)";
}
##
## Android 4.1
##
class "Vendor-Android41-Samsung-CaptivateGlide" {
match if (substring(option vendor-class-identifier, 0, 31) = "dhcpcd-5.2.10:Linux-3.1.10-I927");
set ident = "Samsung Captivate Glide / Galaxy S Glide (Android 4.1)";
}
class "Vendor-Android41-Samsung-GalaxyS2" {
# GT-I9100 is the original
# SGH-T989 is the T-Mobile version
# SGH-I777 is the AT&T version (no LTE)
# Siyah is a custom ROM for Galaxy S II and III
match if (substring(option vendor-class-identifier, 0, 40) = "dhcpcd-5.2.10:Linux-3.1.0-R59-Siyah-i777");
set ident = "Samsung Galaxy S II (Android 4.0)";
}
class "Vendor-Android41-Samsung-GalaxyTab10.1" {
match if ((substring(option vendor-class-identifier, 0, 24) = "dhcpcd-5.2.10:Linux-3.1.") and
(suffix (option vendor-class-identifier, 10) = ":armv7l:p3"));
set ident = "Samsung Galaxy Tab 10.1 (Android 4.1)";
}
##
## Android 6
##
class "Vendor-Android-6-0" {
match if (substring(option vendor-class-identifier, 0, 16) = "android-dhcp-6.0");
set ident = "Google Android 6.0";
}
##
## Android 7
##
class "Vendor-Android-7-0" {
match if (substring(option vendor-class-identifier, 0, 16) = "android-dhcp-7.0");
set ident = "Google Android 7.0";
}
class "Vendor-Android-7-1" {
match if (substring(option vendor-class-identifier, 0, 16) = "android-dhcp-7.1");
set ident = "Google Android 7.1";
}
class "Vendor-Android-7-x" {
match if (substring(option vendor-class-identifier, 0, 14) = "android-dhcp-N");
set ident = "Google Android 7.x";
}
##
## Android 8
##
class "Vendor-Android-8-0" {
match if (substring(option vendor-class-identifier, 0, 16) = "android-dhcp-8.0");
set ident = "Google Android 8.0";
}
class "Vendor-Android-8-x" {
match if (substring(option vendor-class-identifier, 0, 14) = "android-dhcp-O");
set ident = "Google Android 8.x";
}
##
## Android 9
##
class "Vendor-Android-9" {
match if (substring(option vendor-class-identifier, 0, 14) = "android-dhcp-9");
set ident = "Google Android 9";
}
##
## Android 10
##
class "Vendor-Android-10" {
match if (substring(option vendor-class-identifier, 0, 15) = "android-dhcp-10");
set ident = "Google Android 10";
}
##
## Android 11
##
class "Vendor-Android-11" {
match if (substring(option vendor-class-identifier, 0, 15) = "android-dhcp-11");
set ident = "Google Android 11";
}
##
## Android 12
##
class "Vendor-Android-12" {
match if (substring(option vendor-class-identifier, 0, 15) = "android-dhcp-12");
set ident = "Google Android 12";
}
##
## Android 13
##
class "Vendor-Android-13" {
match if (substring(option vendor-class-identifier, 0, 15) = "android-dhcp-13");
set ident = "Google Android 13";
}
##
## Android 14
##
class "Vendor-Android-14" {
match if (substring(option vendor-class-identifier, 0, 15) = "android-dhcp-14");
set ident = "Google Android 14";
}
class "Vendor-Apple-MacOS9" {
match if (substring(option vendor-class-identifier, 0, 8) = "Mac OS 9");
set ident = "Apple Mac OS 9";
}
class "Vendor-AppleNetBoot-Intel" {
match if (substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386");
set ident = "Apple NetBoot (Intel)";
}
class "Vendor-AppleNetBoot-PPC" {
match if (substring(option vendor-class-identifier, 0, 13) = "AAPLBSDPC/ppc");
set ident = "Apple NetBoot (PPC)";
}
class "Vendor-Aruba-AP" {
match if (option vendor-class-identifier = "ArubaAP");
set ident = "Aruba wireless network appliance";
# Aruba APs need Option 60 (VCI) to be sent back
option vendor-class-identifier "ArubaAP";
# Aruba DHCP discovery seems to cause problems with
# Cisco DHCP discovery in a mixed environment, despite
# Cisco using its own option space. DNS discovery may
# be better.
#option aruba-controller aaa.bbb.ccc.ddd;
}
class "Vendor-Aruba-InstantAP" {
match if (option vendor-class-identifier = "ArubaInstantAP");
set ident = "Aruba wireless network appliance";
# If using DHCP for AirWave discovery, Instant APs
# need Option 60 (VCI) to be sent back
#option vendor-class-identifier "ArubaInstantAP";
}
class "Vendor-Aruba-Controller" {
match if (option vendor-class-identifier = "ArubaMC");
set ident = "Aruba network appliance";
# TFTP server for Zero-Touch Provisioning
#option voip-tftp-servers aaa.bbb.ccc.ddd;
# If using DHCP for AirWave discovery, Mobility Access Switches
# need Option 60 (VCI) of "ArubaInstantAP" to be sent back
#option vendor-class-identifier "ArubaInstantAP";
}
class "Vendor-BlackBerry" {
match if (option vendor-class-identifier = "BlackBerry") or
(substring(option vendor-class-identifier, 11, 14) = "RIM.BlackBerry");
set ident = "BlackBerry";
}
class "Vendor-BlackBerry-BB10" {
match if (substring(option vendor-class-identifier, 0, 16) = "BlackBerry OS 10");
set ident = "BlackBerry 10";
}
class "Vendor-BlackBerry-PlayBook" {
match if (substring(option vendor-class-identifier, 0, 20) = "BlackBerry Tablet OS");
set ident = "BlackBerry PlayBook";
}
class "Vendor-Boca-Printer" {
match if (option vendor-class-identifier = "BOCA SYSTEMS PRINTER");
set ident = "Boca ticket printer";
}
class "Vendor-CBORD-Squadron" {
match if (option vendor-class-identifier = "CSGold Squadron");
set ident = "HID VertX / CBORD Squadron access controller (Linux)";
}
class "Vendor-Cisco-AP" {
match if (substring(option vendor-class-identifier, 0, 8) = "Cisco AP");
set ident = "Cisco wireless network appliance";
# Specify syslog server to prevent Cisco APs
# from logging to the broadcast address
#option log-servers aaa.bbb.ccc.ddd;
vendor-option-space cisco-controller;
#option cisco-controller.ip aaa.bbb.ccc.ddd;
}
class "Vendor-Cisco-Meraki" {
match if (option vendor-class-identifier = "MERAKI");
set ident = "Cisco Meraki network appliance";
}
class "Vendor-Cisco-Phone" {
match if (substring(option vendor-class-identifier, 0, 28) = "Cisco Systems, Inc. IP Phone");
set ident = "Cisco IP phone";
# Omit null at the end of the string
set vendor-id = substring(option vendor-class-identifier, 0, 36);
#option voip-tftp-servers aaa.bbb.ccc.ddd;
}
class "Vendor-Cisco-Phone-Typo" {
match if (substring(option vendor-class-identifier, 0, 27) = "Cisco System, Inc. IP Phone");
set ident = "Cisco IP phone";
# Omit null at the end of the string
set vendor-id = substring(option vendor-class-identifier, 0, 35);
#option voip-tftp-servers aaa.bbb.ccc.ddd;
}
class "Vendor-Cisco-Video" {
match if (substring(option vendor-class-identifier, 0, 18) = "TANDBERG:Codec:1.0");
set ident = "Cisco (Tandberg) videoconference unit";
# Omit null at the end of the string
set vendor-id = "TANDBERG:Codec:1.0";
}
class "Vendor-Cisco-WLC" {
match if (substring(option vendor-class-identifier, 0, 12) = "Cisco AIR-CT");
set ident = "Cisco Wireless LAN Controller";
}
class "Vendor-Cradlepoint" {
match if (option vendor-class-identifier = "Cradlepoint DHCP Client");
set ident = "Cradlepoint network appliance";
}
class "Vendor-Debian-Installer" {
match if (option vendor-class-identifier = "d-i");
set ident = "Debian Linux (installer)";
}
class "Vendor-Dell-DRAC" {
match if (option vendor-class-identifier = "iDRAC") or
(substring(option vendor-class-identifier, 0, 8) = "DELL RAC");
set ident = "Dell DRAC";
}
class "Vendor-Dell-Printer" {
match if (substring(option vendor-class-identifier, 0, 4) = "Dell") or
(substring(option vendor-class-identifier, 4, 4) = "DELL") or
(substring(option vendor-class-identifier, 21, 4) = "Dell");
set ident = "Dell printer";
}
class "Vendor-HP-Printer" {
match if (option vendor-class-identifier = "Hewlett-Packard JetDirect") or
(option vendor-class-identifier = "Hewlett-Packard LaserJet") or
(substring(option vendor-class-identifier, 0, 19) = "Mfg=Hewlett Packard");
set ident = "HP printer";
}
class "Vendor-Juniper-ScreenOS" {
match if (substring(option vendor-class-identifier, 0, 9) = "NetScreen");
set ident = "Juniper ScreenOS network appliance";
}
class "Vendor-Lexmark-printer" {
match if (substring(option vendor-class-identifier, 4, 7) = "LEXMARK");
set ident = "Lexmark printer";
}
class "Vendor-Linksys" {
match if (substring(option vendor-class-identifier, 0, 7) = "LINKSYS");
set ident = "Linksys network appliance";
}
class "Vendor-Microsoft-Xbox" {
match if (option vendor-class-identifier = "XBOX 1.0");
set ident = "Microsoft Xbox";
}
class "Vendor-Microsoft-Xbox360" {
match if (option vendor-class-identifier = "Xbox 360");
set ident = "Microsoft Xbox 360";
}
class "Vendor-Minix" {
match if (option vendor-class-identifier = "Minix");
set ident = "Minix";
}
class "Vendor-Oki-Printer" {
match if (option vendor-class-identifier = "C330") or
(option vendor-class-identifier = "MC561");
set ident = "Oki printer";
}
class "Vendor-PartedMagic" {
match if (substring(option vendor-class-identifier, 0, 32) = "dhcpcd-5.2.12:Linux-3.3.6-pmagic") or
(substring(option vendor-class-identifier, 0, 33) = "dhcpcd-5.2.12:Linux-3.10.4-pmagic") or
(substring(option vendor-class-identifier, 0, 33) = "dhcpcd-5.2.12:Linux-3.10.5-pmagic");
set ident = "Parted Magic (Linux)";
}
class "Vendor-PowerDsine-midspan" {
match if (option vendor-class-identifier = "midspan_ip_list");
set ident = "PowerDsine midspan";
}
class "Vendor-PXE" {
match if (substring(option vendor-class-identifier, 0, 9) = "PXEClient");
set ident = "PXE Boot";
}
class "Vendor-Rabbit" {
match if (substring(option vendor-class-identifier, 0, 12) = "Rabbit-TCPIP");
set ident = "Rabbit Semiconductor microcontroller";
}
class "Vendor-Samsung-printer" {
match if (option vendor-class-identifier = "SAMSUNG Network Printer");
set ident = "Samsung printer";
}
class "Vendor-Samsung-TV" {
match if (substring(option vendor-class-identifier, 14, 8) = "VD Linux");
set ident = "Samsung media appliance (Linux)";
}
class "Vendor-Sony-PS3" {
match if (substring(option vendor-class-identifier, 0, 3) = "PS3");
set ident = "Sony Playstation 3";
# Omit null at the end of the string
set vendor-id = "PS3";
}
class "Vendor-Sony-PS4" {
match if (substring(option vendor-class-identifier, 0, 3) = "PS4");
set ident = "Sony Playstation 4";
# Omit null at the end of the string
set vendor-id = "PS4";
}
class "Vendor-Sony-PSVita" {
match if (substring(option vendor-class-identifier, 0, 10) = "PS Vita TV");
set ident = "Sony Playstation Vita";
# Omit null at the end of the string
set vendor-id = "PS Vita TV";
}
class "Vendor-Sun" {
match if (substring(option vendor-class-identifier, 0, 3) = "SUNW");
set ident = "SunOS based (Solaris/Illumos)";
}
class "Vendor-TrendNet-Router" {
match if (option vendor-class-identifier = "TW100-S4W1CA") or
(option vendor-class-identifier = "TEW-654TR") or
(option vendor-class-identifier = "trendnet");
set ident = "TrendNet network appliance";
}
class "Vendor-uClinux" {
match if (substring(option vendor-class-identifier, 0, 7) = "uClinux");
set ident = "uClinux (Embedded/Microcontroller Linux)";
}
class "Vendor-Vizio-TV" {
match if (option vendor-class-identifier = "VIZIO VIA");
set ident = "Vizio media appliance (Linux)";
}
class "Vendor-Wyse-Terminal" {
match if (option vendor-class-identifier = "PCoIP Endpoint");
set ident = "Wyse thin terminal";
}
class "Vendor-Xerox-Printer" {
match if (option vendor-class-identifier = "Xerox Phaser") or
(substring(option vendor-class-identifier, 4, 5) = "Xerox") or
(substring(option vendor-class-identifier, 4, 5) = "XEROX");
set ident = "Xerox printer";
}
class "Vendor-Yealink-Phone" {
match if (option vendor-class-identifier = "yealink") and
(substring(option host-name, 0, 3) = "SIP");
set ident = "Yealink IP phone";
}
##################################
# Match on Parameter Request List (PRL)
# and optionally other attributes
##################################
class "PRL" {
match option dhcp-parameter-request-list;
}
##
# Apple Mac OS X
##
subclass "PRL" 1:3:c:6:f:70:71:4e:4f { set ident = "Apple Mac OS X 10.0"; }
subclass "PRL" 1:3:6:f:70:71:4e:4f { set ident = "Apple Mac OS X 10.1"; }
subclass "PRL" 1:3:6:f:70:71:4e:4f:5f { set ident = "Apple Mac OS X 10.2 / 10.3"; }
subclass "PRL" 1:3:6:f:70:71:4e:4f:5f:fc { set ident = "Apple Mac OS X 10.4 / Apple TV G1"; }
subclass "PRL" 1:3:6:f:77:5f:fc:2c:2e:2f { set ident = "Apple Mac OS X 10.5 / 10.6"; }
subclass "PRL" 1:3:6:f:77:5f:fc:2c:2e { set ident = "Apple OS X 10.7 - 10.10"; }
subclass "PRL" 1:79:3:6:f:77:fc:5f:2c:2e { set ident = "Apple OS X 10.11 / macOS 10.12 - 10.15"; }
subclass "PRL" 1:79:3:6:f:72:77:fc:5f:2c:2e { set ident = "Apple macOS 11 - 12"; }
subclass "PRL" 1:79:3:6:f:6c:72:77:fc:5f:2c:2e { set ident = "Apple macOS 12"; }
##
# Apple iOS 2 - 8
##
subclass "PRL" 1:3:6:f:77:fc {
if (option host-name ~~ "phone")
{
set ident = "Apple iPhone (iOS 2 - 8)";
}
elsif ((option host-name ~~ "pod") or (option host-name ~~ "touch"))
{
set ident = "Apple iPod touch (iOS 2 - 8)";
}
elsif (option host-name ~~ "pad")
{
set ident = "Apple iPad (iOS 3 - 8)";
}
elsif (option host-name ~~ "tv")
{
set ident = "Apple tvOS 4 - 7 (iOS 4 - 8)";
}
elsif (option host-name ~~ "watch")
{
set ident = "Apple watchOS 1.0 (iOS 8.2)";
}
else { set ident = "Apple iOS 2 - 8"; }
}
##
# Apple iOS 9 - 13
##
subclass "PRL" 1:79:3:6:f:77:fc {
if (option host-name ~~ "phone")
{
set ident = "Apple iPhone (iOS 9 - 13)";
}
elsif ((option host-name ~~ "pod") or (option host-name ~~ "touch"))
{
set ident = "Apple iPod touch (iOS 9 - 13)";
}
elsif (option host-name ~~ "pad")
{
set ident = "Apple iPad (iOS 9 - 13)";
}
elsif (option host-name ~~ "tv")
{
set ident = "Apple tvOS 9 - 13 (iOS 9 - 13)";
}
elsif (option host-name ~~ "watch")
{
set ident = "Apple watchOS 2 - 6 (iOS 9 - 13)";
}
else { set ident = "Apple iOS 9 - 13"; }
}
##
# Apple iOS 14
##
subclass "PRL" 1:79:3:6:f:72:77:fc {
if (option host-name ~~ "phone")
{
set ident = "Apple iPhone (iOS 14)";
}
elsif ((option host-name ~~ "pod") or (option host-name ~~ "touch"))
{
set ident = "Apple iPod touch (iOS 14)";
}
elsif (option host-name ~~ "pad")
{
set ident = "Apple iPadOS (iOS 14)";
}
elsif (option host-name ~~ "tv")
{
set ident = "Apple tvOS 14 (iOS 14)";
}
elsif (option host-name ~~ "watch")
{
set ident = "Apple watchOS 7 (iOS 14)";
}
else { set ident = "Apple iOS 14"; }
}
##
# Apple iOS 15 - 17
##
subclass "PRL" 1:79:3:6:f:6c:72:77:fc {
if (option host-name ~~ "phone")
{
set ident = "Apple iPhone (iOS 15 - 17)";
}
elsif ((option host-name ~~ "pod") or (option host-name ~~ "touch"))
{
set ident = "Apple iPod touch (iOS 17)";
}
elsif (option host-name ~~ "pad")
{
set ident = "Apple iPadOS (iOS 15 - 17)";
}
elsif (option host-name ~~ "tv")
{
set ident = "Apple tvOS 15 - 17 (iOS 15 - 17)";
}
elsif (option host-name ~~ "watch")
{
set ident = "Apple watchOS 8 - 10 (iOS 15 - 17)";
}
else { set ident = "Apple iOS 15 - 17"; }
}
##
# Apple AirPort Base Station (Extreme/Express/TimeCapsule)
##
subclass "PRL" 1:2:3:f:6:c:2c { set ident = "Apple network appliance"; }
##
# Linux (Debian-based)
##
# Debian installer matched on vendor ID
#subclass "PRL" 1:1c:2:3:f:6:c:2a { set ident = "Debian Linux installer"; }
subclass "PRL" 1:1c:2:3:f:6:c:2c:2f { set ident = "Ubuntu Linux 4.10 - 8.04"; }
subclass "PRL" 1:1c:2:3:f:6:c:2c:2f:1a { set ident = "Debian Linux 4"; }
subclass "PRL" 1:1c:2:3:f:6:77:c:2c:2f:1a { set ident = "Ubuntu Linux 8.10"; }
subclass "PRL" 1:1c:2:3:f:6:77:c:2c:2f:1a:79 { set ident = "Debian Linux 5"; }
subclass "PRL" 1:1c:2:3:f:6:77:c:2c:2f:1a:79:2a { set ident = "Debian Linux 6 or derivative (dhclient)"; }
subclass "PRL" 1:1c:2:3:f:6:77:c:2c:2f:1a:79:2a:79:f9:fc:2a{
set ident = "Debian Linux 7 or derivative (NetworkManager)";
}
subclass "PRL" 1:1c:2:3:f:6:77:c:2c:2f:1a:79:2a:79:f9:21:fc:2a {
set ident = "Debian Linux or derivative";
}
##
# Linux (RedHat-based)
##
subclass "PRL" 1:1c:2:3:f:6:c:28:29:2a { set ident = "Red Hat Enterprise Linux 5 or derivative"; }
subclass "PRL" 1:1c:2:3:f:6:c:28:29:2a:1a { set ident = "Red Hat Enterprise Linux 5 or derivative"; }
subclass "PRL" 1:1c:2:3:f:6:c:28:29:2a:1a:77 { set ident = "Red Hat Enterprise Linux 6 or derivative"; }
subclass "PRL" 1:1c:2:79:f:6:c:28:29:2a:1a:77:3:79:f9:2a { set ident = "Red Hat Enterprise Linux 6 or derivative"; }
subclass "PRL" 1:1c:2:79:f:6:c:28:29:2a:1a:77:3 { set ident = "Red Hat-based Linux (dhclient)"; }
subclass "PRL" 1:1c:2:79:f:6:c:28:29:2a:1a:77:3:79:f9:fc:2a { set ident = "Red Hat-based Linux (NetworkManager)"; }
subclass "PRL" 1:1c:2:79:f:6:c:28:29:2a:1a:77:3:79:f9:21:2a { set ident = "Red Hat-based Linux"; }
subclass "PRL" 1:1c:2:79:f:6:c:28:29:2a:1a:77:3:79:f9:21:fc:2a { set ident = "Red Hat-based Linux"; }
subclass "PRL" 1:2:6:c:f:1a:1c:79:3:21:28:29:2a:77:f9:fc:11 {
if (option host-name = "sysrescue") { set ident = "SystemRescue"; }
else { set ident = "Red Hat-based Linux"; }
}
##