[Dibbler] Dibbler client is accepting more prefixes than it asked for

Benoit Lourdelet blourdelet at aim.com
Tue May 27 10:16:50 CEST 2014


 Hello,

I am using the Dibbler client version 1.0.0RC1
the client is configured that way to ask for 3 prefixes :

iface "eth0" {
  pd
{
prefix
prefix
prefix
}
  option dns-server
  option domain
}

Trace taken on the client side :


Dibbler sents a request for 3 prefixes in the SOLLICIT message.

00:47:18.530077 IP6 (hlim 1, next-header UDP (17) payload length: 143) fe80::250:56ff:feb8:100.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=d3f075 (client-ID hwaddr type 1 005056b80100) (IA_PD IAID:1 T1:4294967295 T2:4294967295 (IA_PD-prefix ::/0 pltime:4294967295 vltime:4294967295) (IA_PD-prefix ::/0 pltime:4294967295 vltime:4294967295) (IA_PD-prefix ::/0 pltime:4294967295 vltime:4294967295) (elapsed-time 0)[|dhcp6ext]) (elapsed-time 0) (option-request DNS-server DNS-search-list))


Then the server, by mistake, sends 4 prefixes back in the ADVERTISE message.

00:47:18.747427 IP6 (hlim 64, next-header UDP (17) payload length: 208) fe80::224:dc00:14d:98ac.547 > fe80::250:56ff:feb8:100.546: [udp sum ok] dhcp6 advertise (xid=d3f075 (server-ID hwaddr type 1 fa163e89ae5c) (client-ID hwaddr type 1 005056b80100) (IA_PD IAID:1 T1:30 T2:48 (IA_PD-prefix 2007:9999:2100::/60 pltime:60 vltime:60) (IA_PD-prefix 2007:8888:2100::/60 pltime:60 vltime:60) (IA_PD-prefix 2007:3333:2100::/60 pltime:60 vltime:60) (IA_PD-prefix 2007:5555:2100::/60 pltime:60 vltime:60)[|dhcp6ext]) (DNS-server  2007:0009:ffff:ffff::fc88 2007:0009:ffff:ffff::fc44))


In turn Dibbler-client sends a REQUEST message for 4 prefixes even if it is configured to ask  only 3 prefixes :

00:47:19.757140 IP6 (hlim 1, next-header UDP (17) payload length: 186) fe80::250:56ff:feb8:100.546 > ff02::1:2.547: [udp sum ok] dhcp6 request (xid=897ba7 (client-ID hwaddr type 1 005056b80100) (IA_PD IAID:1 T1:4294967295 T2:4294967295 (IA_PD-prefix 2007:9999:2100::/60 pltime:60 vltime:60) (IA_PD-prefix 2007:8888:2100::/60 pltime:60 vltime:60) (IA_PD-prefix 2007:3333:2100::/60 pltime:60 vltime:60) (IA_PD-prefix 2007:5555:2100::/60 pltime:60 vltime:60) (option-request DNS-server DNS-search-list)[|dhcp6ext]) (option-request DNS-server DNS-search-list) (server-ID hwaddr type 1 fa163e89ae5c) (elapsed-time 0))

00:47:20.212894 IP6 (hlim 64, next-header UDP (17) payload length: 208) fe80::224:dc00:14d:98ac.547 > fe80::250:56ff:feb8:100.546: [udp sum ok] dhcp6 reply (xid=897ba7 (server-ID hwaddr type 1 fa163e89ae5c) (client-ID hwaddr type 1 005056b80100) (IA_PD IAID:1 T1:30 T2:48 (IA_PD-prefix 2007:9999:2100::/60 pltime:60 vltime:60) (IA_PD-prefix 2007:8888:2100::/60 pltime:60 vltime:60) (IA_PD-prefix 2007:3333:2100::/60 pltime:60 vltime:60) (IA_PD-prefix 2007:5555:2100::/60 pltime:60 vltime:60)[|dhcp6ext]) (DNS-server  2007:0009:ffff:ffff::fc88 2007:0009:ffff:ffff::fc44))


Would it be possible to modify the Dibbler client, so it does not accept 4 prefixes when asking for  less initially



Client log :

