Block or allow certain sites debian


Recommended Posts

hello,

 

I am using my debian pc as router and i want to block connections from places...a white list would be beneifcial for my purposes

 

 

I want to block websites as well as APIs on websites making calls to external sites like twitter/facebook.... I want to make sure these connections are not even called to boost speed (I am on a very VERY VERY limited connection speed) i am using a cache server which works great but im trying to shave off a few more seconds...

 

so i wont to cut out things that dont cache such as API requests and adverts etc any ideas will be welcome

Link to comment
https://www.neowin.net/forum/topic/1216465-block-or-allow-certain-sites-debian/
Share on other sites

  On 04/06/2014 at 10:21, 68k said:

I could be wrong about this, but I presume you'd need to edit the hosts file on your Debian machine. Here's a guide: https://www.weg.ucar.edu/documentation/hostfile-unix.html

I will look into this,

 

I know there is a function in my proxy to sort out the websites... but I cannot seem to get it working...i am using squid

  On 04/06/2014 at 11:24, Shaun N. said:

I also use squid proxy, it's very effective along side Dansguardian

got any tips on setting up the whitelist? I cant seem to get it working

 

this is what I am inputting

 

acl whitelist dstdomain .example.com .google.com .bing.com

http_access allow whitelist

 

do I have to http_access deny all ? and allow 192.168.2.0/24 ? I dont know with this proxy :(

  On 04/06/2014 at 11:38, SPEhosting said:

got any tips on setting up the whitelist? I cant seem to get it working

 

this is what I am inputting

 

acl whitelist dstdomain .example.com .google.com .bing.com

http_access allow whitelist

 

do I have to http_access deny all ? and allow 192.168.2.0/24 ? I dont know with this proxy :(

 

For Squid or Dansguardian?

  On 04/06/2014 at 13:25, Shaun N. said:

For Squid or Dansguardian?

 

For Squid it would be something like this

 

acl localnet srv 192.168.1.0/25

http_access allow all whitelist

http_access deny all

http_port 8080

 

and set up your whitelist with sites or *.gov type sites

 

You can take a look here for some examples

 

http://www.webdnstools.com/articles/squid-proxy-whitelist

  On 05/06/2014 at 09:04, Shaun N. said:

How did you get on with this?

hello, I got it working in the end, it was all about placment (cheated a lil and used webmin)

 

but now I have two problems to overcome... 1 is to use squid to block multimedia (which it seems to be refusing to do) and another is allow https traffic as well as http through the proxy so I can stop the streaming.... im stuck on this one

  On 05/06/2014 at 10:36, SPEhosting said:

hello, I got it working in the end, it was all about placment (cheated a lil and used webmin)

 

but now I have two problems to overcome... 1 is to use squid to block multimedia (which it seems to be refusing to do) and another is allow https traffic as well as http through the proxy so I can stop the streaming.... im stuck on this one

the 443 traffic is mainly issues with the Iptables  right now i believe...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I don;t think I would trust it, seeing the mistakes all these AI are making.l
    • I'm stumped people think DEI is just a quota and nothing else.
    • Microsoft's AI is highly effective for identifying targets on the battlefield or for firing a lot of workers. 🫤
    • Microsoft AI diagnoses complex medical cases four times better than human doctors by Paul Hill Microsoft AI has revealed that its AI Diagnostic Orchestrator (MAI-DxO) is able to correctly diagnose 85% of complex cases from the New England Journal of Medicine (NEJM) case proceedings. What makes this more impressive is that the cases published in NEJM are very diagnostically complex and intellectually demanding. They typically require multiple specialists and diagnostic tests to reach a definitive diagnosis, so the fact AI can get it right most of the time is a big deal. The MAI-DxO turns language models into a virtual panel of clinicians that is able to ask follow-up questions, order tests, or deliver diagnoses. MAI-DxO boosted the diagnostic performance of every model that was tested by Microsoft, with the best results when it was paired with OpenAI’s o3. When MAI-DxO was using o3, it was able to correctly solve 85.5% of NEJM benchmark cases. Microsoft compared this to humans; it took 21 practicing physicians from the US and UK with 5-20 years of clinical experience, and on the same tasks, they achieved a mean accuracy of just 20% across completed cases. Microsoft believes that these tools can significantly shake up healthcare by empowering patients to self-manage routine aspects of care and equipping clinicians with advanced decision support for complex cases. To find out how AI would perform on the NEJM cases, Microsoft had to create the Sequential Diagnosis Benchmark (SD Bench) which transforms 304 recent NEJM cases into stepwise diagnostic encounters. Models can then iteratively ask questions and order tests. As new information becomes available, the model will update its reasoning and gradually move toward a final diagnosis which can be compared to what was published in the NEJM. As mentioned before, the MAI-DxO system emulates a virtual panel of physicians that is able to ask follow-up questions, order tests, or deliver diagnoses. Aside from this, it can operate within defined cost constraints to help prevent excessive testing. While Microsoft’s experiment is showing very promising results, this research is just a first step. Before generative AI can be used safely in healthcare scenarios, more evidence needs to be gathered from real clinical environments. There also need to be appropriate governance and regulatory frameworks to make sure models are reliable and safe. To accomplish all of this, Microsoft is partnering with health organizations to test and validate its approaches before any broader rollout.
  • Recent Achievements

    • One Month Later
      CHUNWEI earned a badge
      One Month Later
    • Week One Done
      TIGOSS earned a badge
      Week One Done
    • First Post
      henryj earned a badge
      First Post
    • First Post
      CarolynHelen earned a badge
      First Post
    • Reacting Well
      henryj earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      480
    2. 2
      +FloatingFatMan
      195
    3. 3
      ATLien_0
      164
    4. 4
      Xenon
      81
    5. 5
      Som
      76
  • Tell a friend

    Love Neowin? Tell a friend!