Sie befinden sich hier: fli4l / OPT-Datenbank 3.x

OPT-Paket

DNS DHCP: OPT_httpDNS - Dynamische IPs verschlüsselt über Webserver distributieren.
von Der Tiger (Tiger) - zuletzt geändert: 2010-03-09 19:10:42 - 8873 downloads
Um zwischen Routern ohne feste IP Adresse eine Verbindung aufzubauen, müssen deren Adressdaten über einen zentralen Service mit fester IP Adresse ausgetauscht werden. Zu diesem Zweck eingerichtete DynDNS Dienste funktionieren nicht immer zuverlässig und kommen in manchen Fällen aus sicherheitstechnischen Überlegungen nicht in Frage.
httpDNS bietet die Möglichkeit einen solchen Dienst selbst einzurichten und damit den Zugriff auf die gespeicherten IP Adressdaten kontrollieren zu können. Das Paket bedient sich dafür eines beliebigen Webservers mit PHP4 Unterstützung. Auf dem Webserver wird ein kleines PHP Programm abgelegt, das den verschlüsselten Zugriff auf die IP Adressdaten steuert.
Das Paket basiert auf der Idee von Carl Kossack und Axel Werner einen Webspace für die IP-Aktualisierung zu verwenden.

Typische Anwendungen:
  • Aufbauen von VPN-Tunneln.
  • Einrichten eines Spiele- oder Kommunikationsservers.
  • Weltweiter Zugriff auf den fli4l-Router zuhause.
Kernpunkte:
  • Komplett verschlüsselte DNS-Abfragen über HTTP.
  • Einschränkung des Zugriffs durch individuelle Schlüssel (ein Schlüssel je Server).
  • Synchronisation mit beliebig vielen Servern.
  • Die DNS und Log Daten können wahlweise in Dateien oder in eine MySQL Datenbank geschrieben werden.
  • Automatische lokale Namensauflösung (Eintrag in die 'hosts' Datei).
  • Automatische Synchronisierung beim IP-up-Ereignis (zum Beispiel nach der Einwahl beim ISP).
  • Statusabfrage (Log) und Steuerung des Servers über Browser. Kein FTP erforderlich.
  • Vollständige Steuerung von der Kommandozeile aus möglich (zB. Synchronisieren mit easycron).
  • Weltweite Abfrage einzelner Host-IPs über spezielle Links möglich.
  • Nutzt die httpd-Rechteverwaltung. View, Sync und Admin lassen sich benutzerabhängig einschränken.
  • Installation erfordert keinen FTP-Zugang zum Webspace. Das Zugangspasswort bleibt geheim.
  • Eigenes Windows Client Programm als einzelne EXE-Datei ohne Installation verwendbar
Voraussetzungen:
  • fli4l ab 3.4.0 mit aktivierten httpd- und NetCat- oder WGet-Paketen (NetCat und WGet: siehe tools.txt) und aktiviertem DNS (OPT_DNS in boot.txt).
  • Minimal 35kb Webspace. Webserver muss PHP 4.1 oder höher unterstützen (PHP Safe Mode ist kein Problem).
  • Der Webserver darf den body der abgerufenen Seiten nicht verändern (kein automatisches Einfügen von Popups oder Frames).
  • Optional: Aktiviertes OPT_FTP (siehe tools.txt) für das automatische Hochladen des Server Programms auf den Webspace.

Mehr Infos und einen Test-Server gibt's unter: www.httpdns.bplaced.net.

NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.10 3.4.0 354020 17
Release Notes:
* Added: Full support for Fli4L 3.5.0-rev18138 development branch.
* Fixed: Using a http:// or https:// prefix in the sever name caused the synchronization
  to stall.
* Fixed: All routine variables in cgi file are strictly local, now.
* Fixed: Localized date display is much faster and more reliable, now.
* Added: Date and time format can be set using HTTPDNS_DATEFORMAT (not documented) in the
  same way used with date(1),

NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.9 3.4.0 354681 7
Release Notes:
* Fixed: httpDNS now utilizes the new file structure of dnsmasq introduced in Fli4l 3.4.0,
  unfortunately, at the cost of total incompatibility of the client software to previous
  versions of Fli4l. This does NOT affect the server program!
* Fixed: Due to the discontinuation of the free hosting service by our previous web space
  provider, we had to move our homepage to http://www.httpdns.bplaced.net . This also
  affects the test server, which now is available at http://testserver.httpdns.bplaced.net
