Quantcast
Channel: SRX Services Gateway topics
Viewing all 3959 articles
Browse latest View live

SRX Sip ALG

$
0
0

I currently have the sip ALG disabled on my SRX.  I was thinking about enabling to allow the sip automatic pinholes to work with Microsoft UM.  I have read some past posts about the sip ALG not really working well.  I am wondering what the current state is like.  I haven't found much information that is current.

I am running two clusters in two different locations.  One version is 12.3X48-D75 and the other is 15.1X49-D90.  Any recommendations would be appreciated.


SRX1500 - only passing traffic to/from some destinations

$
0
0

I have recently installed a pair of SRX1500 firewalls in a cluster. Running Junos 15.1X49-D150.2.

 

I've discovered that the firewalls seem to be responsible for dropping tcp traffic to/from certain destinations on the Internet. At first I thought this was due to some kind of asymmetrical routing issue, but I think I've mostly ruled that out. Traffic between the firewall and the Internet always happen on the same reth interface, so asymmetric routing shouldn't be an issue afaik.

 

ICMP works, so I think it's only tcp traffic that's affected. For example, a client on the inside can ping www.somedomain.com, but browsing (tcp 80/443 to the same domain just times out. Some other websites work, but seem a bit slow.

 

Both firewalls are connected to an upstream switch. I have several other servers and firewalls directly connected to the same switch, all work flawlessly when communicating upstream with my routers. This points to a problem or misconfiguration in the SRX1500 cluster.

 

I've run flow traceoptions, but there's a lot of info to read and I haven't found anything that looks suspicious.

 

I've attached a diagram:

Untitled Diagram.png

 

Relevant config looks like this:

 

version 15.1X49-D150.2;
chassis {
    cluster {
        control-link-recovery;
        reth-count 5;
        redundancy-group 0 {
            node 0 priority 254;
            node 1 priority 1;
        }
        /* to-ex4200 */
        redundancy-group 1 {
            node 0 priority 254;
            node 1 priority 1;
            interface-monitor {
                xe-0/0/16 weight 255;
                xe-7/0/16 weight 255;
            }
        }
        /* to-ex9200 */
        redundancy-group 5 {
            node 0 priority 254;
            node 1 priority 1;
            interface-monitor {
                ge-0/0/12 weight 255;
                ge-7/0/12 weight 255;
            }
        }
    }
}
security {
    address-book {
        global {
            address dc-hosts-v4nat-dbs 10.33.15.0/24;
        }
    }
    alg {
        dns disable;
    }
    nat {
        source {
            pool src-nat-pool {
                address {
                    X.X.X.4/32 to X.X.X.30/32;
                }
                address-pooling paired;
            }
            rule-set vl-dbs-to-internet {
                from zone vl-dbs;
                to zone internet;
                rule vl-dbs-nat {
                    match {
                        source-address-name dc-hosts-v4nat-dbs;
                        destination-address 0.0.0.0/0;
                    }
                    then {
                        source-nat {
                            pool {
                                src-nat-pool;
                            }
                        }
                    }
                }
            }
        }
    }
    policies {
        from-zone vl-dbs to-zone internet {
            policy permit-any {
                match {
                    source-address any;
                    destination-address any;
                    application any;
                }
                then {
                    permit;
                }
            }
        }
    }
    zones {
        security-zone internet {
            interfaces {
                reth4.62 {
                    host-inbound-traffic {
                        system-services {
                            ping;
                            traceroute;
                        }
                    }
                }
            }
        }
        security-zone vl-dbs {
            interfaces {
                reth0.515 {
                    host-inbound-traffic {
                        system-services {
                            ping;
                            traceroute;
                        }
                    }
                }
            }
        }
    }
}
interfaces {
    ge-0/0/12 {
        gigether-options {
            redundant-parent reth4;
        }
    }
    xe-0/0/16 {
        gigether-options {
            redundant-parent reth0;
        }
    }
    ge-7/0/12 {
        gigether-options {
            redundant-parent reth4;
        }
    }
    xe-7/0/16 {
        gigether-options {
            redundant-parent reth0;
        }
    }
    fab0 {
        fabric-options {
            member-interfaces {
                xe-0/0/18;
                xe-0/0/19;
            }
        }
    }
    fab1 {
        fabric-options {
            member-interfaces {
                xe-7/0/18;
                xe-7/0/19;
            }
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 192.168.22.240/32;
            }
        }
    }
    reth0 {
        vlan-tagging;
        redundant-ether-options {
            redundancy-group 1;
        }
        unit 515 {
            vlan-id 515;
            family inet {
                address 10.33.15.1/24;
            }
        }
    }
    reth4 {
        description internet;
        vlan-tagging;
        redundant-ether-options {
            redundancy-group 5;
        }
        unit 62 {
            description "Main Source NAT Pool";
            vlan-id 62;
            family inet {
                address X.X.X.4/27;
                address X.X.X.5/27;
                address X.X.X.6/27;
                address X.X.X.7/27;
                address X.X.X.8/27;
                address X.X.X.9/27;
                address X.X.X.10/27;
                address X.X.X.11/27;
                address X.X.X.12/27;
                address X.X.X.13/27;
                address X.X.X.14/27;
                address X.X.X.15/27;
                address X.X.X.16/27;
                address X.X.X.17/27;
                address X.X.X.18/27;
                address X.X.X.19/27;
                address X.X.X.20/27;
                address X.X.X.21/27;
                address X.X.X.22/27;
                address X.X.X.23/27;
                address X.X.X.24/27;
                address X.X.X.25/27;
                address X.X.X.26/27;
                address X.X.X.27/27;
                address X.X.X.28/27;
                address X.X.X.29/27;
                address X.X.X.30/27;
            }
        }
    }
}
routing-options {
    static {
        route 0.0.0.0/0 next-hop X.X.X.1;
    }
    router-id 192.168.22.240;
}

 

Any ideas? Smiley Happy

Limiting J-Web access

$
0
0

Hi guys,

I would like to limit the J-web access to only two interfaces ge-0/0/1.0 and ge-0/0/6.0. 

 

Below is the zone wise mapping of interfaces:

0/0

UNTRUST-INT (UNTRUST)

0/1

(TRUST)

0/2

(TRUST)

0/3

(TRUST)

0/4

(Library)

0/5

(TMS)

0/6

(TRUST)

 

Below is the set config for the web-management :

 


set system services web-management http interface ge-0/0/1.0
set system services web-management https system-generated-certificate
set system services web-management https interface ge-0/0/1.0
set system services web-management https interface ge-0/0/6.0
set system services web-management https interface all

 

 

It looks like the SRX is allowing J-web access to all the interfaces in trust. Can anyone shed some light on how to limit J-Web access to particular interface and not to a particular zone ?

 

Thanking you.

Regards,

Pavan 

Need Docs for building new IPSec Tunnel between SRX and Fortinate Firewall using route based policy

$
0
0

Need Docs for building new IPSec Tunnel between SRX and Fortinate Firewall using route based policy

site-to-site VPN configuration

$
0
0

I am trying to vpn connect between an SRX240 and a cisco meraki MX60. the MX60 configuration is straight forward I have aes-128 encryption an Authentication of sha1 a Diffie-Hellman at group2 for phase 1.  Phase 2 is PFS froup at 2 Authentication sha1 and Encryption at aes-128.

 

on my SRX I have the same encryption and authentication. I even have it set for ike version 1 as meraki version 2 is not supported.

 

on the SRX when I do a show security ike security-association it shows as down. looking at the logs I get no responder key. I see it does try to communicate but times-out.

 

any suggestions.

BGP Fail-over on IPSEC tunnels

$
0
0

Hello,

 

I have this query, i was hoping, i can get some guidance. 

 

