{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":83582809,"defaultBranch":"master","name":"microsocks","ownerLogin":"rofl0r","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-03-01T17:38:36.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/341425?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1708975078.0","currentOid":""},"activityList":{"items":[{"before":"b3996c548901794910856c183a983874817bb177","after":"98421a21c4adc4c77c0cf3a5d650cc28ad3e0107","ref":"refs/heads/master","pushedAt":"2024-05-24T23:17:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rofl0r","name":null,"path":"/rofl0r","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/341425?s=80&v=4"},"commit":{"message":"improve throughput in copyloop() using bigger buffer\n\n- refactored clientthread to put the handshake code into its own\n function, since it used its own 1K stack buffer.\n by returning from the function before calling copyloop, we have\n that space available in the new stackframe.\n- since getaddrinfo() was the main stack consumer in the entire\n code, we can safely use at least half the available thread\n stack size for the copyloop to achieve higher throughput.\n in my testing with pyhttpd it turned out that 64k is the sweet\n spot to have minimal syscall overhead, but 16k is very close,\n and it allows us to keep the minimal memory usage profile.\n\nthis is in response to https://github.com/rofl0r/microsocks/issues/58#issuecomment-2118389063\nwhich links to a repo that tests different socks5 servers\nperformance on gigabit links.\n\nalso closes #10","shortMessageHtmlLink":"improve throughput in copyloop() using bigger buffer"}},{"before":"08c1e1b66b9f69c61c73e5b5d3f625ac346d227c","after":"b3996c548901794910856c183a983874817bb177","ref":"refs/heads/master","pushedAt":"2024-05-24T21:12:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rofl0r","name":null,"path":"/rofl0r","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/341425?s=80&v=4"},"commit":{"message":"add -w whitelist option\n\nbased on the idea of @mimi89999 and later @gallantron.\n\nthe whitelist option is the logical conclusion to complement\nthe -1 (auth-once) option, and i've been in favor of adding\nthe feature since i first saw the idea.\n\nif the user's ip is known beforehand, one doesn't have to\nrun a command especially to \"unlock\" the ip for no-auth use.\none of the few cases where it makes sense to add another\ncommand line option, since we're basically just reusing\nan already existing feature.\n\nhowever there were some technical issues in the original PR\n(like using stdbool.h) and not using a list, which made me\nwant to write the functionality myself. until i forgot.\n\nnow there's been a second PR implementing the same\nfunctionality again, but with more complex rules, and as well\nwithout making it possible to process a list of ips.\n\ncloses #46\ncloses #75","shortMessageHtmlLink":"add -w whitelist option"}},{"before":"0343813e0410b469d591bc61b9a546ee2c2c15f6","after":"08c1e1b66b9f69c61c73e5b5d3f625ac346d227c","ref":"refs/heads/master","pushedAt":"2024-05-20T12:18:18.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"rofl0r","name":null,"path":"/rofl0r","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/341425?s=80&v=4"},"commit":{"message":"README: update for latest changes (#74)\n\n* document -q switch\r\n* update info on stack size\r\n* don't specify the exact stack size as it differs greatly depending on\r\n platform and C library\r\n* add a troubleshooting section on stack size segfaults","shortMessageHtmlLink":"README: update for latest changes (#74)"}},{"before":"655c53d27df0bd69e0ecfa8309ce2940797f3362","after":"0343813e0410b469d591bc61b9a546ee2c2c15f6","ref":"refs/heads/master","pushedAt":"2024-05-17T14:41:28.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"rofl0r","name":null,"path":"/rofl0r","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/341425?s=80&v=4"},"commit":{"message":"mute warning about shadow declaration of bind_addr","shortMessageHtmlLink":"mute warning about shadow declaration of bind_addr"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEU3ZbDQA","startCursor":null,"endCursor":null}},"title":"Activity ยท rofl0r/microsocks"}