this post was submitted on 02 Aug 2023
1525 points (97.1% liked)

Programmer Humor

19623 readers
2322 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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 1 year ago (3 children)

Depends on what system you’re running, and especially what task you’re doing. Trying to operate firewall rules via CLI is an exercise in self-inflicted pain, as is trying to set a complex cron schedule without a handy calculator.

[–] [email protected] 9 points 1 year ago (1 children)

on the contrary, CLI is the BEST way to deal with firewall rules.

[–] [email protected] 6 points 1 year ago

Personally, I'd take it a step further. Firewall rules should be defined as code in a git repo. So if you're building rules in a gui, you're simply doing it wrong. While a cli and/or api should be used, that should be automated and invisible to a human.

[–] [email protected] 2 points 1 year ago (1 children)

TIL there are people configuring firewalls via GUIs. Okay … I‘m do that too on my private equipment because I’m lazy. But it feels wrong doing so in an enterprise context.

[–] [email protected] 2 points 1 year ago (1 children)

You using a Cisco firewall or something?

[–] [email protected] 1 points 1 year ago

I’ve been using F5 in the past. Not doing that anymore though.

[–] [email protected] 1 points 1 year ago

Junos CLI is a real treat. I work with the SRX line regularly, particularly the SRX4600 and the SRX300 series.