search for: sendcookies

Displaying 17 results from an estimated 17 matches for "sendcookies".

2013 Nov 21
2
Baking Cookies
Hmm... well adding the __export stopped the "undefined symbol" error from showing up when I add "SENDCOOKIES" in the config, however I'm still not seeing any cookies being sent to my webserver. Any ideas on how to further debug? (if you want to send me the debug compile options privately that's okay too) -----Original Message----- From: H. Peter Anvin [mailto:hpa at zytor.com] Sent: Wednes...
2013 Nov 21
0
Baking Cookies
FYI -- Did some more digging. These two changes lets SENDCOOKIES behavior work as desired/intended. --- syslinux-6.02/com32/include/syslinux/pxe_api.h 2013-10-13 13:59:03.000000000 -0400 +++ syslinux-6.02-changed/com32/include/syslinux/pxe_api.h 2013-11-21 17:00:57.379519000 -0500 @@ -589,7 +589,7 @@ void __weak unload_pxe(uint16_t flags); uint32_t...
2013 Nov 20
2
Baking Cookies
...wrong. I've been trying to utilize the lwIP stack and dmi information to avoid iPXE use. I can do a SYSAPPEND 0x00080 and it shows up in /proc/cmdline after booting the kernel, but tcpdump is not revealing the cookies as described during HTTP calls in the documentation. Trying the magic "SENDCOOKIES" parameter outside of an inline SYSAPPEND call just gives me an "Error: An undefined symbol was referenced" I'm using 6.02 and lpxelinux.0; Loading lpxelinux.0 over tftp, kernel/initrd over http (see below) My default file looks like this: Label <some label> KER...
2013 Jun 23
2
[PATCH][git] txt/ and doc/ updates
...NEWS: Mention noteworthy changes in 5.10 are available in the git repository at: git://github.com/geneC/syslinux.git doc-for-mfleming Gene Cumm (12): Fix SERIAL directive in docs doc/syslinux.txt: grammar txt/syslinux.cfg.txt: Add SYSAPPEND txt/syslinux.cfg.txt: Add SENDCOOKIES, example config txt/syslinux-cli.txt: Path rules txt/syslinux.txt: synopsis, extlinux.sys, wrap long command txt/syslinux.cfg.txt: Updates txt/: Add common file for derivatives txt/Makefile: order-only prerequisite txt/syslinux-cli.txt: Version on Ctrl-N tx...
2015 Feb 10
0
[PATCH 2/6] pxe: fix truncation warning
.../fs/pxe/http.c b/core/fs/pxe/http.c index 0768c10..bd18f3c 100644 --- a/core/fs/pxe/http.c +++ b/core/fs/pxe/http.c @@ -50,7 +50,7 @@ static bool append_ch(char *str, size_t size, size_t *pos, int ch) static size_t cookie_len, header_len; static char *cookie_buf, *header_buf; -__export uint32_t SendCookies = -1UL; /* Send all cookies */ +__export uint32_t SendCookies = UINT_MAX; /* Send all cookies */ static size_t http_do_bake_cookies(char *q) { -- 2.3.0
2014 Jun 12
1
Current 6.03 changelog
...in: Fix chainloading on 6.02 (Raphael S. Carvalho). * core: Do not leak the __lowmem and __bss16 macros to modules; hide them so modules will not use them. * load_linux: Do not use size heuristic for non-relocatable kernels, for zImage kernels and for non-Linux kernels. * PXELINUX: Fix the SENDCOOKIES feature for HTTP (Russel Santillanes). * gnu-efi: Add gnu-efi as a submodule. * ANSI: Support color tables with more than 256 entries (James Buren). * EFI: Fix displayed version; add DATE (Gene Cumm) * PXELINUX, EFI: Fix bad read of file size over TFTP on EFI64 (Sylvain Gault). * Fix...
2013 Jul 04
0
Syslinux 6.01 released
...e bugs that have been reported that haven't yet been fixed. Shortlog appended below. Thanks to everyone who helped test things out. --- Gene Cumm (17): Fix SERIAL directive in docs doc/syslinux.txt: grammar txt/syslinux.cfg.txt: Add SYSAPPEND txt/syslinux.cfg.txt: Add SENDCOOKIES, example config txt/syslinux-cli.txt: Path rules txt/syslinux.txt: synopsis, extlinux.sys, wrap long command txt/syslinux.cfg.txt: Updates txt/: Add common file for derivatives txt/Makefile: order-only prerequisite txt/syslinux-cli.txt: Version on Ctrl-N tx...
2013 Nov 20
0
Baking Cookies
...#39;ve been trying to utilize the lwIP stack and dmi information to avoid iPXE use. I can do a SYSAPPEND 0x00080 and it shows up in /proc/cmdline after booting the kernel, but tcpdump is not revealing the cookies as described during HTTP calls in the documentation. > > Trying the magic "SENDCOOKIES" parameter outside of an inline SYSAPPEND call just gives me an "Error: An undefined symbol was referenced" > > I'm using 6.02 and lpxelinux.0; Loading lpxelinux.0 over tftp, kernel/initrd over http (see below) > Hmm... I wonder if we are missing an __export in http....
2014 Oct 06
5
Syslinux 6.03 released
...el S. Carvalho). * core: Do not leak the __lowmem and __bss16 macros to modules; hide them so modules will not use them. * load_linux: Do not use size heuristic for non-relocatable kernels, for zImage kernels and for non-Linux kernels. * PXELINUX: Fix the SENDCOOKIES feature for HTTP (Russel Santillanes). * gnu-efi: Add gnu-efi as a submodule. * ANSI: Support color tables with more than 256 entries (James Buren). * EFI: Fix displayed version; add DATE (Gene Cumm) * PXELINUX, EFI: Fix bad read of file size over...
2014 Apr 17
0
6.03-pre changelog initial attempt
...in: Fix chainloading on 6.02 (Raphael S. Carvalho). * core: do not leak the __lowmem and __bss16 macros to modules; hide them so modules will not use them. * load_linux: Do not use size heuristic for non-relocatable kernels, for zImage kernels and for non-Linux kernels. * PXELINUX: Fix the SENDCOOKIES feature for HTTP (Russel Santillanes). * gnu-efi: Add gnu-efi as a submodule. * ANSI: Support color tables with more than 256 entries (James Buren). * EFI: Fix displayed version; add DATE (Gene Cumm) * PXELINUX, EFI: Fix bad read of file size over TFTP on EFI64 (Sylvain Gault). * Fix...
2014 Oct 14
0
Syslinux 6.03 released
...* core: Do not leak the __lowmem and __bss16 macros to modules; > hide them so modules will not use them. > * load_linux: Do not use size heuristic for non-relocatable > kernels, for zImage kernels and for non-Linux kernels. > * PXELINUX: Fix the SENDCOOKIES feature for HTTP > (Russel Santillanes). > * gnu-efi: Add gnu-efi as a submodule. > * ANSI: Support color tables with more than 256 entries > (James Buren). > * EFI: Fix displayed version; add DATE (Gene Cumm) > * PXELINUX, EFI:...
2013 Jun 12
3
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
On Wed, 12 Jun, at 11:17:44AM, Gerardo Exequiel Pozzi wrote: > Cool thanks!. Now looks better, but still not work. > > For some reason, "ldlinux.c32" is apparently sent but "Failed to load" > by PXELINUX and few seconds later, dnsmasq shows an error message > "failed sending": Argh! The patch was broken. I missed the new core/path.c file. My bad.
2013 Jun 12
5
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
...39;:'; - strncpy(_p + len, new_path, new_len); - _p[len + new_len] = '\0'; - free(PATH); - PATH = _p; - } else - printf("Failed to realloc PATH\n"); + if (parse_path(skipspace(p + 4))) + printf("Failed to parse PATH\n"); } else if (looking_at(p, "sendcookies")) { const union syslinux_derivative_info *sdi; diff --git a/com32/lib/sys/module/common.c b/com32/lib/sys/module/common.c index 8547036..b763704 100644 --- a/com32/lib/sys/module/common.c +++ b/com32/lib/sys/module/common.c @@ -59,40 +59,28 @@ void print_elf_symbols(struct elf_module *mo...
2013 Jun 12
0
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
...39;:'; - strncpy(_p + len, new_path, new_len); - _p[len + new_len] = '\0'; - free(PATH); - PATH = _p; - } else - printf("Failed to realloc PATH\n"); + if (parse_path(skipspace(p + 4))) + printf("Failed to parse PATH\n"); } else if (looking_at(p, "sendcookies")) { const union syslinux_derivative_info *sdi; diff --git a/com32/lib/sys/module/common.c b/com32/lib/sys/module/common.c index 8547036..b763704 100644 --- a/com32/lib/sys/module/common.c +++ b/com32/lib/sys/module/common.c @@ -59,40 +59,28 @@ void print_elf_symbols(struct elf_module *mo...
2013 Jun 11
2
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
On Mon, 10 Jun, at 07:57:50AM, H. Peter Anvin wrote: > Either that or make the path a list rather than a string, using the > normal word separators when entered on the command line, a bit like the > (t)csh does. That is a bigger change but is probably a better solution. How would this solution handle filenames containing spaces? Would we need to escape (presumably with a backslash)
2013 Jun 12
0
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
...h, new_len); > - _p[len + new_len] = '\0'; > - free(PATH); > - PATH = _p; > - } else > - printf("Failed to realloc PATH\n"); > + if (parse_path(skipspace(p + 4))) > + printf("Failed to parse PATH\n"); > } else if (looking_at(p, "sendcookies")) { > const union syslinux_derivative_info *sdi; > > diff --git a/com32/lib/sys/module/common.c b/com32/lib/sys/module/common.c > index 8547036..b763704 100644 > --- a/com32/lib/sys/module/common.c > +++ b/com32/lib/sys/module/common.c > @@ -59,40 +59,28 @@ void prin...
2015 Feb 10
6
[PATCH 0/6] fix some compiler warnings
These patches fix a few compiler warnings. Tested on top of commit aee0dc5565711ef5be7c30fb5fc1c5f3f98db09f Jonathan Boeing (6): Use z width specifier when printing size_t variable pxe: fix truncation warning gpllib: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse com32/gpllib/dmi/dmi.c | 24 +++---