Uh oh!
There was an error while loading. Please reload this page.
WasmAppHost: block port# 5060 and 5061, for the webserver - #76485
Conversation
to avoid slipstream attack https://chromestatus.com/feature/5064283639513088
ghost
commented
Oct 1, 2022
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
filipnavara
commented
Oct 1, 2022
You don't need to loop. It's easy to just specify smaller range and +2 to the result if it's >= 5060. |
kasperk81
commented
Oct 1, 2022
this is future-proof for additional port blocking |
You can apply the same idea in a generic way. Just subtract the size of the array of the blocked ports from the random range. Then loop over the array of blocked ports and increment the random number R by 1 for each array[i] >= R. |
ghost
commented
Oct 1, 2022
Tagging subscribers to this area: @directhex Issue Detailsto avoid slipstream attack https://chromestatus.com/feature/5064283639513088
|
Could you please add comment on why we are avoiding the ports ? Also see what browsers consider unsafe |
kasperk81
commented
Oct 3, 2022
comments added.
combination of those lists in case it is needed: 1,// tcpmux7,// echo9,// discard11,// systat13,// daytime15,// netstat17,// qotd19,// chargen20,// FTP-data21,// FTP-control22,// SSH23,// telnet25,// SMTP37,// time42,// name43,// nicname53,// domain69,// TFTP77,// priv-rjs79,// finger87,// ttylink95,// supdup101,// hostriame102,// iso-tsap103,// gppitnp104,// acr-nema109,// POP2110,// POP3111,// sunrpc113,// auth115,// SFTP117,// uucp-path119,// nntp123,// NTP135,// loc-srv / epmap137,// NetBIOS139,// netbios143,// IMAP2161,// SNMP179,// BGP389,// LDAP427,// SLP (Also used by Apple Filing Protocol)465,// SMTP+SSL512,// print / exec513,// login514,// shell515,// printer526,// tempo530,// courier531,// Chat532,// netnews540,// UUCP548,// afpovertcp [Apple addition]554,// rtsp556,// remotefs563,// NNTP+SSL587,// ESMTP601,// syslog-conn636,// LDAP+SSL989,// ftps-data990,// ftps993,// IMAP+SSL995,// POP3+SSL1719,// H323 (RAS)1720,// H323 (Q931)1723,// H323 (H245)2049,// NFS3659,// apple-sasl / PasswordServer [Apple addition]4045,// lockd5060,// SIP5061,// SIPS6000,// X116566,// SANE6665,// Alternate IRC [Apple addition]6666,// Alternate IRC [Apple addition]6667,// Standard IRC [Apple addition]6668,// Alternate IRC [Apple addition]6669,// Alternate IRC [Apple addition]6697,// IRC+SSL [Apple addition]10080,// amanda4190,// ManageSieve [Apple addition]6679,// Alternate IRC SSL [Apple addition] |
ghost
commented
Oct 4, 2022
Tagging subscribers to 'arch-wasm': @lewing Issue Detailsto avoid slipstream attack https://chromestatus.com/feature/5064283639513088
|
to avoid slipstream attack https://chromestatus.com/feature/5064283639513088