Package IPSec - SHA256 digest size calculator?

Hello

I recently discovered the IPSec packet size calculator in this forum (see attachment).

It is very useful calculate overhead when using IPSec, esp. DMVPN.

Unforunately it contains no options for the following hashes:

Hmac-sha256-ESP the ESP by using HMAC-SHA256 auth transformation

The ESP by using HMAC-SHA384 auth hmac-sha384-ESP processing

The ESP by using HMAC-SHA512 auth hmac-sha512-ESP processing

Where can I get information on how great collection will be when you use 'hmac-sha256-esp' in my game of transformation?

Someone is able and willing to implement these new options in the calculator?

Thank you

This has just been released a week ago:

https://cway.Cisco.com/tools/IPSec-overhead-Calc/IPSec-overhead-Calc.html

Thank you

Wen

Tags: Cisco Security

Similar Questions

  • Time machine, the size calculation

    -What this means: calculation of the size? I'm trying to locate a document missing in my application Pages. I enter Time Machine, go back, and then select Pages, which is followed by the window with the eternal message: size calculation. I do something wrong, but I don't know what. Happy new year.

    OS X El Capitan: recovering items using Time Machine and Spotlight

  • Test on IPSEC Tunnel MTU size

    How can I test the MTU size, through an IPSEC tunnel to an ASA 5520 to an ASA 5510? I have fears that problems with my equipment are due to the insufficient MTU size.

    You can use extended ping to see the size of the package you can send through the tunnel with little DF

    game do not fragment. for ex: -.

    If you have two windows machines, one on each side of the vpn with ip add 10.2.2.10 and 10.3.3.10.

    Ping 10.2.2.10 to help: -.

    Ping 10.3.3.10

    success of the response

    Ping 10.3.3.10-l 1500 f {where-l 1500 sets the MTU to 1500 and f said do not fragment}

    package has need to be fragmented but df set

    package has need to be fragmented but df set

    Ping 10.3.3.10-l 1300 f

    the fragmentation of packets needs but df set

    Ping 10.3.3.10 l - 1270 f

    success of the response

    success of the response

    Thank you

    Manish

  • KB2467175 is repeatedly installed through Windows Update - update of security for Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package

    Original title: title of what I have just a question

    I have correctly installed a security update for Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB2467175)

    Download size: 2.6 MB

    You may have to restart your computer for this update is taken into account.

    Update type: Important

    A security issue has been identified in leading to vulnerability MFC application into DLL planting due to not specify the full path to the location/DLL MFC system.  You can protect your computer by installing this update from Microsoft.  After you install this item, you may have to restart your computer.

    More information:
    http://go.Microsoft.com/fwlink/?LinkId=209556

    Help and Support:
    http://support.Microsoft.com

    but it keeps giving me the same update again and again... How many times this update must be installed b4, I can move the following? I should be ready for servicepack2 now

    Discover this answer for the solution to this problem:

    http://answers.Microsoft.com/en-us/IE/Forum/IE9-Windows_7/i-keep-getting-a-update-to-do-KB2467175-i-have/714d90fb-9666-E011-8dfc-68b599b31bf5?page=1&TM=1303918560113#footer

  • 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.

  • Determine the size of the component during execution

    I am trying to build a component Paginagion of size fixed. The number of pages which means that the size of the paging is fixed, however depending on the content may vary. Most do not specify how much is displayed on a single page.

    The idea is to use the text as input and push as much as can be displayed on the page. Factors having an influence here is the fonts and formatting.

    To determine the page which you should see that I need to understand the amount of text that can be displayed. To do this, I need to know the size of the element that contains the text (think label). The size of the label is however only determined after that is layouted. So here's what I could do:

        @Override
        public void start(Stage primaryStage) {
            Label lbl = new Label("uitroweigudfgf jkfhgklfsjghslkghs kflgskjgh");
            System.out.println(lbl.getWidth()+","+lbl.getHeight());
            lbl.widthProperty().addListener(new ChangeListener<Number>(){
                @Override
                public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
                    System.out.println(lbl.getWidth()+","+lbl.getHeight());
                }
            });
            lbl.heightProperty().addListener(new ChangeListener<Number>(){
                @Override
                public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
                    System.out.println(lbl.getWidth()+","+lbl.getHeight());
                }
            });
            StackPane root = new StackPane();
            root.getChildren().add(lbl);
            
            Scene scene = new Scene(root, 300, 250);
            
            primaryStage.setTitle("Hello World!");
            primaryStage.setScene(scene);
            primaryStage.show();
       }
    

    After the third change, I have the dimensions of the label. With this method, I would have to push all of the text in labels to figure out what can be displayed.

    Is there a better way to do it?

    My basic problem was with the size of the labels. Try to find a solution I had a look at LabelSkinBase which uses the Utils class in the same package. This class provides methods (although private package) to calculate the size of the text that results from:

    static Text helper = new Text();
    
    static double computeTextWidth(Font font, String text, double wrappingWidth) {
      helper.setText(text);
      helper.setFont(font);
      // Note that the wrapping width needs to be set to zero before
     // getting the text's real preferred width.
      helper.setWrappingWidth(0);
      helper.setLineSpacing(0);
      double w = Math.min(helper.prefWidth(-1), wrappingWidth);
      helper.setWrappingWidth((int)Math.ceil(w));
      return Math.ceil(helper.getLayoutBounds().getWidth());
    }
    
    static double computeTextHeight(Font font, String text, double wrappingWidth) {
      return computeTextHeight(font, text, wrappingWidth, 0);
    }
    
    static double computeTextHeight(Font font, String text, double wrappingWidth, double lineSpacing) {
      helper.setText(text);
      helper.setFont(font);
      helper.setWrappingWidth((int)wrappingWidth);
      helper.setLineSpacing((int)lineSpacing);
      return helper.getLayoutBounds().getHeight();
    }
    
    static int computeTruncationIndex(Font font, String text, double width) {
      helper.setText(text);
      helper.setFont(font);
      helper.setWrappingWidth(0);
      helper.setLineSpacing(0);
      // The -2 is a fudge to make sure the result more often matches
      // what we get from using computeTextWidth instead. It's not yet
      // clear what causes the small discrepancies.
      Bounds bounds = helper.getLayoutBounds();
      Point2D endPoint = new Point2D(width - 2, bounds.getMinY() + bounds.getHeight() / 2);
      return helper.impl_hitTestChar(endPoint).getCharIndex();
    }
    

    With that, I am able to determine the amount of text can be put into the label, without the chain of ellipsis appears.

  • PS touch and able to change the size of the file

    Hello

    I would like to change the size of an image of 10 MB to 1 MB file, is this possible?

    Thanks to advancefile

    Finally, size in pixels determines the size of the file. Tap the icon of the ampersand in the upper right > Image size. (If you need a file size calculator, try Googling. There are tons of tools out there online.)

  • Problem with sha-256 digest: missing zeros!

    Hi, I'm doing a "Digest" sha-256, leave a string, it's that in the digest resulting some zeros are missing!

    Digest itself is not wrong: other characters are very well... for example, let's say I had a string like this:
    '64C6DDE3E579B6D986968D3445D23B15CAAF128402AC560005CE2075913FDCE8363739303358303038323339330025532682B1 '.
    Correct sha256 digest would be:
    '0986d134680fa055c32f86738ad67108c8028a2ea6fc31d5d64b5c8e43901f42 '.
    but I get
    '986d13468fa055c32f86738ad6718c828a2ea6fc31d5d64b5c8e43901f42 '.

    Here is my code:
    String beforeHash = aString;  //each couple of chars is a hex number so ...
    byte b[] = (new BigInteger(beforeHash,16)).toByteArray();
    String result = getHash(b);
    System.out.println(result);
    
    public String getHash(byte[] passwd) throws NoSuchAlgorithmException{
              MessageDigest msg = MessageDigest.getInstance("SHA-256");
              msg.reset();
              byte output[] = null;
              msg.update(passwd);
              output = msg.digest();
              StringBuffer hexString = new StringBuffer();
              for(int i=0;i<input.length;i++)
                   hexString.append(Integer.toHexString(0xFF & output));
              return hexString.toString();
         }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    Not a problem in Cryptography. Integer.hexString () does not preserve the leading zeros. Change to use String.format("%02X",v) or use one of the free hexagonal encoders.

  • ASA 5505. VPN Site-to-Site does not connect!

    Hello!
    Already more than a week there, as we had a new channel of communication of MGTSa (Ontario terminal Sercomm RV6688BCM, who barely made in the 'bridge' - had to do the provider in order to receive our white Cisco Ip address), and now I train as well more that one week to raise between our IKEv1 IPsec Site-to-Site VPN tunnel closes offices.
    Configurable and use the wizard in ASDM and handles in the CLI, the result of a year, the connection does not rise.
    Cisco version 9.2 (2), the image of the Cisco asa922 - k8.bin, Security Plus license version, version 7.2 AMPS (2).
    What I'll never know...
    Debugging and complete configuration enclose below.
    Help, which can follow any responses, please! I was completely exhausted!

    Config:

    Output of the command: "sh run".

    : Saved
    :
    : Serial: XXXXXXXXXXXX
    : Material: ASA5505, 512 MB RAM, 500 MHz Geode Processor
    :
    ASA Version 9.2 (2)
    !
    hostname door-71
    activate the encrypted password of F6OJ0GOws7WHxeql
    names of
    IP local pool vpnpool 10.1.72.100 - 10.1.72.120 mask 255.255.255.0
    !
    interface Ethernet0/0
    switchport access vlan 2
    !
    interface Ethernet0/1
    !
    interface Ethernet0/2
    !
    interface Ethernet0/3
    !
    interface Ethernet0/4
    !
    interface Ethernet0/5
    !
    interface Ethernet0/6
    !
    interface Ethernet0/7
    !
    interface Vlan1
    nameif inside
    security-level 100
    IP 10.1.72.254 255.255.255.0
    !
    interface Vlan2
    nameif outside_mgts
    security-level 0
    62.112.100.R1 255.255.255.252 IP address
    !
    passive FTP mode
    clock timezone 3 MSK/MSD
    clock to DST MSK/MDD recurring last Sun Mar 02:00 last Sun Oct 03:00
    DNS lookup field inside
    DNS server-group MGTS
    Server name 195.34.31.50
    permit same-security-traffic inter-interface
    permit same-security-traffic intra-interface
    network obj_any object
    subnet 0.0.0.0 0.0.0.0
    network of the NET72 object
    10.1.72.0 subnet 255.255.255.0
    network object obj - 0.0.0.0
    host 0.0.0.0
    network of the Nafanya object
    Home 10.1.72.5
    network object obj - 10.1.72.0
    10.1.72.0 subnet 255.255.255.0
    network of the NET61 object
    10.1.61.0 subnet 255.255.255.0
    network of the NETWORK_OBJ_10.1.72.96_27 object
    subnet 10.1.72.96 255.255.255.224
    network of the NETT72 object
    10.1.72.0 subnet 255.255.255.0
    network of the NET30 object
    10.1.30.0 subnet 255.255.255.0
    network of the NETWORK_OBJ_10.1.72.0_24 object
    10.1.72.0 subnet 255.255.255.0
    object-group service OG INET
    the purpose of the echo icmp message service
    response to echo icmp service object
    service-object icmp traceroute
    service-object unreachable icmp
    service-purpose tcp - udp destination eq echo
    the DM_INLINE_NETWORK_1 object-group network
    network-object NET30
    network-object, object NET72
    DM_INLINE_TCP_1 tcp service object-group
    port-object eq www
    EQ object of the https port
    inside_access_in extended access list permit ip object NET72 object-group DM_INLINE_NETWORK_1
    access extensive list ip 10.1.72.0 inside_access_in allow 255.255.255.0 any
    inside_access_in extended access list permit ip object Nafanya any idle state
    inside_access_in list extended access allowed object-group OG INET an entire
    inside_access_in of access allowed any ip an extended list
    inside_access_in list extended access deny ip any alerts on any newspaper
    outside_mgts_access_in list extended access allowed object-group OG INET an entire
    outside_mgts_access_in list extended access permit tcp any any DM_INLINE_TCP_1 object-group
    outside_mgts_access_in list extended access deny ip any alerts on any newspaper
    access extensive list ip 10.1.72.0 outside_mgts_cryptomap allow 255.255.255.0 object NET61
    VPN-ST_splitTunnelAcl permit 10.1.72.0 access list standard 255.255.255.0
    pager lines 24
    Enable logging
    asdm of logging of information
    Within 1500 MTU
    outside_mgts MTU 1500
    IP check path reverse interface outside_mgts
    no failover
    ICMP unreachable rate-limit 1 burst-size 1
    don't allow no asdm history
    ARP timeout 14400
    no permit-nonconnected arp
    NAT (inside outside_mgts) static source NET72 NET72 NETWORK_OBJ_10.1.72.96_27 NETWORK_OBJ_10.1.72.96_27 non-proxy-arp-search of route static destination
    NAT (inside outside_mgts) static source NETWORK_OBJ_10.1.72.0_24 NETWORK_OBJ_10.1.72.0_24 NET61 NET61 non-proxy-arp-search of route static destination
    !
    network obj_any object
    NAT (inside outside_mgts) dynamic obj - 0.0.0.0
    network of the NET72 object
    NAT (inside outside_mgts) interface dynamic dns
    inside_access_in access to the interface inside group
    Access-group outside_mgts_access_in in the outside_mgts interface
    Route 0.0.0.0 outside_mgts 0.0.0.0 62.112.100.R 1
    Timeout xlate 03:00
    Pat-xlate timeout 0:00:30
    Timeout conn 01:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    Sunrpc timeout 0:10:00 h323 0:05:00 h225 mgcp from 01:00 0:05:00 mgcp-pat 0:05:00
    Sip timeout 0:30:00 sip_media 0:02:00 prompt Protocol sip-0: 03:00 sip - disconnect 0:02:00
    Timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    Floating conn timeout 0:00:00
    dynamic-access-policy-registration DfltAccessPolicy
    without activating the user identity
    identity of the user by default-domain LOCAL
    AAA authentication http LOCAL console
    the ssh LOCAL console AAA authentication
    Enable http server
    http 10.1.72.0 255.255.255.0 inside
    No snmp server location
    No snmp Server contact
    Crypto ipsec transform-set ikev1 ESP-AES-128-SHA aes - esp esp-sha-hmac
    Crypto ipsec transform-set ikev1 ESP-AES-128-MD5-esp - aes esp-md5-hmac
    Crypto ipsec transform-set ikev1 ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
    Crypto ipsec transform-set ikev1 ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
    Crypto ipsec transform-set ikev1 ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
    Crypto ipsec transform-set ikev1 ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
    Crypto ipsec transform-set ikev1 ESP-AES-128-SHA-TRANS-aes - esp esp-sha-hmac
    Crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANS mode transit
    Crypto ipsec transform-set ikev1 ESP-AES-128-MD5-TRANS-aes - esp esp-md5-hmac
    Crypto ipsec ikev1 transform-set ESP-AES-128-MD5-TRANS mode transit
    Crypto ipsec transform-set ikev1 ESP-AES-192-SHA-TRANS esp-aes-192 esp-sha-hmac
    Crypto ipsec ikev1 transform-set ESP-AES-192-SHA-TRANS mode transit
    Crypto ipsec transform-set ikev1 ESP-AES-192-MD5-TRANS esp-aes-192 esp-md5-hmac
    Crypto ipsec ikev1 transform-set ESP-AES-192-MD5-TRANS mode transit
    Crypto ipsec transform-set ikev1 ESP-AES-256-SHA-TRANS esp-aes-256 esp-sha-hmac
    Crypto ipsec ikev1 transform-set ESP-AES-256-SHA-TRANS mode transit
    Crypto ipsec transform-set ikev1 ESP-AES-256-MD5-TRANS esp-aes-256 esp-md5-hmac
    Crypto ipsec ikev1 transform-set ESP-AES-256-MD5-TRANS mode transit
    Crypto ipsec transform-set ikev1 SHA-ESP-3DES esp-3des esp-sha-hmac
    Crypto ipsec transform-set ikev1 ESP-3DES-MD5-esp-3des esp-md5-hmac
    Crypto ipsec transform-set ikev1 ESP-3DES-SHA-TRANS esp-3des esp-sha-hmac
    Crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANS mode transit
    Crypto ipsec transform-set ikev1 ESP-3DES-MD5-TRANS esp-3des esp-md5-hmac
    Crypto ipsec ikev1 transform-set ESP-3DES-MD5-TRANS mode transit
    Crypto ipsec transform-set ikev1 ESP-DES-SHA esp - esp-sha-hmac
    Crypto ipsec transform-set ikev1 esp ESP-DES-MD5-esp-md5-hmac
    Crypto ipsec transform-set ikev1 ESP-DES-SHA-TRANS esp - esp-sha-hmac
    Crypto ipsec ikev1 transform-set ESP-DES-SHA-TRANS mode transit
    Crypto ipsec transform-set ikev1 ESP-DES-MD5-TRANS esp - esp-md5-hmac
    Crypto ipsec ikev1 transform-set ESP-DES-MD5-TRANS mode transit
    Crypto ipsec ikev2 AES256 ipsec-proposal
    Protocol esp encryption aes-256
    Esp integrity sha - 1, md5 Protocol
    Crypto ipsec ikev2 ipsec-proposal AES192
    Protocol esp encryption aes-192
    Esp integrity sha - 1, md5 Protocol
    Crypto ipsec ikev2 ipsec-proposal AES
    Esp aes encryption protocol
    Esp integrity sha - 1, md5 Protocol
    Crypto ipsec ikev2 proposal ipsec 3DES
    Esp 3des encryption protocol
    Esp integrity sha - 1, md5 Protocol
    Crypto ipsec ikev2 ipsec-proposal OF
    encryption protocol esp
    Esp integrity sha - 1, md5 Protocol
    Crypto ipsec pmtu aging infinite - the security association
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 pfs Group1 set
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 define ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA MD5-ESP-3DES ESP-DES-SHA ESP-DES-MD5
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 define ikev2 AES256 AES192 AES 3DES ipsec-proposal OF
    card crypto outside_mgts_map 1 match address outside_mgts_cryptomap
    card crypto outside_mgts_map 1 set pfs Group1
    peer set card crypto outside_mgts_map 1 91.188.180.42
    card crypto outside_mgts_map 1 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA MD5-ESP-3DES ESP-DES-SHA ESP-DES-MD5
    outside_mgts_map card crypto 65535-isakmp dynamic ipsec SYSTEM_DEFAULT_CRYPTO_MAP
    card crypto outside_mgts_map interface outside_mgts
    inside_map card crypto 65535-isakmp dynamic ipsec SYSTEM_DEFAULT_CRYPTO_MAP
    inside crypto map inside_map interface
    Crypto ca trustpoint ASDM_TrustPoint0
    registration auto
    E-mail [email protected] / * /
    name of the object CN = door-71
    Serial number
    IP address 62.112.100.42
    Proxy-loc-transmitter
    Configure CRL
    Crypto ca trustpoint ASDM_TrustPoint1
    registration auto
    ASDM_TrustPoint1 key pair
    Configure CRL
    trustpool crypto ca policy
    string encryption ca ASDM_TrustPoint0 certificates
    certificate eff26954
    30820395 3082027d a0030201 020204ef f2695430 0d06092a 864886f7 0d 010105
    019
    6460ae26 ec5f301d 0603551d 0e041604 14c9a3f2 d70e6789 38fa4b01 465d 1964
    60ae26ec 5f300d06 092 has 8648 01050500 03820101 00448753 7baa5c77 86f70d01
    62857b 65 d05dc91e 3edfabc6 7b3771af bbedee14 673ec67d 3d0c2de4 b7a7ac05
    5f203a8c 98ab52cf 076401e5 1a2c6cb9 3f7afcba 52c617a5 644ece10 d6e1fd7d
    28b57d8c aaf49023 2037527e 9fcfa218 9883191f 60b221bf a561f2be d6882091
    0222b7a3 3880d6ac 49328d1f 2e085b15 6d1c1141 5f850e5c b6cb3e67 0e373591
    94a 82781 44493217 and 38097952 d 003 5552 5c445f1f 92f04039 a23fba20 b9d51b13
    f511f311 d1feb2bb 6d056a15 7e63cc1b 1f134677 8124c 024 3af56b97 51af8253
    486844bc b1954abe 8acd7108 5e4212df db835d76 98ffdb2b 8c8ab915 193b 8167
    0db3dd54 c8346b96 c4f4eff7 1e7cd576 a8b1f86e 3b868a6e 89
    quit smoking
    string encryption ca ASDM_TrustPoint1 certificates
    certificate a39a2b54
    3082025f 30820377 a0030201 020204 has 3 9a2b5430 0d06092a 864886f7 0d 010105
    0500304 06035504 03130767 36313137 30120603 55040513 6174652d 3110300e b
       
    c084dcd9 d250e194 abcb3eb8 1da93bd0 fb0dba1a b1c35b43 d547a841 5d4ee1a4
    14bdb207 7dd790a4 0cd 70471 5f3a896a 07bd56dc ea01b3dd 254cde88 e1490e97
    f3e54c05 551adde0 66aa3782 c85880c2 b162ec29 4e49346a df71062d 6d6d8f49
    62b9de93 ba07b4f7 a50e77e1 8f54b32b 6627cb27 e982b36f a 362973, 0 88de3272
    9bd6d4d2 8ca1e11f 214f20a9 78bdea95 78fdc45c d6d45674 6acb9bcb d0bd930e
    638eedfe cd559ab1 e1205c48 3ee9616f e631db55 e82b623c 434ffdc1 11020301
    0001 has 363 3061300f 0603551d 130101ff 0101ff30 04053003 0e060355 1d0f0101
    ff040403 1f060355 02018630 230418 30168014 0cea70bf 0d0e0c4b eb34a0b1 1 d
    8242 has 549 0603 551d0e04 1604140c ea70bf0d 0e0c4beb 34a0b182 301D 5183ccf9
    42a 54951 010105 05000382 0101004e 7bfe054a 0d 864886f7 0d06092a 83ccf930
    d434a27c 1d3dce15 529bdc5f 70a2dff1 98975de9 2a97333b 96077966 05a8e9ef
    bf320cbd ecec3819 ade20a86 9aeb5bde bd129c7b 29341e4b edf91473 f2bf235d
    9aaeae21 a629ccc6 3c79200b b9a89b08 bf38afb6 ea56b957 4430f692 a 4745, 411
    34d71fad 588e4e18 2b2d97af b2aae6b9 b6a22350 d031615b 49ea9b9f 2fdd82e6
    ebd4dccd df93c17e deceb796 f268abf1 881409b 5 89183841 f484f0e7 bd5f7b69
    ebf7481c faf69d3e 9d24df6e 9c2b0791 785019f7 a0d20e95 2ef35799 66ffc819
    4a77cdf2 c6fb4380 fe94c13c d4261655 7bf3d6ba 6289dc8b f9aad4e1 bd918fb7
    32916fe1 477666ab c2a3d591 a84dd435 51711f6e 93e2bd84 89884c
    quit smoking
    crypto isakmp identity address
    IKEv2 crypto policy 1
    aes-256 encryption
    integrity sha
    Group 2 of 5
    FRP sha
    second life 86400
    IKEv2 crypto policy 10
    aes-192 encryption
    integrity sha
    Group 2 of 5
    FRP sha
    second life 86400
    IKEv2 crypto policy 20
    aes encryption
    integrity sha
    Group 2 of 5
    FRP sha
    second life 86400
    IKEv2 crypto policy 30
    3des encryption
    integrity sha
    Group 2 of 5
    FRP sha
    second life 86400
    IKEv2 crypto policy 40
    the Encryption
    integrity sha
    Group 2 of 5
    FRP sha
    second life 86400
    Crypto ikev2 activate outside_mgts port 443 customer service
    Crypto ikev2 access remote trustpoint ASDM_TrustPoint0
    Crypto ikev1 allow inside
    Crypto ikev1 enable outside_mgts
    IKEv1 crypto policy 10
    authentication crack
    aes-256 encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 20
    authentication rsa - sig
    aes-256 encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 30
    preshared authentication
    aes-256 encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 40
    authentication crack
    aes-192 encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 50
    authentication rsa - sig
    aes-192 encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 60
    preshared authentication
    aes-192 encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 70
    authentication crack
    aes encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 80
    authentication rsa - sig
    aes encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 90
    preshared authentication
    aes encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 100
    authentication crack
    3des encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 110
    authentication rsa - sig
    3des encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 120
    preshared authentication
    3des encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 130
    authentication crack
    the Encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 140
    authentication rsa - sig
    the Encryption
    sha hash
    Group 2
    life 86400
    IKEv1 crypto policy 150
    preshared authentication
    the Encryption
    sha hash
    Group 2
    life 86400
    Telnet timeout 5
    without ssh stricthostkeycheck
    SSH 10.1.72.0 255.255.255.0 inside
    SSH timeout 60
    SSH group dh-Group1-sha1 key exchange
    Console timeout 0
    vpnclient Server 91.188.180.X
    vpnclient mode network-extension-mode
    vpnclient nem-st-autoconnect
    VPN - L2L vpnclient vpngroup password *.
    vpnclient username aradetskayaL password *.
    dhcpd auto_config outside_mgts
    !
    dhcpd update dns replace all two interface inside
    !
    a basic threat threat detection
    Statistics-list of access threat detection
    no statistical threat detection tcp-interception
    SSL-trust ASDM_TrustPoint0 inside point
    SSL-trust ASDM_TrustPoint0 outside_mgts point
    WebVPN
    Select outside_mgts
    internal GroupPolicy_91.188.180.X group strategy
    attributes of Group Policy GroupPolicy_91.188.180.X
    Ikev1 VPN-tunnel-Protocol
    internal group VPN - ST strategy
    attributes of group VPN - ST policy
    value of 195.34.31.50 DNS Server 8.8.8.8
    Ikev1 VPN-tunnel-Protocol
    Split-tunnel-policy tunnelspecified
    Split-tunnel-network-list value VPN-ST_splitTunnelAcl
    by default no
    aradetskayaL encrypted HR3qeva85hzXT6KK privilege 15 password username
    tunnel-group 91.188.180.X type ipsec-l2l
    attributes global-tunnel-group 91.188.180.X
    Group - default policy - GroupPolicy_91.188.180.42
    IPSec-attributes tunnel-group 91.188.180.X
    IKEv1 pre-shared-key *.
    remote control-IKEv2 pre-shared-key authentication *.
    remotely IKEv2 authentication certificate
    pre-shared-key authentication local IKEv2 *.
    remote access to tunnel-group VPN - ST type
    VPN-general ST-attributes tunnel-group
    address vpnpool pool
    Group Policy - by default-VPN-ST
    tunnel-group ipsec VPN ST-attributes
    IKEv1 pre-shared-key *.
    !
    class-map inspection_default
    match default-inspection-traffic
    !
    !
    type of policy-card inspect dns preset_dns_map
    parameters
    maximum message length automatic of customer
    message-length maximum 512
    Policy-map global_policy
    class inspection_default
    inspect the preset_dns_map dns
    inspect the ftp
    inspect h323 h225
    inspect the h323 ras
    inspect the rsh
    inspect the rtsp
    inspect sqlnet
    inspect the skinny
    inspect sunrpc
    inspect xdmcp
    inspect the sip
    inspect the netbios
    inspect the tftp
    Review the ip options
    inspect the icmp
    inspect the icmp error
    !
    global service-policy global_policy
    context of prompt hostname
    no remote anonymous reporting call
    Cryptochecksum:212e4f5035793d1c219fed57751983d8
    : end

    door-71 # sh crypto ikev1 his

    There are no SAs IKEv1

    door-71 # sh crypto ikev2 his

    There are no SAs IKEv2

    door-71 # sh crypto ipsec his


    There is no ipsec security associations
    door-71 # sh crypto isakmp

    There are no SAs IKEv1

    There are no SAs IKEv2

    Global statistics IKEv1
    The active Tunnels: 0
    Previous Tunnels: 0
    In bytes: 0
    In the packages: 0
    In packs of fall: 0
    In Notifys: 0
    In the constituencies of P2: 0
    In P2 invalid Exchange: 0
    In P2 Exchange rejects: 0
    Requests for removal in his P2: 0
    Bytes: 0
    Package: 0
    Fall packages: 0
    NOTIFYs out: 0


    Exchanges of P2: 0
    The Invalides Exchange P2: 0
    Exchange of P2 rejects: 0
    Requests to remove on P2 Sa: 0
    Tunnels of the initiator: 0
    Initiator fails: 0
    Answering machine fails: 0
    Ability system breaks down: 0
    AUTH failed: 0
    Decrypt failed: 0
    Valid hash fails: 0
    No failure his: 0

    IKEV1 statistics for Admission appeals
    In negotiating SAs Max: 25
    In negotiating SAs: 0
    In negotiating SAs Highwater: 0
    In negotiating SAs rejected: 0

    Global statistics IKEv2
    The active Tunnels: 0
    Previous Tunnels: 0
    In bytes: 0
    In the packages: 0
    In packs of fall: 0
    In Fragments of fall: 0
    In Notifys: 0
    In Exchange for the P2: 0
    In P2 invalid Exchange: 0
    In P2 Exchange rejects: 0
    In IPSEC delete: 0
    In delete IKE: 0
    Bytes: 0
    Package: 0
    Fall packages: 0
    Fragments of fall: 0
    NOTIFYs out: 0
    Exchange of P2: 0
    The Invalides Exchange P2: 0
    Exchange of P2 rejects: 0
    On IPSEC delete: 0
    The IKE Delete: 0
    Locally launched sAs: 0
    Locally launched sAs failed: 0
    SAs remotely initiated: 0
    SAs remotely initiated failed: 0
    System capacity: 0
    Authentication failures: 0
    Decrypt failures: 0
    Hash failures: 0
    Invalid SPI: 0
    In the Configs: 0
    Configs: 0
    In the Configs rejects: 0
    Configs rejects: 0
    Previous Tunnels: 0
    Previous Tunnels wraps: 0
    In the DPD Messages: 0
    The DPD Messages: 0
    The NAT KeepAlive: 0
    IKE recomposition launched locally: 0
    IKE returned to the remote initiated key: 0
    Generate a new key CHILD initiated locally: 0
    CHILD given to the remote initiated key: 0

    IKEV2 statistics for Admission appeals
    Max active SAs: no limit
    Max in negotiating SAs: 50
    Challenge cookie line: never
    Active sAs: 0
    In negotiating SAs: 0
    Incoming requests: 0
    Accepted incoming requests: 0
    A rejected incoming requests: 0
    Out of requests: 0
    Out of the applications accepted: 0
    The outgoing rejected requests: 0
    A rejected queries: 0
    Rejected at the SA: 0 Max limit
    Rejected low resources: 0
    Rejected the current reboot: 0
    Challenges of cookie: 0
    Cookies transmitted challenges: 0
    Challenges of cookie failed: 0

    IKEv1 global IPSec over TCP statistics
    --------------------------------
    Embryonic connections: 0
    Active connections: 0
    Previous connections: 0
    Incoming packets: 0
    Inbound packets ignored: 0
    Outgoing packets: 0
    Outbound packets ignored: 0
    The RST packets: 0
    Heartbeat Recevied ACK packets: 0
    Bad headers: 0
    Bad trailers: 0
    Chess timer: 0
    Checksum errors: 0
    Internal error: 0

     
    door-71 # sh statistical protocol all cryptographic
    [Statistics IKEv1]
    Encrypt packets of requests: 0
    Encapsulate packets of requests: 0
    Decrypt packets of requests: 0
    Decapsulating requests for package: 0
    HMAC calculation queries: 0
    ITS creation queries: 0
    SA asked to generate a new key: 0
    Deletion requests: 0
    Next phase of allocation key applications: 0
    Number of random generation queries: 0
    Failed requests: 0
    [Statistics IKEv2]
    Encrypt packets of requests: 0
    Encapsulate packets of requests: 0
    Decrypt packets of requests: 0
    Decapsulating requests for package: 0
    HMAC calculation queries: 0
    ITS creation queries: 0
    SA asked to generate a new key: 0
    Deletion requests: 0
    Next phase of allocation key applications: 0
    Number of random generation queries: 0
    Failed requests: 0
    [IPsec statistics]
    Encrypt packets of requests: 0
    Encapsulate packets of requests: 0
    Decrypt packets of requests: 0
    Decapsulating requests for package: 0
    HMAC calculation queries: 0

    ITS creation queries: 0
    SA asked to generate a new key: 0
    Deletion requests: 0
    Next phase of allocation key applications: 0
    Number of random generation queries: 0
    Failed requests: 0
    [SSL statistics]
    Encrypt packets of queries: 19331
    Encapsulate packets of queries: 19331
    Decrypt packets of queries: 437
    Package requests decapsulating: 437
    HMAC calculation queries: 19768
    ITS creation queries: 178
    SA asked to generate a new key: 0
    Requests to remove SA: 176
    Next phase of allocation key applications: 0
    Number of random generation queries: 0
    Failed requests: 0
    [Statistical SSH are not taken in charge]
    [Statistics SRTP]
    Encrypt packets of requests: 0
    Encapsulate packets of requests: 0
    Decrypt packets of requests: 0
    Decapsulating requests for package: 0
    HMAC calculation queries: 0
    ITS creation queries: 0
    SA asked to generate a new key: 0
    Deletion requests: 0
    Next phase of allocation key applications: 0
    Number of random generation queries: 0
    Failed requests: 0
    [Statistics]
    Encrypt packets of requests: 0
    Encapsulate packets of requests: 0
    Decrypt packets of requests: 0
    Decapsulating requests for package: 0
    HMAC calculation queries: 6238
    ITS creation queries: 0
    SA asked to generate a new key: 0
    Deletion requests: 0
    Next phase of allocation key applications: 0
    Number of queries random generation: 76
    Failure of queries: 9

    door-71 # sh crypto ca trustpoints

    Trustpoint ASDM_TrustPoint0:
    Configured for the production of a self-signed certificate.

    Trustpoint ASDM_TrustPoint1:
    Configured for the production of a self-signed certificate.

    If you need something more, then spread!
    Please explain why it is that I don't want to work?

    Hello

    When the IPSEC tunnel does not come to the top, the first thing comes to my mind is to run a tracer of package from the CLI and the phases in it. Please run this command from your firewall side and share the output. I've just compiled this command with the random ip address and ports of your given range.

    Packet-trace entry inside tcp 10.1.72.2 1233 10.1.61.2 443 detailed

    Best regards

    Amandine

  • BT not detected after update BIOS and windows 8.1 &amp; wifi adapter with envy J000 Touch series (J001tx)

    Hi, I have an Envy Touchsmart J001 TX laptop.  I've upgraded to 8.1 Windows a few days back and my pc was working fine. Yesterday, my WIFI and Bluetooth stopped being detected.

    I checked Device Manager and it does not show the adapters. My system has BT Ralink and Realtek wifi b/g/n.

    Restart the system, WiFI present themselves and worked normally, but on next reboot disappeared again.

    The physical plane mode button is orange and pressing or off change in the status of shows like airplane on or off but the notification area icon mode shows no change.

    The network and sharing Center shows not router WIFI in the settings of the card and even the menu of configuration of Windows 8 don't tell no detected wirelessadapter.

    I've updated my drivers and even my BIOS. Earlier I got the version of BIOS INSYDE F.24 and current installed BIOS is INSYDE F.53. Here is the log file in the folder SWsetup containing the unzipped BIOS file. I think that the BIOS is not installed correctly. Please analyze the log file and do not tell if you see something wrong.

    Has anyone else had a similar problem with the update of the BIOS, or with WIFI after Win 8.1 update?

    -Log started: 2014/04/16 19:50:11
    Initializing...
    Log file: c:\SWSetup\SP65654\InsydeFlash.Log
    Settings file: c:\SWSetup\SP65654\platform.ini (found)
    Executable: c:\SWSetup\SP65654\InsydeFlash.exe
    Version: 4.5.6.1 build: InsydeFlash
    Date: Mon 21 Oct 13:11:30 2013

    Resource file: c:\SWSetup\SP65654\iscflash.dll (load)
    Application name: InsydesFlash
    Information of the operating system: Microsoft Windows 8 - supported
    M - FD: 0 0 0 2 does not match FFFFFFFF & 1963103 C! = 1962103 C
    M FD: Match!
    M - FD: FD name 01966.fd
    IHISI Version: 204
    M - FD: 0 0 0 2 does not match FFFFFFFF & 1963103 C! = 1962103 C
    M FD: Match!
    M - FD: FD name 01966.fd
    sH19Infor.dwBootBlockInfo: 10 d
    Check of sign of starting block: 1
    The status of function block start: 4
    Lock status of the EC: 8
    Sign checks number of items: 0
    BBL level: 2
    M - FD has achieved:
    01966.FD
    Offset: 7380688
    Allow Version: 000, Dex: 0
    Current version: F.24, Dex: 3876
    Current BIOS version is greater than the version installed in the Ini.
    SearchVolumeFileAndCreateDirectory
    SearchVolumeFileAndCreateDirectory
    SearchVolumeFileAndCreateDirectory
    SearchVolumeFileAndCreateDirectory
    SearchVolumeFileAndCreateDirectory
    SearchVolumeFileAndCreateDirectory
    SearchVolumeFileAndCreateDirectory
    M - FD has achieved:
    01966.FD
    Allow Version: 000, Dex: 0
    Current version: F.24, Dex: 3876
    Current BIOS version is greater than the version installed in the Ini.
    Partition: 1 WMI 0x0D: 1
    Check the package: 1
    Sign of the BIOS: 1
    BIOS size: 0 x 00800000, SHA1 sign size: 0x00000000, SHA256 sign size: 0x00000100
    Sign of the file: 1
    Open file c:\SWSetup\SP65654\01966.fd
    No sign of present
    Reading 8388608 bytes of the file starting with 0...
    The BIOS image size: 8388608 (0 x 00800000)
    sH19Infor.dwBootBlockInfo: 10 d
    Check of sign of starting block: 1
    The status of function block start: 4
    Lock status of the EC: 8
    Sign checks number of items: 0
    BBL level: 2
    Current BID: 0008EFA0, new BID: 0008EFA0 size of BIOS: 00800000
    non_shareEC Ec starting address: 00000000, end of Ec address: 00000000, current size: 00010000, new size: 00010000

    Preparation stage

    Error code: 3010 (0x00000BC2)
    Cleanup phase
    Step completed
    -Newspaper arrested: 2014/04/16 19:50:55

    -Log started: 2014/04/17 22:05:35
    Initializing...
    Log file: C:\SWSetup\SP65654\InsydeFlash.Log
    Settings file: C:\SWSetup\SP65654\platform.ini (found)
    Executable: C:\SWSetup\SP65654\InsydeFlash.exe
    Version: 4.5.6.1 build: InsydeFlash
    Date: Mon 21 Oct 13:11:30 2013

    Resource file: C:\SWSetup\SP65654\iscflash.dll (load)
    Application name: InsydesFlash
    Information of the operating system: Microsoft Windows 8 - supported
    M - FD: 0 0 0 2 does not match FFFFFFFF & 1963103 C! = 1962103 C
    M FD: Match!
    M - FD: FD name 01966.fd
    IHISI Version: 204
    M - FD: 0 0 0 2 does not match FFFFFFFF & 1963103 C! = 1962103 C
    M FD: Match!
    M - FD: FD name 01966.fd
    sH19Infor.dwBootBlockInfo: 10 d
    Check of sign of starting block: 1
    The status of function block start: 4
    Lock status of the EC: 8
    Sign checks number of items: 0
    BBL level: 2
    M - FD has achieved:
    01966.FD
    Offset: 7380688
    Allow Version: 000, Dex: 0
    Current version: F.53, Dex: 3923
    Current BIOS version is greater than the version installed in the Ini.
    SearchVolumeFileAndCreateDirectory
    SearchVolumeFileAndCreateDirectory
    SearchVolumeFileAndCreateDirectory
    SearchVolumeFileAndCreateDirectory
    M - FD has achieved:
    01966.FD
    Allow Version: 000, Dex: 0
    Current version: F.53, Dex: 3923
    Current BIOS version is greater than the version installed in the Ini.
    Partition: 1 WMI 0x0D: 1
    Check the package: 1
    Sign of the BIOS: 1
    BIOS size: 0 x 00800000, SHA1 sign size: 0x00000000, SHA256 sign size: 0x00000100
    Sign of the file: 1
    Open the file C:\SWSetup\SP65654\01966.fd
    No sign of present
    Reading 8388608 bytes of the file starting with 0...
    The BIOS image size: 8388608 (0 x 00800000)
    sH19Infor.dwBootBlockInfo: 10 d
    Check of sign of starting block: 1
    The status of function block start: 4
    Lock status of the EC: 8
    Sign checks number of items: 0
    BBL level: 2
    Current BID: 0008EFA0, new BID: 0008EFA0 size of BIOS: 00800000
    non_shareEC Ec starting address: 00000000, end of Ec address: 00000000, current size: 00010000, new size: 00010000

    Preparation stage

    Error code: 3010 (0x00000BC2)
    Cleanup phase
    Step completed
    -Newspaper arrested: 2014/04/17 22:06:11

    Problem solved with the permission of edsilha response: http://h30434.www3.hp.com/t5/Wireless-Internet-Home-Networking/Wireless-button-stays-orange-Will-not-turn-on/m-p/914285

    HP technical support comes to walk me through the resolution of this problem.

    1. remove the battery and unplug the power supply

    2. press and hold the power on button for 30 seconds

    3. allow battery but to plug the power unit in

    4. Press power button, then press the f10 key immediately (a number of times)

    5. the bios Setup menu appears

    6. select Reset default values

    7. Select Save and exit

    System boots and the wifi key changes from orange to blue

  • ScrollPane incorrect ContentSize

    So I think ScrollPane content size calculation algorithm is seriously tapped.

    I have create a container, add it to the ScrollPane, set its size and then update the ScrollPane component to take account of the given size of the container. However it works "correctly" If the property debugColor is set... If I don't set it, ScrollPane lack about 500 + pixels of the container.

    Example (with set of debugColor):

    And without:

    Can someone help me with this? or is this a bug?

    Hey decibell,.

    the pictures don't show up to approval, but I think it might have something to do with the amount of space that your content is actually meet with the container. a work around all kinds is to set the background of the container so that it occupies the entire room and the entire tank is scrollable regardless of its content. and to avoid any color background is displayed, you can set the transparency of the fill to 0. Here's a code example to show you how it works:

    ContainerTest.as:

    package{   import flash.display.Shape;   import flash.display.Sprite;
    
      import qnx.ui.core.Container; import qnx.ui.core.ContainerAlign;    import qnx.ui.core.ContainerFlow; import qnx.ui.core.Containment;   import qnx.ui.listClasses.ScrollDirection;    import qnx.ui.listClasses.ScrollPane; import qnx.ui.text.Label;
    
      [SWF(width="1024", height="600", backgroundColor="#CCCCCC", frameRate="30")]  public class ContainerTest extends Sprite {         private var mainContainer:Container;      private var titleLabel:Label;     private var scroller:ScrollPane;
    
          public function ContainerTest()       {         super();
    
              scroller = new ScrollPane();          scroller.setSize(300,200);            scroller.scrollDirection = ScrollDirection.VERTICAL;
    
              mainContainer = new Container();          mainContainer.margins = Vector.([20,20,20,20]);         mainContainer.flow = ContainerFlow.VERTICAL;          mainContainer.align = ContainerAlign.FAR;
    
              titleLabel = new Label();         titleLabel.text = "Sample Text";
    
              titleLabel.setSize(200, 52);
    
              mainContainer.addChild(titleLabel);
    
             mainContainer.setSize(300, 500);
    
              mainContainer.graphics.clear();           mainContainer.graphics.beginFill(0x000000, 0);            mainContainer.graphics.drawRect(0,0,mainContainer.width,mainContainer.height);            mainContainer.graphics.endFill();                      scroller.setScrollContent(mainContainer);
    
              addChild(scroller);
    
          } }}
    

    hope that helps. Good luck!

  • setLineWrap (true) versus firePropertyChange ("lineWrap", false, true);

    I'm trying to figure out what to do about my packing against the problem of the column line. I want my text boxes to wrap properly but also have their width of the appropriate column if they have less than 14 characters. Because of the problem of the column, I looked in the JDK source code and found that JTextArea.setLineWrap (true) is supposed to pull the equivalent code JTextArea.firePropertyChange ("lineWrap", false, true). So I put in place that, but when I do this, my lines won't wrap. I don't know if it is a bug in Java (in this case, is there another solution I could use?) or if I do something wrong (in this case, how to fix it?).

    Thanks again.
    package sscce2;
    
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.FlowLayout;
    import java.awt.Font;
    import java.awt.GridLayout;
    import java.awt.LayoutManager;
    
    import javax.swing.BorderFactory;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextArea;
    import javax.swing.WindowConstants;
    
    public class SSCCE
    {
         int           choice     = 0;
         JPanel       mainPanel     = null, secondPanel = null, mainSubPanel[] = null,
             secondSubPanel[] = null;
         JTextArea     ta[]     = null;
         
         public SSCCE()
         {
              final JFrame f = new JFrame();
              ta = new JTextArea[5];
              mainSubPanel = new JPanel[12];
              ta[0] = cTA("13 cols 1 row", true);
              ta[1] = cTA("13 cols 1 row", false);
              ta[2] = cTA("I want 12 columns, 3 rows in this one", true);
              ta[3] = cTA("I want 12 columns, 3 rows in this one", false);
              ta[4] = cTA("I want 12\r\ncolumns, 3 \r\nrows in this\r\none", false);
              ta[4].setColumns(12);
              ta[4].setRows(3);
              mainSubPanel[0] = createPanel(new JLabel());
              mainSubPanel[1] = createPanel(new JLabel("setLineWrap()"));
              mainSubPanel[2] = createPanel(new JLabel("nothing"));
              mainSubPanel[3] = createPanel(new JLabel("wrap"));
              mainSubPanel[4] = createPanel(ta[0]);
              mainSubPanel[5] = createPanel(ta[1]);
              mainSubPanel[6] = createPanel(new JLabel("non-wrap"));
              mainSubPanel[7] = createPanel(ta[2]);
              mainSubPanel[8] = createPanel(ta[3]);
              mainSubPanel[9] =
                  createPanel(
                      new JLabel(
                          "<html>This is what I want when<br/>the user enters data. ==&gt;</html>"),
                      FlowLayout.LEFT);
              mainSubPanel[10] = createPanel(ta[4], FlowLayout.LEFT);
              mainSubPanel[11] = createPanel(new JLabel(""));
              setBottomBorders(mainSubPanel[6], mainSubPanel[7], mainSubPanel[8]);
              mainPanel = createPanel(new GridLayout(4, 3), mainSubPanel);
              f.setSize(485, 338);
              f.setTitle("SSCCE");
              f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
              f.setLocationRelativeTo(null);
              f.add(mainPanel, BorderLayout.CENTER);
              f.setVisible(true);
         }
         
         public static void main(final String[] args)
         {
              new SSCCE();
         }
         
         public final JPanel createPanel(final JComponent... component)
         {
              final JPanel p = new JPanel();
              for (final JComponent element : component)
              {
                   p.add(element);
              }
              p.setBackground(Color.WHITE);
              return p;
         }
         
         public final JPanel
             createPanel(final JComponent component, final int align)
         {
              final JPanel p = new JPanel();
              p.add(component, align);
              p.setBackground(Color.WHITE);
              return p;
         }
         
         public final JPanel createPanel(final LayoutManager layout,
             final JComponent... component)
         {
              final JPanel p = createPanel(component);
              p.setLayout(layout);
              return p;
         }
         
         public final JTextArea cTA(final String text, final boolean lineWrap)
         {
              final JTextArea t = new JTextArea(text, 1, Math.min(text.length(), 12));
              t.setFont(new Font("Courier New", Font.BOLD, 12));
              t.setBorder(BorderFactory.createLineBorder(Color.BLACK));
              if (lineWrap)
              {
                   t.setLineWrap(true);
              }
              t.setWrapStyleWord(true);
              return t;
         }
         
         public final void setBottomBorders(final JPanel... panels)
         {
              for (final JPanel element : panels)
              {
                   element.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0,
                       Color.BLACK));
              }
         }
    }
    Published by: ElectrifiedBrain on March 24, 2011 17:05

    Edit: I changed this to have a new NBS that shows exactly what I compared to what is happening with setLineWrap() or nothing.

    Can't sleep, so barbatruc!

    import java.awt.*;
    import javax.swing.*;
    
    public class TestTextArea {
    
        public static void main(final String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    FlowLayout layout = new FlowLayout();
                    layout.setAlignOnBaseline(true);
                    JPanel panel = new JPanel(layout);
                    panel.add(createTextArea("1234"));
                    panel.add(createTextArea("123456789012345678901"));
                    panel.add(createTextArea("text"));
                    panel.add(createTextArea("text that should wrap"));
    
                    JFrame f = new JFrame("Barbatruc!");
                    f.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
                    f.getContentPane().add(panel);
                    f.pack();
                    f.setLocationRelativeTo(null);
                    f.setVisible(true);
                }
            });
        }
    
        public static JTextArea createTextArea(String text) {
            JTextArea t = new JTextArea(text, 1, Math.min(text.length(), 12));
            t.setFont(new Font(Font.MONOSPACED, Font.BOLD, 12));
            t.setLineWrap(true);
            t.setWrapStyleWord(true);
            // the preferred size calculation will use the current width/height
            // and we want to have it grow in height not width
            // might also work by setting the text after showing the text area
            // instead of this
            t.setSize(0, Short.MAX_VALUE);
            return t;
        }
    }
    

    Don't ask me why he has that Colocation of 11 characters with 12 columns with monoscaped font, but looks like to do the packaging (try the spaces to positions on 11/12/13.)

  • How can I get my page back to my hp photosmart printers HP Printer Wizard 5510?

    How can I return my page Wizard HP printer for all-in-one printer, HP Photosmart 5510?  I used to have, but now all I get is a page that has only three choices: see what's printing, set the preferences and customize your printer.  I need the Printer Wizard page that has one of the following options: ePrint Setup, customize your printer, see what's printing, maintain your printer, set preferences, scan a Document or picture, manage scan to printer and printer Home Page.  Can you get it someone please let me know how I can return the Printer Wizard page?  Thank you, in advance!

    Connie7007

    Hi Connie,

    The simplest solution would be to reinstall the software of full functionality for the printer.

    The last phase of installation should fix your printer wizard.

    General instructions to install the printer software

    • Open downloads & drivers HP
    • Enter your printer model information
    • Select your printer in the list of the 'results '.

    OR

    • Enter your operating system from the menu drop-down
    • Click NEXT and scroll down
    • Find the category driver - software product installation
    • Select the base driver, e-print, or a full features software
    • Save the *.exe installation package (s) on your computer

    The files will probably save in the "folder"downloads. "

    Next:

    • If it is available, you can download print and scan doctor and / or other programs of the category-utilities

    TIP:

    Install the utilities / tools first. bit installation packages are smaller in size

    • If you have control of "Admin", you can highlight the package and "double-click" to install it, otherwise just right-click, select run as administrator and install.

    NOTES:

    ·         On the bottom half of the main Web page for your printer, you can find some helpful videos to help with the installation of the printer software!

    ·         Scroll down the list of videos back until you find the video that best fits your situation.

    • If you use a USB connection: download and install the driver software before connecting a USB cable.
    • Ethernet: If the printer supports Ethernet, you can connect the printer to the network (and assign the printer an IP address for the router, if you wish).  Once the printer is connected to the network, make sure that the printer is turned on, and then install the printer software.
    • Once the initial installation is complete and functional, don't forget to check and install the relevant updates - check the category - updated

    There is valuable information about the Web site, including manuals, pages, solving problems, and SOLUTIONS to problems, How-to's and alerts for your printer.  Be sure to take a comprehensive look at what's available.  To bookmark the page.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Click on the thumbs-up Bravo !

    It's a nice way of saying 'Thank you' for help.

    While I strive to reflect best practices of HP, I do not work for HP.

  • Time Machine is unable to locate my missing document

    TIme Machine opens ok, I select Pages, TM back in time, I don't want to restore at this point, I click on Pages and a window says it's 'size calculation' forever. I am not able to focus on my missing document. What I am doing wrong?

    Is there a reason that miss me that you posted this on Photos for Mac forum?

    You can not open file from a TM backup - you must use the TM = tipn applicai to restore then you open once they have been restored

    Use Time Machine to back up or restore your Mac - Apple Support

    http://pondini.org/TM/FAQ.html

    LN

  • Printer HP Photosmart 7525 Wizard is not found

    I need help to find my HP Photosmart e - all in a Wizard of the printer.  I want her to be as an icon on my desktop.  (Like Solution HP) used to do.

    I want to scan multiple images at once/harvest/and save each to a different file.

    Help

    emgerald

    Emgerald,

    Welcome to the HP Forum.

    Please keep with steps you have already done...

    First you must have installed full feature software.

    General instructions to install the printer software

    • Open drivers HP & downloads
    • Enter your printer model information
    • Select your printer in the list of the 'results '.

    OR

    ·         Open e-all-in-one printer, HP Photosmart 7525 drivers

    ·         Enter your operating system from the menu drop-down

    ·         Click NEXT and scroll down

    ·         Find the category driver - software product installation

    ·         Select the base driver, e-print, or a full features software

    ·         Save the *.exe installation package (s) on your computer

    The files will probably save in the "folder"downloads. "

    Next:

    • If it is available, you can download print and scan doctor and / or other programs of the category-utilities

    TIP:

    Install the utilities / tools first. bit installation packages are smaller in size

    • If you have control of "Admin", you can highlight the package and "double-click" to install it, otherwise just right-click, select run as administrator and install.

    NOTES:

    ·          On the bottom half of the main Web page for your printer, you can find some helpful videos to help with the installation of the printer software.

    ·          Scroll down the list of videos back until you find the video that best fits your situation.

    • If you use a USB connection: download and install the driver software before connecting a USB cable.
    • Ethernet: If the printer supports Ethernet, you can connect the printer to the network (and assign the printer an IP address for the router, if you wish).  Once the printer is connected to the network, make sure that the printer is turned on, and then install the printer software.
    • Once the initial installation is complete and functional, don't forget to check and install the relevant updates - check the category - updated

    There is valuable information about the Web site, including manuals, pages, solving problems, and SOLUTIONS to problems, How-to's and alerts for your printer.  Be sure to take a comprehensive look at what's available.  To bookmark the page.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Setup software printer should provide an icon Printer Wizard on your desktop that you can use to "scan a Photo Document or".

    Shortcut:

    If the printer icon Wizard is not placed on the desktop during installation, then you can search for the program Assistant printer on your computer.

    Assuming that the printing software full feature software properly installed, you just find the program you can make your own shortcut to the printer for your Office Assistant.

    The following CAN help...

    • Open a Windows Explorer window
    • Go to C:\Program Files *
    • You might find a folder named for your printing software (photosmart 7525)
    • Navigate to the Bin subfolder
    • Search for a program called OR similar
    • NOTE: The program will NOT be appointed Assistant printer
    • Right click on this program > select send to desktop to make a shortcut

    ** Windows 7 may be different - look in C:\Program Files (x 86) \HP if you must, although I suspect the only program you will find there the scanner program...

    ============================================================================

    Multiple scan / crop to save a characteristic single file:

    There are two ways to end up with what you want, even if I have not found a way to get the 7520 (very similar to your model) to do what I think you are looking for.

    I agree that it is useful to have.   If we have zillions of old photos to scan, need to scan a photo at a time - or their cropping manually - can make your brain freeze.

    If the feature is available on your model, the magic is in the analysis in the Assistant printer model - and relaxation is perhaps not too much harder that separate the pictures far enough part to trigger the sensor reads what is on the glass.  It's been a while since I've done this - but I'm sure it was pretty straightforward (from the point of view of the user).

    Click on the thumbs-up Kudos to say 'Thank you' for help.

    While I strive to reflect best practices of HP, I do not work for HP.

Maybe you are looking for

  • DVD player not working not not on Sat 1800-614

    Hello I bought a Satellite 1800 614 3 years ago, provided with a DVD player. At this time there is no problem to read the DVD. I did not use it for a while and when I tried to use it I discovered that it does not read new DVD, I can see the movie but

  • Installation of Vista on Qosmio F30 - 112-&gt; BIOS is not compatible

    Salvation; I am trying to install Windows Vista, but it is said that "Windows cannot be installed on this computer with the current version of the system BIOS.Contact your computer manufacturer for a BIOS update, install the update and then restart W

  • Copy files with dasylab

    Hallo! I need a little help! I want to copy files by pressing a button in dasylab, is this possible? Another question: It is possible to discover if an external storage device is connected with dasylab? This is the reason why I'm asking you: I record

  • No option to change the installation location of the program

    Hello I have problems with my laptop running Vista Basic. Whenever I try to install a new program, it automatically starts the installation on drive C.  There is no opportunity to change the installation location.  It must now to the point where driv

  • WIndows 7 - all web browsers are V E R Y S L O W

    I put a machine in WinXP SP3 32-bit to Windows 7 64 bit. Same machine, same hardware, different operating system. I have 11 Internet Explorer, Firefox and Chrome browser. ALL are slow. So slow, I can't scroll, type or do much without a long wait. The