* Fixed: State of OPT_DNS was not checked during build.
* Manual updated.
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.8 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.3.0, 3.3.1, 3.4.0 353666 7
Release Notes:
* Fixed: Syncs are performed only, if the current ipup-interface is the default gateway or
  matches the HTTDNS_INTERFACE.
* Fixed: French language file updated.
* Added: Support for Fli4l 3.4.0
* Fixed: Minor adjustments to the GUI.
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.7 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.3.0, 3.3.1 354400 11
Release Notes:
* Fixed: Server program did not recognize primary key in DNS table causing errors when
  'Generate Polling Links' and 'Erase Host Entry' were invoked.
* Fixed: Error messages in set_dns_primary_key corrected.
* Added: Support for fli4l 3.3 development branch.
* Added: Variable HTTPDNS_INTERFACE supports IP_NET_x_DEV device reference.
* Fixed: HTTPDNS_QUERYPORT variable was falsely defined in config/httpdns.txt.
* Added: HTTPDNS_QUERYPORT_SSL variable (not documented).
* Added: Support for SSL connections. Requires WGET_SSL and therefore fli4l 3.3.x or above.
* Added: About tab. Totally necessary! ;-)
* Manuals updated.

IMPORTANT NOTE: To make use of these changes, you have to update your servers!
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.6 3.2.0, 3.2.1, 3.2.2, 3.2.3 352295 7
Release Notes:
* Fixed: Server program sets field 'host' as primary key in the MySQL DNS table in order to
  strictly avoid dupes.

IMPORTANT NOTE: To make use of these changes, you have to update your servers! Thereafter,
  invoke either 'Generate Polling Links' or 'Erase Host Entry' (you don't have to actually
  erase any host, just klick the button) from the administration menu to automatically set
  the primary key. Check the server log afterwards to see if the setting of the primary key
  has failed. If so, use 'Erase Host Entry' to delete all duplicate entries and retry.
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.5 3.2.0, 3.2.1, 3.2.2 351853 10
Release Notes:
* Instate of waiting 30 seconds for an answer that isn't coming, the CGI now retries
  sending the query 3 times while waiting only 10 seconds on each attempt.
* Fixed: Under certain conditions the server program reported a corrupt host list with
  several identical lines.
* Server program does not use array_push anymore.

IMPORTANT NOTE: To make use of these changes, you have to update your servers!

IMPORTANT NOTE: On fli4l 3.2.2 this version of httpDNS requires PATCH 1 BEING INSTALLED!
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.4 3.2.0, 3.2.1, 3.2.2 351569 6
Release Notes:
* Adapted restart of dnsmasq in rc862.httpdns for compatibility with fli4l 3.2.2.

IMPORTANT NOTE: On fli4l 3.2.2 this version of httpDNS requires PATCH 1 BEING INSTALLED!
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.3 3.2.0, 3.2.1 351499 7
Release Notes:
* httpDNS is now logging to syslogd's facility 'local4'. You can change the facility by
  setting HTTPDNS_LOGFACILITY.
* The logging to file is no longer supported. The 'Journal' tab has been removed vom the
  httpDNS web interface. Instate, use OPT_SYSLOGD in config/base.txt to configure logging!
* Due to the redirection of the logging to syslogd, the variables HTTPDNS_LOGFILE and
  HTTPDNS_LOGLEVEL are obsolete and will be removed, shortly.
* Updated local log messages.
* HTTPDNS_HOSTNAME does not allow dash (-) character anymore due to problems with the
  transport of dash chars in URL patterns. Thanks to Hans Kraus for his help!
* Manuals updated.
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.2 3.2.0 351220 7
Release Notes:
* Creating config file uses set instate of cat rc.cfg.
* Discontinued support for ifconfig, because ip is now permanent part of the stable version
  of fli4l.
* Fixed occasional permission error when dnsmasq tries accessing hosts.httpdns file.
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.1 3.2.0 351158 7
Release Notes:
* Corrected typo in errorlevel routine.
* Check_UserRight accepts global 'all' statement, now.
* Users working without login to the GUI will have all administration tools available, now.
  Though, this is a security risk, the handling is now as forced by the fli4l development
  specification.
* Build flag sh taken from css file to allow hex numbers.
* Now, a /var/run/httpdns.conf file created instate of parasiting on /var/run/mini_httpd.conf
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.0 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4 350760 10
Release Notes:
* The CGI now returns an errorlevel for other programs to verify, wheter or not the CGI has
  been executed successfully.
* If no answer is received, the communication tool now terminates after 30 seconds to avoid
  zombies.
* Displaying DNS tables is now faster.
* Host entries can now be erased one-by-one from the server using the GUI. This feature
  requires an update of the server program.
