Skip to content

Conversation

@iMilnb
Copy link

@iMilnb iMilnb commented Jan 13, 2022

In the camera, /etc is read only and telnet access leaves the root user passwordless, which is a massive security risk.
This patch uses the mount --bind capability available in busybox in order to overlay a /etc directory from the sdcard to the root filesystem.

@iMilnb
Copy link
Author

iMilnb commented Jan 13, 2022

If this method is accepted, I'll provide the documentation in order to add a password to the /etc/passwd file using openssl.

@cjj25
Copy link
Owner

cjj25 commented Jan 14, 2022

Thanks for the contribution! I'll take a look over the weekend :)

I had considered the same but didn't really like the idea of copying /etc/ to the SD, the mount --bind is very handy.

I've got parts of the original Realtek SDK with RTSP etc and I am hoping to piece together a mount bind of their libs/binaries.

@cjj25
Copy link
Owner

cjj25 commented May 21, 2022

@iMilnb, are you still using your camera? I need someone to beta test something for me

@iMilnb
Copy link
Author

iMilnb commented May 21, 2022

@iMilnb, are you still using your camera? I need someone to beta test something for me

I do, and I happen to have received a brand new one last week.

@cjj25
Copy link
Owner

cjj25 commented May 21, 2022

Thanks for getting back to me.

Awesome news on the new camera, is it the exact same model (Realtek)? How are you finding the RTSP server on the existing camera.

I've managed to put together the right file structure of libraries, configs and binaries to get the Realtek turnkey RTSP server running. I'd be interested to see how it performs for you?

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

Successfully merging this pull request may close these issues.

2 participants