[JBoss JIRA] (WFLY-8490) NO AJP listenening socket when setting IP with -Djboss.bind.address=XX -Djboss.bind.address.management=XX
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-8490?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar closed WFLY-8490.
-----------------------------
Assignee: (was: Thomas Diesler)
Resolution: Rejected
Given that AJP is not configured by default, this would mean you have configured it wrongly when you added it.
In this case you probably used hardcoded address instead of having expression with default as it is used elsewhere
If anything this is something that should be discussed in forums at https://developer.jboss.org/en/wildfly
> NO AJP listenening socket when setting IP with -Djboss.bind.address=XX -Djboss.bind.address.management=XX
> ------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-8490
> URL: https://issues.jboss.org/browse/WFLY-8490
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 10.1.0.Final
> Environment: ubuntu 16.04
> Reporter: Gaétan QUENTIN
>
> When launching WFLY with ./standalone.sh --server-config=standalone-full.xml without bind address parameter, ajplistener is well launch on ip 127.0.0.1
> when binding ip adress , ajp listener disappears:
> ./standalone.sh --server-config=standalone-full.xml -Djboss.bind.address=172.20.12.192 -Djboss.bind.address.management=172.20.12.192&
> nothing is listenting on port 8009
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ELY-1050) Coverity, derefere null return value in KeyStoreCredentialStore.saveSecretKey
by Ilia Vassilev (JIRA)
[ https://issues.jboss.org/browse/ELY-1050?page=com.atlassian.jira.plugin.s... ]
Ilia Vassilev reassigned ELY-1050:
----------------------------------
Assignee: Ilia Vassilev (was: Darran Lofthouse)
> Coverity, derefere null return value in KeyStoreCredentialStore.saveSecretKey
> -----------------------------------------------------------------------------
>
> Key: ELY-1050
> URL: https://issues.jboss.org/browse/ELY-1050
> Project: WildFly Elytron
> Issue Type: Bug
> Reporter: Martin Choma
> Assignee: Ilia Vassilev
> Priority: Critical
>
> Coverity found possible null dereference, as {{encrypt.getIV()}} could return null in cases when option {{cryptoAlg}} is configured to some algorithm, which does not use IV.
> https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=12563...
> {code:java|title=KeyStoreCredentialStore.java}
> private void saveSecretKey(String ksAlias, ObjectOutputStream oos, KeyStore.SecretKeyEntry entry) throws IOException, GeneralSecurityException {
> ByteArrayOutputStream entryData = new ByteArrayOutputStream(1024);
> ObjectOutputStream entryOos = new ObjectOutputStream(entryData);
> entryOos.writeUTF(ksAlias);
> writeBytes(entry.getSecretKey().getEncoded(), entryOos);
> entryOos.flush();
> encrypt.init(Cipher.ENCRYPT_MODE, storageSecretKey);
> int blockSize = encrypt.getBlockSize();
> Assert.checkMaximumParameter("cipher block size", 256, blockSize);
> byte[] padded = pkcs7Pad(entryData.toByteArray(), blockSize);
> byte[] encrypted = encrypt.doFinal(padded);
> byte[] iv = encrypt.getIV();
> oos.writeInt(SECRET_KEY_ENTRY_TYPE);
> writeBytes(encrypted, oos);
> writeBytes(iv, oos);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ELY-1051) Coverity, derefere null return value in KeyStoreCredentialStore.store
by Ilia Vassilev (JIRA)
[ https://issues.jboss.org/browse/ELY-1051?page=com.atlassian.jira.plugin.s... ]
Ilia Vassilev reassigned ELY-1051:
----------------------------------
Assignee: Ilia Vassilev (was: Darran Lofthouse)
> Coverity, derefere null return value in KeyStoreCredentialStore.store
> ---------------------------------------------------------------------
>
> Key: ELY-1051
> URL: https://issues.jboss.org/browse/ELY-1051
> Project: WildFly Elytron
> Issue Type: Bug
> Reporter: Martin Choma
> Assignee: Ilia Vassilev
> Priority: Critical
>
> Coverity found possible null dereference as {{getEntry()}} could return null.
> https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=12563...
> {code:java|title=KeyStoreCredentialStore.java}
> void store(OutputStream outputStream) throws IOException, GeneralSecurityException {
> ObjectOutputStream oos = new ObjectOutputStream(outputStream);
> oos.writeInt(VERSION);
> Enumeration<String> ksAliases = dataKeyStore.aliases();
> while(ksAliases.hasMoreElements()) {
> String alias = ksAliases.nextElement();
> KeyStore.Entry entry = dataKeyStore.getEntry(alias, convertParameter(protectionParameter));
> if (entry instanceof KeyStore.SecretKeyEntry) {
> saveSecretKey(alias, oos, (KeyStore.SecretKeyEntry)entry);
> } else {
> throw log.unrecognizedEntryType(entry.getClass().getCanonicalName());
> }
> }
> oos.flush();
> oos.close();
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months