* MySQL was not initialized, if it was only used for DNS, but not for loging. Major bug,
  sorry.
* Some messages used in server log corrected.
* A server with HTTPDNS_SERVER_%_LIFETIME set checks all DNS entries, if their Time To Live
  has expired. Expired entries are automatically erased.
* GUI displays note, if no data is available for listing (eg. view log).
* Enhanced overall CGI performance.
* New -s and --silent command line parameters to suppress output to console.
* Multiple command line options (eg. server URLs) are digested, now.
* IpUp routine now uses --silent to avoid garbage on the console.
* Invoked form the command line the CGI now accepts to select servers by their number not
  only by their URL.
* httpDNS now uses separate hosts.httpdns file for dnsmasq. dnsmasq therefore is restarted
  during boot.
* During update (eg. after synchronization) expired zombie ips are wiped from the
  hosts.httpdns file.
* If HTTPDNS_SERVER_%_ADMIN is set to a host name, then Clear Log and Erase Host
  commands are limited to be sent from the ip address the stated host is registered with.
  Activating this feature requires an update if the server program.
* Structural rework of the server program. Server resonds "ACCESS DENIED.", if password
  query is sent and no server password is set.
* Server log now shows updated IP after synchronization.
* do_Download now suggests the correct filename instate of path and filename, again.
* Fixed the bug that downloading the journal resulted in receiving an empty file.
* Manual server setup linked to the unpatched server program, instate of the modified
  file. The unpatched program caused PHP error message when executed.
* Modified instructions for manual server setup to use chmod 644 for server program.
* The Windows Client Program is now bundled with httpDNS. It can be run on Windows
  NT4/2000/2003/XP/Vista platforms to synchronize with or query ip addresses from a server.
* Once more a very much appreciated translation to French language by Bernard Charrier.
  Merci beaucoup de vous être donné tout ce mal !
* Manuals updated.

IMPORTANT NOTE: The Windows Client Program requires a httpDNS 1.1.1 or up server for
                querying ips and a 1.1.5 or up server with HTTPDNS_SERVER_%_PASSWORD
                set for synchronizing!
NameFLI4L-VersionGrößeDownloads
httpDNS 1.2.0 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4 350753 6
Release Notes:
Functionally identical to the version above.
NameFLI4L-VersionGrößeDownloads
httpDNS 1.1.5 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4 68130 14
Release Notes:
Functionally identical to the version below.
NameFLI4L-VersionGrößeDownloads
httpDNS 1.1.5 3.1.0, 3.1.1, 3.1.2, 3.1.3 68118 16
Release Notes:
* get_LocalIP can use both commands ifconfig and ip and therefore is compatible with all fli
  versions, again.
* Corrected typo in get_Encrypted routine of CGI.
* LinkGen symbol background is transparent, now.
* If new variable HTTPDNS_LOGFILE is set, a local activity log is written using Common Log
  Format. The log file can be viewed and clear through the httpd web interface.
* Fixed a security hole in do_Download. Routine could have been used to download any file.
* Invoked from the command line, the CGI now sends status messages to stdout.
* All HTML output created by the CGI (except do_Action) is now redirected through a separate
  routine show().
* HTTPDNS_SERVER_%_NAME can hold URLs including http:// or https://, now. Just, at this stage
  httpDNS does not support SSL or TSL connections.
* The optional new variable HTTPDNS_USEWGET activates the use of WGet rather than NetCat
  for querying the server. This allowes HTTP logins for web folder protection.
* There are two new optional variables HTTPDNS_SERVER_%_HTTPUSER and HTTPDNS_SERVER_%_HTTPPWD
  which can be used to specify a HTTP login to the server's webfolder. To use this feature
  HTTPDNS_USEWGET has to be enabled.
* If the new optional variable HTTPDNS_SERVER_%_PASSWORD is set, the server program also
  accepts IP sync sent with password instate of being encrypted with the server key. This can
  be used to let hardware routers and modems (like the AVM Fritz!Box 5010) update IP
  information on the server.
* During build errors and warnings issued by the httpDNS package have a tag showing the
  package name.
* Added info header to EXP, PHP and CSS.
* Manuals updated. Additional section regarding debugging created. Links to image files of
  icons repaired.

IMPORTANT NOTE: Variable HTTPDNS_LOGFOLDER has been renamed to HTTPDNS_DNSFOLDER to avoid
                mixups with logging variables.

IMPORTANT NOTE: The server programm does not accept the command statement anymore. Therefore,
                please make sure every client has httpDNS 1.1.1 or later installed!