1. 02 Feb, 2015 1 commit
  2. 25 Jul, 2014 1 commit
    • Tomas Hlavacek's avatar
      Add support for router ACL. · f4a09b17
      Tomas Hlavacek authored
      Add support for ACL that could be associated with a router to restrict
      users that are eligible to run commands on the router.
      
      Just add acl=['username1','username2',...] to the configuration
      into the parameters of the router.
      f4a09b17
  3. 06 Jun, 2014 1 commit
    • Frederik Kriewitz's avatar
      Fix render() encoding · 1a9d7416
      Frederik Kriewitz authored
      Fixes exceptions like this:
      ERROR in CGI: Traceback (most recent call last):
        File "/var/www/html/ulg.py", line 785, in <module>
          handler.index(**params)
        File "/var/www/html/ulg.py", line 722, in index
          print self.renderULGIndex()
      UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in
      position 6254: ordinal not in range(128)
      Signed-off-by: 's avatarTomas Hlavacek <tmshlvck@gmail.com>
      1a9d7416
  4. 17 Apr, 2014 1 commit
  5. 04 Apr, 2013 1 commit
    • Tomas Hlavacek's avatar
      Add support for CommonSelectionParameter · f91fd079
      Tomas Hlavacek authored
      There are problems with page size and page loading speed when there
      are more routers with several peers and several BGP related commands
      because selection commands multiplicate the peer tables in the resulting
      javascript placed into the resulting page. This is not effective enough and
      therefore sligh rewrite is needed.
      
      Introduce new type of SelectionParameter - CommonSelectionParameter that
      has its ID and it is placed to a JS variable in the beginning of the page
      or function that uses the values inside only once. Then construction of the
      select boxes uses this variables to feed needed values according to the
      ID of the content.
      f91fd079
  6. 27 Mar, 2013 1 commit
  7. 22 Mar, 2013 1 commit
    • Tomas Hlavacek's avatar
      Move config file to an arbitrary path. · 3b6f367e
      Tomas Hlavacek authored
      Implement loading of config.py from arbitrary path. The file potentially
      contains sensitive material like passwords, usernames, list of routers
      etc. and should be placed outside the www root directory.
      3b6f367e
  8. 20 Mar, 2013 1 commit
  9. 06 Mar, 2013 1 commit
  10. 18 Jan, 2013 1 commit
  11. 15 Jan, 2013 1 commit
  12. 08 Dec, 2012 1 commit
  13. 30 Nov, 2012 1 commit
    • Tomas Hlavacek's avatar
      Licencing rectified. · d862672e
      Tomas Hlavacek authored
      Update licencing header in sources to reflect actual authorship of
      CZ.NIC labs.
      Move personal credits to file CREDITS.
      Add copy of the license GNU GPLv3 to LICENSE file.
      d862672e
  14. 23 Nov, 2012 1 commit
  15. 13 Nov, 2012 1 commit
  16. 12 Nov, 2012 1 commit
  17. 18 Oct, 2012 1 commit
    • Tomas Hlavacek's avatar
      Add AS names to BGP graph nodes. · 93e459ac
      Tomas Hlavacek authored
      Implement arbitrary data into sessions.
      Implement finishHook to TextCommand.
      Refactor graph generation of Cisco by the abovementoined mechanisms.
      Add whois client.
      Refactor whois client calls in ulg.py in action whois.
      Add simple annotation by AS names in BIRD BGP graph.
      93e459ac
  18. 17 Oct, 2012 2 commits
    • Tomas Hlavacek's avatar
      Fix whois queries for subnets to ARIN whois. · 5e3ffef6
      Tomas Hlavacek authored
      ARIN whois server does not allow queries for 1.2.0.0/20 but we can query
      any IP address in that block.
      Remove the /<netmask> part and it works.
      5e3ffef6
    • Tomas Hlavacek's avatar
      Implement whois client and link it to decorators. · 4a6c29e8
      Tomas Hlavacek authored
      Implement whois CGI action.
      Link decorator helper functions to this new action instead of RIPE DB
      web interface.
      Put link to URLs to RIPE DB web interface frol old defaults.getANSURL()
      and defaults.getIPPrefixURL() functions to the header of the new Whois
      output in the modal window. Open the links to RIPE DB in new
      windows/tabs.
      4a6c29e8
  19. 11 Oct, 2012 1 commit
    • Tomas Hlavacek's avatar
      Add IP address annotation for BIRD and Cisco. · 726d99d1
      Tomas Hlavacek authored
      IP address annotation (clickable modal window/href) in the show bgp
      ipv4/6 unicas <prefix> output added.
      
      In future it should be linked via decorator_helper to whois client /
      DNS resolver to give more meaningful explanation of observed network
      topology.
      726d99d1
  20. 10 Oct, 2012 1 commit
  21. 09 Oct, 2012 1 commit
  22. 04 Oct, 2012 1 commit
  23. 03 Oct, 2012 1 commit
  24. 27 Sep, 2012 1 commit
    • Tomas Hlavacek's avatar
      Rework parameter passing to decorator methods. · 6cfdc78a
      Tomas Hlavacek authored
      Rework parameter passing from
      (result,router=0,decorator_helper,resrange,...) to more compresehnsive
      version (session,decorator_helper). The session contains or should
      contain all the parameters needed but there is a certain indirection
      because session is being defined later in ulg.py. The rationale is that
      even thouhg ulg.py can no be imported into files containing decorators
      it is stable part of the ULG and therefore it might be used for building
      decorators based on classes defined there (even though the classes are
      not directly accessible, which can be overcomed by passing instances or
      using decorator_helper to do needed class instantiation.
      
      Modules for BIRD as well as Cisco has been changed to reflect this
      changes.
      6cfdc78a
  25. 26 Sep, 2012 1 commit
  26. 14 Sep, 2012 1 commit
    • Tomas Hlavacek's avatar
      Dispaly ranges implemented. · 884bc060
      Tomas Hlavacek authored
      Lot of things has to be reworked in order to introduce range display of
      large results (it should have been take into account in the beginning)...
      884bc060
  27. 11 Sep, 2012 5 commits
  28. 21 Aug, 2012 1 commit
  29. 19 Aug, 2012 1 commit
  30. 14 Aug, 2012 1 commit
  31. 08 Aug, 2012 1 commit
  32. 27 Jul, 2012 1 commit
  33. 20 Jul, 2012 1 commit
  34. 19 Jul, 2012 1 commit
  35. 18 Jul, 2012 1 commit