Now, there's 2 S2S VPN  tunnels, going to 2 different sites, they're running BGP. The BGPs neighbors are the IPs configured on st0 interface in question. So, they're established. 

 

Is there anyway to acomplish traffic fail-over to the other tunnel when the first BGP peer goes down, or viceversa. 

 

 

I've looked for different options, but i haven't found anything that could acomplish this task. 

 

I've searched

https://kb.juniper.net/InfoCenter/index?page=content&id=KB29227<< however, there's primary and backup, but we're talking about 2 active tunnels. 

 

Could this be acomplished with features such ip-monitoring or BFD?  at least that's what i had in mind 

 

 

 

 

Regards & thanks,

 

 

 

 

 

 

 

 

SRX1500 15.1X49-D160 Pulled?

$
0
0

Was SRX1500 D160 recently pulled from download? It's still up for other platforms.

 

 

1500.png340.png

How to log NAT traffic or see NAT "failed" reason?

$
0
0

I'm trying to set up network address translation on my Juniper to redirect all incoming traffic to a proxy server on the LAN.  I think I have it set up properly, but I'm obviously missing something.  On the monitoring screen, I see the following:

 

NameActionSessions (Succ/Failed/Current)
ProxyRuleProxyPool(0/675/0)

 

Obviously something is wrong.  So how do I view information about those failures?

 

I tried setting up some logging using the following command, but when I view the "traffic-log" file in the viewer I don't see anything related to NAT:

set system syslog file traffic-log any any

 

And this is my policy:

 

        from-zone Internet to-zone Internal {
            policy AllowProxy {
                match {
                    source-address any;
                    destination-address any;
                    application Proxy;
                }
                then {
                    permit;
                    log {
                        session-init;
                        session-close;
                    }
                }
            }
        }

Any tips?


IPV6 DHCP Relay not working properly

$
0
0

I'm trying to set up an SRX240 ([12.1X44-D15.5]) as an internal firewall, and want to use the IPv6 DHCP relay to relay requests/responses to our DHCPv6 server.

 

I have the IPv6 routing working just fine, and I believe that the firewall rules and services are OK, yet the RESPONSES are not being passed back to the client.  In other words, I see Client XID request leave the client.  On the server, I see the Request come in, and a response leave (this is using TCPdump).  However, the response never makes it back to the client.  Thus, I think that the SRX240 is not properly relaying the traffic. 

 

The DHCP relay config looks like this:

dhcpv6 {
group all-interfaces {
interface reth0.3;
interface reth0.21;
interface reth0.22;
}
server-group {
dhcpv6-server {
2001:0428:aa02:0412::50;
}
}
active-server-group dhcpv6-server;
}
server-group {
dhcpv4-server {
192.245.12.221;
}
}
active-server-group dhcpv4-server;
group all-interfaces {
interface reth0.3;
interface reth0.21;
interface reth0.22;
}

 

(reth0.3 is the "Lab" zone which is what we are concerned with)

 

The services aspect of the zone looks like this:


system-services {
all;
}
protocols {
all;
}

 

And the rules are:

policy DHCP-request {
match {
source-address [ any-ipv4 any-ipv6 ];
destination-address [ Lovey.Opus1.COM Lovey.Opus1.COM-IPv6 ];
application [ junos-dhcp-server junos-dhcp-client junos-dhcp-relay DHCPv6-client-server ];
}
then {
permit;
}
}

 

So what am I missing?  Is this supposed to work at this version? 

Download policer won't work

$
0
0

Hi!

 

I have a srx 240 cluster and want to limit the download speed to one of my server.

 

Here's how I wanted to do this:

 

#Policer 50Mbit/s

set firewall policer policer-50mbit if-exceeding bandwidth-limit 50m
set firewall policer policer-50mbit if-exceeding burst-size-limit 128k
set firewall policer policer-50mbit then discard

 

#Filter

set firewall family inet filter download-limit term wsus-server from source-address 192.168.0.1/32
set firewall family inet filter download-limit term wsus-server then policer policer-50mbit
set firewall family inet filter download-limit term wsus-server then accept

 

#Configuring policer on the interface the server 192.168.0.1 is connected to

set interfaces reth5.10 family inet filter input download-limit

 

