首页 > 其他分享 >dns and forward proxy

dns and forward proxy

时间:2023-11-29 22:33:53浏览次数:63  
标签:reverse server client proxy dns forward its

forward proxy & reverse proxy

https://zhuanlan.zhihu.com/p/163948996

 

https://netnut.io/forward-proxy-server/

Definition of a Forward Proxy Server

Forward Proxy Server

One of the most common uses of a proxy server is to help you hide your IP address in the simplest way possible. That is what a forward proxy server is all about. It sits between your device network and the internet, dictating which information can pass through from the user to the internet. If any sensitive data is detected, the forward proxy server can either prevent access, or apply acceptable use and corporate security policies.

If the data that is being sent from the user is approved by the forward proxy server, it is sent through to its destination. The same protocols will be applied to the responses from the external websites.

 

 

 

Forward Proxy Vs. Reverse Proxy

 

Reverse Proxy

 

To fully explain what a forward proxy server is, it is also necessary to look at its polar opposite, the reverse proxy server. 

 

A reverse proxy provides services on behalf of the servers, rather than the client. In many cases, reverse proxies act as load balancers when accepting requests from external clients. Normally, you will find a reverse proxy configured alongside a firewall.

 

A good way to visualize the difference between a forward proxy and a reverse proxy is to imagine their placement in relation to the internal network and the internet. While a forward proxy will sit in front of client endpoints to inspect incoming requests, a reverse proxy server sits in front of a web server, ensuring that no clients interact directly with the server.

 

 

dns query by forward proxy

https://milestone-of-se.nesuke.com/en/nw-basic/grasp-nw/proxy/

 

https://serverfault.com/questions/169816/how-dns-lookups-work-when-using-an-http-proxy-or-not-in-ie

Not exactly: it depends on how the client is configured. Let's use IE as the basic example.

If you configure IE with an explicit proxy: e.g. no other options ticked, proxy set to something:8080.

    1. User types an address

    2. IE checks the address for a string match against the IE proxy exceptions list (i.e. "Bypass proxy for these addresses:")

      a. If it matches an entry in the Bypass list, the client uses its own DNS to resolve the name, and then the client connects directly to the target IP address on port 80 (assumed), then sends a request like:

      GET /something.htm HTTP/1.1
      Host: fulldomainame.example.com

      b. If no bypass list entries match, continue:

    3. IE connects to its configured proxy, and sends a request of the form:

      GET http://fulldomainname.example.com/something.htm HTTP/1.1

      Bonus factoid: this use of the FQDN in the URL is one way you can tell that a client thinks it's talking to a proxy instead of a real web server

    4. The proxy resolves that host name using its own DNS, and then connects to the target site (acts like the client in step 2 above), etc, etc.

 

ccproxy supports

https://5socks.net/Manual/ccproxy_en.html

 

标签:reverse,server,client,proxy,dns,forward,its
From: https://www.cnblogs.com/lightsong/p/17866077.html

相关文章

  • DNS解析 CNAME!
    最近碰到一个需求,业务系统的访问域名是www.example.com,但是客户提需求能否通过example.com直接访问呢?讲实话我觉得这是没事找事,但要实现也是有办法的。这就涉及到DNS的CNAME记录了,我们都知道A记录时域名指向IPV4地址,那CNAME就是域名指向域名,我们新建一条CNAME记录@.example.com......
  • 论文:FEED-FORWARD NETWORKS WITH ATTENTION CAN SOLVE SOME LONG-TERM MEMORY PROBLEM
    题目:FEED-FORWARDNETWORKSWITHATTENTIONCANSOLVESOMELONG-TERMMEMORYPROBLEMS”(Raffel和Ellis,2016,p.1)“带有注意力的前馈网络可以解决一些长期记忆问题”(Raffel和Ellis,2016,p.1)(pdf)这篇论文提出了一种适用于前馈神经网络的简化注意力模型,并展示了......
  • 神经网络入门篇之深层神经网络:详解前向传播和反向传播(Forward and backward propagati
    深层神经网络(DeepL-layerneuralnetwork)复习下前面的内容:1.逻辑回归,结构如下图左边。一个隐藏层的神经网络,结构下图右边:注意,神经网络的层数是这么定义的:从左到右,由0开始定义,比如上边右图,\({x}_{1}\)、\({x}_{2}\)、\({x}_{3}\),这层是第0层,这层左边的隐藏层是第1层,由此类推......
  • openwrt dns转发
    简介:在网络使用时,我们有时需要指定某些域名的DNS使用某特定的dns服务器,又要兼顾其他域名的解析。我现在的使用的情况是在企业内部网,建立了AD域控。各个域成员的解析都是在域控同一台的DNS上进行。那么解析就比较繁琐了。希望指定域使用dns服务器aaa.aaa.aaa.aaa。其他的又不受......
  • nohup ./ReverseProxy_linux_amd64 &
    IDEA安装JRebel插件实现热部署(无激活码,需要一台服务器)JRebel是一款JAVA虚拟机插件,它使得JAVA程序员能在不进行重部署的情况下,即时看到代码的改变对一个应用程序带来的影响。JRebel是一款JVM插件,它使得Java代码修改后不用重启系统,立即生效。1.IDEA搜索并安装Jrebel插件 安装......
  • 6.连接到ProxySQL的管理接口(admin interface)
    该接口的默认管理员用户和密码都是admin,可以在proxysql.cnf配置admin_variables={admin_credentials="admin:admin"mysql_ifaces="0.0.0.0:6032"}mysql-uadmin-padmin-P6032-h127.0.0.1--prompt'admin>' ProxySQL提供了几个库,每个库都有各自的意义,未完待续......
  • proxyHost should not be null when a proxy is specified
    进入设置界面,找到本地gradle进入目录,打开gradle.properties文件把框里的注释掉,回到软件重新编译,解决!......
  • ARP和DNS欺骗实验
    一.实验目的1.了解ARP欺骗和DNS欺骗的原理2.掌握常见工具(ettercap)的使用 注意:本实验在虚拟机上面进行,不准用于破坏他人计算机环境或诱导他人下载木马,本实验仅做学习交流,禁止一切非法行为,否则后果自负!二.实验环境Kali、windows10 三.实验工具EtterCap扫描工具VMware......
  • 5.mysql8.0以上版本,ProxySQL 监控/连接账户,要以 mysql_native_password 形式创建,否则
    CREATEUSER'monitor'@'%'IDENTIFIEDBY'123456';grantallprivilegeson*.*to'monitor'@'%'withgrantoption;flushprivileges; ALTERUSER'root'@'%'IDENTIFIEDWITHmysql_native_pa......
  • MDns C# 实现 Makaretu.Dns.Multicast
     1、创建一个DNS服务:可以使用MulticastService类来创建一个DNS服务实例,并为其指定主机名和端口号。varservice=newMulticastService("mydns.local",IPAddress.Parse("224.0.0.251"),5353);2、添加DNS解析记录:可以使用ServiceAnnouncement类来添加DNS解析记录,并将其......