/srv/irclogs.ubuntu.com/2020/03/01/#ubuntu-discuss.txt

ducassegood morning07:14
Bashing-omducasse: WB :D07:16
ducassethanks Bashing-om - how was your session?07:16
Bashing-omducasse: Slow session - no gold stars on the irc status board :(07:18
ducasseBashing-om: too bad, but typical weekend07:22
Bashing-omducasse: More and more - slow - 'buntu just getting too polished :D07:28
lotuspsychjegood noon11:15
lotuspsychje20.04 has new icons at shutdown corner https://imgur.com/a/IfiVKMo11:34
pragmaticenigmasixwheeledbeast: It might be security by obscurity, but it is now considered best practice when enabling remote ssh in a non-commercial setting. If I enable port 22, I get thousands of attempts to login into my machines. Changing the port to a different placement, I see maybe one or two attempts a year currently. So it is effective to change the port. Everything is locked down, so really this just cuts down on the noise14:38
pragmaticenigmafor me when reviewing the logs.14:38
sixwheeledbeastpragmaticenigma: its the internet every port is scanned on a regular basis by shodan and published to the internet. Your just minimising bot traffic it's still obscurity.14:40
pragmaticenigmasixwheeledbeast: I make regular look ups of my connection on shodan... as of right now it only shows one port open, and it is not my SSH port.14:42
pragmaticenigmaShodan only scans the lower 1000 ports to my knowledge14:43
sixwheeledbeastIt has never been considered best practice. There are reasons why the first 1024 ports are used for specific applications.14:44
pragmaticenigmasixwheeledbeast: And that is fine in a commercial setting... but if a person is running something for their own purposes on their home network, there is absolutely nothing wrong with using a non-standard port14:44
pragmaticenigmaNote, I have never said there is any less risk involved14:44
sixwheeledbeastIt's still a pointless exercise IMO. You will be getting incoming traffic to the router on port 22 if it's open or not your just not seeing the logs at the server only at the router if logged.14:46
pragmaticenigmasixwheeledbeast: you're not telling me anything I already didn't know. I worked for a internet provider for over 3 years. I'm well aware of everything you have spoken about. My point is, for a personal setup, I recommend not using port 22 as I see no point in tempting the low hanging fruit of script kiddies out there. I'm more than aware that port 22 is constantly getting pinged on my firewall, as much as ports 80, 443,14:49
pragmaticenigma21, 25 and many others.14:49
pragmaticenigmaMy goal in not using port 22 for SSH serves only to reduce the amount of time it takes me to troubleshoot an issue with my connections by not having to sift through thousands of lines of logs of failed attempts to gain entry to my systems14:50
sixwheeledbeastI still stand by my point tho, it's not considered standard practice. I would sooner have the logs of IP's to either blacklist of whitelist.14:52
sixwheeledbeastwell to quote "best practice"14:52
sixwheeledbeasts/of/or/14:53
lotuspsychjethe whole world is constantly port scanned14:54
sixwheeledbeastExactly14:54
pragmaticenigmaalready established that fact, and note... never claimed best practice at large, I associated it with non-commercial situations sixwheeledbeast14:55
sixwheeledbeastnp14:56
tomreynshodan is not limited to ports 0 to 1023, but scans an arbitrary list of ports they have chosen.14:56
tomreynbut then there are competing services, and other internet scanning projects, which produce different results.14:57
sixwheeledbeastIts on my list of common FUD I hear, like people saying that placing files/drives in / doesn't follow FHS.14:59
lotuspsychjewhat is?15:02
sixwheeledbeastusing non-standard ports for services is a standard practice15:04
lotuspsychje!info linux-oem-osp1 eoan16:09
ubot5Package linux-oem-osp1 does not exist in eoan16:09
Katnipnappy19:32
FuseteamPretty sure its beneficial to use none-standard ports, but i'm curious what the disadvantages would be23:19
pragmaticenigmaFuseteam: Non-standard ports becomes a problem typically in a commercial/industrial type application.23:20
pragmaticenigmaIf your a business and wish to provide, SFTP services to your customers. The least amount of friction would be to use the ports that are already reserved for those services. Lowering the chance of mistakes in implementation23:21
pragmaticenigmaFor instance... You can run a web server on any port... But you would have little to no traffic if you didn't make the site available on Ports 80 and/or 443. Google and others are not going to index a site that it can't find.23:22
pragmaticenigmaAnd the customers are going to assume the site is broken or down, because they're not going to understand what the numbers after the URL are for, and are likely to skip them23:23
sixwheeledbeastAlso the first 1024 ports are privileged ports this means your connection to them is protected by admin privileges at the server end.23:26
pragmaticenigmaI've never heard the referred to as privileged ports before. And calling them protected by admin privileges isn't really correct. The first 1024 are specifically allocated, and typically the server requires a process to have specific system level permission to operate on that port.23:28
daftykinsi run my OpenVPN server on a non-standard port, it's blocked on some local hotel/restaurant free wifi services :/23:28
sixwheeledbeastThat's a better way of explaining it, yes.23:29
Fuseteampragmaticenigma hmm thanks for the insight23:30
sixwheeledbeastPrivileged ports is how w3 refer to them23:30
sixwheeledbeasthttps://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html23:31
pragmaticenigmaah, okay... I always thought they were called "reserved ports"23:31
Fuseteamhow practical would that make running websites and webapps in containers?23:32
sixwheeledbeastI suppose they are "reserved" according to IANA and "privileged" to w3 :shrug:23:33
sixwheeledbeastThere are ports below 1024 that have nothing assigned/reserved to them via IANA so that's where the difference is.23:35
pragmaticenigmaFuseteam: perfectly practical, many websites already do this today23:36
Fuseteamcool but aren't the containers usually published on non-standard ports? or would it make use of the container ip?23:37
sixwheeledbeasti suppose NAT can pick up the pieces too23:37
pragmaticenigmaI think many containers are run behind a load balancer, which could take things in on the standard port and forward them to the correct resource23:38
Fuseteamah guess that makes sense23:39
pragmaticenigmaunless I made the container, I wouldn't be putting it on the open web without some sort of intermediary firewall and other infrastructure23:42
pragmaticenigmaeventhen... firewalls are helpful23:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!