Jump to content











Photo
- - - - -

TCP Window is full - booting iso over http

tcp window http iso pxelinux

  • Please log in to reply
3 replies to this topic

#1 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 14 April 2014 - 01:01 PM

EDIT:
My bad - VM was configured with a weird Network card...
sorry :)

TL;DR:

lpxelinux loading memdisk, which loads an iso over the network.
in the middle of the transfer (around ack number 343232606, depends on the http server) the machine can't take more tcp packets due to TCP Window Full.
boot is stuck and nothing happens.

 

Long version:
Hi, i'm working on a python project of creating a pxe server.
The python part should implement the dhcp and tftp part, and then load lpxelinux with this menu:
 

label iso
  menu label Boot iso from network
  menu default
  kernel memdisk
  INITRD http://192.168.56.1/iso/winpe_x86.iso
  APPEND iso

i can see the memdisk loading, and the call for the http to get the iso, but after around ack number 343232606 it stops due to TCP window full (with another http server it just stops acking).
it's always the same amount of packets with the same http server.

the project is here:
https://github.com/TheAnosmic/kpypxe

anyone call help me to solve this?
Thanks!

More info i found out:
The same problem happens with tiny pxe server.
The virtual machine i use has 4GB ram.


Edited by Ariel, 14 April 2014 - 01:35 PM.


#2 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2690 posts
  • Location:Nantes - France
  •  
    France

Posted 14 April 2014 - 01:47 PM

 

More info i found out:
The same problem happens with tiny pxe server.
The virtual machine i use has 4GB ram.

 

Uhm, this is where I step in :)

Does Tiny PXE Server gives a specific error?

Strange that you get the exact same error on different products/platform.

 

I see you edited your post : was the error down to the network card then?

 

Regards,

Erwan



#3 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 14 April 2014 - 01:50 PM

Yep. VirtualBox and it's weird Network Cards.

And BTW, tiny pxe is prettty cool :) i guess that if i didn't have to integrate my pxe server with python i would've used it.



#4 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2690 posts
  • Location:Nantes - France
  •  
    France

Posted 14 April 2014 - 02:08 PM

Thanks for this feedback : always nice to hear :)

 

Not sure if it can help you with your project but TPS can run as a service.

And with little changes, I can have it run with command line parameters.

It can also output to text file or I can also twist it to output to a console.

 

My 2 cents to spare you some nights of coding a DHCP server, then a TFTP server, then a HTTP server, with all the different cases, etc...

 

Regards,

Erwan






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users