Giter Club home page Giter Club logo

binder's People

Contributors

dunedan avatar goetzk avatar jforman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

binder's Issues

test error

When the project is tested, after the server is added in the background, the homepage selects The Times error.
error:Remote end closed connection without response

Reverse for '"server_list"' with arguments '()' and keyword arguments '{}' not found.

I'm trying to run binder on test server, after installing all dependencies and running syncdb (without erros), I'm starting a django (manage.py runserver 0.0.0.0:8080)

but if I try to open it browser i see

NoReverseMatch at /

Reverse for '"server_list"' with arguments '()' and keyword arguments '{}' not found.

Request Method:     GET
Request URL:    http://192.168.122.171:8080/
Django Version:     1.4.5
Exception Type:     NoReverseMatch
Exception Value:    

Reverse for '"server_list"' with arguments '()' and keyword arguments '{}' not found.

Exception Location:     /usr/lib/python2.7/dist-packages/django/template/defaulttags.py in render, line 426
Python Executable:  /usr/bin/python
Python Version:     2.7.3
Python Path:    

['/srv/binder',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/pymodules/python2.7']

Am I missing something in configuration?

Support must be added before being able to support newly-encountered XML version 2.2.'

Getting error this running binder and click on my server that I created in the admin section.
I'm testing under virtualenv and ran the requirements but get error below

Any ideas how I can fix this, thanks

pip list show these versions and I'm running on Ubuntu 14.04.4 LTS
beautifulsoup4 (4.5.1)
Django (1.8.16)
dnspython (1.15.0)
lxml (3.6.4)
pip (7.1.2)
pybindxml (0.6)
setuptools (18.2)
wheel (0.24.0)

'Support must be added before being able to support newly-encountered XML version 2.2.'
Request Method: GET
Request URL: http://172.17.200.111:8080/info/airlcdnstest01/
Django Version: 1.8.16
Exception Type: XmlError
Exception Value:
'Support must be added before being able to support newly-encountered XML version 2.2.'
Exception Location: /opt/dnstool/local/lib/python2.7/site-packages/pybindxml/reader.py in get_stats, line 68
Python Executable: /opt/dnstool/bin/python
Python Version: 2.7.6
Python Path:
['/opt/binder/binder',
'/opt/dnstool/lib/python2.7',
'/opt/dnstool/lib/python2.7/plat-x86_64-linux-gnu',
'/opt/dnstool/lib/python2.7/lib-tk',
'/opt/dnstool/lib/python2.7/lib-old',
'/opt/dnstool/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/opt/dnstool/local/lib/python2.7/site-packages',
'/opt/dnstool/lib/python2.7/site-packages']

dns key error

Hi,
I added the key in the background, and then put the value in the dynzone. Key file, and then the error.
Error:
bash[119220]: /etc/bind/dynzone.key:3: bad secret 'bad base64 encoding'

BadStatusLine

hi,
Error:
File "/usr/lib64/python2.7/httplib.py", line 408, in _read_status
raise BadStatusLine(line)
BadStatusLine: ''

Doesn't work on Ubuntu 16.04 - multiple errors, XML 3.6 not supported (yet)

First off, Bind9 uses XML 3.6 which isn't supported. Editing the xml library to just use the XML 3.5 parser seems to work... but then it fails not supporting any of the HMACs - no matter which one you use - "TSIG algorithm hmac-sha256. is not supported"

I'm not proficient enough in Python to fix this myself. The XML library claims:
XmlError at /info/127.0.0.1/

u'Support must be added before being able to support newly-encountered XML version 3.6.'

Request Method: GET
Request URL: http://127.0.0.1:8000/info/127.0.0.1/
Django Version: 1.9.6
Exception Type: XmlError
Exception Value:

u'Support must be added before being able to support newly-encountered XML version 3.6.'

Exception Location: /usr/local/lib/python2.7/dist-packages/pybindxml/reader.py in get_stats, line 68
Python Executable: /usr/bin/python
Python Version: 2.7.11
Python Path:

['/usr/src/binder',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages']

Server time: Sat, 14 May 2016 05:23:23 -0400

I'm keen to learn, any ideas? How do I add Unicode support to XML 3.6 library? Is that the main problem? Easier to just use an older BIND?

documentation, round 1

Document:

  • Installation
  • Packages needed
  • named.conf configuration
  • Assumptions
  • URL structure

Admin user in the docker image

Please note that, unlike written in the README, there is no admin user predefined in the docker image.

It's not a big deal since its easy to create through "python manage.py createsuperuser" in a newly created container (or image) and that's more secure than providing a default admin but that could be mentioned in the README ;) ...

Thanks.

support other record types like MX, SRV.

Hi Jeff
Thanks for your work! We like binder :-)
Is it correct that the binder app supports adding/editing of the following record types: A, AAAA, CNAME?
Would be great to add support for MX, SRV and others record types. Is it something you plan to implement?

Error 403

Hi,
I folowed your instruction page on the installation but the server return me a 403 forbidden when i try to access the website. The logs tell the access was blocked by the wsgi file policy

Convert binder to stand alone application

Hi,
I'm hoping its possible to convert binder to a standalone application. I am looking to integrate it with an existing django site and it would be easier if that was the case.

(Its possible it can be done but the documentation makes it sound like that isn't the case - if I discover a way I will update here).

install error at createsuperuser

python manage.py createsuperuser
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.6/site-packages/django/core/management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.6/site-packages/django/core/management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.6/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 70, in handle
    default_username = get_default_username()
  File "/usr/lib/python2.6/site-packages/django/contrib/auth/management/__init__.py", line 116, in get_default_username
    User.objects.get(username=default_username)
  File "/usr/lib/python2.6/site-packages/django/db/models/manager.py", line 131, in get
    return self.get_query_set().get(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 361, in get
    num = len(clone)
  File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 85, in __len__
    self._result_cache = list(self.iterator())
  File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 291, in iterator
    for row in compiler.results_iter():
  File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 818, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/python2.6/site-packages/django/db/backends/util.py", line 40, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py", line 344, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.DatabaseError: no such table: auth_user

Multi user capabilities

Hi,
Does this support multiple users each with their own servers/zones? if it does could you provide some information on how that works?

Resolv host name (NSD back-end)

The NSD back-end passes the server hostname directly to the nsd-control command:

            zs_out = subprocess.check_output(
                ["/usr/sbin/nsd-control",
                "-c", self.get_config_path(),
                "-s", self.hostname,
                "zonestatus"],
                stderr=subprocess.STDOUT,
            ).decode('utf-8')

The problem is that this command is expecting an IP (v4 or v6) address and does not resolve hostnames.
This is usually find with DNS servers since they are rather stable and are often used to resolve names for their own domains, however when the DNS server is in another docker container, container names are more stable than IP addresses and it would be really useful to use hostnames rather than IP addresses.

_mysql.c:1915:41: error: ‘MYSQL’ has no member named ‘reconnect’ (centos 7 python 2/3 mariadb 10.x compilation)

  • OS: centos 7.(5/x)
    *devenvs: MariaDB 10.x + python 2.x/3.x

  • default output:
    _mysql.c: En la función ‘_mysql_ConnectionObject_ping’:
    _mysql.c:1915:41: error: ‘MYSQL’ no tiene un miembro llamado ‘reconnect’
    if ( reconnect != -1 ) self->connection.reconnect = reconnect;
    ^
    error: command 'gcc' failed with exit status 1

  • how to fix

sed '/st_mysql_options options;/a unsigned int reconnect;' /usr/include/mysql/mysql.h -i.bkp

source: DefectDojo/django-DefectDojo#407

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.