aboutsummaryrefslogtreecommitdiff
blob: 46fb51145b391f0c7422bafeeec3a159c75a78f1 (plain)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
#
# This is a generated file!  Instead of modifying this file, the
# corenetwork.te.in or corenetwork.te.m4 file should be modified.
#
policy_module(corenetwork, 1.17.0)

########################################
#
# Declarations
#

attribute client_packet_type;
# This is an optimization for { port_type -port_t }
attribute defined_port_type;
attribute ipsec_spd_type;
attribute netif_type;
attribute node_type;
attribute packet_type;
attribute port_type;
attribute reserved_port_type;
attribute rpc_port_type;
attribute server_packet_type;
# This is an optimization for { port_type -reserved_port_type }
attribute unreserved_port_type;

attribute corenet_unconfined_type;

type ppp_device_t;
dev_node(ppp_device_t)

#
# tun_tap_device_t is the type of /dev/net/tun/* and /dev/net/tap/*
#
type tun_tap_device_t;
dev_node(tun_tap_device_t)

########################################
#
# Ports and packets
#

#
# client_packet_t is the default type of IPv4 and IPv6 client packets.
#
type client_packet_t, packet_type, client_packet_type;

#
# The netlabel_peer_t is used by the kernel's NetLabel subsystem for network
# connections using NetLabel which do not carry full SELinux contexts.
#
type netlabel_peer_t;
sid netmsg gen_context(system_u:object_r:netlabel_peer_t,mls_systemhigh)

#
# port_t is the default type of INET port numbers.
#
type port_t, port_type;
sid port gen_context(system_u:object_r:port_t,s0)

#
# unreserved_port_t is the default type of INET port numbers above 1023
#
type unreserved_port_t, port_type, unreserved_port_type;

#
# reserved_port_t is the type of INET port numbers below 1024.
#
type reserved_port_t, port_type, reserved_port_type;

#
# hi_reserved_port_t is the type of INET port numbers between 512-1023.
#
type hi_reserved_port_t, port_type, reserved_port_type, rpc_port_type;

#
# server_packet_t is the default type of IPv4 and IPv6 server packets.
#
type server_packet_t, packet_type, server_packet_type;


type afs_bos_port_t, port_type, defined_port_type;
type afs_bos_client_packet_t, packet_type, client_packet_type;
type afs_bos_server_packet_t, packet_type, server_packet_type;
typeattribute afs_bos_port_t unreserved_port_type;
portcon udp 7007 gen_context(system_u:object_r:afs_bos_port_t,s0)


type afs_fs_port_t, port_type, defined_port_type;
type afs_fs_client_packet_t, packet_type, client_packet_type;
type afs_fs_server_packet_t, packet_type, server_packet_type;
typeattribute afs_fs_port_t unreserved_port_type;
portcon tcp 2040 gen_context(system_u:object_r:afs_fs_port_t,s0)
portcon udp 7000 gen_context(system_u:object_r:afs_fs_port_t,s0)
portcon udp 7005 gen_context(system_u:object_r:afs_fs_port_t,s0)


type afs_ka_port_t, port_type, defined_port_type;
type afs_ka_client_packet_t, packet_type, client_packet_type;
type afs_ka_server_packet_t, packet_type, server_packet_type;
typeattribute afs_ka_port_t unreserved_port_type;
portcon udp 7004 gen_context(system_u:object_r:afs_ka_port_t,s0)


type afs_pt_port_t, port_type, defined_port_type;
type afs_pt_client_packet_t, packet_type, client_packet_type;
type afs_pt_server_packet_t, packet_type, server_packet_type;
typeattribute afs_pt_port_t unreserved_port_type;
portcon udp 7002 gen_context(system_u:object_r:afs_pt_port_t,s0)


type afs_vl_port_t, port_type, defined_port_type;
type afs_vl_client_packet_t, packet_type, client_packet_type;
type afs_vl_server_packet_t, packet_type, server_packet_type;
typeattribute afs_vl_port_t unreserved_port_type;
portcon udp 7003 gen_context(system_u:object_r:afs_vl_port_t,s0)


type agentx_port_t, port_type, defined_port_type;
type agentx_client_packet_t, packet_type, client_packet_type;
type agentx_server_packet_t, packet_type, server_packet_type;
typeattribute agentx_port_t reserved_port_type;
typeattribute agentx_port_t rpc_port_type;
portcon udp 705 gen_context(system_u:object_r:agentx_port_t,s0)
portcon tcp 705 gen_context(system_u:object_r:agentx_port_t,s0)


type amanda_port_t, port_type, defined_port_type;
type amanda_client_packet_t, packet_type, client_packet_type;
type amanda_server_packet_t, packet_type, server_packet_type;
typeattribute amanda_port_t unreserved_port_type;
portcon udp 10080-10082 gen_context(system_u:object_r:amanda_port_t,s0)
portcon tcp 10080-10083 gen_context(system_u:object_r:amanda_port_t,s0)


type amavisd_recv_port_t, port_type, defined_port_type;
type amavisd_recv_client_packet_t, packet_type, client_packet_type;
type amavisd_recv_server_packet_t, packet_type, server_packet_type;
typeattribute amavisd_recv_port_t unreserved_port_type;
portcon tcp 10024 gen_context(system_u:object_r:amavisd_recv_port_t,s0)


type amavisd_send_port_t, port_type, defined_port_type;
type amavisd_send_client_packet_t, packet_type, client_packet_type;
type amavisd_send_server_packet_t, packet_type, server_packet_type;
typeattribute amavisd_send_port_t unreserved_port_type;
portcon tcp 10025 gen_context(system_u:object_r:amavisd_send_port_t,s0)


type amqp_port_t, port_type, defined_port_type;
type amqp_client_packet_t, packet_type, client_packet_type;
type amqp_server_packet_t, packet_type, server_packet_type;
typeattribute amqp_port_t unreserved_port_type;
portcon udp 5671-5672 gen_context(system_u:object_r:amqp_port_t,s0)
portcon tcp 5671-5672 gen_context(system_u:object_r:amqp_port_t,s0)


type aol_port_t, port_type, defined_port_type;
type aol_client_packet_t, packet_type, client_packet_type;
type aol_server_packet_t, packet_type, server_packet_type;
typeattribute aol_port_t unreserved_port_type;
portcon udp 5190-5193 gen_context(system_u:object_r:aol_port_t,s0)
portcon tcp 5190-5193 gen_context(system_u:object_r:aol_port_t,s0)


type apcupsd_port_t, port_type, defined_port_type;
type apcupsd_client_packet_t, packet_type, client_packet_type;
type apcupsd_server_packet_t, packet_type, server_packet_type;
typeattribute apcupsd_port_t unreserved_port_type;
portcon tcp 3551 gen_context(system_u:object_r:apcupsd_port_t,s0)
portcon udp 3551 gen_context(system_u:object_r:apcupsd_port_t,s0)


type asterisk_port_t, port_type, defined_port_type;
type asterisk_client_packet_t, packet_type, client_packet_type;
type asterisk_server_packet_t, packet_type, server_packet_type;
typeattribute asterisk_port_t unreserved_port_type;
portcon tcp 1720 gen_context(system_u:object_r:asterisk_port_t,s0)
portcon udp 2427 gen_context(system_u:object_r:asterisk_port_t,s0)
portcon udp 2727 gen_context(system_u:object_r:asterisk_port_t,s0)
portcon udp 4569 gen_context(system_u:object_r:asterisk_port_t,s0)


type audit_port_t, port_type, defined_port_type;
type audit_client_packet_t, packet_type, client_packet_type;
type audit_server_packet_t, packet_type, server_packet_type;
typeattribute audit_port_t reserved_port_type;
portcon tcp 60 gen_context(system_u:object_r:audit_port_t,s0)


type auth_port_t, port_type, defined_port_type;
type auth_client_packet_t, packet_type, client_packet_type;
type auth_server_packet_t, packet_type, server_packet_type;
typeattribute auth_port_t reserved_port_type;
portcon tcp 113 gen_context(system_u:object_r:auth_port_t,s0)


type bgp_port_t, port_type, defined_port_type;
type bgp_client_packet_t, packet_type, client_packet_type;
type bgp_server_packet_t, packet_type, server_packet_type;
typeattribute bgp_port_t reserved_port_type;
portcon tcp 179 gen_context(system_u:object_r:bgp_port_t,s0)
portcon udp 179 gen_context(system_u:object_r:bgp_port_t,s0)
portcon tcp 2605 gen_context(system_u:object_r:bgp_port_t,s0)
portcon udp 2605 gen_context(system_u:object_r:bgp_port_t,s0)


type boinc_port_t, port_type, defined_port_type;
type boinc_client_packet_t, packet_type, client_packet_type;
type boinc_server_packet_t, packet_type, server_packet_type;
typeattribute boinc_port_t unreserved_port_type;
portcon tcp 31416 gen_context(system_u:object_r:boinc_port_t,s0)


type biff_port_t, port_type, defined_port_type;
type biff_client_packet_t, packet_type, client_packet_type;
type biff_server_packet_t, packet_type, server_packet_type;
 # no defined portcon

