Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omit certain IP Address from logs? #581

Open
KKAB-FK opened this issue Feb 7, 2023 · 7 comments
Open

Omit certain IP Address from logs? #581

KKAB-FK opened this issue Feb 7, 2023 · 7 comments

Comments

@KKAB-FK
Copy link

KKAB-FK commented Feb 7, 2023

Hi,

I have a python script that "will" be running on the same host as Conpot and the script writes values to some Modbus registers!
As a consequence this "register writes" are being logged and displayed as an "attack log" and being sent to my syslog server!

Is there a possibility to omit a certain IP from being logged?

Br
Felix

@glaslos
Copy link
Member

glaslos commented Feb 8, 2023

Unfortunately there is no feature for this, but it should be easy to add if you want to give it a try.

@KKAB-FK
Copy link
Author

KKAB-FK commented Feb 9, 2023

Could you give me a hint on where i should look?
Ive looked through all log related code and could not find the right place in the files in order to do my change!

Br
Felix

@Neoshka1337
Copy link

Hi,

I have a python script that "will" be running on the same host as Conpot and the script writes values to some Modbus registers! As a consequence this "register writes" are being logged and displayed as an "attack log" and being sent to my syslog server!

Is there a possibility to omit a certain IP from being logged?

Br Felix

Im looking for the same functionality. Have you implemented this feature?

@glaslos
Copy link
Member

glaslos commented Mar 29, 2023

Here when you get the event, check the source IP address and then skip the log processing.

@Neoshka1337
Copy link

Here when you get the event, check the source IP address and then skip the log processing.

Thanks, i'll try :)

@glaslos
Copy link
Member

glaslos commented Feb 27, 2024

@Neoshka1337 have you tried?

@Neoshka1337
Copy link

@glaslos Unfortunately no, I was already running out of time to finish my thesis and didn't have time to test this feature :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants