Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Moved from SourceForge to Github
Browse files Browse the repository at this point in the history
  • Loading branch information
John Smith committed May 3, 2016
1 parent 3181892 commit 332084e
Show file tree
Hide file tree
Showing 16 changed files with 8,056 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.classpath
.project
.settings/
target/
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
Release history and changes of JDHCPD
===========================================

0.10 (2010-05-09)
- Added an option to serve one or more dns server
- Moved some parts from the Application class into the Server class
- Changed some comments in the classes to remove some warnings
- Removed the stupid version number from the classes
(I always forget to increment them)
- The hostname is now displayed if sent in an request
- Updated the README file to explain all possible settings inside the
config.ini file


0.9 (2010-04-28)
- Completed the list of DHCP-Options
- Included the important RFCs which define the protocol
- Removed some redundancy in the server


0.8 (2010-04-21)
- Changed the visility of some inner classes from Server
- Moved some methods from Server to the Tools class
- User interface parts separated to a new class
- Some commands printed their messages only to the console
and ignored the gui
- Bugfix: A NullPointerException killed the server if a requested
ip adress is out of the defined range
- Bugfix: Bug mentioned in v0.7 finally fixed and tested


0.7 (2010-04-19)
- Updated the comments
- Sorted the source code
- Improved the GUI
- Bugfix: If an offered ip-adress is already in use, the client
responded with a DHCPNACK message, which was not handeled.
So the same (invalid) ip adress was offered as often as the
client asked for one.
Need further tests to confirm fix!
- Replaced JDialog by a JFrame, now it is displayed in the taskbar


0.6 (2010-03-16)
- Created the CHANGELOG file
- Completed the javadoc comments in all classes
- Replaced the german console help, so the complete project
is now written in english
- Notified messages from the server are now written synchronized
to the console
- Removed an unused method from the Tools class
- Changed socket timeout to 1 second so it responds faster
- Implemented a very simple gui, currently only displays the log.
Can be disabled via the parameter --nogui.


0.5 (2010-03-15)
- Initial release on sourceforge.net
46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
This project provides a lightweight, simple and easy to use
DHCP server written in 100% java code.

It can be configured either via the config.ini file or
live via console.
Currently it is just an simple tool to provide IP-Adresses
in a given range and a subnet.

This project was started as i realized that there was no free and
easy to use dhcp server for windows that i can use at my lan-partys.
A sample config.ini is present which distribute ip adresses from
192.168.0.20 to 192.168.0.200 in a class C net (255.255.255.0)

The project is hosted an sourceforge and can be found via the
following url: http://sourceforge.net/projects/jdhcpd/

You can contact me via the service provided by sourceforge.net

The config.ini is a simple textfile, which is used to configure
the server. It contains only one section (the "global" section)
and provides the following options:

renewal_time:
When the client should try to renew the lease. Defined in seconds.
default: 77760
lease_time:
How long the lease is valid. Defined in seconds.
default: 86400

server_ip:
Defines which ip-adress the server got.
default: 192.168.0.1
first_ip:
The first ip to provide to the clients.
default: 192.168.0.20
last_ip:
The last ip to provide to the clients.
default: 192.168.0.200
netmask:
The netmask of this network. CIDR notation is NOT allowed.
default: 255.255.255.0
dns_servers:
A list of DNS-Servers responsible for this network. Each IP is
separated by a space.
default: 192.168.0.1

9 changes: 9 additions & 0 deletions config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[global]
lease_time=86400
last_ip=192.168.0.200
server_ip=192.168.0.1
first_ip=192.168.0.20
netmask=255.255.255.0
renewal_time=77760
dns_servers=192.168.0.1

Loading

0 comments on commit 332084e

Please sign in to comment.