type certmaster_port_t, port_type, defined_port_type;
type certmaster_client_packet_t, packet_type, client_packet_type;
type certmaster_server_packet_t, packet_type, server_packet_type;
typeattribute certmaster_port_t unreserved_port_type;
portcon tcp 51235 gen_context(system_u:object_r:certmaster_port_t,s0)


type chronyd_port_t, port_type, defined_port_type;
type chronyd_client_packet_t, packet_type, client_packet_type;
type chronyd_server_packet_t, packet_type, server_packet_type;
typeattribute chronyd_port_t reserved_port_type;
portcon udp 323 gen_context(system_u:object_r:chronyd_port_t,s0)


type clamd_port_t, port_type, defined_port_type;
type clamd_client_packet_t, packet_type, client_packet_type;
type clamd_server_packet_t, packet_type, server_packet_type;
typeattribute clamd_port_t unreserved_port_type;
portcon tcp 3310 gen_context(system_u:object_r:clamd_port_t,s0)


type clockspeed_port_t, port_type, defined_port_type;
type clockspeed_client_packet_t, packet_type, client_packet_type;
type clockspeed_server_packet_t, packet_type, server_packet_type;
typeattribute clockspeed_port_t unreserved_port_type;
portcon udp 4041 gen_context(system_u:object_r:clockspeed_port_t,s0)


type cluster_port_t, port_type, defined_port_type;
type cluster_client_packet_t, packet_type, client_packet_type;
type cluster_server_packet_t, packet_type, server_packet_type;
typeattribute cluster_port_t unreserved_port_type;
portcon tcp 5149 gen_context(system_u:object_r:cluster_port_t,s0)
portcon udp 5149 gen_context(system_u:object_r:cluster_port_t,s0)
portcon tcp 40040 gen_context(system_u:object_r:cluster_port_t,s0)
portcon tcp 50006-50008 gen_context(system_u:object_r:cluster_port_t,s0)
portcon udp 50006-50008 gen_context(system_u:object_r:cluster_port_t,s0)


type cobbler_port_t, port_type, defined_port_type;
type cobbler_client_packet_t, packet_type, client_packet_type;
type cobbler_server_packet_t, packet_type, server_packet_type;
typeattribute cobbler_port_t unreserved_port_type;
portcon tcp 25151 gen_context(system_u:object_r:cobbler_port_t,s0)


type comsat_port_t, port_type, defined_port_type;
type comsat_client_packet_t, packet_type, client_packet_type;
type comsat_server_packet_t, packet_type, server_packet_type;
typeattribute comsat_port_t reserved_port_type;
typeattribute comsat_port_t rpc_port_type;
portcon udp 512 gen_context(system_u:object_r:comsat_port_t,s0)


type cvs_port_t, port_type, defined_port_type;
type cvs_client_packet_t, packet_type, client_packet_type;
type cvs_server_packet_t, packet_type, server_packet_type;
typeattribute cvs_port_t unreserved_port_type;
portcon tcp 2401 gen_context(system_u:object_r:cvs_port_t,s0)
portcon udp 2401 gen_context(system_u:object_r:cvs_port_t,s0)


type cyphesis_port_t, port_type, defined_port_type;
type cyphesis_client_packet_t, packet_type, client_packet_type;
type cyphesis_server_packet_t, packet_type, server_packet_type;
typeattribute cyphesis_port_t unreserved_port_type;
portcon tcp 6767 gen_context(system_u:object_r:cyphesis_port_t,s0)
portcon tcp 6769 gen_context(system_u:object_r:cyphesis_port_t,s0)
portcon tcp 6780-6799 gen_context(system_u:object_r:cyphesis_port_t,s0)
portcon udp 32771 gen_context(system_u:object_r:cyphesis_port_t,s0)


type daap_port_t, port_type, defined_port_type;
type daap_client_packet_t, packet_type, client_packet_type;
type daap_server_packet_t, packet_type, server_packet_type;
typeattribute daap_port_t unreserved_port_type;
portcon tcp 3689 gen_context(system_u:object_r:daap_port_t,s0)
portcon udp 3689 gen_context(system_u:object_r:daap_port_t,s0)


type dbskkd_port_t, port_type, defined_port_type;
type dbskkd_client_packet_t, packet_type, client_packet_type;
type dbskkd_server_packet_t, packet_type, server_packet_type;
typeattribute dbskkd_port_t unreserved_port_type;
portcon tcp 1178 gen_context(system_u:object_r:dbskkd_port_t,s0)


type dcc_port_t, port_type, defined_port_type;
type dcc_client_packet_t, packet_type, client_packet_type;
type dcc_server_packet_t, packet_type, server_packet_type;
typeattribute dcc_port_t unreserved_port_type;
portcon udp 6276 gen_context(system_u:object_r:dcc_port_t,s0)
portcon udp 6277 gen_context(system_u:object_r:dcc_port_t,s0)


type dccm_port_t, port_type, defined_port_type;
type dccm_client_packet_t, packet_type, client_packet_type;
type dccm_server_packet_t, packet_type, server_packet_type;
typeattribute dccm_port_t unreserved_port_type;
portcon tcp 5679 gen_context(system_u:object_r:dccm_port_t,s0)
portcon udp 5679 gen_context(system_u:object_r:dccm_port_t,s0)


type dhcpc_port_t, port_type, defined_port_type;
type dhcpc_client_packet_t, packet_type, client_packet_type;
type dhcpc_server_packet_t, packet_type, server_packet_type;
typeattribute dhcpc_port_t reserved_port_type;
typeattribute dhcpc_port_t rpc_port_type;
portcon udp 68 gen_context(system_u:object_r:dhcpc_port_t,s0)
portcon tcp 68 gen_context(system_u:object_r:dhcpc_port_t,s0)
portcon udp 546 gen_context(system_u:object_r:dhcpc_port_t,s0)
portcon tcp 546 gen_context(system_u:object_r:dhcpc_port_t,s0)


type dhcpd_port_t, port_type, defined_port_type;
type dhcpd_client_packet_t, packet_type, client_packet_type;
type dhcpd_server_packet_t, packet_type, server_packet_type;
typeattribute dhcpd_port_t reserved_port_type;
typeattribute dhcpd_port_t rpc_port_type;
portcon udp 67 gen_context(system_u:object_r:dhcpd_port_t,s0)
portcon udp 547 gen_context(system_u:object_r:dhcpd_port_t,s0)
portcon tcp 547 gen_context(system_u:object_r:dhcpd_port_t,s0)
portcon udp 548 gen_context(system_u:object_r:dhcpd_port_t,s0)
portcon tcp 548 gen_context(system_u:object_r:dhcpd_port_t,s0)
portcon tcp 647 gen_context(system_u:object_r:dhcpd_port_t,s0)
portcon udp 647 gen_context(system_u:object_r:dhcpd_port_t,s0)
portcon tcp 847 gen_context(system_u:object_r:dhcpd_port_t,s0)
portcon udp 847 gen_context(system_u:object_r:dhcpd_port_t,s0)
portcon tcp 7911 gen_context(system_u:object_r:dhcpd_port_t,s0)


type dict_port_t, port_type, defined_port_type;
type dict_client_packet_t, packet_type, client_packet_type;
type dict_server_packet_t, packet_type, server_packet_type;
typeattribute dict_port_t unreserved_port_type;
portcon tcp 2628 gen_context(system_u:object_r:dict_port_t,s0)


type distccd_port_t, port_type, defined_port_type;
type distccd_client_packet_t, packet_type, client_packet_type;
type distccd_server_packet_t, packet_type, server_packet_type;
typeattribute distccd_port_t unreserved_port_type;
portcon tcp 3632 gen_context(system_u:object_r:distccd_port_t,s0)


type dns_port_t, port_type, defined_port_type;
type dns_client_packet_t, packet_type, client_packet_type;
type dns_server_packet_t, packet_type, server_packet_type;
typeattribute dns_port_t reserved_port_type;
portcon udp 53 gen_context(system_u:object_r:dns_port_t,s0)
portcon tcp 53 gen_context(system_u:object_r:dns_port_t,s0)


type epmap_port_t, port_type, defined_port_type;
type epmap_client_packet_t, packet_type, client_packet_type;
type epmap_server_packet_t, packet_type, server_packet_type;
typeattribute epmap_port_t reserved_port_type;
portcon tcp 135 gen_context(system_u:object_r:epmap_port_t,s0)
portcon udp 135 gen_context(system_u:object_r:epmap_port_t,s0)


type fingerd_port_t, port_type, defined_port_type;
type fingerd_client_packet_t, packet_type, client_packet_type;
type fingerd_server_packet_t, packet_type, server_packet_type;
typeattribute fingerd_port_t reserved_port_type;
portcon tcp 79 gen_context(system_u:object_r:fingerd_port_t,s0)


type ftp_port_t, port_type, defined_port_type;
type ftp_client_packet_t, packet_type, client_packet_type;
type ftp_server_packet_t, packet_type, server_packet_type;
typeattribute ftp_port_t reserved_port_type;
typeattribute ftp_port_t rpc_port_type;
portcon tcp 21 gen_context(system_u:object_r:ftp_port_t,s0)
portcon tcp 990 gen_context(system_u:object_r:ftp_port_t,s0)
portcon udp 990 gen_context(system_u:object_r:ftp_port_t,s0)


