this post was submitted on 28 Sep 2024
705 points (96.1% liked)
Programmer Humor
19652 readers
2205 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
When trying to request a firewall change IT told me "ports between 1 and 1024 are reserved and can't be used for anything else" so I couldn't be using it for a pure TCP connection, and besides, there would have to be a protocol on top of TCP, just TCP as protocol is obviously wrong. I was using port 20 because it was already open...
as a full stack dev, everything you said has offended me.
port 20 is used for FTP, unless you were using FTP, then go right ahead. Guessing that since you didn't know the protocol you were not using FTP.
port usage reservations are incredibly important to ensure that the system is running within spec and secure. imagine each interface like a party telephone line and the ports are time slots.
your neighborhood has reserved specific times (ports) for everyone to call their relatives. if you use the phone not in your slot (port) your neighbors might get pissed off enough to interrupt your slot. and then it's just chaos from there.
As IT/network/security, using a well known port for something that's not what is supposed to run on that port, is inviting all kinds of problems.
Especially the very well known ones, like ftp, ssh, SMTP, http, HTTPS, etc (to name a few). People make it their mission to find and exploit open FTP systems. I opened up FTP on a system once to the internet as kind of a honeypot, and within a week or so, there was someone uploading data to it.
No bueno. Don't use well known ports for things unless the thing that well known port is known for, is what you want to do.
All of that is fine, and they mentioned the management perspective, which I get. It was a field test and our original choice of 4001 - which is what other serial to TCP servers like us use, also in their network - was unavailable.
What irks me is the "technical impossibility" of raw TCP and "I must be wrong" when filling out their firewall change form.
They've since given us a different port "close to others that we use", for whatever reason that matters, and based their choice on some list of common protocols outside the reserved range. But not 4001.
That by itself is just one thing and I wouldn't give it a second thought, but it's all part of a larger picture of ineptitude. They opened a ticket because an arrow at the border of our UI vanished when they screen shared on Teams. Because of the red border. And they blamed our application for it.
They didn't set up their PKI correctly and opening our webpage on specific hosts gave the typical "go back" warning. But it was our fault somehow, even though the certificate was the one they supplied us and it was valid.
Most commonly a port is opened to accept traffic of a specific protocol that runs overtop of TCP of UDP. I'm guessing the individual that responded might not be very good at technical communication and was just trying to question "are you sure it's raw TCP and not just http traffic?" In order to keep the holes poked into the firewall as narrow and specific as possible
Usually if infrastructure is assigning a port other than default it's because that port is already in use. The actual port number you use doesn't matter as long as it's not a common default (which basically all ports below 1024 are)
Using ports that are close together for similar purposes can aid in memorability if that's a need, but ultimately it doesn't matter much if they're not conflicting with common defaults
Probably a user was complaining and needed action immediately and they didn't have time to test a cosmetic issue in an edgecase. For minor issues I'll open a ticket with the party I think might be responsible just to get it out of the way so I can get to higher priority stuff, and I'll rely on that party to let me know if it's not actually their problem. Heck it might even simply be the IT person assumed it was a misrouted ticket, since users open tickets in random queues all the time
If the certificate is correctly generated and valid an SSL error would indicate it was incorrectly applied to the application. I'm guessing by the inclusion in this rant that the conclusion was it was in fact a problem with the certificate, but we don't have enough details to speculate if it was truly a mistake by the individual that generated it or just a miscommunication
Honestly it sounds like you're too quick to bash IT and should instead be more open to dialogue. I don't know the specifics of your workplace and communications, but if you approach challenges with other teams from an "us vs them" standpoint it's just going to create conflict. Sometimes the easiest way to do it is to try to hop on a quick call with the person once you get to more than a couple of emails back and forth, plus then you have more social cues to avoid getting angry with eachother and can give more relevant details