Displaying 12 results from an estimated 12 matches for "tftp_option".
Did you mean:
tftp_options
2013 Dec 01
0
[PATCH] core: Bad read of file size over TFTP
...b/core/fs/pxe/tftp.c
index 1f374a3..446da63 100644
--- a/core/fs/pxe/tftp.c
+++ b/core/fs/pxe/tftp.c
@@ -8,27 +8,12 @@ const uint8_t TimeoutTable[] = {
2, 2, 3, 3, 4, 5, 6, 7, 9, 10, 12, 15, 18, 21, 26, 31, 37, 44,
53, 64, 77, 92, 110, 132, 159, 191, 229, 255, 255, 255, 255, 0
};
-struct tftp_options {
- const char *str_ptr; /* string pointer */
- size_t offset; /* offset into socket structre */
-};
struct tftp_packet {
uint16_t opcode;
uint16_t serial;
char data[];
};
-#define IFIELD(x) offsetof(struct inode, x)
-#define PFIELD(x) (offsetof(struct inode,...
2009 Aug 08
2
[PATCH] pxe: fix OACK packet handling
...ffersize - 1) != 0)
+ goto done; /* found no final null */
+
/*
* Parse option pointed to by options; guaranteed to be null-terminated
*/
@@ -944,8 +940,10 @@ static void pxe_searchdir(char *filename, struct file *file)
do {
tftp_opt = tftp_options;
for (i = 0; i < tftp_opts; i++) {
- if (!strncmp(p, tftp_opt->str_ptr,tftp_opt->str_len))
+ if (!strncmp(p, tftp_opt->str_ptr,tftp_opt->str_len)) {
+ buffersize -= tftp_opt->str_len;
break;
+...
2004 Jul 21
3
Request to an hpa-TFTP enhancement - convert '\' in filenames to '/'
...epted by Linux and
the TFTP process. The above mentioned website contains a patch
for the AFTPD server to make this conversion.
>>>
switch (retval)
{
case GET_RRQ:
+ {
+ /* Windows client hack */
+ char *seek = (char*) &(data-
>tftp_options[OPT_FILENAME].value);
+ if (*seek == '\\')
+ while (*seek)
+ {
+ if (*seek == '\\') *seek = '/';
+ seek++;
+ }
logger(LOG_NOTICE, "Serving %s to
%s:%d",
data-
>tftp_options[OP...
2015 Oct 07
2
Hyper-V Gen 2 waiting for ldlinux.e64
...instructions I've read I have disabled secure boot on this VM for the installation of Linux. I am using the latest tftp-hpa package with the following config:
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS="[::]:69"
TFTP_OPTIONS="--secure --verbose"
I was using the latest version of syslinux from here: https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.gz
I then started testing with this version of syslinux: https://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/6.03/syslinux-6.03-pre6...
2015 Sep 15
0
HP EFI binaries
On Mon, Sep 14, 2015 at 4:51 PM, Derrick M <derrick.martinez at gmail.com> wrote:
> Yes it does sound deaf. Also using tftpd-hpa with TFTP_OPTIONS="--secure
> -vv"
>
> On Mon, Sep 14, 2015 at 1:39 PM, Gene Cumm <gene.cumm at gmail.com> wrote:
>>
>> On Mon, Sep 14, 2015 at 3:08 PM, Derrick M <derrick.martinez at gmail.com>
>> wrote:
>> > Turns out that it was looking for ldlinux.e64 on...
2009 Aug 08
0
[PATCH] core:PXELINUX: fix the OACK option parsing bug.
...st++ = *src++ | 0x20;
+ if (!buffersize)
+ goto done; /* found no final null */
+ }
+
+ /*
+ * Parse option pointed to by options; guaranteed to be
null-terminated
+ */
+ p = options;
tftp_opt = tftp_options;
for (i = 0; i < tftp_opts; i++) {
if (!strncmp(p, tftp_opt->str_ptr,tftp_opt->str_len))
--
1.5.6.rc0
--
regards
liu Aleaxander
2015 Oct 07
0
Hyper-V Gen 2 waiting for ldlinux.e64
...e disabled secure boot on this VM for the installation of Linux. I am using the latest tftp-hpa package with the following config:
>
> # /etc/default/tftpd-hpa
>
> TFTP_USERNAME="tftp"
> TFTP_DIRECTORY="/var/lib/tftpboot"
> TFTP_ADDRESS="[::]:69"
> TFTP_OPTIONS="--secure --verbose"
>
> I was using the latest version of syslinux from here: https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.gz
> I then started testing with this version of syslinux: https://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/6.03/sysl...
2015 Sep 07
2
TFTP-HPA beginner needs help
...efault/tftpd-hpa
TFTP_USERNAME = "tftp"
TFTP_DIRECTORY = "srv/tftpboot"
TFTP_ADDRESS = "192.168.1.9:69"
#Same as eth(0) IP address on ethernet card -- is this the right
way to do it?*******
# ****or should eth(0) IP and TFTP ADDRESS be different?*****
TFTP_OPTIONS = "-l -c -s"
> > New prompt is tftp>
>Okay the 'tftp>' is from the TFTP client.
>
>
> > > get aa
> >
> > This times out
>
>That is our problem, in fact a symptoom of the problem.
>
>
> > and returns to tftp> Unabl...
2015 Oct 07
2
Hyper-V Gen 2 waiting for ldlinux.e64
...tallation of Linux. I am using the latest tftp-hpa
> > package with the following config:
> >
> > # /etc/default/tftpd-hpa
> >
> > TFTP_USERNAME="tftp"
> > TFTP_DIRECTORY="/var/lib/tftpboot"
> > TFTP_ADDRESS="[::]:69"
> > TFTP_OPTIONS="--secure --verbose"
> >
> > I was using the latest version of syslinux from here:
> > https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.gz
> > I then started testing with this version of syslinux: https://www.kernel.org/pub/linux/utils/boot/s...
2015 Sep 01
4
HP EFI binaries
On Mon, Aug 31, 2015 at 07:59:06PM -0400, Gene Cumm via Syslinux wrote:
> On Mon, Aug 31, 2015 at 6:42 PM, Derrick M <derrick.martinez at gmail.com> wrote:
> > Thanks Gene!
> >
> > this one is much better
>
> EXCELLENT! That's what I wanted to see. It iterates through 3
> handles, printing the entire MAC buffer and the handle's memory
> address.
2014 Mar 07
2
Syslinux EFI + TFTPBOOT Support
On 2014/3/7 ?? 05:23, Gene Cumm wrote:
> On Thu, Mar 6, 2014 at 10:55 AM, Bryan Romine <bromine1027 at gmail.com> wrote:
>> Sorry for the confusion, I am actually using 6.02. It turns out that I was
>> trying to use the 32-bit efi binary to load 64-bit kernels. I switched to
>> using "syslinux64.efi" but it hangs during boot, just before loading the
>>
2014 Mar 07
2
Syslinux EFI + TFTPBOOT Support
...x.cfg
??? ??? default
??? PXELINUX_VERSION
??? vmlinuz-3.12-0.bpo.1-amd64
??? vmlinuz-pxe -> vmlinuz-3.12-0.bpo.1-amd64
4 directories, 47 files
-------------- next part --------------
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot/nbi_img"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure --ipv4 -v -v -v"