type ftp_data_port_t, port_type, defined_port_type;
type ftp_data_client_packet_t, packet_type, client_packet_type;
type ftp_data_server_packet_t, packet_type, server_packet_type;
typeattribute ftp_data_port_t reserved_port_type;
portcon tcp 20 gen_context(system_u:object_r:ftp_data_port_t,s0)


type gatekeeper_port_t, port_type, defined_port_type;
type gatekeeper_client_packet_t, packet_type, client_packet_type;
type gatekeeper_server_packet_t, packet_type, server_packet_type;
typeattribute gatekeeper_port_t unreserved_port_type;
portcon udp 1718 gen_context(system_u:object_r:gatekeeper_port_t,s0)
portcon udp 1719 gen_context(system_u:object_r:gatekeeper_port_t,s0)
portcon tcp 1721 gen_context(system_u:object_r:gatekeeper_port_t,s0)
portcon tcp 7000 gen_context(system_u:object_r:gatekeeper_port_t,s0)


type giftd_port_t, port_type, defined_port_type;
type giftd_client_packet_t, packet_type, client_packet_type;
type giftd_server_packet_t, packet_type, server_packet_type;
typeattribute giftd_port_t unreserved_port_type;
portcon tcp 1213 gen_context(system_u:object_r:giftd_port_t,s0)


type git_port_t, port_type, defined_port_type;
type git_client_packet_t, packet_type, client_packet_type;
type git_server_packet_t, packet_type, server_packet_type;
typeattribute git_port_t unreserved_port_type;
portcon tcp 9418 gen_context(system_u:object_r:git_port_t,s0)
portcon udp 9418 gen_context(system_u:object_r:git_port_t,s0)


type glance_registry_port_t, port_type, defined_port_type;
type glance_registry_client_packet_t, packet_type, client_packet_type;
type glance_registry_server_packet_t, packet_type, server_packet_type;
typeattribute glance_registry_port_t unreserved_port_type;
portcon tcp 9191 gen_context(system_u:object_r:glance_registry_port_t,s0)
portcon udp 9191 gen_context(system_u:object_r:glance_registry_port_t,s0)


type gopher_port_t, port_type, defined_port_type;
type gopher_client_packet_t, packet_type, client_packet_type;
type gopher_server_packet_t, packet_type, server_packet_type;
typeattribute gopher_port_t reserved_port_type;
portcon tcp 70 gen_context(system_u:object_r:gopher_port_t,s0)
portcon udp 70 gen_context(system_u:object_r:gopher_port_t,s0)


type gpsd_port_t, port_type, defined_port_type;
type gpsd_client_packet_t, packet_type, client_packet_type;
type gpsd_server_packet_t, packet_type, server_packet_type;
typeattribute gpsd_port_t unreserved_port_type;
portcon tcp 2947 gen_context(system_u:object_r:gpsd_port_t,s0)


type hadoop_datanode_port_t, port_type, defined_port_type;
type hadoop_datanode_client_packet_t, packet_type, client_packet_type;
type hadoop_datanode_server_packet_t, packet_type, server_packet_type;
typeattribute hadoop_datanode_port_t unreserved_port_type;
portcon tcp 50010 gen_context(system_u:object_r:hadoop_datanode_port_t,s0)


type hadoop_namenode_port_t, port_type, defined_port_type;
type hadoop_namenode_client_packet_t, packet_type, client_packet_type;
type hadoop_namenode_server_packet_t, packet_type, server_packet_type;
typeattribute hadoop_namenode_port_t unreserved_port_type;
portcon tcp 8020 gen_context(system_u:object_r:hadoop_namenode_port_t,s0)


type hddtemp_port_t, port_type, defined_port_type;
type hddtemp_client_packet_t, packet_type, client_packet_type;
type hddtemp_server_packet_t, packet_type, server_packet_type;
typeattribute hddtemp_port_t unreserved_port_type;
portcon tcp 7634 gen_context(system_u:object_r:hddtemp_port_t,s0)


type howl_port_t, port_type, defined_port_type;
type howl_client_packet_t, packet_type, client_packet_type;
type howl_server_packet_t, packet_type, server_packet_type;
typeattribute howl_port_t unreserved_port_type;
portcon tcp 5335 gen_context(system_u:object_r:howl_port_t,s0)
portcon udp 5353 gen_context(system_u:object_r:howl_port_t,s0)


type hplip_port_t, port_type, defined_port_type;
type hplip_client_packet_t, packet_type, client_packet_type;
type hplip_server_packet_t, packet_type, server_packet_type;
typeattribute hplip_port_t unreserved_port_type;
portcon tcp 1782 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 2207 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 2208 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 8290 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 50000 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 50002 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 8292 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9100 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9101 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9102 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9220 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9221 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9222 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9280 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9281 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9282 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9290 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9291 gen_context(system_u:object_r:hplip_port_t,s0)
portcon tcp 9292 gen_context(system_u:object_r:hplip_port_t,s0)


type http_port_t, port_type, defined_port_type;
type http_client_packet_t, packet_type, client_packet_type;
type http_server_packet_t, packet_type, server_packet_type;
typeattribute http_port_t reserved_port_type;
portcon tcp 80 gen_context(system_u:object_r:http_port_t,s0)
portcon tcp 443 gen_context(system_u:object_r:http_port_t,s0)
portcon tcp 488 gen_context(system_u:object_r:http_port_t,s0)
portcon tcp 8008 gen_context(system_u:object_r:http_port_t,s0)
portcon tcp 8009 gen_context(system_u:object_r:http_port_t,s0)
portcon tcp 8443 gen_context(system_u:object_r:http_port_t,s0)
 #8443 is mod_nss default port

type http_cache_port_t, port_type, defined_port_type;
type http_cache_client_packet_t, packet_type, client_packet_type;
type http_cache_server_packet_t, packet_type, server_packet_type;
typeattribute http_cache_port_t unreserved_port_type;
portcon tcp 3128 gen_context(system_u:object_r:http_cache_port_t,s0)
portcon udp 3130 gen_context(system_u:object_r:http_cache_port_t,s0)
portcon tcp 8080 gen_context(system_u:object_r:http_cache_port_t,s0)
portcon tcp 8118 gen_context(system_u:object_r:http_cache_port_t,s0)
portcon tcp 10001-10010 gen_context(system_u:object_r:http_cache_port_t,s0)
 # 8118 is for privoxy

type i18n_input_port_t, port_type, defined_port_type;
type i18n_input_client_packet_t, packet_type, client_packet_type;
type i18n_input_server_packet_t, packet_type, server_packet_type;
typeattribute i18n_input_port_t unreserved_port_type;
portcon tcp 9010 gen_context(system_u:object_r:i18n_input_port_t,s0)


type imaze_port_t, port_type, defined_port_type;
type imaze_client_packet_t, packet_type, client_packet_type;
type imaze_server_packet_t, packet_type, server_packet_type;
typeattribute imaze_port_t unreserved_port_type;
portcon tcp 5323 gen_context(system_u:object_r:imaze_port_t,s0)
portcon udp 5323 gen_context(system_u:object_r:imaze_port_t,s0)


type inetd_child_port_t, port_type, defined_port_type;
type inetd_child_client_packet_t, packet_type, client_packet_type;
type inetd_child_server_packet_t, packet_type, server_packet_type;
typeattribute inetd_child_port_t reserved_port_type;
typeattribute inetd_child_port_t rpc_port_type;
portcon tcp 1 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon udp 1 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 7 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon udp 7 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 9 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon udp 9 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 13 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon udp 13 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 19 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon udp 19 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 37 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon udp 37 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 512 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 543 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 544 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 891 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon udp 891 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 892 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon udp 892 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 2105 gen_context(system_u:object_r:inetd_child_port_t,s0)
portcon tcp 5666 gen_context(system_u:object_r:inetd_child_port_t,s0)


type innd_port_t, port_type, defined_port_type;
type innd_client_packet_t, packet_type, client_packet_type;
type innd_server_packet_t, packet_type, server_packet_type;
typeattribute innd_port_t reserved_port_type;
portcon tcp 119 gen_context(system_u:object_r:innd_port_t,s0)


type ipmi_port_t, port_type, defined_port_type;
type ipmi_client_packet_t, packet_type, client_packet_type;
type ipmi_server_packet_t, packet_type, server_packet_type;
typeattribute ipmi_port_t reserved_port_type;
typeattribute ipmi_port_t rpc_port_type;
portcon udp 623 gen_context(system_u:object_r:ipmi_port_t,s0)
portcon udp 664 gen_context(system_u:object_r:ipmi_port_t,s0)


type ipp_port_t, port_type, defined_port_type;
type ipp_client_packet_t, packet_type, client_packet_type;
type ipp_server_packet_t, packet_type, server_packet_type;
typeattribute ipp_port_t reserved_port_type;
typeattribute ipp_port_t rpc_port_type;
portcon tcp 631 gen_context(system_u:object_r:ipp_port_t,s0)
portcon udp 631 gen_context(system_u:object_r:ipp_port_t,s0)
portcon tcp 8610-8614 gen_context(system_u:object_r:ipp_port_t,s0)
portcon udp 8610-8614 gen_context(system_u:object_r:ipp_port_t,s0)


