On 12/3/2007 at 7:32 AM Girish Venkatachalam wrote: |On 21:45:37 Dec 02, Henning Brauer wrote: |> * MikeM <[EMAIL PROTECTED]> [2007-12-02 15:35]: |> > When I run the command |> > |> > pfctl -sr |> > |> > a list of the rules is displayed, a sample line is below. |> > |> > pass in log quick on fxp0 inet proto tcp from 226.174.167.164 to |> > (fxp0) port = smtp flags S/FSRA keep state |> > |> > |> > Is there a way for me to tell pfctl that I want to see |> > |> > port = 25 |> > |> > instead of |> > |> > port = smtp |> > |> > ? |> |> short of hacking pfctl source, no. |> | |As per your request I have added the "-P" switch to pfctl to display |numeric port numbers instead of service names for those who desire the |same. | |Please find attached the diff. | |I have modified the man page as well. | |Now, if you desire numeric ports display you have to use the -P option |in addition to other options. Everything else works as before. =============
Wow, thank-you! :)