Changeset c9c2952 for router


Ignore:
Timestamp:
Nov 6, 2016 5:20:35 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
08062aa
Parents:
81bbf55
Message:

Consistently log authentication failures for all interfaces

Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/RouterVersion.java

    r81bbf55 rc9c2952  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 6;
     21    public final static long BUILD = 7;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/client/ClientMessageEventListener.java

    r81bbf55 rc9c2952  
    330330            }
    331331            if (user == null || user.length() == 0 || pw == null || pw.length() == 0) {
    332                 _log.error("I2CP auth failed");
     332                _log.logAlways(Log.WARN, "I2CP authentication failed");
    333333                _runner.disconnectClient("Authorization required, specify i2cp.username and i2cp.password in options");
    334334                _authorized = false;
     
    337337            PasswordManager mgr = new PasswordManager(_context);
    338338            if (!mgr.checkHash(PROP_AUTH, user, pw)) {
    339                 _log.error("I2CP auth failed user: " + user);
     339                _log.logAlways(Log.WARN, "I2CP authentication failed, user: " + user);
    340340                _runner.disconnectClient("Authorization failed, user = " + user);
    341341                _authorized = false;
Note: See TracChangeset for help on using the changeset viewer.