A framework that can intercept and block http/https traffic

I'm looking for a way to intercept http/https traffic using .NET Core and C#. It should be possible to block a certain request or response based on its content.

The idea is to have a small DNS server as part of the C# solution; this server should resolve all domains to [url removed, login to view] That way all traffic will be routed to the software.

Then the software can use some kind of listener to intercept the http/https requests that are now routed to it. If the request contains anything that should be blocked a custom response is send to the user, if not the request is send to the destination server on behalf of the user and if the response from the server doesn't contain anything that should be blocked it is just passed on to the user. If the response should be blocked the user receives a custom response instead.

I'm thinking that this should be a small framework with a few interfaces that can be implemented, so you can construct your own logic for when a request or response should be blocked.

Whenever something is blocked it should be possible to create your own response and forward that to the user.

An idea for an interface that could be used when invoking the framework to block a request/response follows here:

interface IIntercepter {

ICustomResponse ShouldBlockRequest(IRequest);

ICustomResponse ShouldBlockResponse(IResponse);


The idea is that any http/https request or response is passed to the methods defined in the above interface and then in the cases where a request/response should be blocked they return an object of the type ICustomResponse, in cases where a request/response shouldn't be blocked null is returned.

Furthermore in the case of https traffic the software should generate an SSL certificate for each domain and sign it with a CA certificate that can be installed in the computer's root certificate store. These certificates that are generated for every domain should be used when the user accesses a website so he/she can visit https sites without the browser throwing a warning.

The generated certificates should have the same validation level as the website that the framework is visiting on behalf of the user. Meaning if the website uses a domain validation certificate the user should be presented with such a certificate, if the website uses an organization validation certificate the user should be presented with such a certificate. In the case of invalid SSL certificates the user should also be presented with an invalid certificate. In the case of extended validation certificates the user should be presented with an organization validation certificate, seeing as you can’t sign your own extended validation certificates.

If you feel like you are the right person to solve this task, please write me a message describing how you will solve it. If anything is unclear feel free to ask!

Beceriler: C# Programlama, Kriptografi, Ağ Yönetimi

Daha fazlasını gör: how to encrypt internet browsing, website encryption types, how to encrypt website source code, which of the following server roles can be configured to use an ssl certificate?, what percentage of internet traffic is https, encrypted traffic meaning, how to encrypt your website for free, how to encrypt internet traffic from isp, https://www.freelancer.com/contest/Design-a-Logo-Disk-Block-Ltd-982626.html, http www1 search ask com web q http 3a 2f 2fwww1 search ask com 2fpictures 3fo 3dapn11785 26q 3dhttp 253a 252f 252fwww1 search a, capture android http https traffic, http https redirect centos, http https redirect ajax, http https proxy uk, http https proxies usa, redirect http https centos, http proxy traffic ticketmaster, free http https hidden redirect, determine port windows services http https proxy, globat http https

İşveren Hakkında:
( 0 değerlendirme ) Hillerød, Denmark

Proje NO: #16206364


%selectedBids___i_period_sub_7% gün içinde 50%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(19 Değerlendirme)

Bu iş için 9 freelancer ortalamada $560 teklif veriyor


Hi Sir/Madam ! I have experience creating websites / applications on unity,wordpress, oscommerce, html, html5, opencart, prestashop, ASP.net, PHP, joomla, drupal and many other languages and CMS. ------------------ Daha Fazla

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(5 Değerlendirme)

I have read your project details. I have to ask a few questions. Can you please message me via chat so we can discuss all the details to elicit all the requirements and hence start the development? I will showcase al Daha Fazla

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)
in %bids___i_period_sub_35% gün içinde400%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(11 Değerlendirme)

Hello, I have gone through your description. We are interested in completing this project. We are a company having a team of developers in every field of programming language having experience of more than 5 years. Daha Fazla

in %bids___i_period_sub_35% gün içinde555%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Hi, Me Shohel Rana has 6+ years experiences in Microsoft.NET and its cutting age technologies. I have developed and implemented numerous .NET projects/application across several countries including Bangladesh, Nederlan Daha Fazla

in %bids___i_period_sub_35% gün içinde588%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Hi Greetings of the Day, I understood requirement, I am interested in this task, I am full time freelancer carrying 13 yrs of experience in Mobile development, Web and Windows development using ASP.Net, MVC, C#, WP Daha Fazla

in %bids___i_period_sub_35% gün içinde1111%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)

Hi I would love to do your task. If you hire me, i won't let you down. I can provide you all these things with unlimited revisions till the satisfactorily completion of [login to view URL] for your message .Thank you

in %bids___i_period_sub_35% gün içinde444%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

We are .Net expert working from 8+ years. We can start this project immediately and quite confident about getting it done soon. Please share further details with us. Thank you.

in %bids___i_period_sub_35% gün içinde500%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(45 Değerlendirme)