type ipsecnat_port_t, port_type, defined_port_type;
type ipsecnat_client_packet_t, packet_type, client_packet_type;
type ipsecnat_server_packet_t, packet_type, server_packet_type;
typeattribute ipsecnat_port_t unreserved_port_type;
portcon tcp 4500 gen_context(system_u:object_r:ipsecnat_port_t,s0)
portcon udp 4500 gen_context(system_u:object_r:ipsecnat_port_t,s0)


type ircd_port_t, port_type, defined_port_type;
type ircd_client_packet_t, packet_type, client_packet_type;
type ircd_server_packet_t, packet_type, server_packet_type;
typeattribute ircd_port_t unreserved_port_type;
portcon tcp 6667 gen_context(system_u:object_r:ircd_port_t,s0)


type isakmp_port_t, port_type, defined_port_type;
type isakmp_client_packet_t, packet_type, client_packet_type;
type isakmp_server_packet_t, packet_type, server_packet_type;
typeattribute isakmp_port_t reserved_port_type;
portcon udp 500 gen_context(system_u:object_r:isakmp_port_t,s0)


type iscsi_port_t, port_type, defined_port_type;
type iscsi_client_packet_t, packet_type, client_packet_type;
type iscsi_server_packet_t, packet_type, server_packet_type;
typeattribute iscsi_port_t unreserved_port_type;
portcon tcp 3260 gen_context(system_u:object_r:iscsi_port_t,s0)


type isns_port_t, port_type, defined_port_type;
type isns_client_packet_t, packet_type, client_packet_type;
type isns_server_packet_t, packet_type, server_packet_type;
typeattribute isns_port_t unreserved_port_type;
portcon tcp 3205 gen_context(system_u:object_r:isns_port_t,s0)
portcon udp 3205 gen_context(system_u:object_r:isns_port_t,s0)


type jabber_client_port_t, port_type, defined_port_type;
type jabber_client_client_packet_t, packet_type, client_packet_type;
type jabber_client_server_packet_t, packet_type, server_packet_type;
typeattribute jabber_client_port_t unreserved_port_type;
portcon tcp 5222 gen_context(system_u:object_r:jabber_client_port_t,s0)
portcon tcp 5223 gen_context(system_u:object_r:jabber_client_port_t,s0)


type jabber_interserver_port_t, port_type, defined_port_type;
type jabber_interserver_client_packet_t, packet_type, client_packet_type;
type jabber_interserver_server_packet_t, packet_type, server_packet_type;
typeattribute jabber_interserver_port_t unreserved_port_type;
portcon tcp 5269 gen_context(system_u:object_r:jabber_interserver_port_t,s0)


type kerberos_port_t, port_type, defined_port_type;
type kerberos_client_packet_t, packet_type, client_packet_type;
type kerberos_server_packet_t, packet_type, server_packet_type;
typeattribute kerberos_port_t reserved_port_type;
typeattribute kerberos_port_t rpc_port_type;
portcon tcp 88 gen_context(system_u:object_r:kerberos_port_t,s0)
portcon udp 88 gen_context(system_u:object_r:kerberos_port_t,s0)
portcon tcp 750 gen_context(system_u:object_r:kerberos_port_t,s0)
portcon udp 750 gen_context(system_u:object_r:kerberos_port_t,s0)


type kerberos_admin_port_t, port_type, defined_port_type;
type kerberos_admin_client_packet_t, packet_type, client_packet_type;
type kerberos_admin_server_packet_t, packet_type, server_packet_type;
typeattribute kerberos_admin_port_t reserved_port_type;
typeattribute kerberos_admin_port_t rpc_port_type;
portcon tcp 464 gen_context(system_u:object_r:kerberos_admin_port_t,s0)
portcon udp 464 gen_context(system_u:object_r:kerberos_admin_port_t,s0)
portcon tcp 749 gen_context(system_u:object_r:kerberos_admin_port_t,s0)


type kerberos_master_port_t, port_type, defined_port_type;
type kerberos_master_client_packet_t, packet_type, client_packet_type;
type kerberos_master_server_packet_t, packet_type, server_packet_type;
typeattribute kerberos_master_port_t unreserved_port_type;
portcon tcp 4444 gen_context(system_u:object_r:kerberos_master_port_t,s0)
portcon udp 4444 gen_context(system_u:object_r:kerberos_master_port_t,s0)


type kismet_port_t, port_type, defined_port_type;
type kismet_client_packet_t, packet_type, client_packet_type;
type kismet_server_packet_t, packet_type, server_packet_type;
typeattribute kismet_port_t unreserved_port_type;
portcon tcp 2501 gen_context(system_u:object_r:kismet_port_t,s0)


type kprop_port_t, port_type, defined_port_type;
type kprop_client_packet_t, packet_type, client_packet_type;
type kprop_server_packet_t, packet_type, server_packet_type;
typeattribute kprop_port_t reserved_port_type;
typeattribute kprop_port_t rpc_port_type;
portcon tcp 754 gen_context(system_u:object_r:kprop_port_t,s0)


type ktalkd_port_t, port_type, defined_port_type;
type ktalkd_client_packet_t, packet_type, client_packet_type;
type ktalkd_server_packet_t, packet_type, server_packet_type;
typeattribute ktalkd_port_t reserved_port_type;
typeattribute ktalkd_port_t rpc_port_type;
portcon udp 517 gen_context(system_u:object_r:ktalkd_port_t,s0)
portcon udp 518 gen_context(system_u:object_r:ktalkd_port_t,s0)


type ldap_port_t, port_type, defined_port_type;
type ldap_client_packet_t, packet_type, client_packet_type;
type ldap_server_packet_t, packet_type, server_packet_type;
typeattribute ldap_port_t reserved_port_type;
typeattribute ldap_port_t rpc_port_type;
portcon tcp 389 gen_context(system_u:object_r:ldap_port_t,s0)
portcon udp 389 gen_context(system_u:object_r:ldap_port_t,s0)
portcon tcp 636 gen_context(system_u:object_r:ldap_port_t,s0)
portcon udp 636 gen_context(system_u:object_r:ldap_port_t,s0)
portcon tcp 3268 gen_context(system_u:object_r:ldap_port_t,s0)


type lirc_port_t, port_type, defined_port_type;
type lirc_client_packet_t, packet_type, client_packet_type;
type lirc_server_packet_t, packet_type, server_packet_type;
typeattribute lirc_port_t unreserved_port_type;
portcon tcp 8765 gen_context(system_u:object_r:lirc_port_t,s0)


type lmtp_port_t, port_type, defined_port_type;
type lmtp_client_packet_t, packet_type, client_packet_type;
type lmtp_server_packet_t, packet_type, server_packet_type;
typeattribute lmtp_port_t reserved_port_type;
portcon tcp 24 gen_context(system_u:object_r:lmtp_port_t,s0)
portcon udp 24 gen_context(system_u:object_r:lmtp_port_t,s0)


type lrrd_port_t, port_type, defined_port_type;
type lrrd_client_packet_t, packet_type, client_packet_type;
type lrrd_server_packet_t, packet_type, server_packet_type;
 # no defined portcon

type mail_port_t, port_type, defined_port_type;
type mail_client_packet_t, packet_type, client_packet_type;
type mail_server_packet_t, packet_type, server_packet_type;
typeattribute mail_port_t unreserved_port_type;
portcon tcp 2000 gen_context(system_u:object_r:mail_port_t,s0)
portcon tcp 3905 gen_context(system_u:object_r:mail_port_t,s0)


type matahari_port_t, port_type, defined_port_type;
type matahari_client_packet_t, packet_type, client_packet_type;
type matahari_server_packet_t, packet_type, server_packet_type;
typeattribute matahari_port_t unreserved_port_type;
portcon tcp 49000 gen_context(system_u:object_r:matahari_port_t,s0)
portcon udp 49000 gen_context(system_u:object_r:matahari_port_t,s0)


type memcache_port_t, port_type, defined_port_type;
type memcache_client_packet_t, packet_type, client_packet_type;
type memcache_server_packet_t, packet_type, server_packet_type;
typeattribute memcache_port_t unreserved_port_type;
portcon tcp 11211 gen_context(system_u:object_r:memcache_port_t,s0)
portcon udp 11211 gen_context(system_u:object_r:memcache_port_t,s0)


type milter_port_t, port_type, defined_port_type;
type milter_client_packet_t, packet_type, client_packet_type;
type milter_server_packet_t, packet_type, server_packet_type;
 # no defined portcon

type mmcc_port_t, port_type, defined_port_type;
type mmcc_client_packet_t, packet_type, client_packet_type;
type mmcc_server_packet_t, packet_type, server_packet_type;
typeattribute mmcc_port_t unreserved_port_type;
portcon tcp 5050 gen_context(system_u:object_r:mmcc_port_t,s0)
portcon udp 5050 gen_context(system_u:object_r:mmcc_port_t,s0)


type monopd_port_t, port_type, defined_port_type;
type monopd_client_packet_t, packet_type, client_packet_type;
type monopd_server_packet_t, packet_type, server_packet_type;
typeattribute monopd_port_t unreserved_port_type;
portcon tcp 1234 gen_context(system_u:object_r:monopd_port_t,s0)


