Comments (10)
Can you provide a packet-dump (decoded preferred) using Wireshark (capture with
filter "udp.port==67 or udp.port==68" -> stop -> print single packet to file as
decoded ASCII) or tcpdump (tcpdump -i eth0 -s 1024 -vvv udp port 67 or port 68)
showing both servers' responses?
I'm suspecting that ISC's server is sending a different siaddr value, but need
to see the packets to substantiate (and help you address) that suspicion. We
might find out something else of interest, too.
Original comment by red.hamsterx
on 29 Jan 2011 at 8:54
- Changed state: Accepted
from staticdhcpd.
some update on this.
Had some finding:
1)DHCP_FIELDS (siaddr and file) are not set through staticdhcpd. But the ISC's
server set those values.
2)It was not correct to set file with just
setOptions('file',strToList('pxelinux.0'))
because it expects a list of 128 bytes.
After setting the two values, I still can't boot. But this time, got a
different error message: PXE-E32 TFTP open timeout
Seems it can now find the tftp server, but still can't connect.
Original comment by [email protected]
on 3 Feb 2011 at 8:08
from staticdhcpd.
another update
I am so happy ...
It works now, I can see the tftp downloading winpe booting files.
It turned out I missed one digit in the conf.py when specifying tftpservier id
Original comment by [email protected]
on 3 Feb 2011 at 10:23
from staticdhcpd.
Neil,
- Per this issue, I added a new method strToPaddedList(string,dhcp_field_length)
to src/libpydhcpserver/type_rfc.py.
- Also added a webservice connection method to lookup the IP.
- In dhcp_packet.py, added exception handling to:
self._options_data[DHCP_OPTIONS_REVERSE[opt_id]] = opt_val
as I saw some incoming packets triggered unhandled exception here
For details please see the patch file.
Original comment by [email protected]
on 7 Feb 2011 at 10:20
from staticdhcpd.
-
Original comment by [email protected]
on 7 Feb 2011 at 10:20
Attachments:
from staticdhcpd.
Hi, Andrew. Sorry I haven't been responding: I was without Internet access from
home as part of a protest against Canada's Usage-Based Billing thing and work
was crazy-busy.
I'll incorporate your patch (thank you very much for taking the time to submit
it and for adhering to the project's coding conventions!), minus the parts that
modify loadDHCPPacket(), since they're obviously specific to your site's
implementation.
Can you explain what the Webserves data-source is? It's the first time I've
heard of such a thing and I'd like to know how to document it for other users.
Original comment by red.hamsterx
on 14 Feb 2011 at 11:51
from staticdhcpd.
Thanks for getting back to me.
The webservice source is Oracle database. I am doing this because I don't want
to expose the database connection information and deal with tnsnames lookup etc.
So it is basically a https call to pass in 'action,mac,format' and get lookup
result returned in the format specifed. So all the data retrieving logic is on
the webservice host side.
I am not quite sure about the performance yet. It would be slower than a direct
database lookup.
Original comment by [email protected]
on 15 Feb 2011 at 10:09
from staticdhcpd.
I've finally added everything from your patch to the dev branch, Andrew, except
for the webservice thing, since that seems like it's pretty local to your site,
and I'm *really* sorry it took so long. I could come up with a myriad of
excuses, but they wouldn't be sufficient.
If you'd like, though, I can grant you committer access, since it seems like
you know what you're doing, and while I expect to be more available during the
summer, I can't guarantee anything.
Original comment by red.hamsterx
on 23 Jun 2011 at 12:21
- Changed state: Fixed
from staticdhcpd.
Thanks for fixing the issue. And glad you finally get some free time.
Sure, I will be happy to get a committer access.
Andrew
Original comment by [email protected]
on 24 Jun 2011 at 2:19
from staticdhcpd.
If you can e-mail me (red.hamsterx {at[ gmail or flan ]at} uguu.ca) the address
of the Google Account you'd like to use to contribute to this project, I'll get
that set up immediately, and then I'll send you a roadmap of what I have
planned for the next little while. I'll also explain anything you might be
unfamiliar with, small-team-source-control-system-wise.
In case I get swamped again, I'd like to know that the project will be under
the control of someone who can prevent necessary bugfixes from sitting in limbo
for months.
Original comment by red.hamsterx
on 24 Jun 2011 at 5:16
from staticdhcpd.
Related Issues (20)
- DHCPv4 server support for Rapid Commit HOT 6
- Redis extention or nosql db layer
- PXE? HOT 6
- Support for relay agents requiring Option 82 HOT 2
- Publishing project to PIP? HOT 3
- support for Database INSERT for unknownMAC HOT 3
- IPv6 support? HOT 2
- How can I handleUnknownMAC? I want my server should allocate IP to the client even if mac address of client is not in INI or database. HOT 5
- Doesn't support python 3 (and doesn't document that) HOT 1
- Can staticdhcpd make a lease table from watching DHCP traffic? HOT 2
- adding extentions HOT 2
- AttributeError: 'NoneType' object has no attribute 'split' HOT 7
- TypeError: setsockopt() argument 3 must be string or read-only buffer, not None HOT 20
- staticDHCPd version 2.0.0-rc1 doesn't start HOT 3
- Cannot load mysql.sql on MariaDB 10.3.17 HOT 3
- Error in the rfc3925_125_decode function HOT 1
- dev null dup2 Bad file descriptor HOT 1
- Need to Port to Python3 HOT 22
- Documentation HOT 2
- DHCPRENEW support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from staticdhcpd.