Info Security Memo
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org

Build Confidence

Focusing on Information Security 

Info Security Notes

Add Juniper SRX Cluster into JunOS Space 16.1 Security Director

4/16/2017

0 Comments

 
My old post "Import Existing Juniper SRX Cluster into JunOS Space Security Director" was created based on Space 14.1 and SRX11.x version. Now both have been upgraded. Space NMP and Security Director have been upgrade to 16.1 (Post is here). SRX240H has been upgrade to 12.1D46.55.

Basically, all steps are similar except the web interface is different. What you need to do is to configure your SRX cluster with a master-only ip on both nodes. The configuration should looks like this:




root@fw-m-t-1> show configuration 
## Last commit: 2017-03-23 14:44:28 UTC by root
version 12.1X46-D55.3;
groups {
    node1 {
        system {
            host-name fw-m-t-2;
            backup-router 10.9.1.1;
            services {
                ssh {
                    max-sessions-per-connection 32;
                }
            }
            syslog {
                file default-log-messages {
                    any info;
                    match "(requested 'commit' operation)|(requested 'commit synchronize' operation)|(copying configuration to juniper.save)|(commit complete)|ifAdminStatus|(FRU power)|(FRU removal)|(FRU insertion)|(link UP)|transitioned|Transferred|transfer-file|(license add)|(license delete)|(package -X update)|(package -X delete)|(FRU Online)|(FRU Offline)|(plugged in)|(unplugged)|GRES";
                    structured-data;
                }
            }
        }
        interfaces {
            fxp0 {
                unit 0 {
                    family inet {
                        address 10.9.1.14/24 {
                            preferred;
                        }
                        address 10.9.1.15/24 {
                            master-only;
                        }
                    }
                }
            }
        }
    }
    node0 {
        system {
            host-name fw-m-t-1;
            backup-router 10.9.1.1;
            services {
                ssh {
                    max-sessions-per-connection 32;
                }
            }
            syslog {
                file default-log-messages {
                    any info;
                    match "(requested 'commit' operation)|(requested 'commit synchronize' operation)|(copying configuration to juniper.save)|(commit complete)|ifAdminStatus|(FRU power)|(FRU removal)|(FRU insertion)|(link UP)|transitioned|Transferred|transfer-file|(license add)|(license delete)|(package -X update)|(package -X delete)|(FRU Online)|(FRU Offline)|(plugged in)|(unplugged)|GRES";
                    structured-data;
                }
            }
        }
        interfaces {
            fxp0 {
                unit 0 {
                    family inet {
                        address 10.9.1.13/24 {
                            preferred;
                        }
                        address 10.9.1.15/24 {
                            master-only;
                        }
                    }
                }
            }                           
        }
    }
    security;
    global-policy {
        security {
            policies {
                from-zone <*> to-zone <*> {
                    policy default-logdrop {
                        match {
                            source-address any;
                            destination-address any;
                            application any;
                        }
                        then {
                            deny;
                            log {
                                session-init;
                            }
                        }
                    }
                }
            }
        }
    }
}




In Juniper Space, you just need to import master-only ip into it. Here are steps with screenshots.

1. Device Discovery

Security Director -> Devices ->Device Discovery

Create Device Discovery Profile



Specify Probes



Specify credentials




Secify Device Fingerprint

Schedule Discovery Job



Discovery Progress

Discovered Device

Note: If your Space Schema Version does not have your SRX OS version, it will shows mismatch on Schema Version column. In that case , you will need to do DMI Schema download the version you are missing.
DMS Download


2. Import Device

Import Devices

Follow the on-screen notes to complete steps, you will be able to import Firewall policy, NAT policy and IDP policy ,etc.


Imported Firewall Policy

Imported IPS Policy

3. Publish and Update policy to your SRX devices

Update Firewall Policy

4. Troubleshooting

During updating policy, I met following two errors:

4.1. [Error] Configuration update failed.

Severity : error
Message : remote lock-configuration failed on node1

The fix is at KB27800 - [SRX] The error 'remote lock-configuration failed on node' is seen in SRX chassis cluster
  1. Go to node with the stuck lock. 
  2. Execute the following commands:

>start shell

%mgd clr-chg 





4.2. [Error] Configuration update failed.

Severity : error
           At : [edit security idp idp-policy Space-IPS-Policy rulebase-ips rule Recommended-TCP/IP match]
Message : Please install the Signature Database
  Details : attacks
Severity : error
Message : configuration check-out failed 

The fix is just to download latest signature database and install it to devices.


Download Latest Signature Database



0 Comments



Leave a Reply.

    Categories

    All
    Architecture
    Blog
    Checkpoint
    Cisco
    Cloud
    CyberArk
    F5
    Fortigate
    Guardium
    Juniper
    Linux
    Network
    Others
    Palo Alto
    Qualys
    Raspberry Pi
    Security
    SIEM
    Software
    Vmware
    VPN
    Wireless

    Archives

    March 2024
    February 2024
    January 2024
    December 2023
    November 2023
    October 2023
    September 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    October 2019
    September 2019
    June 2019
    July 2018
    May 2018
    December 2017
    August 2017
    April 2017
    March 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015

    Print Page:

    RSS Feed

    Email Subscribe
Powered by Create your own unique website with customizable templates.
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org