Changeset d173b79


Ignore:
Timestamp:
Jun 30, 2013 4:58:57 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
570f852
Parents:
67f73d7
Message:

drop build request with bad flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java

    r67f73d7 rd173b79  
    547547        boolean isInGW = req.readIsInboundGateway();
    548548        boolean isOutEnd = req.readIsOutboundEndpoint();
     549
     550        if (isInGW && isOutEnd) {
     551            _context.statManager().addRateData("tunnel.rejectHostile", 1);
     552            _log.error("Dropping build request, IBGW+OBEP");
     553            return;
     554        }
    549555
    550556        // Loop checks
Note: See TracChangeset for help on using the changeset viewer.