Skip to content
Snippets Groups Projects
  • Nick Mathewson's avatar
    aa45e825
    Pull up more data when parsing socks messages · aa45e825
    Nick Mathewson authored
    Previously, we only looked at up to 128 bytes.  This is a bad idea
    since socks messages can be at least 256+x bytes long.  Now we look at
    up to 512 bytes; this should be enough for 0.2.2.x to handle all valid
    SOCKS messages.  For 0.2.3.x, we can think about handling trickier
    cases.
    
    Fixes 2330.  Bugfix on 0.2.0.16-alpha.
    aa45e825
    History
    Pull up more data when parsing socks messages
    Nick Mathewson authored
    Previously, we only looked at up to 128 bytes.  This is a bad idea
    since socks messages can be at least 256+x bytes long.  Now we look at
    up to 512 bytes; this should be enough for 0.2.2.x to handle all valid
    SOCKS messages.  For 0.2.3.x, we can think about handling trickier
    cases.
    
    Fixes 2330.  Bugfix on 0.2.0.16-alpha.
bug2330 210 B