IPSEC between range private and public

Hello

I received a request from my client, that made me think a bit.

A site-to-site VPN to build. ASA 5510 to this end does it perfectly well where to work some another tunnel from site to site.

Now, at the remote end, I don't know how it is a device with Betacam Firewall/VPN. The public IP address of the range is used in the internal network.

Would like to know is possible;

1. the public IP address on the servers to have. Considering the cisco at the other end, which would be set up?

2. is it possible to create a VPN tunnel in this case? Seems as if interesting traffic defined can do.

Don't know what the client wants exactly, but he did to thinking on this requirement.

Reg,

Sushil

Yes it is possible should not be problems with this

Tags: Cisco Security

Similar Questions

  • Site IPSec between RPS and IOS.

    Hello

    I really hope that Andrew Hickman, author of DOC-16927 and DOC-23028 can help with this.

    I created a Site to IPSec VPN between our SRP527W-U and CISCO881-K9 (SRI) running IOS 15.0 (1) M3.

    It is the first branch to use a PRV. I use a card dynamic encryption (that we have more than one branch, and ESP was a dynamic public IP address).

    Our other branch (also runs an international search report) is a GRE over IPSec VPN, traffic between subnets it passes over the GRE tunnel. It works very well. The goal here is really to achieve the same (GRE over IPSec) between the SRP and the SRI. Similar to our other branch.

    The ISAKMP and IPSec on SRI config:

    crypto ISAKMP policy 1

    BA 3des

    preshared authentication

    Group 2

    ISAKMP crypto key SECRET KEY address 0.0.0.0 0.0.0.0

    Crypto ipsec transform-set esp-SHA-ESP-3DES-3des esp-sha-hmac

    crypto dynamic-map DynMap1 10

    game of transformation-ESP-3DES-SHA

    PFS group2 Set

    match address VPN

    QoS before filing

    card crypto 10 Vpn1-isakmp dynamic ipsec DynMap1

    list of IP - VPN access scope

    allow accord host host

    ip permit 172.16.0.0 0.0.0.255 172.16.2.0 0.0.0.255

    interface FastEthernet4

    IP address 255.255.255.252

    card crypto Vpn1

    Router A - CISCO881-K9 (hub) Router B - SRP527W-U (speak)
    Network: 172.16.0.0/24 Network: 172.16.2.0/24
    LAN IP: 172.16.0.1 LAN IP: 172.16.2.1
    WAN IP: 203.174.188.58 WAN:

    Starting from a host in the 172.16.2.0/24 subnet, I ping SRI (172.16.0.1) and hosts on the 172.16.0.0/24, but not the PRS (172.16.2.1) under Diagnostics-> Ping Test.

    Starting from a host on the subnet 172.16.0.0/24, I ping a host on the 172.16.2.0/24 network, but not the RPS (172.16.2.1). I can confirm SPI Firewall Protection is off and filter Internet requests anonymous check box is cleared.

    While Sri (172.16.0.1), I can not ping RPS (172.16.2.1) or all the 172.16.2.0/24 subnet hosts.

    Summary of Ping results

    The host subnet a host <-->subnet B: Yes

    A <-->B router the subnet host: No.

    Router, the host of a-> B subnet: No.

    Router a router <-->B: No.

    Hosts on the subnet B-> A router: Yes

    SRI routing table

    * 0.0.0.0/0 [1/0] via

    10.0.0.0/8 is variably divided into subnets, 2 subnets, 2 masks

    C 10.0.0.0/24 is directly connected, Tunnel0

    L 10.0.0.1/32 is directly connected, Tunnel0

    172.16.0.0/16 is variably divided into subnets, 3 subnets, 2 masks

    C 172.16.0.0/24 is directly connected, Vlan1

    L 172.16.0.1/32 is directly connected, Vlan1

    S 172.16.1.0/24 [1/0] via 10.0.0.2

    The RPS routing table

    10.64.64.74 255.255.255.255 -- ppp10
    10.64.64.74 255.255.255.255 -- ipsec0
    172.16.2.0 255.255.255.0 -- VLAN.1
    172.16.0.0 255.255.255.0 10.64.64.74 ipsec0
    0.0.0.0 0.0.0.0 10.64.64.74 ppp10

    I suspect it's an ACL / route question. I would gladly of assistance from anyone. According to me, that I'm so close, just not there.

    Thank you very much

    Trent Renshaw

    Hi Trent,

    My apologies, I misread your first post - I thought that you were talking about the question of access and the IP address of the PRS via IPSec (that part is fixed).

    I fear for your real question, there is no answer.  The SRP500 does not support GRE over IPSec (just one or the other).

    Kind regards

    Andy

  • Share a private server and Public Netwok SRV 2008 R2

    I have two separate networks I need to share a single server, with Public (192,...) and private (10...) East of private and Public is local internet circuit behind a firewall. I need two networks to see the server (which has two network cards both with an IP assigned by each network) Security is configured it works, but the server can not see in our area, unless the Public network adapter is disabled / how can I configure the server will send all ay on our private network and doesn't allow access to the folder dir 192 public local users

    It is a consumer - & Microsoft Security Essentials-specific forum. You will find the Windows Server support in these forums: http://social.technet.microsoft.com/Forums/en/category/windowsserver

    Specific Windows Server security sub-forum: http://social.technet.microsoft.com/Forums/en-US/winserversecurity/threads

  • Which network setting is better and safer. private or public?

    original title: network settimg

    which network setting is better and safer. private or public?

    HI Margaret,.

    You can read the following article to learn more.

    Choose a network location

    See also:

    Setting up a network home

    Setting up a wireless network

  • 1841 can route between tunnel GRE and IPSEC tunnel?

    Hello everyone!

    See the image below.

    Main office (10.0.1.0/24 LAN) and branch (10.0.2.0/24 LAN) are connected through the GRE tunnel.

    The third office (10.0.3.0/24) is attached to the second branch via IPSEC.

    Is there the way to establish the connection between the third and the main office through cisco 1841?

    Is it possible to perform routing, perhaps with NAT?

    In fact we need connection with a single server in the main office.

    Thank you

    Hello

    It is possible to build this configuration.

    the IPSEC connection between 10.0.3.x and 10.0.2.x should also encapsulate the traffic to main office.

    Steps to follow:

    Central office, to shift traffic to 10.0.3.x above the GRE tunnel.

    The second part, add the 10.0.3.x - 10.0.1.x selection of traffic to the ACL IPSEC with the third

    The third part, add the 10.0.3.x - 10.0.1.x selection of traffic to the ACL IPSEC with the second pane.

    Please rate if this helped.

    Kind regards

    Daniel

  • Conflict of IPSec between IPSec and business VPN tunnels

    I crushed a 2821 current c2800nm-adventerprisek9 - mz.124 - 22.YB8 at home with 2 gre IPSec tunnels for personal use, and my office will be held that a customer based IPSec VPN to connect to the corporate VPN.  My problem is that when I want to connect to the corporate VPN, I see packages being encrypted and sent, but I would have never received the return packets.  It seems that the IPSec VPN tunnels with IPSec from my office and router packages conflict trying to decrypt and gives this error.  (I removed the public addresses for anonymity)

    CRYPTO-4-RECVD_PKT_INV_SPI: decaps: rec would be package IPSEC a bad spi to destaddr = "myaddress", prot = 50, spi = 0xDB32344E (3677500494), port = "corpvpn".

    When I remove the card encryption off-side WAN router, my Office VPN works immediately.  I can change the configuration, either on the side of the IPSec GRE tunnels, but has no way for me to change any configuration on the corporate VPN.  Does anyone know of a workaround on the cisco router?  I can provide the running configs or view orders.

    The 2821 also performs NAT overload for internet access.

    Hello, Reed.

    1. try to remove the interface crypto map and add "protection... profile ipsec tunnel." "to your VTI:

    Crypto ipsec IPSEC profile

    solid Set trans

    int g0/0

    No crypto map card

    int tu1

    Ipsec IPSEC protection tunnel profile

    int tu2

    Ipsec IPSEC protection tunnel profile

    2. try to force your corpVPN to use encapsulation UDP instead of ESP.

  • IPSEC VPN between Pix 515E and 1841 router

    Hi all

    BACKGROUND

    We have implemented a site to site VPN IPSEC between a Pix 515E 8.0 operation (4) and an 1841 using static IP addresses at both ends. We used CCP on the router and the ASDM the pix to build initial tunnels. Now the site with the router is evolving into a dynamic IP address from the ISP so we have implemented dynamic DNS to update dynamic IP address.

    PROBLEM

    The problem is that ASDM will not allow us to set a domain as the address of peers, it will not accept an IP address. We believe that the solution will be to remove the static Crypto map and replace it with a dynamic Crypto map on the side of Pix. Our questions are simply; is this the best solution? can change us the original static list or is it better to delete and make a new dynamic encryption card? Y at - it a shortcut to change the config command-line? This is a real network, so just check it out before make us any changes on the live kit.

    Any help much appreciated.

    You don't have to change anything when the peer-address changes. The dynamic crypto map aims to take dynamic peer connections. The only thing to remember, is that only the dynamic peer can initiate the connection. And you reduce your security if you use Pre-Shared key that now you can use a generic-PSK character.

    As I remember, the PIX / ASA does not support the dynamic use of FQDNs for peer-resolution. This feature is supported in IOS.

    For a feature, it would be preferable to static IP addresses on both sides.

  • Problem with IPSEC tunnel between Cisco PIX and Cisco ASA

    Hi all!

    Have a strange problem with one of our tunnel ipsec for one of our customers, we can open the tunnel of the customers of the site, but not from our site, don't understand what's wrong, if it would be a configuration problem should can we not all up the tunnel.

    On our side as initiator:

    Jan 14 13:53:26 172.27.1.254% PIX-7-702208: ISAKMP Phase 1 Exchange started (local 1.1.1.1 (initiator), remote 2.2.2.2)

    Jan 14 13:53:26 172.27.1.254% PIX-7-702210: Exchange of ISAKMP Phase 1 is complete (local 1.1.1.1 (initiator), remote 2.2.2.2)

    Jan 14 13:53:26 172.27.1.254% 6-PIX-602202: ISAKMP connected session (local 1.1.1.1 (initiator), remote 2.2.2.2)

    Jan 14 13:53:26 172.27.1.254% PIX-6-602201: Phase 1 ISAKMP Security Association created (local 1.1.1.1/500 (initiator), 2.2.2.2/500 remotely, authentication = pre-action, encryption = 3DES-CBC, hash = SHA, group = 2, life = 86400 s)

    Jan 14 13:53:26 172.27.1.254% PIX-7-702209: ISAKMP Phase 2 Exchange started (local 1.1.1.1 (initiator), remote 2.2.2.2)

    Jan 14 13:53:26 172.27.1.254% PIX-7-702201: ISAKMP Phase 1 delete received (local 1.1.1.1 (initiator), remote 2.2.2.2)

    Jan 14 13:53:26 172.27.1.254% PIX-6-602203: ISAKMP disconnected session (local 1.1.1.1 (initiator), remote 2.2.2.2)

    Jan 14 13:53:56 172.27.1.254% PIX-7-702303: sa_request, CBC (MSG key in English) = 1.1.1.1, dest = 2.2.2.2, src_proxy = 172.27.1.10/255.255.255.255/0/0 (type = 1), dest_proxy = 192.168.100.18/255.255.255.255/0/0 (type = 1), Protocol is ESP transform = lifedur hmac-sha-esp, esp-3des 28800 = s and 4608000 Ko, spi = 0 x 0 (0), id_conn = 0, keysize = 0, flags = 0 x 4004

    The site of the customer like an answering machine:

    14 jan 11:58:23 172.27.1.254% PIX-7-702208: ISAKMP Phase 1 Exchange started (local 1.1.1.1 (answering machine), 2.2.2.2 remote)

    14 jan 11:58:23 172.27.1.254% PIX-7-702210: Exchange of ISAKMP Phase 1 is complete (local 1.1.1.1 (answering machine), 2.2.2.2 remote)

    14 jan 11:58:23 172.27.1.254% 6-PIX-602202: ISAKMP connected session (local 1.1.1.1 (answering machine), 2.2.2.2 remote)

    14 jan 11:58:23 172.27.1.254% PIX-6-602201: Phase 1 ISAKMP Security Association created (local 1.1.1.1/500 (answering machine), distance 2.2.2.2/500, authentication = pre-action, encryption = 3DES-CBC, hash = MD5, group = 1, life = 86400 s)

    14 jan 11:58:23 172.27.1.254% PIX-7-702209: ISAKMP Phase 2 Exchange started (local 1.1.1.1 (answering machine), 2.2.2.2 remote)

    14 jan 11:58:23 172.27.1.254% PIX-6-602301: its created, (his) sa_dest = 2.2.2.2, sa_prot = 50, sa_spi = 0x9de820bd (2649235645) sa_trans = sa_conn_id of hmac-sha-esp, esp-3des = 116

    14 jan 11:58:23 172.27.1.254% PIX-7-702211: Exchange of ISAKMP Phase 2 is complete (local 1.1.1.1 (answering machine), 2.2.2.2 remote)

    Jan 14 12:28:54 172.27.1.254% PIX-6-602302: SA deletion, (his) sa_dest = 2.2.2.2, sa_prot = 50, sa_spi = 0x9de820bd (2649235645), sa_trans = esp-3desesp-sha-hmac, sa_conn_id = 116

    Kind regards

    Johan

    From my experience when a tunnel is launched on one side, but it is not on the other hand, that the problem is with an inconsistency of the isakmp and ipsec policies, mainly as ipsec policies change sets and corresponding address with ASA platform when a tunnel is not a statically defined encryption card he sometimes use the dynamic tag to allocate this vpn connection. To check if this is the case go ahead and make a "crypto ipsec to show his" when the tunnel is active on both sides, see on the SAA if the corresponding tunnel is the static encryption card set or if it presents the dynamic encryption card.

    I advise you to go to the settings on both sides and ensure that they are both in the opposite direction.

  • GlobalEventListener: to distinguish between system module and gui entrypoint

    Hey. I have an application with a system module that should always run and a gui with a EULA entry point. Once accepted the EULA, I want the gui to close application and the module of the system to begin running. (It works on battery pull, but the goal is to avoid asking the user to do).

    eventOccurred in GlobalEventListener fires twice, I guess once for the module of the system and once for the GUI. Two apparently weird things happen. First of all, when I use a global boolean to make a distinction between the sysmod and GUI, GUI screen is stuck and the sysmod seems to be exited. (Or I tried passing the processid of the sysmod and just exit with a different id - the GUI.) Same effect).

    Then when I remove the and check only for the guid of the global event, the eula, the sysmod screen farm stop logging but an icon of the application with the generic blue icon are still there in the app selector (hold the menu button).

    All I want to do is start the system module and close the EULA gui, so that the user need not cold start. Thanks for your time... code below. J.

    class MDB extends UiApplication implements GlobalEventListener 
    
      boolean thisIsSystemModule;
    
        // In main(  )
    
            if (arg0.equals("gui")) {
    
                globalMDB = new MDB();
                globalMDB.SetSystemModuleFlag(false);
                globalMDB.addThatGlobal();
        }
            else if (arg0.equals("activatesysmodandexitgui")) {
    
                MySystemListener msl = new MySystemListener();
                globalMDB = new MDB();
                globalMDB.SetSystemModuleFlag(true);
                globalMDB.addSystemListener(msl);
    
                globalMDB.ScheduleNextBackgroundChange();   
    
                    String logMessage = "MDB has both setup and scheduled a bg change.";
                    EventLogger.logEvent(0x4c9d3452d87922f8L, logMessage.getBytes(), EventLogger.ALWAYS_LOG);
                        System.out.println("\n\n>>" + logMessage);
    
                // post global event for eula to listen to and close
                globalMDB.addThatGlobal(); 
    
            //// Event ID comes from MDB.Start.System.Module.And.Close.EULA.GUI  0x5395aca2ff6df828L
                ApplicationDescriptor appDescriptor = ApplicationDescriptor.currentApplicationDescriptor();
                int smprocessid = ApplicationManager.getApplicationManager().getProcessId(appDescriptor);
    
             ApplicationManager.getApplicationManager().postGlobalEvent(0x5395aca2ff6df828L, smprocessid, 0);
    
                globalMDB.enterEventDispatcher();
        }
        else {
            // code for battery pull
        }
    
        private void SetSystemModuleFlag(boolean flag) {
    
            thisIsSystemModule = flag;
    
        }
    
        private void addThatGlobal() {
    
            addGlobalEventListener(this);   
    
        }
    
        ////  Called when user accepts the eula. EULA is gui entrypoint. I want the gui app to exit and leave just the system module
    
        private static void StartSystemModule() {
    
                int modHandle = CodeModuleManager.getModuleHandle("MDB");
                ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(modHandle);
                ApplicationDescriptor appDescriptor = new ApplicationDescriptor(apDes[1], new String[] {"activatesysmodandexitgui"});  // we want the system module
    
                try
                {
                    ApplicationManager.getApplicationManager().runApplication(appDescriptor);
                }
                catch (Exception e)
                {
                        System.out.println("\n>> Problem starting system mmodule\n");
                }
    
        }
    
    public void eventOccurred( long guid, int data0, int data1, Object object0, Object object1) {
    
            //Is this the GlobalEvent we are waiting for?
            //Long = com.samples.globalEventFiring.GlobalEventFiring
            ApplicationDescriptor appDescriptor = ApplicationDescriptor.currentApplicationDescriptor();
            int thisprocessid = ApplicationManager.getApplicationManager().getProcessId(appDescriptor);
    
            if (guid == 0x5395aca2ff6df828L)  //  !thisIsSystemModule &&         data0 != thisprocessid &&
            {
                    System.out.println("\nEvent received, eula exiting now.");
                    System.exit(1);
            }
    }
    

    Hello. The whole situation turns that arose because despite searching, I was not in the current Modules of the system to start when the application is installed (or opening). I knew only that they were running at startup, then in the absence of a way to start them from code, I asked users to cold start their phones!

    Although I do not understand what caused this error, it might have something to do with the planning of a timer job or adding a listener to an instance of the application system, and then exit the application before the timer is due to run it. Could someone with more understanding fill in us, on what it would do, but unless there is another way, I wouldn't do it.

    The solution was to do nothing. Delete all of the code to start the module of the system. And the other thing of smaller was to detect whether the instance is the module of the system or the gui entry point, Yes, you can use a global var but not a static. In acceptsForeground, you just check this global var defined in the hand and to be sysmod, false return.

    Will seek some of the discovered books recently, in order to aim to post 2 days a week only I think that in the future.

    TKS

    J

  • Relationship between the list and ListField...

    Hey people of Java...

    I can't thank you enough for your answers because I'm really starting to "grok" the paradigm of Java.

    Another came today I'm having problems understanding I deconstruct this app MemoryDemo...

    In the screen of the demo is these two lines:

    Get and display the list of customers.
    _customerList = CustomerList.getInstance ();
    _customerListField = new MyListField (_customerList.getNumCustomerRecords ());

    Well, now I understand the first line perfectly. She develops an object with the contents of the customers it contains.

    The second line calls a custom ListField routine that I show below:

    the final private class MyListField extends ListField
    {
    public MyListField (int numEntries)
    {
    Super (numEntries);
    }

    }

    Here is the part that I don't understand:

    It seems to appeal to both the MyListField() and the super() is simply the NUMBER of elements required, but not * that * list to use.  Exactly how is MyListField() or super() knows how to use the list of customers?  I ask because this exact routine is used a few lines more later (in the part of the main screen) to do the same thing for a list of the records of the order - even once without any reference to which list to use.

    It doesn't seem to be an explicit connection or the relationship between the _customerList and ListField is building.  Is somehow deconstruct '_customerList.getNumCustomerRecords ()' to its root and use _customerList somehow?  I don't think that I changed the call to this:

    _customerListField = new MyListField (_customerList.getNumCustomerRecords ());
    _customerListField = new MyListField (PICK_A_NUMBER);

    Where the constant is: public private static final int PICK_A_NUMBER = 50;

    And he ALWAYS displays a list of customers (though now with only 50 files).  How to do know?

    Thanks in advance!

    -John

    "I guess that somewhere in the interior architecture of the ListField, he knows that he has to paint the whole - one at a time - when put on the screen - that's it."

    Fix.

    This is the great thing about ListField.  It attracts only those who are on the screen.  If you use ListField draw a list of 10,000 rows (I tested), and it will only extract and draw the 10 that he needs.

    "Again, I don't find any explicit loop where it is through each element and then calling drawListRow()."

    Good yet once, it is not there.

    "Maybe one day I'll be able to pay it back here."

    It would be great.

  • Encrypted L3 Communications between the TOWER and WLC?

    Hi all

    I work with a client who wants to put the towers away to their WLC (a 4402). The problem is that communications between the TOWER and WLC must be secured, even through their private Wan! I have a few questions that result, if someone is able to help you;

    1. I can't know if and what method of encryption is (is it AES etc.?) used on connections between towers and the WLC and what are the steps?

      1. The terminology can be a problem here, it's not a wireless mesh, just classic LAP for WLC
    2. EXTENSIVE customer network is already encrypted (IPSec VPN via VPLS) in parts - what is the consequence of execution of AP<-->WLC with end to end (if possible) on a network encryption EXTENDED with IPSec, i.e. double encryption?

    Strange but true - pointers will be greatly appreciated... Phil.C

    With a controller of the 4400 series, the control traffic between the AP and the regulator is already encrypted AES.  The user traffic is not encrypted.  If you use a 5508 controller all traffic between the AP and the controller is encrypted AES.

    For what is running the traffic through a VPN, it should work.  The issue I see with this is with the MTU in general.  The controller will drop all packets with a payload of less than 32bytes data.  According to the MTU over the VPN I've seen packets getting fragmented and it is a question.  If you use one of the versions CAPWAP (5.2 or newer) discovery dynamic MTU is part of the Protocol and this MTU problem does not really exist.

  • Differences between JavaFX CSS and css w3c standard

    This is a discussion topic that comes to mind after reading the comments in this thread Re: FXML, css and - fx-are-family

    Feel free to comment or share your ideas on the subject.

    Note that these comments relate to the meaning of assignment of names and semantics of the css tags and not the syntax and parsing of css (such as the w3c css and css javaFX seem to be equivalent with respect to later).

    You know, sometimes I find refreshing absence of JavaFX features in css. It is nice to have, well, almost everything, the JavaFX CSS documented on one page. I think that if you were to do the same for the w3c css then it would end up with a much bigger, more difficult to understand the document and even what should be the content of this document would probably quite controversial, in the same kind of way that ends up being the HTML5 specification. Microsoft has helped more than 7,000 w3c tests just to cover only a subset of css rules that are available in browsers today. The webkit project lists open CSS nearly a thousand bugs: https://bugs.webkit.org/buglist.cgi?product=WebKit & component = CSS & resolution =-. If the implementation even partial w3c CSS support is a complex project.

    When I started using JavaFX CSS I found differences in w3c CSS quite shocking, and it was difficult to account for their. Now that I'm used to JavaFX CSS, I don't have as much of a problem. The difference in names and semantics will be an obstacle to working on JavaFX developers who are familiar with w3c CSS - but the designers quickly will also discover that FXML is not HTML and Java isn't JavaScript and JavaFX deployment is not HTML deployment. Then, perhaps, in the bigger picture, it is not as big a deal that he would appear. Yet, one cannot think that any obstacle to the people easily pick up and adopting JavaFX makes the technology a disservice.

    There are other benefits that the JavaFX CSS in its own space of names to w3c css, in what she can evolve separately, it shouldn't be exactly the same because it has a different name, it should not implement fully w3c css as browsers do so because it is clearly something different by name etc. There is even precedent for it in the use of mozilla to moz - CSS and css properties http://css-infos.net/properties/webkit - web webkit prefixes as not in standard as many people have suggested. JavaFX CSS supports a JavaFX rendering engine and not an HTML rendering engine. It is quite remarkable that Oracle has been able to build and make available a model CSS for JavaFX which feels as familiar as to the w3c css, w3c css is very strongly targeted towards style a game completely different technology (HTML markup document object model and).

    It would be useful to have a tool which translates as w3c css to the approximations of JavaFX css and vice versa, or the ability for JavaFX to have a mode (perhaps a Boolean value when a style sheet is loaded) to perform an automatic alias or the mapping of the w3c css for javafx (at least for the subset of w3c css that would make sense to automatically translate for JavaFX css). I haven't checked the jira JavaFX in detail, then maybe a request for support already exists - it's perhaps in the private http://javafx-jira.kenai.com/browse/RT-9272 jira.

    The JavaFX css model is really powerful and I found really useful some of the additions that it adds above the css 2.1 Basic found regularly in browsers. With the next CSS Java model object http://javafx-jira.kenai.com/browse/RT-17293, you will also better get access by Java programming.

    Then, good work on the construction and implementation of this complex device...

    Thanks for the comments. The gap between JavaFX CSS and CSS from W3C will be an evolutionary process. It would be nice to use the stylesheet of a standard basis, but there is not always a mapping from 1-1 to JavaFX. But for properties that can be mapped, it is something that should be supported. For example, we should be able to deal with 'police' or '- fx - police '.

    I made public http://javafx-jira.kenai.com/browse/RT-9272.

  • Problem with transmission of the data in table between a driver and a method.

    I'm having a problem with a project for school. We want to take the data in a table, we create in our driver, pass it to the method, do something for her and return the data to the driver. Well, I still get the same error message and after looking at dozens of sites, it seems that I think that I have the correct code... but I still get the same error message. Here is the error message that I've been doing.
    * ola1driver.java:35: get() in ola1method may apply to (char [] [])
    x.get (Dar);
    (upwards arrow pointing between x and get) *.

    I'd appreciate any help I'm leaving research to simply looking at my code to try to find the error. My wife things I'm going nuts at the moment.

    Here are my two files, the first is the driver and the second method

    Take a 2D array and send the data to a method, and then put it back
    import java.util.Scanner;
    class ola1driver
    {
    Public Shared Sub main (string args [])
    {
    Entrance to the parser = new Scanner (System.in);
    ola1method x = new ola1method();
    Char [] [] dar = new char [10] [100];
    char dat_input;

    Set up the loop at the entrance a table of 10 x 100 with data imported from a dat file
    for (int i = 0; i < 10; i ++)
    {
    for (int j = 0; j < 100; j ++)
    {
    dat_input = input.next () .charAt (0);
    Dar [i] [j] = dat_input;
    }
    }
    Send the array to the method and displays the original table to compare the return data
    x.Set (Dar);
    for (ip int = 0; ip < 10; ip ++)
    {
    for (int jp = 0; jp jp; < 100 ++)
    {
    System.out.printf ("%n", dar [ip] [jp]);
    }
    }

    To get the data of the method and then print the data in the table opposite
    x.get (Dar);

    for (int r = 0; r < 10; r ++)
    {
    for (int c = 0; c < 100; c ++)
    {
    System.out.printf ("%n", dar [r] [c]);
    }
    }
    }
    }

    Now the method;

    Method to receive a 2D painting, reverse the data and then put it back
    class ola1method
    {
    Char [] [] ar = new char [10] [100];
    Char [] [] rar = new char [10] [100];

    public void set (char [] [] ar)
    {
    / * To reverse the entries in the table
    to prove that real return
    data was transferred between the driver
    and the method * /
    IR int = 0;
    for (int i = 9; I have > 0; i-)
    {
    for (int j = 100; j > 0; j-)
    {
    int jr = 0;
    RAR [ir] [Jr.] is ar [i] [j];.
    Jr ++;
    }

    IR ++;
    }
    }
    Return the data to the driver
    public char [] [] get()
    {
    return of rar;
    }
    }

    Published by: Seamus on February 20, 2011 08:25

    Published by: Seamus on February 20, 2011 08:26

    Seamus wrote:
    I thought that I sent my method by using the x.set table, and then by calling the reversed with the x.get table.

    x.Set (someArray) in fact to 'send an array to the method '.

    And if x.get () is declared to return an array, then, Yes, it indeed 'retrieve a table. "

    However, these are two completely different methods. The get method doesn't know something on the table sent via the set method unless the game puts a place who knows himself. For example, something like this:

    public class X {
      private int[] arr;
    
      public void set(int[] arr) {
        this.arr = arr;
      }
    
      public int[] get() {
        reverse arr and return it
      }
    }
    
    public class Main {
      public static void main(String[] args) {
        int[] arr1 = {1, 2, 3};
        X x = new X();
        x.set(arr);
        int[] arr2 = x.get();
      }
    }
    

    However, this seems a bit unusual. It is not clear from your initial post, but looks like it is supposed to be a single method that takes the array and it reverses. If so, you could either simply invert the table and returns nothing, since the variable of the appellant and the parameter of the method will all be pointing to the same table object, or you could return a reference to the table that you have received and reversed, or you can copy the table, reverse the copy and return a reference to that.

    I don't know what your needs are, but the point is that it is more common to call a single method to do something like that, rather than separate set() and get() methods.

    Edited by: jverd February 20, 2011 09:36

    Edited by: jverd February 20, 2011 09:37

  • How can I get rid of the white space between my head and my spry navigation bar?

    I have been struggling with a problem for the last 2 days and can't seem to work my way around it. I worked on a page in dreamweaver cs4 that seems to have a space between the header and my spry menu bar ONLY in Firefox. Google Chrome and Safari display it correctly. You could point me in the right direction to get rid of this space. Here is the page: http://www.margaritascafe.com/margaritas_layout.html

    Here's my code and thank you in advance for your help:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
    < title > Untitled Document < /title >
    < link href = "margaritastyles.css" rel = "stylesheet" type = "text/css" / > "
    < script src = "Margaritas_temp_spry/SpryMenuBar.js" type = "text/javascript" > < / script > "
    < script src = "Scripts/swfobject_modified.js" type = "text/javascript" > < / script > "
    < link href = "Margaritas_temp_spry/SpryMenuBarHorizontal.css" rel = "stylesheet" type = "text/css" / > "
    < / head >

    < body >
    < div id = 'wrapper' >
    < div id = "header" >
    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width = "1000" height = "250" id = 'FlashID' tabindex = "10" title = "Header of Marguerite 2 coffee" > "
    < param name = "movie" value = "Flash_movies/Margaritas header 3.swf" / >
    < param name = "quality" value = "high" / >
    < param name = "wmode" value = "opaque" / >
    < param name = "swfversion' value ="9.0.45.0"/ >
    <!-this param tag prompts users with Flash Player 6.0 r65 or later to download the latest version of Flash Player. Delete it if you do not want users to display the prompt. ->
    < param name = "expressinstall" value = "Scripts/expressInstall.swf" / > "
    <!-next object tag is for non - IE browsers. Then he hide from IE using IECC. ->
    <!-[if! IE] >->
    < object type = "application/x-shockwave-flash" data = "Flash_movies/Margaritas header 3.swf" width = "1000" height = "250" >
    <!-<! [endif]-->
    < param name = "quality" value = "high" / >
    < param name = "wmode" value = "opaque" / >
    < param name = "swfversion' value ="9.0.45.0"/ >
    < param name = "expressinstall" value = "Scripts/expressInstall.swf" / > "
    <!-the browser displays the following alternative content for users of Flash Player 6.0 and higher. ->
    < div >
    < h4 > the content of this page requires a newer version of Adobe Flash Player. < / h4 >
    " < p > < a href =" http://www.Adobe.com/go/getflashplayer_fr "> < img src = ' http://www.Adobe.com/images/shared/download_buttons/get_flash_player.gif "alt = 'Get Adobe Flash player' width = '112' height ="33"/ > < /a > < /p > "
    < / div >
    <!-[if! IE] >->
    < / object >
    <!-<! [endif]-->
    < / object >
    < / div >
    < div id = "navigation" >
    < ul id = "MenuBar1" class = "MenuBarHorizontal" >
    < li > < a href = "#" > home < /a > < /li >
    < li > < a href = "#" class = "MenuBarItemSubmenu" > < /a > Menus
    < ul >
    < li > < a href = "#" > lunch < /a > < /li >
    < li > < a href = "#" > dinner < /a > < /li >
    < li > < a href = "#" > Cocktail < /a > < /li >
    < li > < a href = "#" > Take Out < /a > < /li >
    < /ul >
    < /li >
    < li > < a href = "#" > Photos < /a > < /li >
    < li > < a href = "#" class = "MenuBarItemSubmenu" > < /a > Catering
    < ul >
    < li > < a href = "#" > < /a > < /li > private Party
    < /ul >
    < /li >
    < li > < a href = "#" > book < /a > < /li >
    < li > < a href = "#" > Contact < /a > < /li >
    < li > < a href = "#" > feedback < /a > < /li >
    < li > < a href = "#" > Directions < /a > < /li >
    < /ul >
    < / div >
    < div id = "maincontentlayout3" > the content of id "maincontentlayout3" goes here < / div >
    < div id = "special" > < img src = "png-gif-jpg/Tuesday night features" width = "200" height = "70" alt = "Of Marguerite Tuesday Night Special" / > < img src = "png-gif-jpg/Wednesday features" width = "200" height = "70" alt = "Wednesday 2 for 1 special dinner to Margarita" / > < img src = "png-gif-jpg/Thursday features" width = "200" height = "70" alt = "ladies Thursday evening at the Café of Marguerite" / > < img src = "png-gif-jpg/Friday features" width = "200" height = "70" alt = "TGIF Happy Hour Friday at the Café Margarita"/ > < img src ="png-gif-jpg/Sunday features"width ="200"height ="70"alt ="Sunday Kids Eat Free at the Café of Marguerite!"/ > < / div >
    < div id = "footer" > < img src = "png-gif-jpg/Margaritas Facebook logo.png" alt = "Facebook" width = "40" height = "25" align = "absmiddle" / > < img src = "png-gif-jpg/Margaritas Twitter logo.png" alt = "Logo of Twitter" width = "40" height = "25" align = "absmiddle" / > < img src = "png-gif-jpg/merchantcircle_mini.png" alt = "Logo of merchant circle" width = "63" height = "25" align = "absmiddle" / > < / div >
    < / div >
    < script type = "text/javascript" >
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar ("MenuBar1", {imgDown: "Margaritas_temp_spry/SpryMenuBarDownHover.gif", imgRight:"Margaritas_temp_spry/SpryMenuBarRightHover.gif"});})

    ->
    < /script >
    < / body >
    < / html >

    CSS:

    #navigation {margin-top:-3px ;}}

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Why VIP and public IP must be in the listener.ora file

    Hi all

    I was all confused as why it must configure the listener with VIP and IP public as shown below.
    SID_LIST_LISTENER_ABCD =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /usr/local/opt/oracle/product/10.2.0)
          (PROGRAM = extproc)
        )
      )
    
    LISTENER_ABCD =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = abcd-vip)(PORT = 1521)(IP = FIRST))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10........)(PORT = 1521)(IP = FIRST))
        )
      )
    Why the public IP address is required for listener?

    -Yasser

    Published by: YasserRACDBA on May 10, 2010 13:18

    The name of the node indicates the status of the connection.

    For example:
    Node1 - vip:1521 (LISTEN)

    This means that host node1-vip open tcp port 1521 and is listening for connections to the port. The process it takes place, it is likely that the Oracle local listener.

    Example:
    Node1 - vip:1521-> node1.ttn.com:64662 (ESTABLISHED)

    This shows a connection established. Note that this does not show who is the client and server. It can be assumed (correctly in most cases) with the registered or well-known port is the server, and one with dynamic or private ports is the customer.

    So, using this approach, the client node1.ttn.com is connected to port 1521 (registered port) on the server of node1-vip. The client uses port 64662 (private port).

    The process owner is probably a dispatcher or a dedicated server process.

    As far as TCP goes, there are two basic for a TCP socket States. The socket is connected to another socket- and communication socket can be made between here and somewhere else. In other words, it is a connection established between a client and a server.

    A socket may also not be be connected to another socket. This Jack is created as an end of listening. There is to listen to the customers login requests.

Maybe you are looking for

  • marker spacing (bug?)

    I have a program that is periodically updated with different z scale intensity graph max and min values (which are used to determine the range to a table of colors).  I want the user to have the ability to specify the number of intervals of marker, b

  • Outlook express view...

    http://social.technet.Microsoft.com/forums/en-us/ieitpropriorver/thread/ce0007f8-D945-4cfa-9a7b-7c4748c2e026 They tell me that I should ask here...   Outlook express in Windows XP There is a folder, Inbox, and sub folders in1, in2, in3... under Inbox

  • on WUMC710 Mac addresses

    Hello I'm a designer by trade cisco network so have a bit of experience with networks but I have a problem with the WUMC710. IM using to connect the two halves of my house. Wireless connect perfectly well, but I have more than 4 devices so I have one

  • Copy to the new file names

    When I 'copy again,' since a WAV mp3 Adobe Audition CC, the new "copy in ' file name becomes"Untitled"instead of"name of the original file. 1 "as it did in earlier versions of Audition. It's complicated organizer of files in the folder to open the fi

  • TRIGGER BEFORE INSERT OR UPDATE OR DELETE

    I want to create a single trigger before each insert or update or delete, a record gets copied into the AUDIT table. works very well on the insertion and to day but you have problem clear.Can you please help me debug this error. The problem of mutati