type mpd_port_t, port_type, defined_port_type;
type mpd_client_packet_t, packet_type, client_packet_type;
type mpd_server_packet_t, packet_type, server_packet_type;
typeattribute mpd_port_t unreserved_port_type;
portcon tcp 6600 gen_context(system_u:object_r:mpd_port_t,s0)


type msnp_port_t, port_type, defined_port_type;
type msnp_client_packet_t, packet_type, client_packet_type;
type msnp_server_packet_t, packet_type, server_packet_type;
typeattribute msnp_port_t unreserved_port_type;
portcon tcp 1863 gen_context(system_u:object_r:msnp_port_t,s0)
portcon udp 1863 gen_context(system_u:object_r:msnp_port_t,s0)


type mssql_port_t, port_type, defined_port_type;
type mssql_client_packet_t, packet_type, client_packet_type;
type mssql_server_packet_t, packet_type, server_packet_type;
typeattribute mssql_port_t unreserved_port_type;
portcon tcp 1433-1434 gen_context(system_u:object_r:mssql_port_t,s0)
portcon udp 1433-1434 gen_context(system_u:object_r:mssql_port_t,s0)


type munin_port_t, port_type, defined_port_type;
type munin_client_packet_t, packet_type, client_packet_type;
type munin_server_packet_t, packet_type, server_packet_type;
typeattribute munin_port_t unreserved_port_type;
portcon tcp 4949 gen_context(system_u:object_r:munin_port_t,s0)
portcon udp 4949 gen_context(system_u:object_r:munin_port_t,s0)


type mysqld_port_t, port_type, defined_port_type;
type mysqld_client_packet_t, packet_type, client_packet_type;
type mysqld_server_packet_t, packet_type, server_packet_type;
typeattribute mysqld_port_t unreserved_port_type;
portcon tcp 1186 gen_context(system_u:object_r:mysqld_port_t,s0)
portcon tcp 3306 gen_context(system_u:object_r:mysqld_port_t,s0)
portcon tcp 63132-63164 gen_context(system_u:object_r:mysqld_port_t,s0)


type mysqlmanagerd_port_t, port_type, defined_port_type;
type mysqlmanagerd_client_packet_t, packet_type, client_packet_type;
type mysqlmanagerd_server_packet_t, packet_type, server_packet_type;
typeattribute mysqlmanagerd_port_t unreserved_port_type;
portcon tcp 2273 gen_context(system_u:object_r:mysqlmanagerd_port_t,s0)


type nessus_port_t, port_type, defined_port_type;
type nessus_client_packet_t, packet_type, client_packet_type;
type nessus_server_packet_t, packet_type, server_packet_type;
typeattribute nessus_port_t unreserved_port_type;
portcon tcp 1241 gen_context(system_u:object_r:nessus_port_t,s0)


type netport_port_t, port_type, defined_port_type;
type netport_client_packet_t, packet_type, client_packet_type;
type netport_server_packet_t, packet_type, server_packet_type;
typeattribute netport_port_t unreserved_port_type;
portcon tcp 3129 gen_context(system_u:object_r:netport_port_t,s0)
portcon udp 3129 gen_context(system_u:object_r:netport_port_t,s0)


type netsupport_port_t, port_type, defined_port_type;
type netsupport_client_packet_t, packet_type, client_packet_type;
type netsupport_server_packet_t, packet_type, server_packet_type;
typeattribute netsupport_port_t unreserved_port_type;
portcon tcp 5404 gen_context(system_u:object_r:netsupport_port_t,s0)
portcon udp 5404 gen_context(system_u:object_r:netsupport_port_t,s0)
portcon tcp 5405 gen_context(system_u:object_r:netsupport_port_t,s0)
portcon udp 5405 gen_context(system_u:object_r:netsupport_port_t,s0)


type nmbd_port_t, port_type, defined_port_type;
type nmbd_client_packet_t, packet_type, client_packet_type;
type nmbd_server_packet_t, packet_type, server_packet_type;
typeattribute nmbd_port_t reserved_port_type;
portcon udp 137 gen_context(system_u:object_r:nmbd_port_t,s0)
portcon udp 138 gen_context(system_u:object_r:nmbd_port_t,s0)


type ntop_port_t, port_type, defined_port_type;
type ntop_client_packet_t, packet_type, client_packet_type;
type ntop_server_packet_t, packet_type, server_packet_type;
typeattribute ntop_port_t unreserved_port_type;
portcon tcp 3000-3001 gen_context(system_u:object_r:ntop_port_t,s0)
portcon udp 3000-3001 gen_context(system_u:object_r:ntop_port_t,s0)


type ntp_port_t, port_type, defined_port_type;
type ntp_client_packet_t, packet_type, client_packet_type;
type ntp_server_packet_t, packet_type, server_packet_type;
typeattribute ntp_port_t reserved_port_type;
portcon udp 123 gen_context(system_u:object_r:ntp_port_t,s0)


type oracledb_port_t, port_type, defined_port_type;
type oracledb_client_packet_t, packet_type, client_packet_type;
type oracledb_server_packet_t, packet_type, server_packet_type;
typeattribute oracledb_port_t unreserved_port_type;
portcon tcp 1521 gen_context(system_u:object_r:oracledb_port_t,s0)
portcon udp 1521 gen_context(system_u:object_r:oracledb_port_t,s0)
portcon tcp 2483 gen_context(system_u:object_r:oracledb_port_t,s0)
portcon udp 2483 gen_context(system_u:object_r:oracledb_port_t,s0)
portcon tcp 2484 gen_context(system_u:object_r:oracledb_port_t,s0)
portcon udp 2484 gen_context(system_u:object_r:oracledb_port_t,s0)


type ocsp_port_t, port_type, defined_port_type;
type ocsp_client_packet_t, packet_type, client_packet_type;
type ocsp_server_packet_t, packet_type, server_packet_type;
typeattribute ocsp_port_t unreserved_port_type;
portcon tcp 9080 gen_context(system_u:object_r:ocsp_port_t,s0)


type openvpn_port_t, port_type, defined_port_type;
type openvpn_client_packet_t, packet_type, client_packet_type;
type openvpn_server_packet_t, packet_type, server_packet_type;
typeattribute openvpn_port_t unreserved_port_type;
portcon tcp 1194 gen_context(system_u:object_r:openvpn_port_t,s0)
portcon udp 1194 gen_context(system_u:object_r:openvpn_port_t,s0)


type pegasus_http_port_t, port_type, defined_port_type;
type pegasus_http_client_packet_t, packet_type, client_packet_type;
type pegasus_http_server_packet_t, packet_type, server_packet_type;
typeattribute pegasus_http_port_t unreserved_port_type;
portcon tcp 5988 gen_context(system_u:object_r:pegasus_http_port_t,s0)


type pegasus_https_port_t, port_type, defined_port_type;
type pegasus_https_client_packet_t, packet_type, client_packet_type;
type pegasus_https_server_packet_t, packet_type, server_packet_type;
typeattribute pegasus_https_port_t unreserved_port_type;
portcon tcp 5989 gen_context(system_u:object_r:pegasus_https_port_t,s0)


type pgpkeyserver_port_t, port_type, defined_port_type;
type pgpkeyserver_client_packet_t, packet_type, client_packet_type;
type pgpkeyserver_server_packet_t, packet_type, server_packet_type;
typeattribute pgpkeyserver_port_t unreserved_port_type;
portcon udp 11371 gen_context(system_u:object_r:pgpkeyserver_port_t,s0)
portcon tcp 11371 gen_context(system_u:object_r:pgpkeyserver_port_t,s0)


type pingd_port_t, port_type, defined_port_type;
type pingd_client_packet_t, packet_type, client_packet_type;
type pingd_server_packet_t, packet_type, server_packet_type;
typeattribute pingd_port_t unreserved_port_type;
portcon tcp 9125 gen_context(system_u:object_r:pingd_port_t,s0)


type pop_port_t, port_type, defined_port_type;
type pop_client_packet_t, packet_type, client_packet_type;
type pop_server_packet_t, packet_type, server_packet_type;
typeattribute pop_port_t reserved_port_type;
typeattribute pop_port_t rpc_port_type;
portcon tcp 106 gen_context(system_u:object_r:pop_port_t,s0)
portcon tcp 109 gen_context(system_u:object_r:pop_port_t,s0)
portcon tcp 110 gen_context(system_u:object_r:pop_port_t,s0)
portcon tcp 143 gen_context(system_u:object_r:pop_port_t,s0)
portcon tcp 220 gen_context(system_u:object_r:pop_port_t,s0)
portcon tcp 993 gen_context(system_u:object_r:pop_port_t,s0)
portcon tcp 995 gen_context(system_u:object_r:pop_port_t,s0)
portcon tcp 1109 gen_context(system_u:object_r:pop_port_t,s0)


type portmap_port_t, port_type, defined_port_type;
type portmap_client_packet_t, packet_type, client_packet_type;
type portmap_server_packet_t, packet_type, server_packet_type;
typeattribute portmap_port_t reserved_port_type;
portcon udp 111 gen_context(system_u:object_r:portmap_port_t,s0)
portcon tcp 111 gen_context(system_u:object_r:portmap_port_t,s0)


type postfix_policyd_port_t, port_type, defined_port_type;
type postfix_policyd_client_packet_t, packet_type, client_packet_type;
type postfix_policyd_server_packet_t, packet_type, server_packet_type;
typeattribute postfix_policyd_port_t unreserved_port_type;
portcon tcp 10031 gen_context(system_u:object_r:postfix_policyd_port_t,s0)


type postgresql_port_t, port_type, defined_port_type;
type postgresql_client_packet_t, packet_type, client_packet_type;
type postgresql_server_packet_t, packet_type, server_packet_type;
typeattribute postgresql_port_t unreserved_port_type;
portcon tcp 5432 gen_context(system_u:object_r:postgresql_port_t,s0)


type postgrey_port_t, port_type, defined_port_type;
type postgrey_client_packet_t, packet_type, client_packet_type;
type postgrey_server_packet_t, packet_type, server_packet_type;
typeattribute postgrey_port_t unreserved_port_type;
portcon tcp 60000 gen_context(system_u:object_r:postgrey_port_t,s0)


type prelude_port_t, port_type, defined_port_type;
type prelude_client_packet_t, packet_type, client_packet_type;
type prelude_server_packet_t, packet_type, server_packet_type;
typeattribute prelude_port_t unreserved_port_type;
portcon tcp 4690 gen_context(system_u:object_r:prelude_port_t,s0)
portcon udp 4690 gen_context(system_u:object_r:prelude_port_t,s0)


type presence_port_t, port_type, defined_port_type;
type presence_client_packet_t, packet_type, client_packet_type;
type presence_server_packet_t, packet_type, server_packet_type;
typeattribute presence_port_t unreserved_port_type;
portcon tcp 5298-5299 gen_context(system_u:object_r:presence_port_t,s0)
portcon udp 5298-5299 gen_context(system_u:object_r:presence_port_t,s0)


type printer_port_t, port_type, defined_port_type;
type printer_client_packet_t, packet_type, client_packet_type;
type printer_server_packet_t, packet_type, server_packet_type;
typeattribute printer_port_t reserved_port_type;
typeattribute printer_port_t rpc_port_type;
portcon tcp 515 gen_context(system_u:object_r:printer_port_t,s0)


type ptal_port_t, port_type, defined_port_type;
type ptal_client_packet_t, packet_type, client_packet_type;
type ptal_server_packet_t, packet_type, server_packet_type;
typeattribute ptal_port_t unreserved_port_type;
portcon tcp 5703 gen_context(system_u:object_r:ptal_port_t,s0)


type pulseaudio_port_t, port_type, defined_port_type;
type pulseaudio_client_packet_t, packet_type, client_packet_type;
type pulseaudio_server_packet_t, packet_type, server_packet_type;
typeattribute pulseaudio_port_t unreserved_port_type;
portcon tcp 4713 gen_context(system_u:object_r:pulseaudio_port_t,s0)


type puppet_port_t, port_type, defined_port_type;
type puppet_client_packet_t, packet_type, client_packet_type;
type puppet_server_packet_t, packet_type, server_packet_type;
typeattribute puppet_port_t unreserved_port_type;
portcon tcp 8140 gen_context(system_u:object_r:puppet_port_t,s0)


type pxe_port_t, port_type, defined_port_type;
type pxe_client_packet_t, packet_type, client_packet_type;
type pxe_server_packet_t, packet_type, server_packet_type;
typeattribute pxe_port_t unreserved_port_type;
portcon udp 4011 gen_context(system_u:object_r:pxe_port_t,s0)


type pyzor_port_t, port_type, defined_port_type;
type pyzor_client_packet_t, packet_type, client_packet_type;
type pyzor_server_packet_t, packet_type, server_packet_type;
typeattribute pyzor_port_t unreserved_port_type;
portcon udp 24441 gen_context(system_u:object_r:pyzor_port_t,s0)


type radacct_port_t, port_type, defined_port_type;
type radacct_client_packet_t, packet_type, client_packet_type;
type radacct_server_packet_t, packet_type, server_packet_type;
typeattribute radacct_port_t unreserved_port_type;
portcon udp 1646 gen_context(system_u:object_r:radacct_port_t,s0)
portcon udp 1813 gen_context(system_u:object_r:radacct_port_t,s0)


type radius_port_t, port_type, defined_port_type;
type radius_client_packet_t, packet_type, client_packet_type;
type radius_server_packet_t, packet_type, server_packet_type;
typeattribute radius_port_t unreserved_port_type;
portcon udp 1645 gen_context(system_u:object_r:radius_port_t,s0)
portcon udp 1812 gen_context(system_u:object_r:radius_port_t,s0)


type radsec_port_t, port_type, defined_port_type;
type radsec_client_packet_t, packet_type, client_packet_type;
type radsec_server_packet_t, packet_type, server_packet_type;
typeattribute radsec_port_t unreserved_port_type;
portcon tcp 2083 gen_context(system_u:object_r:radsec_port_t,s0)


type razor_port_t, port_type, defined_port_type;
type razor_client_packet_t, packet_type, client_packet_type;
type razor_server_packet_t, packet_type, server_packet_type;
typeattribute razor_port_t unreserved_port_type;
portcon tcp 2703 gen_context(system_u:object_r:razor_port_t,s0)


type repository_port_t, port_type, defined_port_type;
type repository_client_packet_t, packet_type, client_packet_type;
type repository_server_packet_t, packet_type, server_packet_type;
typeattribute repository_port_t unreserved_port_type;
portcon tcp 6363 gen_context(system_u:object_r:repository_port_t,s0)


type ricci_port_t, port_type, defined_port_type;
type ricci_client_packet_t, packet_type, client_packet_type;
type ricci_server_packet_t, packet_type, server_packet_type;
typeattribute ricci_port_t unreserved_port_type;
portcon tcp 11111 gen_context(system_u:object_r:ricci_port_t,s0)
portcon udp 11111 gen_context(system_u:object_r:ricci_port_t,s0)


type ricci_modcluster_port_t, port_type, defined_port_type;
type ricci_modcluster_client_packet_t, packet_type, client_packet_type;
type ricci_modcluster_server_packet_t, packet_type, server_packet_type;
typeattribute ricci_modcluster_port_t unreserved_port_type;
portcon tcp 16851 gen_context(system_u:object_r:ricci_modcluster_port_t,s0)
portcon udp 16851 gen_context(system_u:object_r:ricci_modcluster_port_t,s0)


type rlogind_port_t, port_type, defined_port_type;
type rlogind_client_packet_t, packet_type, client_packet_type;
type rlogind_server_packet_t, packet_type, server_packet_type;
typeattribute rlogind_port_t reserved_port_type;
typeattribute rlogind_port_t rpc_port_type;
portcon tcp 513 gen_context(system_u:object_r:rlogind_port_t,s0)


type rndc_port_t, port_type, defined_port_type;
type rndc_client_packet_t, packet_type, client_packet_type;
type rndc_server_packet_t, packet_type, server_packet_type;
typeattribute rndc_port_t reserved_port_type;
typeattribute rndc_port_t rpc_port_type;
portcon tcp 953 gen_context(system_u:object_r:rndc_port_t,s0)


type router_port_t, port_type, defined_port_type;
type router_client_packet_t, packet_type, client_packet_type;
type router_server_packet_t, packet_type, server_packet_type;
typeattribute router_port_t reserved_port_type;
typeattribute router_port_t rpc_port_type;
portcon udp 520 gen_context(system_u:object_r:router_port_t,s0)
portcon udp 521 gen_context(system_u:object_r:router_port_t,s0)
portcon tcp 521 gen_context(system_u:object_r:router_port_t,s0)


type rsh_port_t, port_type, defined_port_type;
type rsh_client_packet_t, packet_type, client_packet_type;
type rsh_server_packet_t, packet_type, server_packet_type;
typeattribute rsh_port_t reserved_port_type;
typeattribute rsh_port_t rpc_port_type;
portcon tcp 514 gen_context(system_u:object_r:rsh_port_t,s0)


type rsync_port_t, port_type, defined_port_type;
type rsync_client_packet_t, packet_type, client_packet_type;
type rsync_server_packet_t, packet_type, server_packet_type;
typeattribute rsync_port_t reserved_port_type;
typeattribute rsync_port_t rpc_port_type;
portcon tcp 873 gen_context(system_u:object_r:rsync_port_t,s0)
portcon udp 873 gen_context(system_u:object_r:rsync_port_t,s0)


type rwho_port_t, port_type, defined_port_type;
type rwho_client_packet_t, packet_type, client_packet_type;
type rwho_server_packet_t, packet_type, server_packet_type;
typeattribute rwho_port_t reserved_port_type;
typeattribute rwho_port_t rpc_port_type;
portcon udp 513 gen_context(system_u:object_r:rwho_port_t,s0)


type sap_port_t, port_type, defined_port_type;
type sap_client_packet_t, packet_type, client_packet_type;
type sap_server_packet_t, packet_type, server_packet_type;
typeattribute sap_port_t unreserved_port_type;
portcon tcp 9875 gen_context(system_u:object_r:sap_port_t,s0)
portcon udp 9875 gen_context(system_u:object_r:sap_port_t,s0)


