search for: ciaddr

Displaying 15 results from an estimated 15 matches for "ciaddr".

Did you mean: c_addr
2009 Mar 11
1
ciaddr in dhcp_proto.c
Hello all: According to rfc 2131, page 9: "ciaddr Client IP address; only filled in if client is in BOUND, RENEW or REBINDING state and can respond to ARP requests. " Is it ideal to change "boot.ciaddr = dev-> ip_addr" to "boot.ciaddr = INADDR_ANY" in dhcp_send() function? I...
2010 Mar 16
4
ipconfig: DHCP fixes
Hi, Here are two fixes for ipconfig/dhcp, the second of them being required for my dhcp3 server to accept ipconfig's requests. Thanks, Louis Louis Rilling (2): ipconfig: Fix missing dhcp_end field ipconfig: Fix null ciaddr on DHCPREQUEST during SELECTING state usr/kinit/ipconfig/dhcp_proto.c | 4 ++-- usr/kinit/ipconfig/packet.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- Dr Louis Rilling Kerlabs Skype: louis.rilling Batiment Germanium Phone: (+33|0) 6 80 89 08 23 80 avenue des Butt...
2011 Oct 04
1
Added DHCPINFO Tables to the lua.c32 Implementation - syslinux-4.04
...hlen Hardware address length hops hops Used by relay agents transaction.id xid transaction id elapsed.seconds secs Secs elapsed since client boot flags flags DHCP Flags field client.ip.addr ciaddr client IP addr your.ip.addr yiaddr 'Your' IP addr. (from server) server.ip.addr siaddr Boot server IP addr gateway.ip.addr giaddr Relay agent IP addr client.mac chaddr Client hardware addr server.hostname sn...
2008 Sep 05
0
initial mntent.h, mount features, ipconfig fixes
...t() [klibc] mount: add help arg for usage() [klibc] mount: list all mounted file systems [klibc] mount: list fs of particular type [klibc] mount: read /proc/mounts preferably [klibc] ipconfig: raise field length for rootpath DHCP option [klibc] ipconfig: set null ciaddr on DHCPREQUEST during SELECTING state git diff --stat --summary master...maks usr/include/mntent.h | 19 +++++++++++ usr/kinit/ipconfig/dhcp_proto.c | 3 +- usr/kinit/ipconfig/netdev.h | 2 +- usr/klibc/Kbuild | 3 +- usr/klibc/endmntent.c |...
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
...t() [klibc] mount: add help arg for usage() [klibc] mount: list all mounted file systems [klibc] mount: list fs of particular type [klibc] mount: read /proc/mounts preferably [klibc] ipconfig: raise field length for rootpath DHCP option [klibc] ipconfig: set null ciaddr on DHCPREQUEST during SELECTING state git diff --stat --summary master...maks usr/include/mntent.h | 19 +++++++++++ usr/include/string.h | 1 + usr/kinit/ipconfig/dhcp_proto.c | 3 +- usr/kinit/ipconfig/netdev.h | 2 +- usr/klibc/Kbuild |...
2008 Oct 30
4
broadcast packets from domU duplicated?
...: ----- Dynamic Host Configuration Protocol ----- DHCP: DHCP: Hardware address type (htype) = 1 (Ethernet (10Mb)) DHCP: Hardware address length (hlen) = 6 octets DHCP: Relay agent hops = 0 DHCP: Transaction ID = 0x58c771d DHCP: Time since boot = 0 seconds DHCP: Flags = 0x0000 DHCP: Client address (ciaddr) = 0.0.0.0 DHCP: Your client address (yiaddr) = 0.0.0.0 DHCP: Next server address (siaddr) = 0.0.0.0 DHCP: Relay agent address (giaddr) = 0.0.0.0 DHCP: Client hardware address (chaddr) = 00:16:3E:1E:87:45 DHCP: DHCP: ----- (Options) field options ----- DHCP: DHCP: Message type = DHCPREQUEST DHCP: R...
2009 Nov 20
4
running dhcp-server on dom0 over a vnic.
...----- Dynamic Host Configuration Protocol ----- DHCP: DHCP: Hardware address type (htype) = 1 (Ethernet (10Mb)) DHCP: Hardware address length (hlen) = 6 octets DHCP: Relay agent hops = 0 DHCP: Transaction ID = 0xd6054229 DHCP: Time since boot = 12 seconds DHCP: Flags = 0x0000 DHCP: Client address (ciaddr) = 0.0.0.0 DHCP: Your client address (yiaddr) = 0.0.0.0 DHCP: Next server address (siaddr) = 0.0.0.0 DHCP: Relay agent address (giaddr) = 0.0.0.0 DHCP: Client hardware address (chaddr) = 00:16:3E:00:00:E4 DHCP: DHCP: ----- (Options) field options ----- DHCP: DHCP: Message type = DHCPDISCOVER DHCP:...
2016 Mar 21
0
[PATCH 0/1] ipconfig DHCP bug
.../kinit/ipconfig/dhcp_proto.c 2014-07-09 09:21:02.000000000 -0600 +++ b/klibc-2.0.4/usr/kinit/ipconfig/dhcp_proto.c 2016-03-21 01:51:12.747420454 -0600 @@ -201,7 +201,8 @@ static int dhcp_send(struct netdev *dev, bootp.hlen = dev->hwlen; bootp.xid = dev->bootp.xid; bootp.ciaddr = INADDR_ANY; - bootp.yiaddr = dev->ip_addr; + bootp.yiaddr = INADDR_ANY; + bootp.flags = htons(0x800); bootp.giaddr = INADDR_ANY; bootp.secs = htons(time(NULL) - dev->open_time); memcpy(bootp.chaddr, dev->hwaddr, 16);
2019 Jan 18
0
[klibc:master] ipconfig: Set broadcast when sending DHCPREQUEST and DHCPDISCOVER
...proto.c b/usr/kinit/ipconfig/dhcp_proto.c index ebf79cc..d5b759b 100644 --- a/usr/kinit/ipconfig/dhcp_proto.c +++ b/usr/kinit/ipconfig/dhcp_proto.c @@ -201,8 +201,14 @@ static int dhcp_send(struct netdev *dev, struct iovec *vec) bootp.hlen = dev->hwlen; bootp.xid = dev->bootp.xid; bootp.ciaddr = INADDR_ANY; - bootp.yiaddr = dev->ip_addr; + /* yiaddr should always be set to 0 for the messages we're likely + * to send as a DHCP client: DHCPDISCOVER, DHCPREQUEST, DHCPDECLINE, + * DHCPINFORM, DHCPRELEASE + * cf. RFC2131 section 4.1.1, table 5. + */ + bootp.yiaddr = INADDR_ANY; b...
2010 Mar 16
0
[git pull v3] i386, sparc buildfix + ipconfig fixes
...failure that I was wondering about lately and fixed it. so his fixes got added to previous pull request v2: please pull git pull git://git.debian.org/users/maks/klibc.git maks for the changes: Louis Rilling (2): [klibc] ipconfig: Fix missing dhcp_end field [klibc] ipconfig: Fix null ciaddr on DHCPREQUEST during SELECTING state maximilian attems (4): [klibc] Use x86_32 cleaned up signal.h [klibc] sparc use cleaned up, merged <linux/signal.h> [klibc] sparc, sparc64 use sys_socketcall unconditionally [klibc] add losetup ????? ???????????? (1): [klib...
2010 Mar 20
0
klibc-1.5.17 released
...#39; patchqueue: H. Peter Anvin (3): [klibc] 1.5.16 released, next version is 1.5.17 [klibc] socketcalls: add parens around defined() [klibc] losetup: fix pointer type warnings Louis Rilling (2): [klibc] ipconfig: Fix missing dhcp_end field [klibc] ipconfig: Fix null ciaddr on DHCPREQUEST during SELECTING state maximilian attems (5): [klibc] Use x86_32 cleaned up signal.h [klibc] sparc use cleaned up, merged <linux/signal.h> [klibc] sparc, sparc64 use sys_socketcall unconditionally [klibc] add losetup [klibc] Makefile: add help tar...
2007 Apr 10
1
[PATCH] Add support for DHCP-Options
hi, I've written a start of an c32-module to do basic substition: add subst.c32 this is a start of a generic substition module --- commit 9a1f41a7e6599fe6a162197cd9ddc6610185e780 tree cfb799a0be9844926afe44e21b2eb96630666c44 parent 89478bdbfa7167bc1b627a478d042c99e46f06b7 author Maurice Massar <massar at unix-ag.uni-kl.de> Tue, 10 Apr 2007 20:13:39 +0200 committer Maurice Massar
2007 Dec 10
1
[git patch] m-i-t support, ipconfig fix
..._proto.c b/usr/kinit/ipconfig/dhcp_proto.c index a1090f3..8ff1d58 100644 --- a/usr/kinit/ipconfig/dhcp_proto.c +++ b/usr/kinit/ipconfig/dhcp_proto.c @@ -161,7 +161,7 @@ static int dhcp_send(struct netdev *dev, struct iovec *vec) bootp.hlen = dev->hwlen; bootp.xid = dev->bootp.xid; bootp.ciaddr = dev->ip_addr; - bootp.giaddr = dev->bootp.gateway; + bootp.giaddr = INADDR_ANY; bootp.secs = htons(time(NULL) - dev->open_time); memcpy(bootp.chaddr, dev->hwaddr, 16); commit fbf8aa559d25685eea12248c76bcc983c68306b2 Author: maximilian attems <max at stro.at> Date: Sat S...
2016 Mar 16
5
Updated status on UEFI compliant version of the pxechn-module
Hi, ________________________________________ From: Gene Cumm <gene.cumm at gmail.com> Sent: Wednesday, March 16, 2016 00:56 To: Jan Frode J?ger Cc: syslinux at zytor.com Subject: Re: [syslinux] Updated status on UEFI compliant version of the pxechn-module On Tue, Mar 15, 2016 at 9:32 AM, Jan Frode J?ger <jan.frode.jaeger at ntnu.no> wrote: Without trying to figure out where data is
2017 Dec 31
4
[PATCH klibc 0/4] Fixes from Debian and Ubuntu
The following patches come from Debian and/or Ubuntu packages of klibc. Ben. Ben Hutchings (1): [klibc] run-init: Add dry-run mode Jay Vosburgh (1): [klibc] ipconfig: Use separate sockets for DHCP from multiple interfaces Mathieu Trudel-Lapierre (1): [klibc] ipconfig: Set broadcast when sending DHCPREQUEST and DHCPDISCOVER YunQiang Su (1): [klibc] mips: setjmp.S: don't