Newbie: Keep TCP socket open
Alan Wright
alan.wright at volubill.com
Mon May 19 18:50:50 EDT 2008
Ghirai,
Scapy does the same, only it sends RST and not FIN, so still no help
send(IP(dst="10.1.1.2")/TCP(dport=50000,flags="S"))
Only have windows at the moment sadly.
Alan
"Ghirai" <ghirai at ghirai.com> wrote in message
news:mailman.1364.1211234091.12834.python-list at python.org...
> On Mon, 19 May 2008 20:25:57 +0100
> "Alan Wright" <alan.wright at volubill.com> wrote:
>
>> Thanks for the feedback.
>>
>> Using the socket in a list is great
>>
>> However, as i imagined, I now get a limit of around 1500 conns before
>> the system crashes out, also i have noticed, that the ports loop back
>> to 1025 when they hit 5000.
>>
>> Any ideas on how to make the list/socket get to around 50K
>>
>> TIA
>>
>
> Try to use scapy to send raw empty packets with S flag set.
> Also use Linux/BSD if you're trying this on Windows.
>
> --
> Regards,
> Ghirai.
More information about the Python-list
mailing list