Source ip address for icmp messages not what is expected

We have a router that has interfaces in multiple VRFs.  One interface sits on an interface that is routed on the Internet.  Other interface sits on a VRF that is in a private address space and is used for WAN connectivity.  The strange behavior that I'm seeing is related to icmp messages coming off the router.  It appears that scanners hitting the Internet-facing interface cause the router to generate icmp messages (type 3) that are source using the IP address of the WAN-facing interface and they are routed across the WAN, into our data center and dropped by our firewall due to anti-spoofing rules.  Is this normal behavior?  Doesn't seem normal to me. Is this behavior something that can be changed via configuration?

probabaly some body attacking you
you need inbound access-list in Internet-facing interface.
and you need to filtr private source addresses classes  A, B, C 
ip access-list extended InWorld
 deny   ip any 192.168.0.0 0.0.255.255
 deny   ip any 172.16.0.0 0.15.255.255
 deny   ip any 10.0.0.0 0.255.255.255
 permit ip any any
interface FastEthernet0
 description Internet-facing interface
 ip address 9.2.3.6 255.255.255.252
 ip access-group InWorld in
later you will see hit counts
sh access-lis
here is detailed explanation
http://www.techrepublic.com/article/prevent-ip-spoofing-with-the-cisco-ios/
they using more complicated acces-list
In a typical IP address spoofing attempt, the attacker fakes the source of packets in order to appear as part of an internal network. David Davis tells you three ways you can make an attacker's life more difficult—and prevent IP address spoofing. 
As you know, the Internet is rife with security threats, and one such threat is IP address spoofing. During a typical IP address spoofing attempt, the attacker simply fakes the source of packets in order to appear as part of an internal network. Let's discuss three ways you can protect your organization from this type of attack.
Block IP addresses
The first step in preventing spoofing is blocking IP addresses that pose a risk. While there can be a reason that an attacker might spoof any IP address, the most commonly spoofed IP addresses are private IP addresses (RFC 1918) and other types of shared/special IP addresses.
Here's a list of IP addresses—and their subnet masks—that I would block from coming into my network from the Internet:
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
127.0.0.0/8
224.0.0.0/3
169.254.0.0/16
All of the above are either private IP addresses that aren't routable on the Internet or used for other purposes and shouldn't be on the Internet at all. If traffic comes in with one of these IP addresses from the Internet, it must be fraudulent traffic.
In addition, other commonly spoofed IP addresses are whatever internal IP addresses your organization uses. If you're using all private IP addresses, your range should already fall into those listed above. However, if you're using your own range of public IP addresses, you need to add them to the list.
Implement ACLs
The easiest way to prevent spoofing is using an ingress filter on all Internet traffic. The filter drops any traffic with a source falling into the range of one of the IP networks listed above. In other words, create an access control list (ACL) to drop all inbound traffic with a source IP in the ranges above.
Here's a configuration example:
Router# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)# ip access-list ext ingress-antispoof
Router(config-ext-nacl)# deny ip 10.0.0.0 0.255.255.255 any
Router(config-ext-nacl)# deny ip 172.16.0.0 0.15.255.255 any 
Router(config-ext-nacl)# deny ip 192.168.0.0 0.0.255.255 any 
Router(config-ext-nacl)# deny ip 127.0.0.0 0.255.255.255 any
Router(config-ext-nacl)# deny ip 224.0.0.0 31.255.255.255 any
Router(config-ext-nacl)# deny ip 169.254.0.0 0.0.255.255 any     
Router(config-ext-nacl)# permit ip any any     
Router(config-ext-nacl)# exit
Router(config)#int s0/0
Router(config-if)#ip access-group ingress-antispoof in
Internet service providers (ISPs) must use filtering like this on their networks, as defined in RFC 2267. Notice how this ACL includes permit ip any any at the end. In the "real world," you would probably have a stateful firewall inside this router that protects your internal LAN.
Of course, you could take this to the extreme and filter all inbound traffic from other subnets in your internal network to make sure that someone isn't on one subnet and spoofing traffic to another network. You could also implement egress ACLs to prevent users on your network from spoofing IP addresses from other networks. Keep in mind that this should be just one part of your overall network security strategy.
Use reverse path forwarding (ip verify)
Another way to protect your network from IP address spoofing is reverse path forwarding (RPF)—or ip verify. In the Cisco IOS, the commands for reverse path forwarding begin with ip verify.
RPF works much like part of an anti-spam solution. That part receives inbound e-mail messages, takes the source e-mail address, and performs a recipient lookup on the sending server to determine if the sender really exists on the server the message came from. If the sender doesn't exist, the server drops the e-mail message because there's no way to reply to the message—and it's very likely spam.
RPF does something similar with packets. It takes the source IP address of a packet received from the Internet and looks up to see if the router has a route in its routing table to reply to that packet. If there's no route in the routing table for a response to return to the source IP, then someone likely spoofed the packet, and the router drops the packet.
Here's how to configure RPF on your router:
Router(config)# ip cef
Router(config)# int serial0/0
Router(config-if)# ip verify unicast reverse-path
Note that this won't work on a multi-homed network.
It's important to protect your private network from attackers on the Internet. These three methods can go a long way toward protecting against IP address spoofing. For more information on IP address spoofing, read "IP Address Spoofing: An Introduction."
Is IP address spoofing a major concern for your organization? What steps have you taken to protect the company? Have you used RPF? Share your experiences in this article's discussion.
and dont forget to rate post