root at vcpe11:~# /root/dibbler-client run
| Dibbler - a portable DHCPv6, version 1.0.0RC1 (CLIENT, Linux port)
| Authors : Tomasz Mrugalski<thomson(at)klub.com.pl>,Marek Senderski<msend(at)o2.pl>
| Licence : GNU GPL v2 only. Developed at Gdansk University of Technology.
| Homepage: http://klub.com.pl/dhcpv6/
2014.05.27 00:53:26 Client Notice    My pid (1057) is stored in /var/lib/dibbler/client.pid
2014.05.27 00:53:26 Client Notice    Detected iface eth0/9, MAC=00:50:56:b8:01:00.
2014.05.27 00:53:26 Client Notice    Detected iface lo/1, MAC=00:00:00:00:00:00.
2014.05.27 00:53:26 Client Notice    Parsing /etc/dibbler/client.conf config file...
2014.05.27 00:53:26 Client Debug     CONFIRM support disabled (skip-confirm in client.conf).
53:26 Client Info      Interface eth0/9 configuration has been loaded.
53:26 Client Info      My DUID is 00:03:00:01:00:50:56:b8:01:00.
53:26 Client Notice    Creating control (::) socket on the lo/1 interface.
53:26 Client Notice    Creating socket (addr=fe80::250:56ff:feb8:100) on eth0/9 interface.
53:26 Client Notice    CONFIRM support compiled in.
53:26 Client Info      Creating SOLICIT message with 0 IA(s), no TA and 1 PD(s) on eth0/9 interface.
53:26 Client Info      Received ADVERTISE on eth0/9,trans-id=0x6a29b, 4 opts: 2 1 25 23
53:27 Client Info      Processing msg (SOLICIT,transID=0x6a29b,opts: 1 25 8 6)
53:27 Client Info      Creating REQUEST. Backup server list contains 1 server(s).
53:28 Client Info      Received REPLY on eth0/9,trans-id=0x528ec1, 4 opts: 2 1 25 23
53:28 Client Notice    PD: Adding prefix 2007:1821:2100::/60 to all interfaces (prefix will be split to /68 prefixes if necessary).
53:28 Client Info      PD: Using 0 suitable interface(s):
53:28 Client Warning   Suitable interfaces not found. Delegated prefix not split.
53:28 Client Notice    PD: Adding prefix 2007:1831:2100::/60 to all interfaces (prefix will be split to /68 prefixes if necessary).
53:28 Client Info      PD: Using 0 suitable interface(s):
53:28 Client Warning   Suitable interfaces not found. Delegated prefix not split.
53:28 Client Notice    PD: Adding prefix 2007:1841:2100::/60 to all interfaces (prefix will be split to /68 prefixes if necessary).
53:28 Client Info      PD: Using 0 suitable interface(s):
53:28 Client Warning   Suitable interfaces not found. Delegated prefix not split.
53:28 Client Notice    PD: Adding prefix 2007:1851:2100::/60 to all interfaces (prefix will be split to /68 prefixes if necessary).
53:28 Client Info      PD: Using 0 suitable interface(s):
53:28 Client Warning   Suitable interfaces not found. Delegated prefix not split.
53:28 Client Notice    Setting up DNS server 2007:0009:ffff:ffff::fc88 on interface eth0/9.
53:28 Client Notice    Setting up DNS server 2007:0009:ffff:ffff::fc44 on interface eth0/9.
53:28 Client Warning   All IA(s), TA and PD(s) has been configured, but some options (24 ) were not assigned.
53:28 Client Notice    Insist-mode disabled, giving up (not sending INF-REQUEST).
^C53:31 Client Critical  Signal received. Shutting down.
53:31 Client Notice    Shutting down entire client.
53:31 Client Notice    Creating RELEASE for 0 IA(s), 1 PD(s),  (no TA) on the eth0/9 interface.
53:31 Client Notice    PD: Deleting prefix 2007:1821:2100::/60 to all interfaces (prefix will be split to /68 prefixes if necessary).
53:31 Client Info      PD: Using 0 suitable interface(s):
53:31 Client Warning   Suitable interfaces not found. Delegated prefix not split.
53:31 Client Notice    PD: Deleting prefix 2007:1831:2100::/60 to all interfaces (prefix will be split to /68 prefixes if necessary).
53:31 Client Info      PD: Using 0 suitable interface(s):
53:31 Client Warning   Suitable interfaces not found. Delegated prefix not split.
53:31 Client Notice    PD: Deleting prefix 2007:1841:2100::/60 to all interfaces (prefix will be split to /68 prefixes if necessary).
53:31 Client Info      PD: Using 0 suitable interface(s):
53:31 Client Warning   Suitable interfaces not found. Delegated prefix not split.
53:31 Client Notice    PD: Deleting prefix 2007:1851:2100::/60 to all interfaces (prefix will be split to /68 prefixes if necessary).
53:31 Client Info      PD: Using 0 suitable interface(s):
53:31 Client Warning   Suitable interfaces not found. Delegated prefix not split.
53:31 Client Notice    DNS server 2007:0009:ffff:ffff::fc88 removed from the eth0/9 interface.
53:31 Client Notice    DNS server 2007:0009:ffff:ffff::fc44 removed from the eth0/9 interface.
53:31 Client Info      Received REPLY on eth0/9,trans-id=0xd8aae5, 3 opts: 2 1 13
53:31 Client Notice    Bye bye.

best regards

 

Benoit Lourdelet


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://klub.com.pl/pipermail/dibbler/attachments/20140527/28e736b6/attachment.html>


More information about the Dibbler mailing list