Skip to content

Commit

Permalink
Merge pull request #1444 from ddpbsd/dropbear_listen
Browse files Browse the repository at this point in the history
Quick rule to ignore dropbear not being able to listen on a port
  • Loading branch information
atomicturtle authored Jun 26, 2018
2 parents d8d4488 + e76e155 commit 43c7eaa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions contrib/ossec-testing/tests/dropbear.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[already listening]
log 1 pass = Jun 25 14:04:30 10.0.0.1 dropbear[30746]: Failed listening on '7001': Error listening: Address already in use

rule = 51011
alert = 1
decoder = dropbear

7 changes: 7 additions & 0 deletions etc/rules/dropbear_rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@
<description>User successfully logged in using a public key.</description>
<group>authentication_success,</group>
</rule>

<rule id="51011" level="1">
<decoded_as>dropbear</decoded_as>
<if_sid>1002</if_sid>
<match>Error listening: Address already in use</match>
<description>Dropbear cannot listen on port.</description>
</rule>


</group> <!-- SYSLOG,LOCAL -->
Expand Down

0 comments on commit 43c7eaa

Please sign in to comment.