type sieve_port_t, port_type, defined_port_type;
type sieve_client_packet_t, packet_type, client_packet_type;
type sieve_server_packet_t, packet_type, server_packet_type;
typeattribute sieve_port_t unreserved_port_type;
portcon tcp 4190 gen_context(system_u:object_r:sieve_port_t,s0)


type sip_port_t, port_type, defined_port_type;
type sip_client_packet_t, packet_type, client_packet_type;
type sip_server_packet_t, packet_type, server_packet_type;
typeattribute sip_port_t unreserved_port_type;
portcon tcp 5060 gen_context(system_u:object_r:sip_port_t,s0)
portcon udp 5060 gen_context(system_u:object_r:sip_port_t,s0)
portcon tcp 5061 gen_context(system_u:object_r:sip_port_t,s0)
portcon udp 5061 gen_context(system_u:object_r:sip_port_t,s0)


type sixxsconfig_port_t, port_type, defined_port_type;
type sixxsconfig_client_packet_t, packet_type, client_packet_type;
type sixxsconfig_server_packet_t, packet_type, server_packet_type;
typeattribute sixxsconfig_port_t unreserved_port_type;
portcon tcp 3874 gen_context(system_u:object_r:sixxsconfig_port_t,s0)
portcon udp 3874 gen_context(system_u:object_r:sixxsconfig_port_t,s0)


type smbd_port_t, port_type, defined_port_type;
type smbd_client_packet_t, packet_type, client_packet_type;
type smbd_server_packet_t, packet_type, server_packet_type;
typeattribute smbd_port_t reserved_port_type;
portcon tcp 137-139 gen_context(system_u:object_r:smbd_port_t,s0)
portcon tcp 445 gen_context(system_u:object_r:smbd_port_t,s0)


type smtp_port_t, port_type, defined_port_type;
type smtp_client_packet_t, packet_type, client_packet_type;
type smtp_server_packet_t, packet_type, server_packet_type;
typeattribute smtp_port_t reserved_port_type;
typeattribute smtp_port_t rpc_port_type;
portcon tcp 25 gen_context(system_u:object_r:smtp_port_t,s0)
portcon tcp 465 gen_context(system_u:object_r:smtp_port_t,s0)
portcon tcp 587 gen_context(system_u:object_r:smtp_port_t,s0)


type snmp_port_t, port_type, defined_port_type;
type snmp_client_packet_t, packet_type, client_packet_type;
type snmp_server_packet_t, packet_type, server_packet_type;
typeattribute snmp_port_t reserved_port_type;
portcon udp 161 gen_context(system_u:object_r:snmp_port_t,s0)
portcon udp 162 gen_context(system_u:object_r:snmp_port_t,s0)
portcon tcp 199 gen_context(system_u:object_r:snmp_port_t,s0)
portcon tcp 1161 gen_context(system_u:object_r:snmp_port_t,s0)


type socks_port_t, port_type, defined_port_type;
type socks_client_packet_t, packet_type, client_packet_type;
type socks_server_packet_t, packet_type, server_packet_type;
 # no defined portcon

type soundd_port_t, port_type, defined_port_type;
type soundd_client_packet_t, packet_type, client_packet_type;
type soundd_server_packet_t, packet_type, server_packet_type;
typeattribute soundd_port_t unreserved_port_type;
portcon tcp 8000 gen_context(system_u:object_r:soundd_port_t,s0)
portcon tcp 9433 gen_context(system_u:object_r:soundd_port_t,s0)
portcon tcp 16001 gen_context(system_u:object_r:soundd_port_t,s0)


type spamd_port_t, port_type, defined_port_type;
type spamd_client_packet_t, packet_type, client_packet_type;
type spamd_server_packet_t, packet_type, server_packet_type;
typeattribute spamd_port_t reserved_port_type;
typeattribute spamd_port_t rpc_port_type;
portcon tcp 783 gen_context(system_u:object_r:spamd_port_t,s0)


type speech_port_t, port_type, defined_port_type;
type speech_client_packet_t, packet_type, client_packet_type;
type speech_server_packet_t, packet_type, server_packet_type;
typeattribute speech_port_t unreserved_port_type;
portcon tcp 8036 gen_context(system_u:object_r:speech_port_t,s0)


type squid_port_t, port_type, defined_port_type;
type squid_client_packet_t, packet_type, client_packet_type;
type squid_server_packet_t, packet_type, server_packet_type;
typeattribute squid_port_t unreserved_port_type;
portcon udp 3401 gen_context(system_u:object_r:squid_port_t,s0)
portcon tcp 3401 gen_context(system_u:object_r:squid_port_t,s0)
portcon udp 4827 gen_context(system_u:object_r:squid_port_t,s0)
portcon tcp 4827 gen_context(system_u:object_r:squid_port_t,s0)
 # snmp and htcp

type ssh_port_t, port_type, defined_port_type;
type ssh_client_packet_t, packet_type, client_packet_type;
type ssh_server_packet_t, packet_type, server_packet_type;
typeattribute ssh_port_t reserved_port_type;
portcon tcp 22 gen_context(system_u:object_r:ssh_port_t,s0)


type stunnel_port_t, port_type, defined_port_type;
type stunnel_client_packet_t, packet_type, client_packet_type;
type stunnel_server_packet_t, packet_type, server_packet_type;
 # no defined portcon

type swat_port_t, port_type, defined_port_type;
type swat_client_packet_t, packet_type, client_packet_type;
type swat_server_packet_t, packet_type, server_packet_type;
typeattribute swat_port_t reserved_port_type;
typeattribute swat_port_t rpc_port_type;
portcon tcp 901 gen_context(system_u:object_r:swat_port_t,s0)


type syslogd_port_t, port_type, defined_port_type;
type syslogd_client_packet_t, packet_type, client_packet_type;
type syslogd_server_packet_t, packet_type, server_packet_type;
typeattribute syslogd_port_t reserved_port_type;
typeattribute syslogd_port_t rpc_port_type;
portcon udp 514 gen_context(system_u:object_r:syslogd_port_t,s0)


type tcs_port_t, port_type, defined_port_type;
type tcs_client_packet_t, packet_type, client_packet_type;
type tcs_server_packet_t, packet_type, server_packet_type;
typeattribute tcs_port_t unreserved_port_type;
portcon tcp 30003 gen_context(system_u:object_r:tcs_port_t,s0)


type telnetd_port_t, port_type, defined_port_type;
type telnetd_client_packet_t, packet_type, client_packet_type;
type telnetd_server_packet_t, packet_type, server_packet_type;
typeattribute telnetd_port_t reserved_port_type;
portcon tcp 23 gen_context(system_u:object_r:telnetd_port_t,s0)


type tftp_port_t, port_type, defined_port_type;
type tftp_client_packet_t, packet_type, client_packet_type;
type tftp_server_packet_t, packet_type, server_packet_type;
typeattribute tftp_port_t reserved_port_type;
portcon udp 69 gen_context(system_u:object_r:tftp_port_t,s0)


type tor_port_t, port_type, defined_port_type;
type tor_client_packet_t, packet_type, client_packet_type;
type tor_server_packet_t, packet_type, server_packet_type;
typeattribute tor_port_t unreserved_port_type;
portcon tcp 6969 gen_context(system_u:object_r:tor_port_t,s0)
portcon tcp 9001 gen_context(system_u:object_r:tor_port_t,s0)
portcon tcp 9030 gen_context(system_u:object_r:tor_port_t,s0)
portcon tcp 9050 gen_context(system_u:object_r:tor_port_t,s0)
portcon tcp 9051 gen_context(system_u:object_r:tor_port_t,s0)


type traceroute_port_t, port_type, defined_port_type;
type traceroute_client_packet_t, packet_type, client_packet_type;
type traceroute_server_packet_t, packet_type, server_packet_type;
typeattribute traceroute_port_t unreserved_port_type;
portcon udp 64000-64010 gen_context(system_u:object_r:traceroute_port_t,s0)


type transproxy_port_t, port_type, defined_port_type;
type transproxy_client_packet_t, packet_type, client_packet_type;
type transproxy_server_packet_t, packet_type, server_packet_type;
typeattribute transproxy_port_t unreserved_port_type;
portcon tcp 8081 gen_context(system_u:object_r:transproxy_port_t,s0)


type ups_port_t, port_type, defined_port_type;
type ups_client_packet_t, packet_type, client_packet_type;
type ups_server_packet_t, packet_type, server_packet_type;
typeattribute ups_port_t unreserved_port_type;
portcon tcp 3493 gen_context(system_u:object_r:ups_port_t,s0)


type utcpserver_port_t, port_type, defined_port_type;
type utcpserver_client_packet_t, packet_type, client_packet_type;
type utcpserver_server_packet_t, packet_type, server_packet_type;
 # no defined portcon

type uucpd_port_t, port_type, defined_port_type;
type uucpd_client_packet_t, packet_type, client_packet_type;
type uucpd_server_packet_t, packet_type, server_packet_type;
typeattribute uucpd_port_t reserved_port_type;
typeattribute uucpd_port_t rpc_port_type;
portcon tcp 540 gen_context(system_u:object_r:uucpd_port_t,s0)


type varnishd_port_t, port_type, defined_port_type;
type varnishd_client_packet_t, packet_type, client_packet_type;
type varnishd_server_packet_t, packet_type, server_packet_type;
typeattribute varnishd_port_t unreserved_port_type;
portcon tcp 6081-6082 gen_context(system_u:object_r:varnishd_port_t,s0)