When this configuration is active, the whole 192.168.0.0/24 subnet is limited to 50Mbit/s. Why`s that?

The WAN interface is reth0.1 configured with interface NAT.

 

 

Kind regards

Andy

Working example of AppQoE

$
0
0
Good evening, everyone.

I’ve been reviewing the new documentation on AppQoE, which appears to be supported on the SRX340-345 when running 15.1X49D150.

The guide I’ve been following is located here: https://www.juniper.net/documentation/en_US/junos/topics/topic-map/security-appqoe.html#jd0e342

However, the example provided doesn’t appear to be complete. The IPs provided in the diagram don’t match up with that’s provided in the example. I’ve done what I can to extrapolate on the information provided, but I can’t seem to get this functional in a lab.

Has anyone deployed AppQoE successfully in the lab or in production yet? If so, I’d greatly appreciate any assistance you could offer. I’m on mobile right now, but will upload my lab config later today.

Thank you.

Working example of AppQoE/APBR

$
0
0

Good evening, everyone.

I’ve been reviewing the new documentation on AppQoE, which appears to be supported on the SRX340-345 when running 15.1X49D150.

The guide I’ve been following is located here: https://www.juniper.net/documentation/en_US/junos/topics/topic-map/security-appqoe.html#jd0e342

However, the example provided doesn’t appear to be complete. The IPs provided in the diagram don’t match up with that’s provided in the example. I’ve done what I can to extrapolate on the information provided, but I can’t seem to get this functional in a lab.

Has anyone deployed AppQoE successfully in the lab or in production yet? If so, I’d greatly appreciate any assistance you could offer.

Edit: I've now uploaded my current configs for both book-ended both SRX in my lab.

 

The problem I'm seeing, is that I can't ping between 10.10.10.10 and 10.10.20.10 (interfaces on both SRX) without the following statement: 

set routing-options static route 10.10.XX.0/24 next-table SDWAN.inet.0

 

With it in place, I can ping between them. With it removed, I can not. From my understanding of APBR, this traffic should match my rule in the trust security zone and should be sent to the SDWAN route table automatically. So really, I'm trying to get APBR functional before moving on to the AppQoE portion of my test.

Thank you.

WAN Link primary and Internet VPN as a Backup

$
0
0

Hi

 

I have two links between two branches (WAN and Internet), and the target is to have the WAN Link primary and the VPN over the internet link as a Backup.

I configured the route preference over WAN link prefered than the route preference over the VPN st0.

And configured RPM to prefer the st0 route if the WAN link goes down.

 

But I can always see the routes always prefer the st0, although its not the prefered route...

 

Any ideas...

 

Thanks 

Update an existing system user login method (SRX650)

$
0
0

I have a system user with super-user access, currently set to login with a password. 

 

# set system login user testuser authentication encrypted-password "****************************"

 

I would like to update the existing statement in the configuration to make the same user authenticate using SSH Keys instead of password. Please advise how to update the configuration.

Upgrading an outdated SRX210HE2

$
0
0

My company is upgrading an old SRX210HE2 Firewall to the newer SRX320 model. My understanding is that the code is not quite the same on the newer device. is there a config translator that I can use to translate the config from the SRX210 to the SRX320 version? Forgive me, if this is silly, im fairly new to juniper and still learning. 

 

Thanks!! 


Connection Drop

$
0
0

Hi, I could not find a solution to my problem yet. I ve two sites connected over site to site VPN, with SRX240 devices on both end. Local site consist of 1 device and the data centre consists of 2 cluster srx devices. Everyday, i am loosing the connection through the remote site for [2-10 ] minutes.. during this period i can not ping remote site and access it. At the begining, i was thinking it was because of vpn configurations. I ve post the config here and people said it was correct and we ve removed vpn-monitor options from the config. But this still persists and too much annoying. I am attaching the messaging logs during the time of disconnection. Is there a way of debugging this problem.

I am not too much experinced with srx and the remote site fw device config is too much complicated. DOes anybody has any advice about this ?

> show log messages | match down

 

Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT <UpDown> st0.3 index 160 <Broadcast PointToPoint Multicast>
Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT UpDown st0.3 index 160 <Broadcast PointToPoint Multicast Localup>
Feb 21 14:08:10 srx240-02a mib2d[1430]: SNMP_TRAP_LINK_DOWN: ifIndex 545, ifAdminStatus up(1), ifOperStatus down(2), ifName st0.3
Feb 21 14:08:10 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.3"
Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT <UpDown> st0.1 index 120 <Broadcast PointToPoint Multicast>
Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT UpDown st0.1 index 120 <Broadcast PointToPoint Multicast Localup>
Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT <UpDown> st0.3 index 160 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT UpDown st0.3 index 160 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:10 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.1"
Feb 21 14:08:10 srx240-02a mib2d[1430]: SNMP_TRAP_LINK_DOWN: ifIndex 541, ifAdminStatus up(1), ifOperStatus down(2), ifName st0.1
Feb 21 14:08:10 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.3"
Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT <UpDown> st0.5 index 161 <Broadcast PointToPoint Multicast>
Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT UpDown st0.5 index 161 <Broadcast PointToPoint Multicast Localup>
Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT <UpDown> st0.2 index 158 <Broadcast PointToPoint Multicast>
Feb 21 14:08:10 srx240-02a rpd[1408]: EVENT UpDown st0.2 index 158 <Broadcast PointToPoint Multicast Localup>
Feb 21 14:08:10 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.5"
Feb 21 14:08:10 srx240-02a mib2d[1430]: SNMP_TRAP_LINK_DOWN: ifIndex 702, ifAdminStatus up(1), ifOperStatus down(2), ifName st0.5
Feb 21 14:08:10 srx240-02a mib2d[1430]: SNMP_TRAP_LINK_DOWN: ifIndex 575, ifAdminStatus up(1), ifOperStatus down(2), ifName st0.2
Feb 21 14:08:11 srx240-02a rpd[1408]: EVENT <UpDown> st0.1 index 120 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:11 srx240-02a rpd[1408]: EVENT UpDown st0.1 index 120 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:11 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.2"
Feb 21 14:08:11 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.1"
Feb 21 14:08:11 srx240-02a rpd[1408]: EVENT <UpDown> st0.5 index 161 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:11 srx240-02a rpd[1408]: EVENT UpDown st0.5 index 161 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:11 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.5"
Feb 21 14:08:11 srx240-02a rpd[1408]: EVENT <UpDown> st0.2 index 158 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:11 srx240-02a rpd[1408]: EVENT UpDown st0.2 index 158 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:11 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.2"
Feb 21 14:08:12 srx240-02a rpd[1408]: EVENT <UpDown> st0.0 index 118 <Broadcast PointToPoint Multicast>
Feb 21 14:08:12 srx240-02a rpd[1408]: EVENT UpDown st0.0 index 118 <Broadcast PointToPoint Multicast Localup>
Feb 21 14:08:12 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.0"
Feb 21 14:08:12 srx240-02a mib2d[1430]: SNMP_TRAP_LINK_DOWN: ifIndex 677, ifAdminStatus up(1), ifOperStatus down(2), ifName st0.0
Feb 21 14:08:13 srx240-02a rpd[1408]: EVENT <UpDown> st0.0 index 118 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:13 srx240-02a rpd[1408]: EVENT UpDown st0.0 index 118 <Up Broadcast PointToPoint Multicast>
Feb 21 14:08:13 srx240-02a srx240-02a IFP trace> ifp_ifl_anydown_change_event: IFL anydown change event: "st0.0"

reject in "show route"

$
0
0

Hi Guys,

 

I see 'reject' when I issue the 'show route' command for a particular subnet.

 


pav@XX> show route

inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both


192.168.xx.xx/32 *[Local/0] 1w3d 02:50:10
Reject

 

Could you please let me know what does Reject mean ?

 

Thanking you.

Regards,

Pavan Katakam

SRX550 IPSec Replay errors

$
0
0
SRX550 Chassis Cluster established an IPsec VPN with Hillstone SG-6000-E3960. 
 
When the IPSec SA just initialized, the traffic flows, then, after a couple of minutes or seconds, ping or other traffic stopping flow, 
 
On SRX, the Replay errors counter increment very rapidly when I ‘show security ipsec statistics’. All the ESP packet received from Hillstone be marked as replay error.
Use Wireshark to view the pcap file from external interface and  the ESP sequence number looks fine.
When clear the current ipsec sa then new sa was built, traffic flow can recovery for a short time, after then, replay error happens again......
 
In all above situation phase 1 and 2 SA is up. 
 
Now I have to set no-anti-replay in ipsec setting on SRX550
 
SRX550 version: 12.3X48-D75.4(recommended by JTAC now)
Hillstone version: SG6000-M-3-5.0R4P7-v6 (maybe obsolete?)
 
On SRX550, several other VPNs connected to some branches  are working fine and Hillstone SG6000 is also like this
 
What is the possible reason of replay error on SRX and how can I debug it? 
 
Any help would be appreciated.
 

Source/Reverse NAT between RI not working

$
0
0

We have two sides of an environment where we statically NAT ranges of private to public IPs and/or vice versa.  On one side of this, we leverage a vSRX (on 15.1X49-D110.4), in which this traffic only lives in the global routing instance. 

 

On the backup link, we have IPSec terminating into a RI (MNO) on an SRX240 (on 12.3X48-D65.1), which then passes traffic into the global RI. 

 

With either path, if I generate traffic from the public to the private, NAT functions as expected.  I see an approproate session and translation created within either SRX and away we go. 

 

If I generate traffic from the private to public, I see the vSRX create a reverse NAT as expected, however, the SRX does not. 

 

We route between these RIs on the SRX240 via lt interfaces, and the (truncated) NAT policy is as follows:

 

set security nat static rule-set MNO_NAT from zone INSIDE

set security nat static rule-set MNO_NAT rule 3_TEST2 match destination-address x.x.79.249/32
set security nat static rule-set MNO_NAT rule 3_TEST2 then static-nat prefix 10.59.15.254/32
set security nat static rule-set MNO_NAT rule 3_TEST2 then static-nat prefix routing-instance MNO

 

The rule set on the vSRX is identical save the RI statement

 

My assumption is that it's a configuration issue, however, we did seem to have this working properly when we leveraged rib-groups instead of lt interfaces.  The how and why we changed is another conversation for another day.  And I'm near the point to revert back to using rib-groups. 

 

While trying to troubleshoot this, I'd created a source NAT rule as per this link to no avail; I'd seen the same behavior. 

 

Taking some traces, I see the following for the failed translation:

10:59:28.978800:CID-0:RT: <10.59.15.254/1->x.x.50.173/24285;1> matched filter TO_LIBRE:
10:59:28.978800:CID-0:RT: packet [84] ipid = 0, @0x43d532d0
10:59:28.978800:CID-0:RT: ---- flow_process_pkt: (thd 2): flow_ctxt type 1, common flag 0x0, mbuf 0x43d53080, rtbl_idx = 4
10:59:28.978800:CID-0:RT: flow process pak, mbuf 0x43d53080, ifl 71, ctxt_type 1 inq type 6
10:59:28.978800:CID-0:RT: in_ifp <MNO:st0.0>
10:59:28.978800:CID-0:RT: flow_process_pkt_exception: setting rtt in lpak to 0x64226648
10:59:28.978800:CID-0:RT: host inq check inq_type 0x6
10:59:28.978800:CID-0:RT: tifp st0.0
10:59:28.978800:CID-0:RT: pkt out of tunnel.Proceed normally
10:59:28.978800:CID-0:RT: st0.0:10.59.15.254->x.x.50.173, icmp, (8/0)
10:59:28.978800:CID-0:RT: find flow: table 0x526d79e0, hash 63187(0xffff), sa 10.59.15.254, da x.x.50.173, sp 1, dp 24285, proto 1, tok 16393
10:59:28.979003:CID-0:RT: no session found, start first path. in_tunnel - 0x56a76708, from_cp_flag - 0
10:59:28.979045:CID-0:RT: Not a traffic-selector enabled tunnel. returing EOK
10:59:28.979045:CID-0:RT: search gate for MNO:10.59.15.254/1->x.x.50.173/24285,1
10:59:28.979045:CID-0:RT: gate_search_specific_bucket: no gate found
10:59:28.979121:CID-0:RT: search gate for MNO:10.59.15.254/1->x.x.50.173/24285,1
10:59:28.979121:CID-0:RT: gate_search_specific_bucket: no gate found
10:59:28.979121:CID-0:RT: search widecast gate for MNO:10.59.15.254/1->x.x.50.173/24285,1
10:59:28.979121:CID-0:RT: gate_search_widecast_bucket: no gate found
10:59:28.979121:CID-0:RT: flow_first_create_session
10:59:28.979121:CID-0:RT: First path alloc and instl pending session, natp=0x5b695c78, id=187634
10:59:28.979121:CID-0:RT: flow_first_in_dst_nat: in <st0.0>, out <N/A> dst_adr x.x.50.173, sp 1, dp 24285
10:59:28.979121:CID-0:RT: chose interface st0.0 as incoming nat if.
10:59:28.979121:CID-0:RT: flow_first_rule_dst_xlate: DST no-xlate: 0.0.0.0(0) to x.x.50.173(24285)
10:59:28.979121:CID-0:RT: flow_first_routing: vr_id 4, call flow_route_lookup(): src_ip 10.59.15.254, x_dst_ip x.x.50.173, in ifp st0.0, out ifp N/A sp 1, dp 24285, ip_proto 1, tos 68
10:59:28.979121:CID-0:RT: Doing DESTINATION addr route-lookup
10:59:28.979121:CID-0:RT: flow_ipv4_rt_lkup success x.x.50.173, iifl 0x47, oifl 0x4e
10:59:28.979356:CID-0:RT: routed (x_dst_ip x.x.50.173) from MNO (st0.0 in 0) to lt-0/0/0.345, Next-hop: x.x.50.52
10:59:28.979356:CID-0:RT: flow_first_policy_search: policy search from zone MNO-> zone MNO (0x0,0x15edd,0x5edd)
10:59:28.979400:CID-0:RT: Policy lkup: vsys 0 zone(9:MNO) -> zone(9:MNO) scope:0
10:59:28.979400:CID-0:RT: 10.59.15.254/2048 -> x.x.50.173/5478 proto 1
10:59:28.979400:CID-0:RT: app 0, timeout 60s, curr ageout 60s
10:59:28.979400:CID-0:RT: permitted by policy ALLOW_ALL_MNO(10)
10:59:28.979400:CID-0:RT: packet passed, Permitted by policy.
10:59:28.979400:CID-0:RT: flow_first_src_xlate: nat_src_xlated: False, nat_src_xlate_failed: False
10:59:28.979400:CID-0:RT: flow_first_src_xlate: incoming src port is : 1.
10:59:28.979400:CID-0:RT: flow_first_src_xlate: src nat returns status: 0, rule/pool id: 0/0, pst_nat: False.
10:59:28.979400:CID-0:RT: dip id = 0/0, 10.59.15.254/1->10.59.15.254/1 protocol 0
10:59:28.979400:CID-0:RT: choose interface lt-0/0/0.345(P2P) as outgoing phy if
10:59:28.979400:CID-0:RT: is_loop_pak: No loop: on ifp: lt-0/0/0.345, addr: x.x.50.173, rtt_idx:4
10:59:28.979614:CID-0:RT: -jsf : Alloc sess plugin info for session 704374824178
10:59:28.979614:CID-0:RT: [JSF]Normal interest check. regd plugins 28, enabled impl mask 0x0
10:59:28.979702:CID-0:RT: +++++++++++jsf_test_plugin_data_evh: 3
10:59:28.979702:CID-0:RT: [JSF]Plugins(0x0, count 0) enabled for session = 704374824178, impli mask(0x0), post_nat cnt 0 svc req(0x0)
10:59:28.979755:CID-0:RT: -jsf : no plugin interested for session 704374824178, free sess plugin info
10:59:28.979755:CID-0:RT: flow_first_service_lookup(): natp(0x5b695c78): app_id, 0(0).
10:59:28.979755:CID-0:RT: service lookup identified service 0.
10:59:28.979755:CID-0:RT: flow_first_final_check: in <st0.0>, out <lt-0/0/0.345>
10:59:28.979755:CID-0:RT: In flow_first_complete_session
10:59:28.979755:CID-0:RT: flow_first_complete_session, pak_ptr: 0x52028c50, nsp: 0x5b695c78, in_tunnel: 0x56a76708
10:59:28.979755:CID-0:RT: construct v4 vector for nsp2
10:59:28.979755:CID-0:RT: existing vector list 0x204-0x4b521b50.
10:59:28.979755:CID-0:RT: Session (id:187634) created for first pak 204
10:59:28.979755:CID-0:RT: first pak processing successful
10:59:28.979755:CID-0:RT: flow_first_install_session======> 0x5b695c78
10:59:28.979755:CID-0:RT: nsp 0x5b695c78, nsp2 0x5b695d08
10:59:28.979755:CID-0:RT: make_nsp_ready_no_resolve()
10:59:28.979755:CID-0:RT: flow_ipv4_rt_lkup success 10.59.15.254, iifl 0x47, oifl 0x47
10:59:28.979755:CID-0:RT: route lookup: dest-ip 10.59.15.254 orig ifp st0.0 output_ifp st0.0 orig-zone 9 out-zone 9 vsd 0
10:59:28.979755:CID-0:RT: route to 10.59.15.254
10:59:28.979755:CID-0:RT: no need update ha
10:59:28.979755:CID-0:RT: Installing s2c NP session wing
10:59:28.980062:CID-0:RT: first path session installation succeeded
10:59:28.980062:CID-0:RT: flow got session.
10:59:28.980062:CID-0:RT: flow session id 187634
10:59:28.980062:CID-0:RT: vector bits 0x204 vector 0x4b521b50
10:59:28.980106:CID-0:RT: skip pre-frag: is_tunnel_if- 0, is_if_mtu_configured- 0
10:59:28.980106:CID-0:RT: encap vector
10:59:28.980106:CID-0:RT: no more encapping needed
10:59:28.980106:CID-0:RT: mbuf 0x43d53080, exit nh 0x120010
10:59:28.980106:CID-0:RT: flow_process_pkt_exception: Freeing lpak 0x52028c50 associated with mbuf 0x43d53080
10:59:28.980106:CID-0:RT: ----- flow_process_pkt rc 0x0 (fp rc 0)

And the good side form the vSRX

 

13:49:59.572864:CID-0:THREAD_ID-01:RT: <10.255.49.73/1->x.x.49.170/31499;1,0x0> matched filter TO_LIBRE:
13:49:59.572868:CID-0:THREAD_ID-01:RT: packet [84] ipid = 0, @0x19e25ed2
13:49:59.572875:CID-0:THREAD_ID-01:RT: ---- flow_process_pkt: (thd 1): flow_ctxt type 15, common flag 0x0, mbuf 0x68e9d400, rtbl_idx = 0
13:49:59.572876:CID-0:THREAD_ID-01:RT: flow process pak fast ifl 76 in_ifp ge-0/0/0.345
13:49:59.572877:CID-0:THREAD_ID-01:RT: ge-0/0/0.345:10.255.49.73->x.x.49.170, icmp, (8/0)
13:49:59.572879:CID-0:THREAD_ID-01:RT: find flow: table 0x28812f40, hash 29145(0xffff), sa 10.255.49.73, da x.x.49.170, sp 1, dp 31499, proto 1, tok 9, conn-tag 0x00000000
13:49:59.572884:CID-0:THREAD_ID-01:RT: no session found, start first path. in_tunnel - 0x0, from_cp_flag - 0
13:49:59.572885:CID-0:THREAD_ID-01:RT: search gate for MNO-MVNO:10.255.49.73/1->x.x.49.170/31499,1
13:49:59.572887:CID-0:THREAD_ID-01:RT: gate_search_specific_bucket: no gate found
13:49:59.572888:CID-0:THREAD_ID-01:RT: search gate for MNO-MVNO:10.255.49.73/1->x.x.49.170/31499,1
13:49:59.572889:CID-0:THREAD_ID-01:RT: gate_search_specific_bucket: no gate found
13:49:59.572889:CID-0:THREAD_ID-01:RT: search widecast gate for MNO-MVNO:10.255.49.73/1->x.x.49.170/31499,1
13:49:59.572890:CID-0:THREAD_ID-01:RT: gate_search_widecast_bucket: no gate found
13:49:59.572891:CID-0:THREAD_ID-01:RT: flow_first_create_session
13:49:59.572894:CID-0:THREAD_ID-01:RT: Save init hash spu id 0 to nsp and nsp2!
13:49:59.572895:CID-0:THREAD_ID-01:RT: First path alloc and instl pending session, natp=0x2f7262c0, id=133393
13:49:59.572896:CID-0:THREAD_ID-01:RT: flow_first_in_dst_nat: in <ge-0/0/0.345>, out <N/A> dst_adr x.x.49.170, sp 1, dp 31499
13:49:59.572898:CID-0:THREAD_ID-01:RT: chose interface ge-0/0/0.345 as incoming nat if.
13:49:59.572900:CID-0:THREAD_ID-01:RT: flow_first_rule_dst_xlate: DST no-xlate: 0.0.0.0(0) to x.x.49.170(31499)
13:49:59.572901:CID-0:THREAD_ID-01:RT: [JSF] Do ingress interest check. regd ingress plugins(1)
13:49:59.572903:CID-0:THREAD_ID-01:RT: [JSF][0]plugins(0x0) enabled for session = 261993138449 implicit mask(0x0), service request(0x0)
13:49:59.572904:CID-0:THREAD_ID-01:RT: -jsf : no plugin ingress interested for session 261993138449
13:49:59.572905:CID-0:THREAD_ID-01:RT: flow_first_routing: vr_id 0, call flow_route_lookup(): src_ip 10.255.49.73, x_dst_ip x.x.49.170, in ifp ge-0/0/0.345, out ifp N/A sp 1, dp 31499, ip_proto 1, tos 38
13:49:59.572907:CID-0:THREAD_ID-01:RT: Doing DESTINATION addr route-lookup
13:49:59.572910:CID-0:THREAD_ID-01:RT: flow_ipv4_rt_lkup success x.x.49.170, iifl 0x4c, oifl 0x48
13:49:59.572911:CID-0:THREAD_ID-01:RT: routed (x_dst_ip x.x.49.170) from MNO-MVNO (ge-0/0/0.345 in 0) to ge-0/0/0.0, Next-hop: 185.18.51.250
13:49:59.572916:CID-0:THREAD_ID-01:RT: flow_first_policy_search: policy search from zone MNO-MVNO-> zone untrust (0x0,0x17b0b,0x7b0b)
13:49:59.572919:CID-0:THREAD_ID-01:RT: Policy lkup: vsys 0 zone(9:MNO-MVNO) -> zone(7:untrust) scope:0
13:49:59.572922:CID-0:THREAD_ID-01:RT: 10.255.49.73/2048 -> x.x.49.170/44421 proto 1
13:49:59.572926:CID-0:THREAD_ID-01:RT: app 0, timeout 60s, curr ageout 60s
13:49:59.572927:CID-0:THREAD_ID-01:RT: permitted by policy permit-all(6)
13:49:59.572930:CID-0:THREAD_ID-01:RT: packet passed, Permitted by policy.
13:49:59.572932:CID-0:THREAD_ID-01:RT: reverse mip xlate 10.255.49.73/1 -> x.x.161.73/1 (on ge-0/0/0.0)
13:49:59.572933:CID-0:THREAD_ID-01:RT: flow_first_src_xlate: nat_src_xlated: True, nat_src_xlate_failed: False
13:49:59.572936:CID-0:THREAD_ID-01:RT: flow_first_src_xlate: hip xlate: 10.255.49.73->x.x.161.73 at ge-0/0/0.0 (vs. ge-0/0/0.0)
13:49:59.572937:CID-0:THREAD_ID-01:RT: dip id = 0/0, 10.255.49.73/1->x.x.161.73/1 protocol 0
13:49:59.572939:CID-0:THREAD_ID-01:RT: choose interface ge-0/0/0.0(P2P) as outgoing phy if
13:49:59.572942:CID-0:THREAD_ID-01:RT: is_loop_pak: No loop: on ifp: ge-0/0/0.0, addr: x.x.49.170, rtt_idx:0
13:49:59.572945:CID-0:THREAD_ID-01:RT: [JSF]Normal interest check. regd plugins 35, enabled impl mask 0x0
13:49:59.572947:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572951:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572953:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572954:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572955:CID-0:THREAD_ID-01:RT: +++++++++++jsf_test_plugin_data_evh: 3
13:49:59.572958:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572958:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572961:CID-0:THREAD_ID-01:RT: [JSF]Plugins(0x0, count 0) enabled for session = 261993138449, impli mask(0x0), post_nat cnt 0 svc req(0x0)
13:49:59.572963:CID-0:THREAD_ID-01:RT: -jsf : no plugin interested for session 261993138449, free sess plugin info
13:49:59.572964:CID-0:THREAD_ID-01:RT: flow_first_service_lookup(): natp(0x2f7262c0): app_id, 0(0).
13:49:59.572965:CID-0:THREAD_ID-01:RT: service lookup identified service 0.
13:49:59.572965:CID-0:THREAD_ID-01:RT: flow_first_final_check: in <ge-0/0/0.345>, out <ge-0/0/0.0>
13:49:59.572967:CID-0:THREAD_ID-01:RT: flow_first_final_check: flow_set_xlate_vector.
13:49:59.572968:CID-0:THREAD_ID-01:RT: In flow_first_complete_session
13:49:59.572968:CID-0:THREAD_ID-01:RT: flow_first_complete_session: pak_ptr is xlated packet
13:49:59.572969:CID-0:THREAD_ID-01:RT: flow_first_complete_session, pak_ptr: 0x5cdfcd50, nsp: 0x2f7262c0, in_tunnel: 0x0
13:49:59.572970:CID-0:THREAD_ID-01:RT: construct v4 vector for nsp2 and nsp
13:49:59.572971:CID-0:THREAD_ID-01:RT: existing vector list 0x1200-0x759e2190.
13:49:59.572971:CID-0:THREAD_ID-01:RT: existing vector list 0x1200-0x759e2190.
13:49:59.572972:CID-0:THREAD_ID-01:RT: Session (id:133393) created for first pak 1200
13:49:59.572972:CID-0:THREAD_ID-01:RT: first pak processing successful
13:49:59.572973:CID-0:THREAD_ID-01:RT: flow_first_install_session======> 0x2f7262c0
13:49:59.572973:CID-0:THREAD_ID-01:RT: nsp 0x2f7262c0, nsp2 0x2f726380
13:49:59.572974:CID-0:THREAD_ID-01:RT: make_nsp_ready_no_resolve()
13:49:59.572978:CID-0:THREAD_ID-01:RT: flow_ipv4_rt_lkup success 10.255.49.73, iifl 0x4c, oifl 0x4c
13:49:59.572980:CID-0:THREAD_ID-01:RT: route lookup: dest-ip 10.255.49.73 orig ifp ge-0/0/0.345 output_ifp ge-0/0/0.345 orig-zone 9 out-zone 9 vsd 0
13:49:59.572981:CID-0:THREAD_ID-01:RT: route to 10.249.1.1
13:49:59.572983:CID-0:THREAD_ID-01:RT: no need update ha
13:49:59.572983:CID-0:THREAD_ID-01:RT: Installing c2s NP session wing
13:49:59.572984:CID-0:THREAD_ID-01:RT: Installing s2c NP session wing
13:49:59.572985:CID-0:THREAD_ID-01:RT: first path session installation succeeded
13:49:59.572986:CID-0:THREAD_ID-01:RT: flow got session.
13:49:59.572986:CID-0:THREAD_ID-01:RT: flow session id 133393
13:49:59.572987:CID-0:THREAD_ID-01:RT: vector bits 0x1200 vector 0x759e2190
13:49:59.572988:CID-0:THREAD_ID-01:RT: flow_xlate_pak
13:49:59.572989:CID-0:THREAD_ID-01:RT: flow_handle_icmp_xlate
13:49:59.572989:CID-0:THREAD_ID-01:RT: xlate_icmp_pak
13:49:59.572994:CID-0:THREAD_ID-01:RT: post addr xlation: x.x.161.73->x.x.49.170.
13:49:59.572995:CID-0:THREAD_ID-01:RT: post addr xlation: x.x.161.73->x.x.49.170.
13:49:59.572996:CID-0:THREAD_ID-01:RT: skip pre-frag: is_tunnel_if- 0, is_if_mtu_configured- 0
13:49:59.572999:CID-0:THREAD_ID-01:RT: mbuf 0x68e9d400, exit nh 0xd0010
13:49:59.572999:CID-0:THREAD_ID-01:RT: ----- flow_process_pkt rc 0x0 (fp rc 0)

So I'm at a loss as to why this is occuring.  I've attached a sanitized config that's relevant for this setup. 

 

I'm certainly open to suggestions.  I do have a JTAC case open, but it's not going to be followed up on until Monday.

 

Static/Reverse NAT between RI not working

$
0
0

We have two sides of an environment where we statically NAT ranges of private to public IPs and/or vice versa.  On one side of this, we leverage a vSRX (on 15.1X49-D110.4), in which this traffic only lives in the global routing instance. 

 

On the backup link, we have IPSec terminating into a RI (MNO) on an SRX240 (on 12.3X48-D65.1), which then passes traffic into the global RI. 

 

With either path, if I generate traffic from the public to the private, NAT functions as expected.  I see an approproate session and translation created within either SRX and away we go. 

 

If I generate traffic from the private to public, I see the vSRX create a reverse NAT as expected, however, the SRX does not. 

 

We route between these RIs on the SRX240 via lt interfaces, and the (truncated) NAT policy is as follows:

 

set security nat static rule-set MNO_NAT from zone INSIDE

set security nat static rule-set MNO_NAT rule 3_TEST2 match destination-address x.x.79.249/32
set security nat static rule-set MNO_NAT rule 3_TEST2 then static-nat prefix 10.59.15.254/32
set security nat static rule-set MNO_NAT rule 3_TEST2 then static-nat prefix routing-instance MNO

 

The rule set on the vSRX is identical save the RI statement

 

My assumption is that it's a configuration issue, however, we did seem to have this working properly when we leveraged rib-groups instead of lt interfaces.  The how and why we changed is another conversation for another day.  And I'm near the point to revert back to using rib-groups. 

 

While trying to troubleshoot this, I'd created a source NAT rule as per this link to no avail; I'd seen the same behavior. 

 

Taking some traces, I see the following for the failed translation:

10:59:28.978800:CID-0:RT: <10.59.15.254/1->x.x.50.173/24285;1> matched filter TO_LIBRE:
10:59:28.978800:CID-0:RT: packet [84] ipid = 0, @0x43d532d0
10:59:28.978800:CID-0:RT: ---- flow_process_pkt: (thd 2): flow_ctxt type 1, common flag 0x0, mbuf 0x43d53080, rtbl_idx = 4
10:59:28.978800:CID-0:RT: flow process pak, mbuf 0x43d53080, ifl 71, ctxt_type 1 inq type 6
10:59:28.978800:CID-0:RT: in_ifp <MNO:st0.0>
10:59:28.978800:CID-0:RT: flow_process_pkt_exception: setting rtt in lpak to 0x64226648
10:59:28.978800:CID-0:RT: host inq check inq_type 0x6
10:59:28.978800:CID-0:RT: tifp st0.0
10:59:28.978800:CID-0:RT: pkt out of tunnel.Proceed normally
10:59:28.978800:CID-0:RT: st0.0:10.59.15.254->x.x.50.173, icmp, (8/0)
10:59:28.978800:CID-0:RT: find flow: table 0x526d79e0, hash 63187(0xffff), sa 10.59.15.254, da x.x.50.173, sp 1, dp 24285, proto 1, tok 16393
10:59:28.979003:CID-0:RT: no session found, start first path. in_tunnel - 0x56a76708, from_cp_flag - 0
10:59:28.979045:CID-0:RT: Not a traffic-selector enabled tunnel. returing EOK
10:59:28.979045:CID-0:RT: search gate for MNO:10.59.15.254/1->x.x.50.173/24285,1
10:59:28.979045:CID-0:RT: gate_search_specific_bucket: no gate found
10:59:28.979121:CID-0:RT: search gate for MNO:10.59.15.254/1->x.x.50.173/24285,1
10:59:28.979121:CID-0:RT: gate_search_specific_bucket: no gate found
10:59:28.979121:CID-0:RT: search widecast gate for MNO:10.59.15.254/1->x.x.50.173/24285,1
10:59:28.979121:CID-0:RT: gate_search_widecast_bucket: no gate found
10:59:28.979121:CID-0:RT: flow_first_create_session
10:59:28.979121:CID-0:RT: First path alloc and instl pending session, natp=0x5b695c78, id=187634
10:59:28.979121:CID-0:RT: flow_first_in_dst_nat: in <st0.0>, out <N/A> dst_adr x.x.50.173, sp 1, dp 24285
10:59:28.979121:CID-0:RT: chose interface st0.0 as incoming nat if.
10:59:28.979121:CID-0:RT: flow_first_rule_dst_xlate: DST no-xlate: 0.0.0.0(0) to x.x.50.173(24285)
10:59:28.979121:CID-0:RT: flow_first_routing: vr_id 4, call flow_route_lookup(): src_ip 10.59.15.254, x_dst_ip x.x.50.173, in ifp st0.0, out ifp N/A sp 1, dp 24285, ip_proto 1, tos 68
10:59:28.979121:CID-0:RT: Doing DESTINATION addr route-lookup
10:59:28.979121:CID-0:RT: flow_ipv4_rt_lkup success x.x.50.173, iifl 0x47, oifl 0x4e
10:59:28.979356:CID-0:RT: routed (x_dst_ip x.x.50.173) from MNO (st0.0 in 0) to lt-0/0/0.345, Next-hop: x.x.50.52
10:59:28.979356:CID-0:RT: flow_first_policy_search: policy search from zone MNO-> zone MNO (0x0,0x15edd,0x5edd)
10:59:28.979400:CID-0:RT: Policy lkup: vsys 0 zone(9:MNO) -> zone(9:MNO) scope:0
10:59:28.979400:CID-0:RT: 10.59.15.254/2048 -> x.x.50.173/5478 proto 1
10:59:28.979400:CID-0:RT: app 0, timeout 60s, curr ageout 60s
10:59:28.979400:CID-0:RT: permitted by policy ALLOW_ALL_MNO(10)
10:59:28.979400:CID-0:RT: packet passed, Permitted by policy.
10:59:28.979400:CID-0:RT: flow_first_src_xlate: nat_src_xlated: False, nat_src_xlate_failed: False
10:59:28.979400:CID-0:RT: flow_first_src_xlate: incoming src port is : 1.
10:59:28.979400:CID-0:RT: flow_first_src_xlate: src nat returns status: 0, rule/pool id: 0/0, pst_nat: False.
10:59:28.979400:CID-0:RT: dip id = 0/0, 10.59.15.254/1->10.59.15.254/1 protocol 0
10:59:28.979400:CID-0:RT: choose interface lt-0/0/0.345(P2P) as outgoing phy if
10:59:28.979400:CID-0:RT: is_loop_pak: No loop: on ifp: lt-0/0/0.345, addr: x.x.50.173, rtt_idx:4
10:59:28.979614:CID-0:RT: -jsf : Alloc sess plugin info for session 704374824178
10:59:28.979614:CID-0:RT: [JSF]Normal interest check. regd plugins 28, enabled impl mask 0x0
10:59:28.979702:CID-0:RT: +++++++++++jsf_test_plugin_data_evh: 3
10:59:28.979702:CID-0:RT: [JSF]Plugins(0x0, count 0) enabled for session = 704374824178, impli mask(0x0), post_nat cnt 0 svc req(0x0)
10:59:28.979755:CID-0:RT: -jsf : no plugin interested for session 704374824178, free sess plugin info
10:59:28.979755:CID-0:RT: flow_first_service_lookup(): natp(0x5b695c78): app_id, 0(0).
10:59:28.979755:CID-0:RT: service lookup identified service 0.
10:59:28.979755:CID-0:RT: flow_first_final_check: in <st0.0>, out <lt-0/0/0.345>
10:59:28.979755:CID-0:RT: In flow_first_complete_session
10:59:28.979755:CID-0:RT: flow_first_complete_session, pak_ptr: 0x52028c50, nsp: 0x5b695c78, in_tunnel: 0x56a76708
10:59:28.979755:CID-0:RT: construct v4 vector for nsp2
10:59:28.979755:CID-0:RT: existing vector list 0x204-0x4b521b50.
10:59:28.979755:CID-0:RT: Session (id:187634) created for first pak 204
10:59:28.979755:CID-0:RT: first pak processing successful
10:59:28.979755:CID-0:RT: flow_first_install_session======> 0x5b695c78
10:59:28.979755:CID-0:RT: nsp 0x5b695c78, nsp2 0x5b695d08
10:59:28.979755:CID-0:RT: make_nsp_ready_no_resolve()
10:59:28.979755:CID-0:RT: flow_ipv4_rt_lkup success 10.59.15.254, iifl 0x47, oifl 0x47
10:59:28.979755:CID-0:RT: route lookup: dest-ip 10.59.15.254 orig ifp st0.0 output_ifp st0.0 orig-zone 9 out-zone 9 vsd 0
10:59:28.979755:CID-0:RT: route to 10.59.15.254
10:59:28.979755:CID-0:RT: no need update ha
10:59:28.979755:CID-0:RT: Installing s2c NP session wing
10:59:28.980062:CID-0:RT: first path session installation succeeded
10:59:28.980062:CID-0:RT: flow got session.
10:59:28.980062:CID-0:RT: flow session id 187634
10:59:28.980062:CID-0:RT: vector bits 0x204 vector 0x4b521b50
10:59:28.980106:CID-0:RT: skip pre-frag: is_tunnel_if- 0, is_if_mtu_configured- 0
10:59:28.980106:CID-0:RT: encap vector
10:59:28.980106:CID-0:RT: no more encapping needed
10:59:28.980106:CID-0:RT: mbuf 0x43d53080, exit nh 0x120010
10:59:28.980106:CID-0:RT: flow_process_pkt_exception: Freeing lpak 0x52028c50 associated with mbuf 0x43d53080
10:59:28.980106:CID-0:RT: ----- flow_process_pkt rc 0x0 (fp rc 0)

And the good side form the vSRX

 

13:49:59.572864:CID-0:THREAD_ID-01:RT: <10.255.49.73/1->x.x.49.170/31499;1,0x0> matched filter TO_LIBRE:
13:49:59.572868:CID-0:THREAD_ID-01:RT: packet [84] ipid = 0, @0x19e25ed2
13:49:59.572875:CID-0:THREAD_ID-01:RT: ---- flow_process_pkt: (thd 1): flow_ctxt type 15, common flag 0x0, mbuf 0x68e9d400, rtbl_idx = 0
13:49:59.572876:CID-0:THREAD_ID-01:RT: flow process pak fast ifl 76 in_ifp ge-0/0/0.345
13:49:59.572877:CID-0:THREAD_ID-01:RT: ge-0/0/0.345:10.255.49.73->x.x.49.170, icmp, (8/0)
13:49:59.572879:CID-0:THREAD_ID-01:RT: find flow: table 0x28812f40, hash 29145(0xffff), sa 10.255.49.73, da x.x.49.170, sp 1, dp 31499, proto 1, tok 9, conn-tag 0x00000000
13:49:59.572884:CID-0:THREAD_ID-01:RT: no session found, start first path. in_tunnel - 0x0, from_cp_flag - 0
13:49:59.572885:CID-0:THREAD_ID-01:RT: search gate for MNO-MVNO:10.255.49.73/1->x.x.49.170/31499,1
13:49:59.572887:CID-0:THREAD_ID-01:RT: gate_search_specific_bucket: no gate found
13:49:59.572888:CID-0:THREAD_ID-01:RT: search gate for MNO-MVNO:10.255.49.73/1->x.x.49.170/31499,1
13:49:59.572889:CID-0:THREAD_ID-01:RT: gate_search_specific_bucket: no gate found
13:49:59.572889:CID-0:THREAD_ID-01:RT: search widecast gate for MNO-MVNO:10.255.49.73/1->x.x.49.170/31499,1
13:49:59.572890:CID-0:THREAD_ID-01:RT: gate_search_widecast_bucket: no gate found
13:49:59.572891:CID-0:THREAD_ID-01:RT: flow_first_create_session
13:49:59.572894:CID-0:THREAD_ID-01:RT: Save init hash spu id 0 to nsp and nsp2!
13:49:59.572895:CID-0:THREAD_ID-01:RT: First path alloc and instl pending session, natp=0x2f7262c0, id=133393
13:49:59.572896:CID-0:THREAD_ID-01:RT: flow_first_in_dst_nat: in <ge-0/0/0.345>, out <N/A> dst_adr x.x.49.170, sp 1, dp 31499
13:49:59.572898:CID-0:THREAD_ID-01:RT: chose interface ge-0/0/0.345 as incoming nat if.
13:49:59.572900:CID-0:THREAD_ID-01:RT: flow_first_rule_dst_xlate: DST no-xlate: 0.0.0.0(0) to x.x.49.170(31499)
13:49:59.572901:CID-0:THREAD_ID-01:RT: [JSF] Do ingress interest check. regd ingress plugins(1)
13:49:59.572903:CID-0:THREAD_ID-01:RT: [JSF][0]plugins(0x0) enabled for session = 261993138449 implicit mask(0x0), service request(0x0)
13:49:59.572904:CID-0:THREAD_ID-01:RT: -jsf : no plugin ingress interested for session 261993138449
13:49:59.572905:CID-0:THREAD_ID-01:RT: flow_first_routing: vr_id 0, call flow_route_lookup(): src_ip 10.255.49.73, x_dst_ip x.x.49.170, in ifp ge-0/0/0.345, out ifp N/A sp 1, dp 31499, ip_proto 1, tos 38
13:49:59.572907:CID-0:THREAD_ID-01:RT: Doing DESTINATION addr route-lookup
13:49:59.572910:CID-0:THREAD_ID-01:RT: flow_ipv4_rt_lkup success x.x.49.170, iifl 0x4c, oifl 0x48
13:49:59.572911:CID-0:THREAD_ID-01:RT: routed (x_dst_ip x.x.49.170) from MNO-MVNO (ge-0/0/0.345 in 0) to ge-0/0/0.0, Next-hop: 185.18.51.250
13:49:59.572916:CID-0:THREAD_ID-01:RT: flow_first_policy_search: policy search from zone MNO-MVNO-> zone untrust (0x0,0x17b0b,0x7b0b)
13:49:59.572919:CID-0:THREAD_ID-01:RT: Policy lkup: vsys 0 zone(9:MNO-MVNO) -> zone(7:untrust) scope:0
13:49:59.572922:CID-0:THREAD_ID-01:RT: 10.255.49.73/2048 -> x.x.49.170/44421 proto 1
13:49:59.572926:CID-0:THREAD_ID-01:RT: app 0, timeout 60s, curr ageout 60s
13:49:59.572927:CID-0:THREAD_ID-01:RT: permitted by policy permit-all(6)
13:49:59.572930:CID-0:THREAD_ID-01:RT: packet passed, Permitted by policy.
13:49:59.572932:CID-0:THREAD_ID-01:RT: reverse mip xlate 10.255.49.73/1 -> x.x.161.73/1 (on ge-0/0/0.0)
13:49:59.572933:CID-0:THREAD_ID-01:RT: flow_first_src_xlate: nat_src_xlated: True, nat_src_xlate_failed: False
13:49:59.572936:CID-0:THREAD_ID-01:RT: flow_first_src_xlate: hip xlate: 10.255.49.73->x.x.161.73 at ge-0/0/0.0 (vs. ge-0/0/0.0)
13:49:59.572937:CID-0:THREAD_ID-01:RT: dip id = 0/0, 10.255.49.73/1->x.x.161.73/1 protocol 0
13:49:59.572939:CID-0:THREAD_ID-01:RT: choose interface ge-0/0/0.0(P2P) as outgoing phy if
13:49:59.572942:CID-0:THREAD_ID-01:RT: is_loop_pak: No loop: on ifp: ge-0/0/0.0, addr: x.x.49.170, rtt_idx:0
13:49:59.572945:CID-0:THREAD_ID-01:RT: [JSF]Normal interest check. regd plugins 35, enabled impl mask 0x0
13:49:59.572947:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572951:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572953:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572954:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572955:CID-0:THREAD_ID-01:RT: +++++++++++jsf_test_plugin_data_evh: 3
13:49:59.572958:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572958:CID-0:THREAD_ID-01:RT: get NULL sess plugin info 0x2f7262c0
13:49:59.572961:CID-0:THREAD_ID-01:RT: [JSF]Plugins(0x0, count 0) enabled for session = 261993138449, impli mask(0x0), post_nat cnt 0 svc req(0x0)
13:49:59.572963:CID-0:THREAD_ID-01:RT: -jsf : no plugin interested for session 261993138449, free sess plugin info
13:49:59.572964:CID-0:THREAD_ID-01:RT: flow_first_service_lookup(): natp(0x2f7262c0): app_id, 0(0).
13:49:59.572965:CID-0:THREAD_ID-01:RT: service lookup identified service 0.
13:49:59.572965:CID-0:THREAD_ID-01:RT: flow_first_final_check: in <ge-0/0/0.345>, out <ge-0/0/0.0>
13:49:59.572967:CID-0:THREAD_ID-01:RT: flow_first_final_check: flow_set_xlate_vector.
13:49:59.572968:CID-0:THREAD_ID-01:RT: In flow_first_complete_session
13:49:59.572968:CID-0:THREAD_ID-01:RT: flow_first_complete_session: pak_ptr is xlated packet
13:49:59.572969:CID-0:THREAD_ID-01:RT: flow_first_complete_session, pak_ptr: 0x5cdfcd50, nsp: 0x2f7262c0, in_tunnel: 0x0
13:49:59.572970:CID-0:THREAD_ID-01:RT: construct v4 vector for nsp2 and nsp
13:49:59.572971:CID-0:THREAD_ID-01:RT: existing vector list 0x1200-0x759e2190.
13:49:59.572971:CID-0:THREAD_ID-01:RT: existing vector list 0x1200-0x759e2190.
13:49:59.572972:CID-0:THREAD_ID-01:RT: Session (id:133393) created for first pak 1200
13:49:59.572972:CID-0:THREAD_ID-01:RT: first pak processing successful
13:49:59.572973:CID-0:THREAD_ID-01:RT: flow_first_install_session======> 0x2f7262c0
13:49:59.572973:CID-0:THREAD_ID-01:RT: nsp 0x2f7262c0, nsp2 0x2f726380
13:49:59.572974:CID-0:THREAD_ID-01:RT: make_nsp_ready_no_resolve()
13:49:59.572978:CID-0:THREAD_ID-01:RT: flow_ipv4_rt_lkup success 10.255.49.73, iifl 0x4c, oifl 0x4c
13:49:59.572980:CID-0:THREAD_ID-01:RT: route lookup: dest-ip 10.255.49.73 orig ifp ge-0/0/0.345 output_ifp ge-0/0/0.345 orig-zone 9 out-zone 9 vsd 0
13:49:59.572981:CID-0:THREAD_ID-01:RT: route to 10.249.1.1
13:49:59.572983:CID-0:THREAD_ID-01:RT: no need update ha
13:49:59.572983:CID-0:THREAD_ID-01:RT: Installing c2s NP session wing
13:49:59.572984:CID-0:THREAD_ID-01:RT: Installing s2c NP session wing
13:49:59.572985:CID-0:THREAD_ID-01:RT: first path session installation succeeded
13:49:59.572986:CID-0:THREAD_ID-01:RT: flow got session.
13:49:59.572986:CID-0:THREAD_ID-01:RT: flow session id 133393
13:49:59.572987:CID-0:THREAD_ID-01:RT: vector bits 0x1200 vector 0x759e2190
13:49:59.572988:CID-0:THREAD_ID-01:RT: flow_xlate_pak
13:49:59.572989:CID-0:THREAD_ID-01:RT: flow_handle_icmp_xlate
13:49:59.572989:CID-0:THREAD_ID-01:RT: xlate_icmp_pak
13:49:59.572994:CID-0:THREAD_ID-01:RT: post addr xlation: x.x.161.73->x.x.49.170.
13:49:59.572995:CID-0:THREAD_ID-01:RT: post addr xlation: x.x.161.73->x.x.49.170.
13:49:59.572996:CID-0:THREAD_ID-01:RT: skip pre-frag: is_tunnel_if- 0, is_if_mtu_configured- 0
13:49:59.572999:CID-0:THREAD_ID-01:RT: mbuf 0x68e9d400, exit nh 0xd0010
13:49:59.572999:CID-0:THREAD_ID-01:RT: ----- flow_process_pkt rc 0x0 (fp rc 0)

So I'm at a loss as to why this is occuring.  I've attached a sanitized config that's relevant for this setup. 

 

I'm certainly open to suggestions.  I do have a JTAC case open, but it's not going to be followed up on until Monday.

 

Viewing all 3959 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>