summaryrefslogtreecommitdiff
path: root/bgp-logger.org
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2009-06-24 10:46:06 +0200
committerLinus Nordberg <linus@nordberg.se>2009-06-24 10:46:06 +0200
commit057353631cb37b196f93521abad73fbfc3a7b216 (patch)
treed11ac1b04bfc41bb5c7385ff41e5a71ed67324a0 /bgp-logger.org
parentb562dc0b5dd8cbf8bc5a64dcbc2c7f4c57bb863c (diff)
Add notes.
Diffstat (limited to 'bgp-logger.org')
-rw-r--r--bgp-logger.org42
1 files changed, 42 insertions, 0 deletions
diff --git a/bgp-logger.org b/bgp-logger.org
new file mode 100644
index 0000000..a21a4aa
--- /dev/null
+++ b/bgp-logger.org
@@ -0,0 +1,42 @@
+host: victoria.tug.nordu.net
+
+telnet localhost 50000 # CLI for the logger software.
+nc localhost 50001 # Stream of log data.
+
+The product is called [[http://bgpmon.netsec.colostate.edu/][BGPmon]]. There's XFB, an [[http://tools.ietf.org/html/draft-cheng-grow-bgp-xml-00][XML format]] for BGP
+messages and control information, a.k.a. XFB.
+
+There are two scripts in tumleren.pilsnet.sunet.se:~frank called
+client_dom.pl and client_sax.pl. They've been modified by Frank.
+
+There's a version 6.1 of the BGPmon sw announced on their website but
+one needs userid & pw to get at it. I've contacted He Yan ([[gnus:nnimap%2Bimap.nordu.net:INBOX.sent-mail.2009-06#52][Email from
+Linus Nordberg: BGPmon version]]) about that. <2009-06-22 Mon 22:23>
+Turns out that what they mailed Frank was actually 6.1, which is what
+we're running.
+
+The program (bpgmon) must be run as root since it uses source port 179
+for the BGP session with se-tug. I had to fix a syntax error in the
+config file found in Franks home directory which looked like it
+should've read
+
+ <LABEL_ACTION>1</LABEL_ACTION>
+
+so now it does.
+
+* TODO
+** Store in SQL db
+The data is basically what's in a BGP packet.
+
+Primary key should be the prefix.
+
+We should store everything. We should be able to do this in a single
+table.
+
+* Running postgresql
+To start the server
+
+ sudo sudo -u postgres /opt/local/lib/postgresql83/bin/postgres -D /opt/local/var/db/postgresql83/defaultdb
+or
+ sudo -i -u postgres
+ /opt/local/lib/postgresql83/bin/pg_ctl -D /opt/local/var/db/postgresql83/defaultdb -l logfile start