type virt_port_t, port_type, defined_port_type;
type virt_client_packet_t, packet_type, client_packet_type;
type virt_server_packet_t, packet_type, server_packet_type;
typeattribute virt_port_t unreserved_port_type;
portcon tcp 16509 gen_context(system_u:object_r:virt_port_t,s0)
portcon udp 16509 gen_context(system_u:object_r:virt_port_t,s0)
portcon tcp 16514 gen_context(system_u:object_r:virt_port_t,s0)
portcon udp 16514 gen_context(system_u:object_r:virt_port_t,s0)


type virt_migration_port_t, port_type, defined_port_type;
type virt_migration_client_packet_t, packet_type, client_packet_type;
type virt_migration_server_packet_t, packet_type, server_packet_type;
typeattribute virt_migration_port_t unreserved_port_type;
portcon tcp 49152-49216 gen_context(system_u:object_r:virt_migration_port_t,s0)


type vnc_port_t, port_type, defined_port_type;
type vnc_client_packet_t, packet_type, client_packet_type;
type vnc_server_packet_t, packet_type, server_packet_type;
typeattribute vnc_port_t unreserved_port_type;
portcon tcp 5900 gen_context(system_u:object_r:vnc_port_t,s0)


type wccp_port_t, port_type, defined_port_type;
type wccp_client_packet_t, packet_type, client_packet_type;
type wccp_server_packet_t, packet_type, server_packet_type;
typeattribute wccp_port_t unreserved_port_type;
portcon udp 2048 gen_context(system_u:object_r:wccp_port_t,s0)


type whois_port_t, port_type, defined_port_type;
type whois_client_packet_t, packet_type, client_packet_type;
type whois_server_packet_t, packet_type, server_packet_type;
typeattribute whois_port_t reserved_port_type;
portcon tcp 43 gen_context(system_u:object_r:whois_port_t,s0)
portcon udp 43 gen_context(system_u:object_r:whois_port_t,s0)
portcon tcp 4321 gen_context(system_u:object_r:whois_port_t,s0 )
portcon udp 4321 gen_context(system_u:object_r:whois_port_t,s0 )


type xdmcp_port_t, port_type, defined_port_type;
type xdmcp_client_packet_t, packet_type, client_packet_type;
type xdmcp_server_packet_t, packet_type, server_packet_type;
typeattribute xdmcp_port_t reserved_port_type;
portcon udp 177 gen_context(system_u:object_r:xdmcp_port_t,s0)
portcon tcp 177 gen_context(system_u:object_r:xdmcp_port_t,s0)


type xen_port_t, port_type, defined_port_type;
type xen_client_packet_t, packet_type, client_packet_type;
type xen_server_packet_t, packet_type, server_packet_type;
typeattribute xen_port_t unreserved_port_type;
portcon tcp 8002 gen_context(system_u:object_r:xen_port_t,s0)


type xfs_port_t, port_type, defined_port_type;
type xfs_client_packet_t, packet_type, client_packet_type;
type xfs_server_packet_t, packet_type, server_packet_type;
typeattribute xfs_port_t unreserved_port_type;
portcon tcp 7100 gen_context(system_u:object_r:xfs_port_t,s0)


type xserver_port_t, port_type, defined_port_type;
type xserver_client_packet_t, packet_type, client_packet_type;
type xserver_server_packet_t, packet_type, server_packet_type;
typeattribute xserver_port_t unreserved_port_type;
portcon tcp 6000-6020 gen_context(system_u:object_r:xserver_port_t,s0)


type zarafa_port_t, port_type, defined_port_type;
type zarafa_client_packet_t, packet_type, client_packet_type;
type zarafa_server_packet_t, packet_type, server_packet_type;
typeattribute zarafa_port_t reserved_port_type;
portcon tcp 236 gen_context(system_u:object_r:zarafa_port_t,s0)
portcon tcp 237 gen_context(system_u:object_r:zarafa_port_t,s0)


type zabbix_port_t, port_type, defined_port_type;
type zabbix_client_packet_t, packet_type, client_packet_type;
type zabbix_server_packet_t, packet_type, server_packet_type;
typeattribute zabbix_port_t unreserved_port_type;
portcon tcp 10051 gen_context(system_u:object_r:zabbix_port_t,s0)


type zabbix_agent_port_t, port_type, defined_port_type;
type zabbix_agent_client_packet_t, packet_type, client_packet_type;
type zabbix_agent_server_packet_t, packet_type, server_packet_type;
typeattribute zabbix_agent_port_t unreserved_port_type;
portcon tcp 10050 gen_context(system_u:object_r:zabbix_agent_port_t,s0)


type zookeeper_client_port_t, port_type, defined_port_type;
type zookeeper_client_client_packet_t, packet_type, client_packet_type;
type zookeeper_client_server_packet_t, packet_type, server_packet_type;
typeattribute zookeeper_client_port_t unreserved_port_type;
portcon tcp 2181 gen_context(system_u:object_r:zookeeper_client_port_t,s0)


type zookeeper_election_port_t, port_type, defined_port_type;
type zookeeper_election_client_packet_t, packet_type, client_packet_type;
type zookeeper_election_server_packet_t, packet_type, server_packet_type;
typeattribute zookeeper_election_port_t unreserved_port_type;
portcon tcp 3888 gen_context(system_u:object_r:zookeeper_election_port_t,s0)


type zookeeper_leader_port_t, port_type, defined_port_type;
type zookeeper_leader_client_packet_t, packet_type, client_packet_type;
type zookeeper_leader_server_packet_t, packet_type, server_packet_type;
typeattribute zookeeper_leader_port_t unreserved_port_type;
portcon tcp 2888 gen_context(system_u:object_r:zookeeper_leader_port_t,s0)


type zebra_port_t, port_type, defined_port_type;
type zebra_client_packet_t, packet_type, client_packet_type;
type zebra_server_packet_t, packet_type, server_packet_type;
typeattribute zebra_port_t unreserved_port_type;
portcon tcp 2600-2604 gen_context(system_u:object_r:zebra_port_t,s0)
portcon tcp 2606 gen_context(system_u:object_r:zebra_port_t,s0)
portcon udp 2600-2604 gen_context(system_u:object_r:zebra_port_t,s0)
portcon udp 2606 gen_context(system_u:object_r:zebra_port_t,s0)


type zope_port_t, port_type, defined_port_type;
type zope_client_packet_t, packet_type, client_packet_type;
type zope_server_packet_t, packet_type, server_packet_type;
typeattribute zope_port_t unreserved_port_type;
portcon tcp 8021 gen_context(system_u:object_r:zope_port_t,s0)


# Defaults for reserved ports.	Earlier portcon entries take precedence;
# these entries just cover any remaining reserved ports not otherwise declared.

portcon udp 1024-65535 gen_context(system_u:object_r:unreserved_port_t, s0)
portcon tcp 1024-65535 gen_context(system_u:object_r:unreserved_port_t, s0)
portcon tcp 512-1023 gen_context(system_u:object_r:hi_reserved_port_t, s0)
portcon udp 512-1023 gen_context(system_u:object_r:hi_reserved_port_t, s0)
portcon tcp 1-511 gen_context(system_u:object_r:reserved_port_t, s0)
portcon udp 1-511 gen_context(system_u:object_r:reserved_port_t, s0)

########################################
#
# Network nodes
#

#
# node_t is the default type of network nodes.
# The node_*_t types are used for specific network
# nodes in net_contexts or net_contexts.mls.
#
type node_t, node_type;
typealias node_t alias { compat_ipv4_node_t lo_node_t link_local_node_t inaddr_any_node_t unspec_node_t };
sid node gen_context(system_u:object_r:node_t,s0 - mls_systemhigh)

# network_node examples:
#network_node(lo, s0 - mls_systemhigh, 127.0.0.1, 255.255.255.255)
#network_node(multicast, s0 - mls_systemhigh, ff00::, ff00::)

########################################
#
# Network Interfaces
#

#
# netif_t is the default type of network interfaces.
#
type netif_t, netif_type;
sid netif gen_context(system_u:object_r:netif_t,s0 - mls_systemhigh)

ifdef(`enable_mls',`


gen_require(`type unlabeled_t;')
type lo_netif_t alias netif_lo_t, netif_type;
netifcon lo gen_context(system_u:object_r:lo_netif_t,s0 - mls_systemhigh) gen_context(system_u:object_r:unlabeled_t,s0 - mls_systemhigh)



',`

typealias netif_t alias { lo_netif_t netif_lo_t };

')


########################################
#
# Unconfined access to this module
#

allow corenet_unconfined_type node_type:node *;
allow corenet_unconfined_type netif_type:netif *;
allow corenet_unconfined_type packet_type:packet *;
allow corenet_unconfined_type port_type:tcp_socket { send_msg recv_msg name_connect };
allow corenet_unconfined_type port_type:udp_socket { send_msg recv_msg };

# Bind to any network address.
allow corenet_unconfined_type port_type:{ tcp_socket udp_socket rawip_socket } name_bind;
allow corenet_unconfined_type node_type:{ tcp_socket udp_socket rawip_socket } node_bind;