-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stephan Stricker
committed
Dec 3, 2023
1 parent
845c51a
commit aa19769
Showing
6 changed files
with
779 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,262 @@ | ||
'use strict'; | ||
|
||
const PROTOCOLS_LABEL = { | ||
0: 'Unknown', | ||
1: 'FTP_CONTROL', | ||
10: 'NetBIOS', | ||
100: 'SIP', | ||
101: 'TruPhone', | ||
102: 'ICMPV6', | ||
103: 'DHCPV6', | ||
104: 'Armagetron', | ||
105: 'Crossfire', | ||
106: 'Dofus', | ||
107: 'Fiesta', | ||
108: 'Florensia', | ||
109: 'Guildwars', | ||
11: 'NFS', | ||
110: 'HTTP_ActiveSync', | ||
111: 'Kerberos', | ||
112: 'LDAP', | ||
113: 'MapleStory', | ||
114: 'MsSQL-TDS', | ||
115: 'PPTP', | ||
116: 'Warcraft3', | ||
117: 'WorldOfKungFu', | ||
118: 'Slack', | ||
119: 'Facebook', | ||
12: 'SSDP', | ||
120: 'Twitter', | ||
121: 'Dropbox', | ||
122: 'GMail', | ||
123: 'GoogleMaps', | ||
124: 'YouTube', | ||
125: 'Skype', | ||
126: 'Google', | ||
127: 'DCE_RPC', | ||
128: 'NetFlow', | ||
129: 'sFlow', | ||
13: 'BGP', | ||
130: 'HTTP_Connect', | ||
131: 'HTTP_Proxy', | ||
132: 'Citrix', | ||
133: 'NetFlix', | ||
134: 'LastFM', | ||
135: 'Waze', | ||
136: 'YouTubeUpload', | ||
137: 'GENERIC', | ||
138: 'CHECKMK', | ||
139: 'AJP', | ||
14: 'SNMP', | ||
140: 'Apple', | ||
141: 'Webex', | ||
142: 'WhatsApp', | ||
143: 'AppleiCloud', | ||
144: 'Viber', | ||
145: 'AppleiTunes', | ||
146: 'Radius', | ||
147: 'WindowsUpdate', | ||
148: 'TeamViewer', | ||
149: 'Tuenti', | ||
15: 'XDMCP', | ||
150: 'LotusNotes', | ||
151: 'SAP', | ||
152: 'GTP', | ||
153: 'UPnP', | ||
154: 'LLMNR', | ||
155: 'RemoteScan', | ||
156: 'Spotify', | ||
157: 'Messenger', | ||
158: 'H323', | ||
159: 'OpenVPN', | ||
16: 'SMBv1', | ||
160: 'NOE', | ||
161: 'CiscoVPN', | ||
162: 'TeamSpeak', | ||
163: 'Tor', | ||
164: 'CiscoSkinny', | ||
165: 'RTCP', | ||
166: 'RSYNC', | ||
167: 'Oracle', | ||
168: 'Corba', | ||
169: 'UbuntuONE', | ||
17: 'Syslog', | ||
170: 'Whois-DAS', | ||
171: 'Collectd', | ||
172: 'SOCKS', | ||
173: 'Nintendo', | ||
174: 'RTMP', | ||
175: 'FTP_DATA', | ||
176: 'Wikipedia', | ||
177: 'ZeroMQ', | ||
178: 'Amazon', | ||
179: 'eBay', | ||
18: 'DHCP', | ||
180: 'CNN', | ||
181: 'Megaco', | ||
182: 'Redis', | ||
183: 'Pando_Media_Booster', | ||
184: 'VHUA', | ||
185: 'Telegram', | ||
186: 'Vevo', | ||
187: 'Pandora', | ||
188: 'QUIC', | ||
189: 'WhatsAppVoice', | ||
19: 'PostgreSQL', | ||
190: 'EAQ', | ||
191: 'Ookla', | ||
192: 'AMQP', | ||
193: 'KakaoTalk', | ||
194: 'KakaoTalk_Voice', | ||
195: 'Twitch', | ||
197: 'WeChat', | ||
198: 'MPEG_TS', | ||
199: 'Snapchat', | ||
2: 'POP3', | ||
20: 'MySQL', | ||
200: 'Sina', | ||
201: 'GoogleHangout', | ||
202: 'IFLIX', | ||
203: 'Github', | ||
204: 'BJNP', | ||
206: 'PPStream', | ||
207: 'SMPP', | ||
208: 'DNScrypt', | ||
209: 'TINC', | ||
21: 'Hotmail', | ||
210: 'Deezer', | ||
211: 'Instagram', | ||
212: 'Microsoft', | ||
213: 'Starcraft', | ||
214: 'Teredo', | ||
215: 'HotspotShield', | ||
216: 'HEP', | ||
217: 'GoogleDrive', | ||
218: 'OCS', | ||
219: 'Office365', | ||
22: 'Direct_Download_Link', | ||
220: 'Cloudflare', | ||
221: 'MS_OneDrive', | ||
222: 'MQTT', | ||
223: 'RX', | ||
224: 'AppleStore', | ||
225: 'OpenDNS', | ||
226: 'Git', | ||
227: 'DRDA', | ||
228: 'PlayStore', | ||
229: 'SOMEIP', | ||
23: 'POPS', | ||
230: 'FIX', | ||
231: 'Playstation', | ||
232: 'Pastebin', | ||
233: 'LinkedIn', | ||
234: 'SoundCloud', | ||
235: 'CSGO', | ||
236: 'LISP', | ||
237: 'Diameter', | ||
238: 'ApplePush', | ||
239: 'GoogleServices', | ||
24: 'AppleJuice', | ||
240: 'AmazonVideo', | ||
241: 'GoogleDocs', | ||
242: 'WhatsAppFiles', | ||
25: 'DirectConnect', | ||
26: 'ntop', | ||
27: 'COAP', | ||
28: 'VMware', | ||
29: 'SMTPS', | ||
3: 'SMTP', | ||
30: 'FacebookZero', | ||
31: 'UBNTAC2', | ||
32: 'Kontiki', | ||
33: 'OpenFT', | ||
34: 'FastTrack', | ||
35: 'Gnutella', | ||
36: 'eDonkey', | ||
37: 'BitTorrent', | ||
38: 'SkypeCall', | ||
39: 'Signal', | ||
4: 'IMAP', | ||
40: 'Memcached', | ||
41: 'SMBv23', | ||
42: 'Mining', | ||
43: 'NestLogSink', | ||
44: 'Modbus', | ||
47: 'Xbox', | ||
48: 'QQ', | ||
5: 'DNS', | ||
50: 'RTSP', | ||
51: 'IMAPS', | ||
52: 'IceCast', | ||
53: 'PPLive', | ||
54: 'PPStream', | ||
55: 'Zattoo', | ||
56: 'ShoutCast', | ||
57: 'Sopcast', | ||
58: 'Tvants', | ||
59: 'TVUplayer', | ||
6: 'IPP', | ||
60: 'HTTP_Download', | ||
61: 'QQLive', | ||
62: 'Thunder', | ||
63: 'Soulseek', | ||
64: 'SSL_No_Cert', | ||
65: 'IRC', | ||
66: 'Ayiya', | ||
67: 'Unencrypted_Jabber', | ||
68: 'MSN', | ||
69: 'Oscar', | ||
7: 'HTTP', | ||
70: 'Yahoo', | ||
71: 'BattleField', | ||
72: 'GooglePlus', | ||
73: 'VRRP', | ||
74: 'Steam', | ||
75: 'HalfLife2', | ||
76: 'WorldOfWarcraft', | ||
77: 'Telnet', | ||
78: 'STUN', | ||
79: 'IPsec', | ||
8: 'MDNS', | ||
80: 'GRE', | ||
81: 'ICMP', | ||
82: 'IGMP', | ||
83: 'EGP', | ||
84: 'SCTP', | ||
85: 'OSPF', | ||
86: 'IP_in_IP', | ||
87: 'RTP', | ||
88: 'RDP', | ||
89: 'VNC', | ||
9: 'NTP', | ||
90: 'PcAnywhere', | ||
91: 'SSL', | ||
92: 'SSH', | ||
93: 'Usenet', | ||
94: 'MGCP', | ||
95: 'IAX', | ||
96: 'TFTP', | ||
97: 'AFP', | ||
98: 'Stealthnet', | ||
99: 'Aimini', | ||
}; | ||
|
||
const ERRORS_LABEL = { | ||
100: 'Unknown error (100)', | ||
101: 'Invalid parameters', | ||
102: 'API does not exist', | ||
103: 'Method does not exist', | ||
104: 'This API version is not supported', | ||
105: 'Insufficient user privilege', | ||
106: 'Connection time out', | ||
107: 'Multiple login detected', | ||
117: 'Need manager rights for operation', | ||
119: 'Missing SID', | ||
400: 'Invalid credentials', | ||
401: 'Account disabled', | ||
402: 'Permission denied', | ||
403: '2-step verification code required', | ||
404: 'Failed to authenticate 2-step verification code', | ||
}; | ||
|
||
module.exports = { PROTOCOLS_LABEL, ERRORS_LABEL }; |
Oops, something went wrong.