mushorg / glastopf

Web Application Honeypot
http://glastopf.org
558 stars 169 forks source link

Identificator of Glastopf sensor #223

Closed Mato-Z closed 9 years ago

Mato-Z commented 9 years ago

Hello, I use one MySQL database with default database schema for event logging from all Glastopf sensors. Is possible clearly identify each sensor during SQL querying in some way? Thank you for reply.

glaslos commented 9 years ago

Hey @Mato-Z any suggestion what to use as an id?

Mato-Z commented 9 years ago

Hello @glaslos I think, that, it would be "sensorid" item which would add to Glastopf config as use Conpot in this time...

nsmfoo commented 9 years ago

I can take a shoot at this one, if there is no objection? As I'm currently messing up the database schema adding sensorid/sensorname to the mix can't make it worse ..

katkad commented 9 years ago

go for it ;)

Mato-Z commented 9 years ago

@nsmfoo Any progress please? :-)

nsmfoo commented 9 years ago

@Mato-Z yes, I have working code ready. Just ended up in github hell. As soon as I can figure out whats wrong I will create a pull request, sorry

Mato-Z commented 9 years ago

@nsmfoo Great! I look forward for it :-) Thanks!

nsmfoo commented 9 years ago

Thanks to @katkad for solving my git mess =)

katkad commented 9 years ago

done by https://github.com/mushorg/glastopf/commit/412b39574f516361aeadea6b6fc694d45ae1da29 and previous commits