Index.html

Post Reply
VA3JCD
Posts: 54
Joined: Thu Jan 10, 2019 9:07 pm

Index.html

Post by VA3JCD » Mon May 06, 2019 5:18 pm

Hi All
Is it possible to pass the IP address of the connected client to the index.html file for the IPC dashboard.

Thanks.
Cliff. :D

User avatar
HA2NON
SharkRF team
SharkRF team
Posts: 4075
Joined: Fri Mar 25, 2016 3:33 pm
Contact:

Re: Index.html

Post by HA2NON » Mon May 06, 2019 5:29 pm

It could be added, however, currently it is not supported for privacy reasons.
Norbert "Nonoo" Varga, HA2NON
SharkRF Team

VA3JCD
Posts: 54
Joined: Thu Jan 10, 2019 9:07 pm

Re: Index.html

Post by VA3JCD » Mon May 06, 2019 9:07 pm

Thanks for the fast reply, could you please add it to the wishlist.
The reason I'm asking is for banning IP at the firewall if needed, I know you can use the banlist but the ID can be spoofed, it just gives us a extra tool if needed.

Thanks.
Cliff. :D

User avatar
HA2NON
SharkRF team
SharkRF team
Posts: 4075
Joined: Fri Mar 25, 2016 3:33 pm
Contact:

Re: Index.html

Post by HA2NON » Tue May 07, 2019 7:03 am

You can look up a client's IP address in the server's log.
Norbert "Nonoo" Varga, HA2NON
SharkRF Team

VA3JCD
Posts: 54
Joined: Thu Jan 10, 2019 9:07 pm

Re: Index.html

Post by VA3JCD » Tue May 07, 2019 9:56 pm

Can you please tell me where the server log is located.

Thanks Cliff.

User avatar
vocoder
Posts: 74
Joined: Wed Sep 14, 2016 2:59 am
Location: Merica

Re: Index.html

Post by vocoder » Tue May 07, 2019 11:52 pm

The log file location is clearly stated on the GitHub page for the SharkRF IP Connector Protocol server.

"By default, srf-ip-conn-srv forks to the background and logs to the syslog (/var/log/syslog on Debian-based systems)."

Has this really become an issue on your SharkRF IP Connector Protocol server? Do you have a server-password set in your config.json file? Setting a password on your server seems a little more practical than blocking an IP at the firewall level.

VA3JCD
Posts: 54
Joined: Thu Jan 10, 2019 9:07 pm

Re: Index.html

Post by VA3JCD » Wed May 08, 2019 12:42 pm

Thanks for the fast reply,
Yes I have the password set in the config.
The reason I ask is I have the IPC hosted at our business COLO, I want to allow only the IP I know and reject the rest after logging them at the firewall, showing the IP on the IPC Dashboard is a fast way for me to see them without going into the logs. :))

Thanks.
Cliff. :D

VA3JCD
Posts: 54
Joined: Thu Jan 10, 2019 9:07 pm

Re: Index.html

Post by VA3JCD » Wed May 08, 2019 12:49 pm

Thanks, thats perfect.

Cliff. :D

Post Reply