Protocole Bonjour over TLS - bonjour

I would like to have some informations about the Bonjour / Zeroconf / Avahi protocols.
I have already done some researcheon the mDNS protocole but I cannot find any technical solution (maybe what I want to build is not possible).
Is it possible to secure this network with a TLS type communication ?
If anybody knows how to secure a zeroconf architecture on a LAN,please let me know ?
Thanks in advance.

Related

RaspberryPi as AccessPoint with 2 Wifi usb running MITMProxy and ParosProxy

I was trying to study the HTTP(s) requests/response that the apps from my phone are sending so this is what I went ahead and created.
I turned my Raspberry Pi as an access point with 2 wifi usb dongles. One for my phone to connect to the "TEST" network and the second connected to the internet. Everything works fine and my phone is able to access internet via my RPi.
Now I setup MITMproxy (in transparent mode) so that I can sniff the traffic to-from from my phone apps. I installed the mitmproxy certificate on the phone and the traffic shows up fine on the mitmproxy console.
Final step - To make the web traffic data analysis part easier I found on the net that Paros Proxy might be able to help (show the traffic from mitmproxy) in a more readable way. - THIS IS NOT HAPPENING
I am assuming there is some setup required for ParosProxy so that it can be linked to mimtProxy / network interfaces which I am not able to achieve. Can any one please help with this?
ParosProxy dashboard doesnt show any traffic. As far as the settings (Tool->Options) the default settings are there i.e. for local proxy (host = localhost and port = 8080). I couldnt find much documentation about ParosProxy on the web.
My network interfaces on the RPi is as follows :
wlan0 (connected to internet) - DHCP
wlan1 (Access Point to which the phone apps connect to) - static IP (gateway 192.168.10.1)
Just in case there is some other tool that could help me achieve the same (a GUI/better dashboard to analyse mitmproxy traffic in real time) I am pretty open for it.
Yes there is a better option: OWASP ZAP https://www.owasp.org/index.php/ZAP :)
It was forked from Paros ~ 5 years ago, is very actively maintained and pretty well documented.
See https://github.com/zaproxy/zaproxy for links to the online user guide, FAQ user and developer groups.
FYI we have info on how to get ZAP runnin on a Pi: https://github.com/zaproxy/zaproxy/wiki/zappi but that doesnt include setting up wiki access - it would be great if we could update that page with the necessary steps :)
Simon (ZAP project lead)

Oversip in front of Opensips

Salam,
I want to set Oversip as a SIP Proxy, to handle TCP, TLS and WSS connections, and relay all traffic to Opensips SIP Server, converting all connections to UDP only . My questions are:
is it a good design to do so?
Opensips is not able to get the location of the , so I'm not able to route messages back, Opensips -> Oversip -> Client. any help or tutorial (I googled it and can't find any)?
Thanks in advance
It is bad design, becuase opensips already can do TCP and TLS.
But you you insist you need that, you can add sip header with needed info when callign opensips/read it on opensips.

Modem Over IP or VOIP?

I need to connect to a remote server via a modem for a legacy app. I don’t have physical access to my server so adding a real modem isn't an option.
Does anyone know of:
A service that provides Modem Over IP? Something like Twilio, but just for modems.
A modem / SIP client that would allow me to emulate a modem on a specific COM port that connects to a VOIP provider?
Any advice would be greatly appreciated. I see quite a few people with this problem, but no great solutions.
Thanks!
Steve
I think what you are looking for is PPP (or maybe PPPoE). PPP is very common and is still used heavily today pretty much everywhere you have a home connected internet connection.
You need to look at whatever OS you are using and see what they provide to be able connect two computers via a modem and create a TCP/IP connection between them. That way you don't need to change your program, as it will showup as a network connection.
Under windows you have this for accepting incoming connections.

Stun and P2P communication in C#

I'm new to network programming. I want to traverse NAT using Stun. I use the Stun client application defined in code project Stun Client. It returned me a mapped IP and port. But I don't know how to use the IP and port for P2P communication in C#.NET.
Please help me. Any help will be appreciated.
If you're looking for some general background to get you started, look at this related question:
.NET and P2P - writing a P2P messenger
HI all
we found that, we can traverse NAT using vs2010 (.net4.0) . there is a method AllowNATTraversal(bool value). set the value true for NAT Traverse. It uses Ipv6 adsdress for connectivity. You can get Ipv6 global address from teredo server by writing some comands in command prompt.

Online peer to peer connection

Here i am developing an application which uses peer to peer connection. i am able to communicate using WIFI and Bluetooth connection. i.e a devices with in a same local network are able to communicate with each other.
Is it possible to communicate online using Bonjour service or any other option for online communication.
Please help me...
Bonjour works only in the local network, because the devices communicate via multicast
DNS (IP: 224.0.0.251). You could use Wide Area Bonjour with the cooperation of a DNS server.
Under http://www.dns-sd.org/ServerSetup.html you find a description how to set that up on Unix.
Other than that I don't think there is any special support by Apple. You have to set up some kind of server on the Internet yourself.