This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Email to Philippe at Tftpd32.jounin.net (Ref: DHCP server problem)


Hi Philippe

We are using your product Tftpd32, which also includes a DHCP server. We are
using this DHCP server to assign an IP address to our board that uses the
BOOTP protocol.

In the vendor-specific options, our BOOTP implementation only recognizes
some fields, like Subnet Mask (code 1), Requested IP Address (code 50), etc.
The remaining options are displayed as "Unknown option: ", followed by the
description of the option (length specified in length field following code
field).

Now when the board displays these vendor-specific options, we find some
strange values for them. Some options like Subnet Mask are displayed
multiple times without any following data. Many other options have codes
that are not described in any RFCs, such as in the range 128-254. They also
have quite long lengths, such as 250 bytes and so on. Some of these fields
are Quote of the Day servers and Time servers, but have the same unusually
long lengths.

See data below:

--------------------------------------------------------------------

Unknown option: a/10.29: 216 0 0 0 0 0 10 46 56 0 12 140 240 0 12 141 80 0 0
0 0
 0 0 0 0 0 0 0 0
Unknown option: 2/2.0:
Unknown option: 80/128.8: 0 0 0 0 0 0 0 0
Unknown option: 18/24.0:
Unknown option: 40/64.0:
        subnet mask:
        subnet mask:
Unknown option: 8/8.62: 212 0 0 0 0 0 0 0 0 0 8 67 232 0 0 0 0 0 0 0 0 0 0 0
0 0
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 50 0 0 0 0 0
        domain name: <Not a string: 0xB5198>
          host name: @
Unknown option: fe/254.251: 239 245 191 46 0 0 0 0 1 9 221 221 89 136 247
222 23
4 87 223 199 8 2 255 55 70 255 253 102 68 0 253 239 159 219 254 163 3 32 118
197
 230 121 255 86 0 0 255 107 18 226 223 235 25 128 191 229 191 215 239 251
192 0
223 189 174 239 223 201 2 128 188 127 255 127 242 250 32 0 223 237 234 235
255 1
62 56 4 254 63 191 255 251 246 4 0 251 249 221 220 215 247 34 0 253 251 78
190 1
87 219 18 0 239 250 157 171 255 110 64 0 239 250 63 158 187 111 69 0 255 237
237
 255 235 66 132 0 116 206 75 234 173 41 17 4 255 61 255 238 253 181 42 72
245 23
3 223 246 174 37 32 0 245 255 182 118 127 91 34 0 223 251 127 205 249 198 44
1 2
51 214 250 247 255 249 8 0 255 190 159 218 255 213 8 32 252 157 207 251 27
227 0
 64 123 239 118 190 223 150 2 64 255 149 253 255 255 248 128 0 175 223 231
170 2
46 220 140 64 175 125 59 55 186 188 96 0 191 255 183 169 159 98 40 8 158 255
230
 223 235 81 74 128 223 191 58 183 183
Unknown option: a6/166.68: 0 255 223 101 247 191 41 1 0 253 155 191 127 245
113
42 2 0 0 1 9 83 116 97 114 116 105 110 103 32 110 101 116 119 111 114 107 46
46
46 10 187 22 155 253 189 117 136 0 127 239 182 229 125 89 32 2 255 251 239
37 24
7 66 34 2 238 235 93
Unknown option: fa/250.251: 243 17 0 252 247 221 165 253 189 40 0 252 255
220 22
3 127 249 64 0 247 254 252 255 250 222 128 0 239 253 235 247 239 88 101 64
255 2
55 187 222 239 235 69 0 253 251 255 227 107 45 0 0 223 126 255 247 239 115
97 32
 191 239 102 175 203 229 2 0 254 215 127 255 175 73 16 66 251 223 207 175
255 86
 24 148 255 243 191 253 95 234 98 0 255 239 222 179 126 172 128 0 255 233
239 15
7 253 188 128 0 223 255 189 219 252 164 0 16 222 251 101 203 125 59 8 0 251
173
111 250 253 237 64 0 126 255 243 189 239 212 25 0 187 246 238 219 223 191 80
8 1
23 239 254 253 239 68 0 8 126 251 175 123 247 93 129 0 127 122 231 214 221
214 1
28 0 123 250 87 237 255 105 146 0 127 219 222 151 222 54 8 4 253 171 127 246
230
 236 5 64 223 250 121 255 191 205 33 0 222 89 142 183 237 73 20 0 7 240 11
177 1
26 186 128 0 223 247 73 213 219 123 72 1 95 255 83 222 217 121 4 0 255 90
187 25
1 127 118 68 68 255 207 175 253 206 57 0 4
Unknown option: df/223.138: 186 251 207 170 17 0 191 254 91 215 109 107 1 0
238
174 201 223 187 233 48 0 255 238 250 251 119 219 8 0 255 223 89 223 255 170
0 0
255 127 109 191 239 247 34 17 222 127 123 187 223 26 136 0 63 191 218 222
207 21
7 40 8 199 180 251 159 221 197 42 64 255 235 237 203 253 173 17 0 255 231
255 22
3 191 73 8 0 253 255 145 189 255 251 128 0 251 93 235 227 219 76 128 0 246
253 2
38 230 221 239 137 0 255 253 199 254 213 172 160 0 223 233 53 255 255 101 0
128
223 220 253 254 172 213 26 0 235 238 238 239

------------------------------------------------------------------------

Does your DHCP server send out such fields in response to BOOTP requests? Or
you feel there could be some other problem, either with our code or
somewhere else?

Regards

Chandrashekhar Padiyar

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]