Re: arbitrary memory allocation

2015-12-01 Thread Jeff King
On Thu, Nov 26, 2015 at 05:06:35AM +0100, ytr...@sdf-eu.org wrote: > First, something I still don t understand, should I always ulimit ram > usage for security purposes when I m manage a public server? You didn't define "public" here. For serving fetches, the memory tends to be fairly bounded and

Re: arbitrary memory allocation

2015-11-30 Thread Stefan Beller
On Mon, Nov 30, 2015 at 4:17 PM, Junio C Hamano wrote: > ytr...@sdf-eu.org writes: > >> line_list="0032want "+obj[1][:40]+'\n' >> while len(line_list)<65430: # Get the ideal tcp packet size for fastest >> bandwidth (64Ko) >> for i in obj: >> if (i==obj[0]) or (i==obj[1]) or ("

Re: arbitrary memory allocation

2015-11-30 Thread Junio C Hamano
ytr...@sdf-eu.org writes: > line_list="0032want "+obj[1][:40]+'\n' > while len(line_list)<65430: # Get the ideal tcp packet size for fastest > bandwidth (64Ko) > for i in obj: > if (i==obj[0]) or (i==obj[1]) or ("pull" in i): > continue > li

arbitrary memory allocation

2015-11-25 Thread ytrezq
Hello, First, something I still don t understand, should I always ulimit ram usage for security purposes when I m manage a public server? If not, you may find the attachment interesting#!/usr/bin/python from socket import * import sys,time if len(sys.argv)!=3: print "Ok, it is not a real memory