Similar Messages

  • Log connection attempts and source IP address for connections that fail/timeout on RADIUS

    How can I log the connection attempts and source IP address for connections that fail RADIUS authentication?  I'm using RD Gateway on 2012 R2 in conjunction with Azure Multi-Factor Authentication Server on another 2012 R2 server.  When a user fails
    multifactor authentication or the authentication times out, all I get is Security event 6273 on the RD Gateway that the radius server did not process the request, and only the radius server's IP is logged.  There's nothing logged in TerminalServices-Gateway\Operational
    because the TS Gateway hasn't yet processed the connection attempt (all auditing options for RD Gateway are enabled).  The MFA/Radius Server is only logging the connection from the TSGateway - it doesn't know the original client's IP address.
    I'm looking for the equivalent of an IIS log - somewhere the RD Gateway should log the initial HTTPS connection attempt and the source IP address of the client.  I need to be able to track down potentially fraudulent login attempts. 

    Hi,
    Thank you for your posting in Windows Server Forum.
    This error might be caused by one of the following conditions:
    •  The user does not have valid credentials
    •  The connection method is not allowed by network policy
    •  The network access server is under attack
    •  NPS does not have access to the user account database on the domain controller
    •  NPS log files or the SQL Server database are not available
    To perform these procedures, you must be a member of Domain Admins.
    Please check for more information:
    Event ID 6273 — NPS Authentication Status
    http://technet.microsoft.com/en-us/library/cc735399(v=ws.10).aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Source port type for BPELProcess does not match target port type for EJB

    Hi gurus,
    I have a problem with calling EJBs from a 11.1.1.3 composite. The following summarizes the issue:
    - there are several EJBs within the same package deployed on a WLS server.
    - these beans have method names that are the same, for example create(), delete() etc.
    - using the EJB Service Adapter I have created 3 References, one for each of the 3 beans I need to invoke in a BPEL process.
    - each bean is imported into the project with their own *.wsdl *Ref.wsdl files.
    - each wsdl imports a namespace based on the java package name
    - now i have 3 wsdls, importing the same namespace and namespace conflicts arise.
    At this point I'm thinking, 'no problem, just change the namespaces manually'
    - whenever i try to change the namespace that JDev gives the Reference components I end up with the compilation error:
    Source port type for "BPELProcess" does not match target port type for "EJBRef"
    It seems that the namespace must be the same as the package name, even though I resolved all the references to the new namespaces and ensure they all match.
    The problem appears to be in the BPELProcess.componentType file.
    <reference name="HelloEJBRef" ui:wsdlLocation="HelloEJBRef.wsdl">
    <interface.wsdl interface="http://package.workspace.com/HelloEJB#wsdl.interface(HelloEJB)"/>
    </reference>
    If the namespace (text before the #) is changed at all from the default, even if it matches the wsdl, results in the port type mismatch error above.
    Any ideas?
    btw, running SOA 11.1.1.3, JDev 10.1.1.3, EJB 3.0

    Hi gurus,
    I have a problem with calling EJBs from a 11.1.1.3 composite. The following summarizes the issue:
    - there are several EJBs within the same package deployed on a WLS server.
    - these beans have method names that are the same, for example create(), delete() etc.
    - using the EJB Service Adapter I have created 3 References, one for each of the 3 beans I need to invoke in a BPEL process.
    - each bean is imported into the project with their own *.wsdl *Ref.wsdl files.
    - each wsdl imports a namespace based on the java package name
    - now i have 3 wsdls, importing the same namespace and namespace conflicts arise.
    At this point I'm thinking, 'no problem, just change the namespaces manually'
    - whenever i try to change the namespace that JDev gives the Reference components I end up with the compilation error:
    Source port type for "BPELProcess" does not match target port type for "EJBRef"
    It seems that the namespace must be the same as the package name, even though I resolved all the references to the new namespaces and ensure they all match.
    The problem appears to be in the BPELProcess.componentType file.
    <reference name="HelloEJBRef" ui:wsdlLocation="HelloEJBRef.wsdl">
    <interface.wsdl interface="http://package.workspace.com/HelloEJB#wsdl.interface(HelloEJB)"/>
    </reference>
    If the namespace (text before the #) is changed at all from the default, even if it matches the wsdl, results in the port type mismatch error above.
    Any ideas?
    btw, running SOA 11.1.1.3, JDev 10.1.1.3, EJB 3.0

  • Send butten for I message not highlighted I can't send the message please help

    Send butten for I message not highlighted I can't send the message please

    Go to Settings>Messages and make sure that "Show Subject Field" is turned off.

  • Hello my name is Omar Andres Santacruz, finished iMedicalOffice buy a program you have in the app store but what he said on the page is not what I expected, I was very disappointed that, frustrated and reweighed when I check my account had gained 139.99 f

    Hello my name is Omar Andres Santacruz, finished iMedicalOffice buy a program you have in the app store but what he said on the page is not what I expected, I was verydisappointed that, frustrated and reweighed when I check my account had gained139.99 for 7 times, I do not understand what has happened that is not the first time I buy something ustedeses thank you very much for your help

    Wow, Karan Taneja, you've just embarrassed yourself on a worldwide support forum.  Not only is your post ridiculous and completely inappropriate for a technical support forum, but it also shows your ignorance as to whom you think the audience is.  Apple is not here.  It's users, like you. 
    If you would have spent half the time actually reading the Terms of Use of this forum that YOU agreed to by signing up to post, as you did composing that usesless, inappropriate post, you (and the rest of us on this forum) would have been much better off.

  • Just signed up for cc, message not available at present, what happens now and when will it be availa

    just signed up for cc, message back Not available at present, what do i now do and wen will it be available

    What's not available? The activation  server? Or payment? or something else?
    The Cloud is definitely available right now.

  • Is there a log I can check for internal messages not beingrecieved?

    We are using sendmail in an internal VB script. My boss is not getting emails sent to her from this script.
    Is there a log I can view (similar to the GWIA log for external messages) that will tell me if the Groupwise system even tried to process it?
    Because I am using a script and not the client, I cannot check the sent status. (I think...)

    On 6/23/2011 4:46 AM, Jason wrote:
    > We are using sendmail in an internal VB script. My boss is not getting
    > emails sent to her from this script.
    > Is there a log I can view (similar to the GWIA log for external
    > messages) that will tell me if the Groupwise system even tried to
    > process it?
    > Because I am using a script and not the client, I cannot check the sent
    > status. (I think...)
    First of all you'd be better learning pure object api rather than
    shelling out.
    Second of all, were you using object api it would generate sent item. I
    think sendmail avoids this.
    Third of all, the only other way to trace is have the POA on verbose
    logging and see what happens. Obviously easier to interpret off hours.

  • Spotlight search for text messages not working

    After upgrading to ios8, I discovered that the spotlight search for text messages only "sees" my last two texts but not any of the others I have on my phone. These are all active conversations, not deleted messages.  Any ideas how to fix?  Thanks.

    I Fixed mine by going to setting->General->Sptolight and unchecking "messages", exiting the function then returning and rechecking "messages".

  • How to delete obsolete email addresses for automatic messaging?

    I have two addresses for a contact, one correct (JohnDoe @gmail.com) and one incorrect (JohnDoe @gmail.net). I have corrtected John Doe's contact information.  However, when I enter the name John Doe for the Sent To, I still get both email address for John Doe.  mostlikely held in memory for automatic messaging.  I want to get the wrong email address from showing up as a choice.  How do I do this?
    I assume automatic messaging is holding the wrong email address in memory.
    <Email Edited by Host>

    Hello, might check this...
    Mail>Window>Previous Recipients, highlight the ones you don't want & click the Remove from list button.

  • Not what I expected

    So instead of arguing with a billing agent, I had to hang up with them and regain my composure. I for one do not expect anything for free. I work my tail off for what I have and when I pay for something, I expect it to be nothing but what I paid for. So I have a little back ground of my experience from signing up for X1 and giving up my regular boxes. I'll post what has transpired from my conversation about an hour ago. The next paragraph was sent private message to one of the forum mods in which I have yet to hear back from Seems like I fell into the unhappy comcast customer pool. So I have been waiting since Last Thursday for a billing supervisor to contact me. Been on hold almost a half hour just now trying to speak with someone. This is why I'm not happy.1. The first time I spoke to an agent and ordered the X1 SIK(6/12), he botched the shipping and I had to wait almost 2 weeks for my equipment.2. Got the DVR running in 10 minutes as I stated to you before and the 3 other boxes were no good. Speaking with the tech that day for almost 2 hrs says he is sending a tech to the house no charge to me with 3 new boxes.3. The tech arrives 6/20 and tell me its not the boxes, not the wiring but the network that updates the boxes has an issue and after 9 pm that night, I can hook the boxes back up and all is good. He did not bring any boxes into the house to even try. All of the 3 did not work like he said. Also got a call around 5:30 pm that night confirming a Sunday 5 pm tech visit for wiring issues. I had no idea this was happening and I cancelled it. I was not going to be home anyways4. Called tech support 6/21 and that agent tried to reset the boxes which failed and said I needed another tech visit in which now I had to wait until 6/25 and would be no charge to me.5. The tech gets to the house on 6/25 and the guy explains that he only has 1 of the type of boxes I have with him but has 2 newer Xi3 boxes that would require to give up the 4th tuner in the dvr, so I can only record 3 shows and not 4, fine I said so he installed. The 2 guys were quick and very happy the tv's were all working.6. The new bill arrives via email and states I'm being charged 39.95 for the tech visit and $79 for installation. Why on earth would I have to pay that when I was promised the free visits? They should go back to my converstions with the agents to verify this if they want. They also installed a signal booster and took a picture of the wire mess the first tech left behind when he attempted to add line splitters. I also understand that the old equipment is listed on the account and Comcast should have them by now. I sent them UPS last Thursday. The tech took the 3 bad X1 boxes with him. I just want to get those charges off my bill and get on with it. I have spent so much time dealing with this. Any help you can give or even forward this to someone who can make it happen. I'm sorry to hit you with all of this.  So today 7/5 I look at my account and the bill is $425... Yes my triple play runs us now about $225 a month and thats just with Starz added. Thats acceptable. I'm being told today that because it wasn't noted on the account, I have to pay for the tech visits now. They will only take off 39.95 thats noted on the account. I want the $130 removed like I was promised. The amount increased from the original 79 and 39.95. Plus The bill changed from 215.30 to 175.35 with a due date of 6/29 because of switching services I guess and now that extra 39.95 is back on the bill as well. Can they not go back to the recordings of the conversations and listen to these agents telling me what they were offering?Please if this is being seen by supervisors, by all means call me so we can straighten this out. I was hoping that I was going to be one of the lucky ones that doesn't have problems but being a long time customer, this is totally unacceptable and you will lose us as a customer.  So if anyone can learn something from this is have the agent note everything on your account and get a copy sent to you. That will save wasted time dealing with these problems

    jnln2011 wrote:
    So instead of arguing with a billing agent, I had to hang up with them and regain my composure. I for one do not expect anything for free. I work my tail off for what I have and when I pay for something, I expect it to be nothing but what I paid for. So I have a little back ground of my experience from signing up for X1 and giving up my regular boxes. I'll post what has transpired from my conversation about an hour ago. The next paragraph was sent private message to one of the forum mods in which I have yet to hear back from
    Seems like I fell into the unhappy comcast customer pool. So I have been waiting since Last Thursday for a billing supervisor to contact me. Been on hold almost a half hour just now trying to speak with someone. This is why I'm not happy.
    1. The first time I spoke to an agent and ordered the X1 SIK(6/12), he botched the shipping and I had to wait almost 2 weeks for my equipment.
    2. Got the DVR running in 10 minutes as I stated to you before and the 3 other boxes were no good. Speaking with the tech that day for almost 2 hrs says he is sending a tech to the house no charge to me with 3 new boxes.
    3. The tech arrives 6/20 and tell me its not the boxes, not the wiring but the network that updates the boxes has an issue and after 9 pm that night, I can hook the boxes back up and all is good. He did not bring any boxes into the house to even try. All of the 3 did not work like he said. Also got a call around 5:30 pm that night confirming a Sunday 5 pm tech visit for wiring issues. I had no idea this was happening and I cancelled it. I was not going to be home anyways
    4. Called tech support 6/21 and that agent tried to reset the boxes which failed and said I needed another tech visit in which now I had to wait until 6/25 and would be no charge to me.
    5. The tech gets to the house on 6/25 and the guy explains that he only has 1 of the type of boxes I have with him but has 2 newer Xi3 boxes that would require to give up the 4th tuner in the dvr, so I can only record 3 shows and not 4, fine I said so he installed. The 2 guys were quick and very happy the tv's were all working.
    6. The new bill arrives via email and states I'm being charged 39.95 for the tech visit and $79 for installation. Why on earth would I have to pay that when I was promised the free visits? They should go back to my converstions with the agents to verify this if they want. They also installed a signal booster and took a picture of the wire mess the first tech left behind when he attempted to add line splitters. I also understand that the old equipment is listed on the account and Comcast should have them by now. I sent them UPS last Thursday. The tech took the 3 bad X1 boxes with him. 
    I just want to get those charges off my bill and get on with it. I have spent so much time dealing with this. Any help you can give or even forward this to someone who can make it happen. I'm sorry to hit you with all of this.
    So today 7/5 I look at my account and the bill is $425... Yes my triple play runs us now about $225 a month and thats just with Starz added. Thats acceptable. I'm being told today that because it wasn't noted on the account, I have to pay for the tech visits now. They will only take off 39.95 thats noted on the account. I want the $130 removed like I was promised. The amount increased from the original 79 and 39.95. Plus The bill changed from 215.30 to 175.35 with a due date of 6/29 because of switching services I guess and now that extra 39.95 is back on the bill as well. Can they not go back to the recordings of the conversations and listen to these agents telling me what they were offering?
    Please if this is being seen by supervisors, by all means call me so we can straighten this out. I was hoping that I was going to be one of the lucky ones that doesn't have problems but being a long time customer, this is totally unacceptable and you will lose us as a customer.  So if anyone can learn something from this is have the agent note everything on your account and get a copy sent to you. That will save wasted time dealing with these problems
    I apologize for the bad experience you had with this, I have sent you a private message. When you get a chance please check this. We will make sure to make this right. -FC 

  • Date/time in LR 2.1 -- still not what I expect

    Date/time of images that I scanned and input the dates outside of Lightroom are now working better, but still not what I would call correct. If I use the Library Filter, the date selection is correct under "Date".
    This is the date that Lightroom calls "Date Time Original" in the metadata panel available on the right side. But when I select a folder and ask LR to sort based on "Capture Time", it sorts on what it calls "Date Time" not what it calls "Date Time Original". What I put in Date Time is the scan date, usually called the "Date Time Digitized". (I care when they are digitized because that indicates the quality of the scanner.) This shows up as "Date Time" in the metadata panel.
    So why is the metadata search based on "Date Time Original" and the sorting by "Date Time Digitized". Surely most people want a sort on "Date Time Original" (which is the same as LR's "Date Time" in a digital camera) not some other date. If they think some people really want the other date, then it should be a choice under sort.
    The sort field is called "Capture Time". OK, I agree, I did scan the files on that date. So in that sense it is the "capture time" but MY opinion is I "captured" them on film on the "Date Time Original" date and that is always the date I want them sorted by. The other date is just for reference in my case.
    If "Capture Time" is really what the designers of LR think I want, why is that not the date in the library filter?
    Judy

    Holy macaroni! I think I got it right this time. But from now on I'm using Integer.toBinaryString(int) ...or my own special brand of sluggish code he he. Thanks for the input though. Really appreciate it.
       public String toBinary(int innTall) { // i.e 123
            while(innTall > 0) {
                rest = innTall%2;
                innTall = innTall / 2; //i.e 61-30-15-7-3-1-0
                if(rest > 0)
                    tall = 1;
                else
                    tall = 0;
                result = result.concat(result.valueOf(tall));
            return (reverse(result));//returnerer den omvendte rekkef�lgen av bin�rtall
        //internal method for flipping a string of binary numers
        private String reverse(String sekvens) {
            char tegn[] = new char[sekvens.length()];
            while (sekvens.length() != index ) {
                tegn[index] = sekvens.charAt((sekvens.length()-1) - index);
                System.out.println(tegn[index]);
                index++;
            index = 0; //reset index
            String newString = new String(tegn);
            return newString; //toString er synderen
    }

  • Boundary on "CASE WHEN" does not what i expect

    Hi!
    The results of query1 are exactly what i expect but when i compare the counts with CASE WHEN (query2) then i get double records where the count is exactly 8. The value of Result on the second record becomes Null. This seems to me somewhat strange.
    Any suggestion?
    query1:
    SELECT DISTINCT inline_view.u_plot_number AS Research_Group,
           inline_view.external_reference AS Parental_Line,
           inline_view.u_box_code AS Box,
           inline_view.description AS Test,
           COUNT(NVL(inline_view_finalresult.u_overruled_result,inline_view_finalresult.u_calculated_result))
              OVER (PARTITION BY CONCAT(inline_view_finalresult.u_sdg_id,inline_view_finalresult.u_test_template_id)) AS R1,
           COUNT(DISTINCT NVL(inline_view_finalresult.u_overruled_result,inline_view_finalresult.u_calculated_result))
              OVER (PARTITION BY CONCAT(inline_view_finalresult.u_sdg_id,inline_view_finalresult.u_test_template_id)) AS R2
    FROM ( SELECT DISTINCT sdg.sdg_id,
                  sample.sample_id,
                  test_template.test_template_id,
                  sample_user.u_plot_number,
                  sdg.external_reference,
                  sample_user.u_box_code,
                  test.description
           FROM sdg,sdg_user,sample,sample_user,aliquot,test,test_template
           WHERE sdg.sdg_id = sdg_user.sdg_id
              AND sdg.sdg_id = sample.sdg_id
              AND sample.sample_id = sample_user.sample_id
              AND aliquot.sample_id = sample.sample_id
              AND test.aliquot_id = aliquot.aliquot_id
              AND test_template.test_template_id = test.test_template_id
              AND sdg.sdg_id >505
         ) inline_view,
         ( SELECT DISTINCT u_finalresult_user.u_sdg_id,
                  u_finalresult_user.u_calculated_result,
                  u_finalresult_user.u_overruled_result,
                  u_finalresult_user.u_sample_id,
                  u_finalresult_user.u_test_template_id
           FROM u_finalresult_user
           WHERE u_finalresult_user.u_requested = 'T'
         ) inline_view_finalresult
    WHERE inline_view.sample_id = inline_view_finalresult.u_sample_id (+)
       AND inline_view.test_template_id = inline_view_finalresult.u_test_template_id (+)
    ORDER BY inline_view.description,inline_view.u_box_codequery2:
    SELECT DISTINCT inline_view.u_plot_number AS Research_Group,
           inline_view.external_reference AS Parental_Line,
           inline_view.u_box_code AS Box,
           inline_view.description AS Test,
           CASE WHEN
                COUNT(NVL(inline_view_finalresult.u_overruled_result,inline_view_finalresult.u_calculated_result))
                OVER (PARTITION BY CONCAT(inline_view_finalresult.u_sdg_id,inline_view_finalresult.u_test_template_id)) < 8
             THEN
                'onv'
             ELSE
                CASE WHEN
                       COUNT(DISTINCT(NVL(inline_view_finalresult.u_overruled_result,inline_view_finalresult.u_calculated_result)))
                       OVER (PARTITION BY CONCAT(inline_view_finalresult.u_sdg_id,inline_view_finalresult.u_test_template_id)) > 1
                     THEN
                       'spl'
                     ELSE
                      NVL(inline_view_finalresult.u_overruled_result,inline_view_finalresult.u_calculated_result)
                END
          END AS Result
    FROM ( SELECT DISTINCT sdg.sdg_id,
                  sample.sample_id,
                  test_template.test_template_id,
                  sample_user.u_plot_number,
                  sdg.external_reference,
                  sample_user.u_box_code,
                  test.description
           FROM sdg,sdg_user,sample,sample_user,aliquot,test,test_template
           WHERE sdg.sdg_id = sdg_user.sdg_id
              AND sdg.sdg_id = sample.sdg_id
              AND sample.sample_id = sample_user.sample_id
              AND aliquot.sample_id = sample.sample_id
              AND test.aliquot_id = aliquot.aliquot_id
              AND test_template.test_template_id = test.test_template_id
              AND sdg.sdg_id >505
         ) inline_view,
         ( SELECT DISTINCT u_finalresult_user.u_sdg_id,
                  u_finalresult_user.u_calculated_result,
                  u_finalresult_user.u_overruled_result,
                  u_finalresult_user.u_sample_id,
                  u_finalresult_user.u_test_template_id
           FROM u_finalresult_user
           WHERE u_finalresult_user.u_requested = 'T'
         ) inline_view_finalresult
    WHERE inline_view.sample_id = inline_view_finalresult.u_sample_id (+)
       AND inline_view.test_template_id = inline_view_finalresult.u_test_template_id (+)
    ORDER BY inline_view.description,inline_view.u_box_code

    NVL(inline_view_finalresult.u_overruled_result,inline_view_finalresult.u_calculated_result)does not return double records without the CASE WHEN (see below) but i don't understand why it comes that when i compares the counts in a CASE WHEN that i get double records where the second record has value Null as Result. Could somebody provide me with a solution?
    SELECT DISTINCT inline_view.u_plot_number AS Research_Group,
           inline_view.external_reference AS Parental_Line,
           inline_view.u_box_code AS Box,
           inline_view.description AS Test,
           COUNT(NVL(inline_view_finalresult.u_overruled_result,inline_view_finalresult.u_calculated_result))
              OVER (PARTITION BY CONCAT(inline_view_finalresult.u_sdg_id,inline_view_finalresult.u_test_template_id)) AS R1,
           COUNT(DISTINCT NVL(inline_view_finalresult.u_overruled_result,inline_view_finalresult.u_calculated_result))
              OVER (PARTITION BY CONCAT(inline_view_finalresult.u_sdg_id,inline_view_finalresult.u_test_template_id)) AS R2,
    NVL(inline_view_finalresult.u_overruled_result,inline_view_finalresult.u_calculated_result) AS Result
    FROM ( SELECT DISTINCT sdg.sdg_id,
                  sample.sample_id,
                  test_template.test_template_id,
                  sample_user.u_plot_number,
                  sdg.external_reference,
                  sample_user.u_box_code,
                  test.description
           FROM sdg,sdg_user,sample,sample_user,aliquot,test,test_template
           WHERE sdg.sdg_id = sdg_user.sdg_id
              AND sdg.sdg_id = sample.sdg_id
              AND sample.sample_id = sample_user.sample_id
              AND aliquot.sample_id = sample.sample_id
              AND test.aliquot_id = aliquot.aliquot_id
              AND test_template.test_template_id = test.test_template_id
              AND sdg.sdg_id >505
         ) inline_view,
         ( SELECT DISTINCT u_finalresult_user.u_sdg_id,
                  u_finalresult_user.u_calculated_result,
                  u_finalresult_user.u_overruled_result,
                  u_finalresult_user.u_sample_id,
                  u_finalresult_user.u_test_template_id
           FROM u_finalresult_user
           WHERE u_finalresult_user.u_requested = 'T'
         ) inline_view_finalresult
    WHERE inline_view.sample_id = inline_view_finalresult.u_sample_id (+)
       AND inline_view.test_template_id = inline_view_finalresult.u_test_template_id (+)
    ORDER BY inline_view.description,inline_view.u_box_code

  • "Invalid Destination Address" for MMS messages

    I got an HTC One M8 about a month ago, and everything has been working great.  However, the last 2 or 3 days, I haven't been able to send MMS messages.  I know that the numbers are correct, because I have been grabbing them straight from my contacts, and I have triple checked them.  I've tried about 5 different pictures with 5 different contacts, and every time I do, a red triangle with an explanation point in the middle comes up saying "invalid destination address".  I have no idea what happened, as it's been working up until the last few days.  I have tried with and without WiFi, force stopped my messages and cleared the cache.  Nothing works.  Can anyone help, please?

        RDSHARP39, thanks for trying all of those steps for us. I want to make sure that we get the device back up and running like it is suppose to. Are you able to receive picture messages from your contacts? Have you been able to power off the device and pull the sim card out for a good 10-15 seconds: http://vz.to/1B3J1vX After that time frame please place the sim card back into the device and re-try sending a picture message. Keep us posted.
    KevinR_VZW
    Follow us on Twitter @VZWSupport

  • Can't verify email address for receiving messages in Messages and FaceTime

    In the Preferences for Messages you can set additional email addresses that others can use when sending Messages and FaceTime messages. Apple sends a verification email to the email addresses you add. I have been able to complete this process for three out of four email addresses. Two of those I added today.
    The address I use the most, my long-time email address with my ISP Verizon, repeadedly fails in the process. First, the Preferences panel says 'Email sent'. Then it says 'Waiting to verify' with a link to Details. Apple's verification message never arrives in my Verizon mailbox.
    At one time (pre-Mavericks?) this email worked with Messages and FaceTime, it is the address I use for iTunes purchases. I have checked the Verizon email site for Spam or blocked email addresses. Nothing there.
    Any magic you can suggest?

    Hi,
    It does seem strange that the email works in one place and not another.
    Having said that I have had an email as an Apple ID in the past then the security requirements have changed and whilst it works in some places it often needs you to verify for use in a new place.
    Whilst any login to any Apple Service does check the ID and password with a central database each service is run on it's own servers.
    this leads to some almost two step issues where an ID already in use is not asked to up it's security but a new app can be almost blocked.
    If you go to https://appleid.apple.com/ and use the Manage option to login to that ID is it showing Verified there ?
    AS an Apple ID was there a a recovery email that was linked to it ?
    Do you still have access to that ?  It might be where the email was sent.
    7:34 pm      Thursday; November 6, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • E-mail address for release messages with medium 5

    In transaction process purchase orders, when a PO is outputted via mail and more  than one e-mail address is defined for a vendor address, the system uses the one that is marked as 'Standard'. So, the e-mail address must be selected before the message is created.
    Is there any workaround to avoid this and for example, select a different e-mail address directly from the Output screen(Create and release message)?
    Thanks in advance,
    E.Barrantes

    Hi Elena,
    Since you are using the Medium 5 which is external send, you can copy the driver program and write your owm custom logic to change the Email id and populated accordingly.
    Thanks
    Lakshman

Maybe you are looking for