this post was submitted on 02 Aug 2023
1512 points (97.0% liked)

Programmer Humor

19623 readers
92 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
[–] Newusername4oldfart@lemm.ee 23 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.

[–] ysjet@lemmy.world 10 points 1 year ago (1 children)

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

[–] Lodra@programming.dev 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.

[–] Rakn@discuss.tchncs.de 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.

[–] Newusername4oldfart@lemm.ee 2 points 1 year ago (1 children)

You using a Cisco firewall or something?

[–] Rakn@discuss.tchncs.de 1 points 1 year ago

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

[–] baascus@lemm.ee 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.