drachtio/drachtio-server

authentication has no effect

fergusean opened this issue · 0 comments

I'm able to issue a route command and receive requests without authenticating with the secret:

user@devbox:~$ nc localhost 9022 -v
Connection to localhost 9022 port [tcp/*] succeeded!
49#042743f6-d5d6-4b1b-98d2-10ee5a7cafbe|route|invite
85#bfa30e28-ba91-4542-985b-5301ac1362a5|response|042743f6-d5d6-4b1b-98d2-10ee5a7cafbe|OK
998#4e6b17c6-ac79-4095-8351-3061f6fedfa3|sip|network|841|udp|10.73.0.210|5060|21:35:18.809779|2b9bd1af-fefd-448b-ae19-3477f379c2c0||10.73.0.42|5060|
INVITE sip:900@10.73.0.42 SIP/2.0
[...]

I don't see any state changes being applied in the code for the authentication to actually have any effect.