[syslinux] Custom .c32 module which can send tcp or udp packets

Murali (முரளி கணபதி) murali at google.com
Fri Mar 13 22:00:09 PDT 2009


On Fri, Mar 13, 2009 at 9:21 AM, H. Peter Anvin <hpa at zytor.com> wrote:
> Gene Cumm wrote:
>>
>> Peter, is it me or is asking about the capability of writing to a
>> file, remote or local, coming up more often?
>>
>
> It seems that way.  One of the things that concerns me about making it
> available as a general solution is gPXE compatibility, which means
> adding write support to all the gPXE protocols, too.
>
>> The first issue is that you must implement the TFTP PUT in assembly in
>> pxelinux.asm.  Then, you'd have to utilize it either in a COM32
>> library call or directly from your COM32 program.  If you don't start
>> in pxelinux.asm, you'd need to open the network card up yourself.  INT
>> 22h AX=0009h provides access to the PXE stack in the COMBOOT API.
>
> You can't open the network card if you're not booted from PXE.
>
> That's sort of a fundamental limitation.
>
> Writing a local file is even scarier... you constantly have to be
> concerned about nuking real data there.

Cant you write to the raw disk, on track 0 after the MBR?

>
>        -hpa
>
> --
> H. Peter Anvin, Intel Open Source Technology Center
> I work for Intel.  I don't speak on their behalf.
>
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>



-- 
Murali

கற்றது கை மண் அளவு, கல்லாதது உலகளவு
(What we know is only a handful, what we dont is the rest of the world)




More information about the Syslinux mailing list