Skip to content

remove hardcoded 127.0.0.0/8 #6

@POMATu

Description

@POMATu

libproxybound.c

    //Allow direct local 127.x.x.x
    //if ((strlen(ip) != 0) && (ip[0] == '1') && (ip[1] == '2') && (ip[2] == '7') && (ip[3] == '.')) {
    //    PDEBUG("connect: local ip detected... ignoring\n");
    //    return true_connect(sock, addr, len);
    //}

this is nonsense and a bug since there is no way to disable this in config file I had to comment these lines to make it work properly. There are a lot of use cases where you need to spoof localhost and make the app to connect to some other machine. Original proxychains doesnt have this bug and let you decide whether you want to proxy localhost or not

Please dont do any convenience oversmart features like this. Please maintain KISS and flexibility inherited from original projects

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions