[Bug 255704] Feature Request: ipfw: print time in ISO8601 or allow to pass time format string
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 8 10:48:46 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255704
Bug ID: 255704
Summary: Feature Request: ipfw: print time in ISO8601 or allow
to pass time format string
Product: Base System
Version: 13.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs at FreeBSD.org
Reporter: parv.0zero9+freebsd at gmail.com
ipfw with "-t" option currently prints the via ctime, supposedly for human
consumption. That output of time stamp value is far too fractured for me to
easily read and make sense of.
Parsing ipfw output to convert seconds since Unix epoch in desired time format
is too brittle, as output could change depending on the options passed to ipfw.
There should be an option to print the date-time value in ISO8601 format for
easier reading & understanding.
Another method could be to allow user to pass in a custom date-time format
string -- via an option, environment variable, some tunable, etc. -- for ipfw
to print time stamp in that format.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list