Thursday, July 7, 2016

HOWTO query a FortiAnalzyer dataset via cli

The fortinet fortiAnalyzer allows for you to query dataset directly via sql. The execute sql-query-dataset commands requires a dataset name and time-range.


execute sql-query-dataset < adom name> <datasetname>  <dev/faz>  < Start-Time>  < End-Time>


Any data that matches that time range will be displayed.

e.g dataset for a user login query


Now if I execute a new ssh login and then query the dataset, it will show  this activity in the named dataset.




Querying the dataset directly helps when trouble-shooting reports with  no data and to validate data-sets.


NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

manipulating multi-vdoms for sources ip ( tip )

When your operating in a multi-tenant  setup you can easily change the "src vdom" that uses for various "execute" operations such as;   ssh/telnet/traceroute/ping ,etc........just by using the  following  cli command from a vdom that you have permission.


e.g


execute enter <vdom-name>

So now you can use that vdom src_address for ssh or other options. The execute ping-options allows for you to set  the ping-request source but in a lot of instance we need to change the ssh/traceroute source for task completion.

e.g  ( execute telnet  has no option to set the source )




With the execute enter command, this allow for easy manipulation from a  vdom on where the packet originates from.



Ken
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \


Friday, July 1, 2016

FAZ VM64 upgrade 5.4.1

We have a issue with  sys admin groups with multiple tacacs+ servers so the FAZ appliance was upgraded from 5.4.0 to 5.4.1










NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

Friday, June 10, 2016

FAZ user type group version type tacacs and issues

I ran into a strange issue. When setting up a VM fortinalyzer for redundant TacPlus we are deployed the user group

i.e (

config system admin group
    edit "tacplusgroups"
            set member "AAA1" "AAA2"           
    next
end

And within the wildcard we specify the  group type and the group name.


        set user_type group
        set group "tacplusgroups"

        set wildcard enable
        set radius-accprofile-override enable

This works fine for SSH access but when login via webGUI the  dashboard shows no objects.

e.g ( a broken FAZ )





      We are running 5.4.0 b1019







We had to revert back to  user type tac_plus to get our  dashboard populated. Time for a FTNT support case.



Ken
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \


Tuesday, June 7, 2016

FAZ setup for AAA access

In this blog we look at how simple the configuration for  AAA redundant with remote-group. Here a Fortianalyzer has been setup for AAA authentication via TACACS+

The 1st step is to define the AAA components



Then we can setup a "wildcard"  account with the type as "group".



Ensure that  set radius-accprofile-override is enable if you want to override access profiles via AAA.



Now you can use the  diag cmd to validate a remote-user and the profile.



Ken
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

Monday, June 6, 2016

ACS patch #3

The ongoing issues of  firefox breaking   cisco ACS should be restored via a simple patch. We've pushed  the   gpg patch file today.




Hopefully the  issues with "corruption" of the ACS database will be resolved for good !

Ken
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \



Monday, May 23, 2016

Palo Alto interface types

PANOS supports various interfaces. Just like in  juniper SRX, the interface is assigned to a zone. A interface can be in only one zone but a zone could have multiple interfaces.

Here's a few interfaces

  • Mgt = for management of the device, does not carry user traffic
  • loopback = used for dynamic router router-ids
  • vlan =  802.1q tagged interfaces
  • vwire = uses no switching has a ingress and egress , can be used with vlan-tags
  • layer2 = used in vwire carries no layer3 address , has a vlan object define
  • latey3 = has either a ipv4 or ipv6 address or both, can be used with 802.1q tags
  • PPPoE = used for DSL pppoe services
  • TAPs =  a passive monitor that's used for inspection and does not route or switch traffic aka as a "one-arm"


note: The "tap" interface policy  src and dst zones are always the same.


Ken
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \