Hello list,

I'm writing because I tried to establish a TLS connection between
bconsole on host 'nbjr' with the director on host 'slowness'.
After some issues with wrong CNs and a lot of problems like that I can
now establish a connection but if I type the command 'help' into the
console I get the answer 'help: is an invalid command.'. It's the same
with any other command.

Below are the relevant bacula config files. I also attached the
conversation between bconsole and director recorded with wireshark. For
me everything seems to be ok, a little cram-md5 stuff and later
encrypted conversation.

Hope somebody can help. I really need TLS working because I want to
backup over WLAN.

Best regards 

Jan

--------------------------------
 ./bconsole
Connecting to Director slowness.home.roehrich.eu:9101
1000 OK: slowness-dir Version: 2.0.1 (12 January 2007)
Enter a period to cancel a command.
*help
help: is an invalid command.
*
--------------------------------

Any ideas?

My config files:
bacula-dir.conf (only relevant areas)
--------------------------------
Director {                            # define myself
  Name = slowness-dir
  TLS Enable = yes
  TLS Require = yes
  TLS Verify Peer = yes
  TLS Allowed CN = [EMAIL PROTECTED]
  TLS CA Certificate File = /etc/pki/tls/certs/vlugCA.crt
  TLS Certificate = /etc/pki/tls/certs/slowness.home.roehrich.eu.crt
  TLS Key = /etc/pki/tls/private/slowness.home.roehrich.eu.key
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 4
  Password = "932jhewdhiu3hzwihd87wqzteiuwhdiu37zei"
  Messages = Daemon
}
Console {
  Name = nbjr-console
  Password = "rjglkfdsjgfdsjgfdlgkjfsl"
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/pki/tls/certs/vlugCA.crt
  TLS Certificate = /etc/pki/tls/certs/slowness.home.roehrich.eu.crt
  TLS Key = /etc/pki/tls/private/slowness.home.roehrich.eu.key
}
------------------------------

bconsole.conf:
------------------------------
Console {
  Name = nbjr-console
  Password = "rjglkfdsjgfdsjgfdlgkjfsl"
  TLS Enable = yes
  TLS Require = yes
  TLS Certificate = /etc/pki/tls/certs/nbjr-fd.crt
  TLS Key = /etc/pki/tls/private/nbjr-fd.key
  TLS CA Certificate File = /etc/pki/tls/certs/vlugCA.crt
}

Director {
  Name = slowness-dir
  DIRport = 9101
  address = slowness.home.roehrich.eu
  Password = "932jhewdhiu3hzwihd87wqzteiuwhdiu37zei"
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /etc/pki/tls/certs/vlugCA.crt
}


....
Hello nbjr-console calling

...8
auth cram-md5 <[EMAIL PROTECTED]> ssl=2

....
29/eDj/Dp7/LA6+7d4+vmC.
...
1000 OK auth

...4
auth cram-md5 <[EMAIL PROTECTED]> ssl=2

....
p6/ZM6xyA89S2wkc8WAxZD.
...
1000 OK auth
....A...=..E...8.. .[...."%..e.|.....Q.8#
.....9.8.5.....
.f.3.2./....
....J...F..E....M...ct..H.!.A".......; k3S. 
3..5^4.]P.....T...~.)....m..`#IN.5.....B...>..;..F0..B0......0
..*.H..
.....0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Illingen1#0!..U.
..Linux User Group Vaihingen1.0...U...
Webhosting1.0...U....Jan Roehrich1 0...*.H..
[EMAIL PROTECTED]
070128135559Z.
170125135559Z0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Illingen1.0...U.
.
CM-Systeme1"0 ..U....slowness.home.roehrich.eu1%0#..*.H..
[EMAIL PROTECTED]"0
..*.H..
..........0..
......I.....).>`.....>.d.8v.....
...de....i/...hS,...P.tR..4.3.K.jGl..=K.G....-!h.....D..q.J).+#.........8VA..0|....G..).........C,4U...........0..R3....(.hJ......efs8
...(]..m.{..i..G.~4......5<......Gq.........-l.)u..-J.MG.].d..h..[.P=...w&*.MA...
.+..m...........0
..*.H..
...........
..}n&..\h8.o..B.Va<]A.;-......7.5Os)[EMAIL PROTECTED]
.h.UI.LO...]B...~.....5X....8.w...g|.K......."CatL..I..T..... 
q'......(>..:.....0...0..T........0
..*.H..
.....0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Il
lingen1#0!..U.
..Linux User Group Vaihingen1.0...U...
Webhosting1.0...U....Jan Roehrich1 0...*.H..
[EMAIL PROTECTED]
050113000613Z.
150111000613Z0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Illingen1#0!..U.
..Linux User Group Vaihingen1.0...U...
Webhosting1.0...U....Jan Roehrich1 0...*.H..
[EMAIL PROTECTED]
..*.H..
.........0.........K....m.[.N..L......4..m...._h........>.Lv.g2.$......
H..F..0G*.V.81...*....)[EMAIL PROTECTED],/..........0..
0...U..........H<..&......gkP.h0....U.#...0........H<..&......gkP.h......0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Illingen1#0!..U.
..Linux User Group Vaihingen1.0...U...
Webhosting1.0...U....Jan Roehrich1 0...*.H..
[EMAIL PROTECTED]
..*.H..
..........W&A.0..0...*P..Y.P.....Y.5c."GBO
Dz.B.b..E.-.(h.+.J....].2./O':.ygW.Q..h.....*.R.....+^E}m..{..C...G.9......|....a#8.e..u,.A5......
............
....H...D..A..L0..H0......0
..*.H..
.....0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Illingen1#0!..U.
..Linux User Group Vaihingen1.0...U...
Webhosting1.0...U....Jan Roehrich1 0...*.H..
[EMAIL PROTECTED]
070127123330Z.
170124123330Z0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Illingen1.0...U.
.
CM-Systeme1(0&[EMAIL PROTECTED]
[EMAIL PROTECTED]"0
..*.H..
..........0..
......x.....mfW".=.[.:..,...../.w...<..yc.7..\.nc.,........7.V.....M\..(. 
L._.^#B.wvq*w7O\..-."..S.7..^..hF.Kf......yg..b1L.o...Z./...i..+..1q..:..,.m......yj..6~z.H]..y.z4vM..E.,.=..&.g.xRK3...n..W.5..M.......W.a.S.........4.B....w........F~J....7!].%=....Y.Kc.....0
..*.H..
..........n...}.#......t
.p.Lj...ZrLt8..C*./....1..D.e[7.Zn..x...6>._nQ.a.....w)3l.....a.rLR...T.:....p.......o....(..:PCb...+.....'.I......0...0..T........0
..*.H..
.....0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Illingen1#0!..U.
..Linux User Group Vaihingen1.0...U...
Webhosting1.0...U..
..Jan Roehrich1 0...*.H..
[EMAIL PROTECTED]
050113000613Z.
150111000613Z0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Illingen1#0!..U.
..Linux User Group Vaihingen1.0...U...
Webhosting1.0...U....Jan Roehrich1 0...*.H..
[EMAIL PROTECTED]
..*.H..
.........0.........K....m.[.N..L......4..m...._h........>.Lv.g2.$......H..F..0G*.V.81...*....)[EMAIL
 PROTECTED],/.
.........0..
0...U..........H<..&......gkP.h0....U.#...0........H<..&......gkP.h......0..1.0...U....DE1.0...U....Baden-Wuerttemberg1.0...U....Illingen1#0!..U.
..Linux User Group Vaihingen1.0...U...
Webhosting1.0...U....Jan Roehrich1 0...*.H..
[EMAIL PROTECTED]
..*.H..
..........W&A.0..0...*P..Y.P.....Y.5c."GBO
Dz.B.b..E.-.(h.+.J....].2./O':.ygW.Q..h.....*.R.....+^E}m..{..C...G.9......|....a#8.e..u,.A5...............V..E)[EMAIL
 
PROTECTED]:..m4.b"...m...~x..3o.~.VL:.5k..;.kY>.v..........VOFMu.Ot./...v.,:A.j..k.y|{.l...".
 ...y........n...H..h:..Q...P.:.Q....;~'9p..2Q.;%K<R..".{.
....ns>Y0.....3..d..+..P..?...m...}..Qf.[..aO..S.8..............8.R..)...&.....P]......q.iN.(7...'1..v.W..ap.)p.....1.D.j.b(5._.Q....5r.....dl..........
.,Ho......Cz&...I.:....{I0...re7..O.h.]...{.u.....!..........y..9_Ka.,1).".^
.o.Id..8.Fm..L9..FO......,.=.....D!%.k?...,Lgc....h.:.
.`...kkh..S.`.31.>...9......akM.
W...........0:.3.......N...}...>;C..R....F.Jc.n.J....1.......
..........0..I..^..V.Y.C.O..z.........Rc........>.......~..
.... ..4....)6=LB.....4.m..........~..... .......3....(.W.!Ge
.....0.Vc.w..... 
F.(..#)`C..8......ZR...}g...:.L.....P.N^..X...k..>...P..67......
..
,.I../N [EMAIL PROTECTED]:.G.g.v......`.R.
.... ..3..S..Z.A0Gza.o...........^'=Y.... .T...P....j.(!.i..:.?.O_....1u..
.... .._T....c....Q..".......)i...i'$.... .8\.....C.&/*......u|/S.......u.
.... 1L...y8N.r...y..M..N.!a.
.l".28H.... i....J.......... +S}X.Lb.......:
.... ..;NP._...Dd...."0.R..|[EMAIL 
PROTECTED]@..7...j.$.?..:*."...B&..p............pO..<;.S.
.F...k.....O.D.... `......8*..U..p......I......vyL..... 
....}Iz..NC.MC.m...Z......$^..p.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to