Monday, September 26, 2016

OPENsense configuration backups

In this post I will demonstrate one of the best  new feature in  OPENsense firewall. In fact I'm surprise it took this long and why no other commercial firewall vendor has a means to "selective" cfg backup.

In OpenSense, you can now do full backups or selected areas.



Okay so what this allows;

  •  you can backup specific or all parts of the configuration for the firewall
  •  you can restore all or specific part
  •  you can still a option to  encrypt the backup  
  • this allows  you to make changes and restore only the area that the change was in  if you have a backup
  • great for also providing outside 3rd party  XML configurations for auditing purposes

Here's a interface cfg backup in xml format;





Here's the same configuration, but encrypted;







You have to love  open source networking and firewalls.






It would be nice if  the open source dev team would allow;

1; selected encryption methods
2:  "diffs"  just for  configurations files  before restore operations
3: automated  configuration backups via a schedule for a particular area

OpenSource  firewalls or manager are the an alternative. A few great solutions exist from; iptables firewalld iptables manager , monowall, pfsense, opensesne, Packet filter  firewall, untangle,etc...

Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \

Wednesday, September 14, 2016

My PCNSE7 exam review

I finally took and pass the Palo Alto PCNSE7  exam  this AM. It like the PCNSE6 straight forward  questions.




Since I could't find any PaloAlto  PCNSE7 study materials, I used the following;



  • re-study PANOS6 and 7 cli commands
  • review the PCNSE7 blueprint material from PaloAlto
  • look at the various ACC tabs
  • remember the hard to forget test commands
  • re-read a lot of paloalto live notes on panorama


The combination and experience with  PANOS6 was what let me   get a passing score on the PCNSE7. It's challenging exam but not very hard if you have experience and put a few hours aside to read and study up on PANOS.



I used the pearsonvue exam-test center in  NE Austin off Dessau ridge road & Howard ln.


The challenging issues with PaloAlto are;


  •  no press books
  •  very limit  study forums or community forums information available ( I start posting PANOS blog information here in the next few months )
  •  very little collaboration amongst  security engineers


The positives;


  •    nexgewnfw  with cool application decoders
  •    great videos



 



PANW
https://www.paloaltonetworks.com/services/live-community





Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \

Friday, September 9, 2016

CRL certificate revocation checks

Here's a quick tutorial on how manually look &  query a CRL list for a certificate revocation status.

http://www.entrust.net/customer/crl_form.cfm

If you used Entrust  to sign a  certificate and you need to revoke it. You  can retrieve the  certificate serial# and the CA details from the certificate , and use the above link to query the certificate status.

Here's a certificate installed on a F5-LTM,  ( take note of the hex serialnumber  and the CA issuer  )



Next, we pop the serial# in the query input  ( after  selecting l1k ) and if it's revoked, you will get the status which includes the date/time of revocation







the openssl  utility is a good means also for gathering the certificate serial#,






eg

openssl x509 -in < certificatename.crt> -noout -serial




Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \

Thursday, September 1, 2016

GNUtls serv for testing certficates and keys

openssl has s_client and s_server support for testing  certificates. Within GNUtls   { gnutls-serv }  we have the serve option which mimic the  s_server function in openssl

Here's an example for load a server.certificate and key


 you will need   sudo  if you want to bind to a address below 1024





Even if we have a bad key or mismatch of the key+certificate , gnutls-serv  will complain on the certificate  and will not launch.




The GUNtls server is great for SSL/TLS checks pre-launch and give you great diagnostics. If you use a -d option and specify a integer you can give verbose information.







Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \

Tuesday, August 30, 2016

SNI checks for F5 VirtualServers

Using SNI ( server name indicator )  for a virtual-server in a host web environment that requires  TLS connections , is not un-heard feature.


The combined use of layer7 host header and SNI allows for one single address to host dozens or hundred of websites. To learn more about SNI review here.

https://en.wikipedia.org/wiki/Server_Name_Indication

A quick means for testing  support  for SNI support or no-SNI ,  is to use the common  GNUtls utility gnutls-cli without or with the --disable-extensions option.

Check out a Virtual-Server that was enabled for support in the client-side-ssl profile;



In this case my way port wifi provider intercepted my request for www.wwt.com, here's a direct request to the same size without and with SNI in the initial client-ssl hello.




If you happen to  initiate a ssl-session with the SNI extension disable the end-node does not support SNI & the clientssl profile defined for the default SNI is incorrectly set for "required", you will get a  ssl fatal error.



Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \


Sunday, August 28, 2016

F5 self address and the floater confusion

Confusion always comes up with a self address types. You typically have  a "real assigned" ipv4-address per-interface

A floater is another type of address that's "floats ( hence the word  floater ) between the active  F5 in a cluster

The reasons for the floater is required   for "inline" function where the clients or servers are routed using the  floater as a next-hop.

The other advantage for the floater is for the  determine which unit is actually active ( you can ssh and/or  HTTPS  ) and see the hostname of the  of the active unit

It's can also not be used for any configsync operations

And finally the floater address does offer any  http health checks or  even in-use for client-side SNAT.


Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \





Friday, August 26, 2016

Fortigate HA link uses telnet ( no-ENC )

When setting up a  HA link you need to be aware that with out  the encryption enabled, your HA traffic is in the clear.

What this means, anybody who creative can sniff traffic and gather  information. Here's what the cli cmd  diag sniffer packet port_ha "port 23"  shows







 You would think a security outfit would never use  telnet 



Enabling encryption for the  ha configuration is a must & is available from the CLI only.


Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \