1. 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
  2. 18 Apr, 2014 1 commit
    • Tomas Hlavacek's avatar
      Fix line break in Cisco show bgp ipv4 uni sum · fa12f979
      Tomas Hlavacek authored
      Line break in Cisco parser for show bgp ipv4 unicast summary caused
      exception. This happens when the IP address is longer and newline
      is inserted to allign columns. And this happens especially when
      somebody uses IPv6 peer to transport IPv4 routes.
      
      Fix line breaks using code for IPv6 also in IPv4 handling
      code.
      fa12f979
  3. 17 Apr, 2014 1 commit
    • Tomas Hlavacek's avatar
      Fix Cisco show bgp table parsing IPv4/6 mismatch · f9c4bcd2
      Tomas Hlavacek authored
      Fix Cisco parsing of show bgp ipv4/6 unicast sum when the opposite address
      family peer is used. I.e. this:
      
      sfc-c7200-gate.ai3.net#show bgp ipv4 unicast summary
      <cut>
      BGP activity 2403473/2329339 prefixes, 9040108/8863755 paths, scan interval 60 secs
      
      Neighbor      V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
      2001:D30:101:1::11
                    4 4717 0     0       0      0   0    never   Active
      202.249.24.4  4 4717 0     0       0      0   0    never   Active
      202.249.24.36 4 4717 0     0       0      0   0    never   Active
      
      Fixing issue https://github.com/tmshlvck/ulg/issues/10 .
      f9c4bcd2
  4. 02 May, 2013 2 commits
    • Tomas Hlavacek's avatar
      Cisco: Fix graph when local prefix is queried · f97aa9d5
      Tomas Hlavacek authored
      Graph did failed to display when locally originated prefix was
      queried. Now it shows linear graph with an originating AS.
      f97aa9d5
    • Tomas Hlavacek's avatar
      Cisco: Fix show bgp ipv4/6 uni neigh rec parser · 0eb449fc
      Tomas Hlavacek authored
      Fix a problem with a false assumption previously made on length of
      the first field in output of a command show bgp ipv4/6 unicast neighbor
      <IP> received-routes. On newer IOSes it is 5-chars long (because of RPKI flags)
      but on older ones it is only 4 chars.
      
      Example:
      
      marge>sh bgp ipv4 uni neigh 91.210.16.3 received-r
      BGP table version is 55601421, local router ID is 217.31.48.123
      Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
                    r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
                    x best-external, a additional-path, c RIB-compressed,
      Origin codes: i - IGP, e - EGP, ? - incomplete
      RPKI validation codes: V valid, I invalid, N Not found
      
           Network          Next Hop            Metric LocPrf Weight Path
       *   192.88.99.0      91.210.16.3                            0 25192 i
       *   193.17.47.0      91.210.16.3                            0 25192 20701 i
      ^^^^^
      
      Thanks to julianeble@yahoo.com.br for pointing it out.
      0eb449fc
  5. 04 Apr, 2013 1 commit
  6. 27 Mar, 2013 5 commits
  7. 23 Mar, 2013 2 commits
  8. 20 Mar, 2013 1 commit
  9. 06 Mar, 2013 1 commit
  10. 18 Feb, 2013 1 commit
  11. 24 Jan, 2013 1 commit
  12. 15 Jan, 2013 1 commit
  13. 21 Dec, 2012 2 commits
  14. 12 Dec, 2012 1 commit
  15. 08 Dec, 2012 1 commit
  16. 30 Nov, 2012 2 commits
  17. 23 Nov, 2012 3 commits
  18. 13 Nov, 2012 2 commits
  19. 19 Oct, 2012 3 commits
  20. 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
  21. 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
  22. 10 Oct, 2012 4 commits
  23. 04 Oct, 2012 2 commits