Proxy and filter on same port

Hi all,
On our BorderManager 3.8 server we've got a HTTP-proxy listening on port 8080. Now, a new external web-app requires a direct connection on port 8080 also. I thought about defining a statefull filter allowing port 8080 from internal to external for that specific site but I'm not sure if this would cause conflicts or security issues in any way. I don't think so, but because it's better to be safe than sorry....I thought I'd ask. ;-)
Arnold...

In article <_7z%j.371$[email protected]>, Arnold Jesse
wrote:
> On our BorderManager 3.8 server we've got a HTTP-proxy listening on
> port 8080. Now, a new external web-app requires a direct connection
> on port 8080 also. I thought about defining a statefull filter
> allowing port 8080 from internal to external for that specific site
> but I'm not sure if this would cause conflicts or security issues in
> any way. I don't think so, but because it's better to be safe than
> sorry....I thought I'd ask. ;-)
>
First, realize that the proxy is listening on port 8080 only for
requests coming to the proxy's IP address, so it's not going to
conflict with a request to port 8080 on a remote web site. What
should be happening here is that (on port 8080) you send the proxy a
request to a web site that uses port 8080. The proxy sends a request
to the web site using port 8080 instead of the usual port 80, that's
all.
What could well be a problem here is that the default 3.7-3.9 filter
exceptions do not allow port 8080 out from the public IP address of the
proxy. You will have to modify the default filter exceptions to allow
that traffic, whether you want to connect directly through NAT or
through the proxy. My advice is to connect through the proxy, and
modify the filter exceptions to allow the traffic.
At the least, you could configure a custom filter exception for
stateful port 8080, like the defaults. Look at the defaults in
FILTCFG.NLM to see how they are done, and add a new one.
Personally, I don't like to add custom filter exceptions one-by-one for
every non-standard web server out there. I use a more global approach,
detailed in the advanced chapter of my BMgr filtering book (see url
below).
Craig Johnson
Novell Support Connection SysOp
*** For a current patch list, tips, handy files and books on
BorderManager, go to http://www.craigjconsulting.com ***

Similar Messages

  • I have to send messages through UDP multicast and unicast from same port. In Labview I tried that it throws error. I heard it is possible by means of Datagram (UDP unicast and multicast) Port Sharing. How can it be achieved in Labview?

    I have to send UDP multicast and Unicast messages to a remote port from a single source/local port. I tried by opening UDP unicast and multicast in the same port and got the expected error. I tried by opening a unicast connection and sending unicast messages.After that when multicast messages has to send I closed unicast and opened multicast in the same port.This is not throwing any error. But my requirenment is to comminicate with another application in C ++ which recieves this data, throwing an error of lost connectivity and both the applications are not abled to communicate properly. 
    In the other application with C++ this is implemented using port sharing. So how port sharing can be implemented in labview so that I can send both multicast and unicast messages from the same port?
    Thanks in advance

    UDP is a sessionless protocol, meaning that anyone listening on the specified port CAN receive the data. CAN because as you noted there is no guarantee in the protocol that it will be received. And if you send the data not to a specific address but a multicast address not only one computer can receive it but in fact every computer on the same subnet listening to that multicast address and depending on the TTL of the packet also computers in neighbouring subnets, although that last one is not a very reliable operation since routers can be configured to drop multicast packages anyhow despite of a different TTL saying otherwise.
    Accordingly there is no real way to make sure that a receiving UDP port is not already in use, since you don't build up a connection. UDP is more or less analogous to shouting your messages through a megaphone, and anyone listening on the right frequency (port) can hear it. You do bind the sender socket to a specific port number but that makes little difference.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Is it possible to use both an ILB and an ELB (listening on the same port) in the same Azure cloud service?

    I'm building a test Lync deployment on Azure; yes, I know this is not supported, hence "test".
    Lync Front-End servers expose two set of web services, one for internal users and one for external ones; they listen on different ports (443 and 4443) on the same servers; when external services are published, you need a reverse proxy or a port forwarding
    in order to map port 443 of a public IP address to port 4443 of the Front-End server(s). When you have multiple Front-End servers in a pool, you also need to load-balance them.
    So, a typical Lync deployment looks like this:
           Internal users
                     |
                   443
                      |
              Internal LB
            192.168.0.20
            443         443
              |               |
       Lync FE 1     Lync FE 2
    192.168.0.21 192.168.0.22
              |               |
          4443        4443
              External LB
           Public IP Address
                     |
                  443
                     |
           External Users
    This should be easily replicated in Azure, as it supports both external load balancing and internal load balancing. They are even supported together in the same cloud service, so this configuration should be easy. However, it looks like "should"
    is the keyword here.
    After creating the external load balanced endpoint (which listens on external port 443 and forwards to port 4443 on the servers), I'm trying to create an internal load balancer and add internal endpoints to is; however, while the ILB can be created successfully,
    adding an internal endpoint listening on port 443 and forwarding to port 443 on the servers fails miserably, with an error stating that port 443 is already in use by another endpoint:
    Update-AzureVM : BadRequest : Port 443 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.
    For reference, my commands are:
    Add-AzureInternalLoadBalancer -InternalLoadBalancerName "LyncILB" -ServiceName "LyncFrontEnd" -SubnetName "LabSubnet" -StaticVNetIPAddress 192.168.0.20
    (This completes successfully)
    Get-AzureVM LYNCFE1 | Add-AzureEndpoint -Name "Https-Int" -Protocol "tcp" -LocalPort 443 -PublicPort 443 -LBSetName "HttpsIntLB" -DefaultProbe -InternalLoadBalancerName "LyncILB"
    (This fails)
    The existing external endpoint is configured as such:
    Get-AzureVM LYNCFE1 | get-azureendpoint
    LBSetName : HttpsExtLB
    LocalPort : 4443
    Name : HTTPS-Ext
    Port : 443
    Protocol : tcp
    Vip :
    ProbePath :
    ProbePort : 4443
    ProbeProtocol : tcp
    ProbeIntervalInSeconds : 15
    ProbeTimeoutInSeconds : 31
    EnableDirectServerReturn : False
    Acl : {}
    InternalLoadBalancerName :
    IdleTimeoutInMinutes :
    LoadBalancerDistribution :
    The error doesn't even make a lot of sense; the external load balancer listens on a public IP address, while the internal load balancer listens on a private IP address in the internal network; there
    shouldn't be any conflict here... however it looks like there is one instead.
    Why doesn't this work? Am I doing something wrong, or is Azure networking just being silly as usual again?

    Hello Massimo Pascucci,
    The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
    known as the Internal load balanced IP) per cloud service.
    There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
    You can leave your feedback by following the link below:
    https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
    Refer to this article for more information on Internal load balancer:
    http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
    Thanks,
    Syed Irfan Hussain

  • How to do a PortForward/Port Proxy? Redirecting traffic from port 8080 to 80 on the SAME machine

    We have a CFTV system running on Win2008R2 that listens on 4 sequential port numbers and the last port is the Web Browser Port number for management and viwing cameras
    When we configure the port 8077 on the software, it opens 8077, 8078, 8079 and 8080 and works with no problem
    But...
    When we try to configure ports 77 (and therefore 77, 78, 79 and 80) thw applications hangs and seems like not be possible to configure to use port 80
    I could confirm that,  using NETSTAT and the main CFTV application open all required ports with no problem, but only works on ports with a different number from "80", wich is what i want, to make users more confortable, avoiding to type ":PORT_NUMBER"
    after the URL, it will be more "ellegant" solution to use default port 80 for user´s connections
    The question is: How to do a PortForward/Port Proxy? Redirecting traffic from port 8080 to 80 on the SAME machine?
    May i Use NETSH? (based on Help, it can be used to do this, but on different machines, not the same one)
    There is a RELIABLE application, running as a service, that can do the port forward/redirect?

    Hi,
    I’m sorry to tell you that we can’t redirect traffic from a port to another port on the same server itself. But we can do it with a router which is configured to portfoward.
    By the way, according to your description, another program may use the port 80. Is there an IIS installed on the server? If it is necessary, you can consult your CFTV system vendor.
    Hope this helps.
    Steven Lee
    TechNet Community Support

  • Can OS X Server 10.6 reverse proxy be setup to route port traffic 5003 (FileMaker Server) to 2 seperate servers (FM 11 and FM 12)?

    Can OS X Server 10.6 reverse proxy be setup to route port traffic 5003 (FileMaker Server) to 2 seperate servers (FM 11 and FM 12)?

    In your scenario, how is the 'OS X 10.6 Server' supposed to identify which FM machine to proxy the connection to?
    The FM client uses a proprietary protocol, so it's not something simple like HTTP.  Off hand I don't know of any way the server can accept arbitrary connections on port 5003 and know which FM server to relay it to.
    Two options come to mind. One is to nix the OS 10.6 Server altogether - I don't understand this machine's purpose in your network - the second is to setup different ports on the OS X 10.6 Server machine and map each port to a different FM server, e.g. 5003 -> FM11, 5004 -> FM12, then you configure the remote client to connect to a different port number based on the server they want to connect to. I haven't used FM client in a long time to know if this is supported on the client side, but I'm guessing it is.
    Either way, using a proprietary protocol, there's no way for the proxy machine to be able to filter the traffic on any given ports.

  • Lync Edge and Proxy server public DNS records port forwarding rules

    Hi All
    I have question in regards to port forwarding rules for port 443 of simple url.
    I have 4 public ip addresses.
    1 edge server (4 nics , 3 running with different ip for sip, meet and dialin in DMZ network, 1 connected to internal local network).
    1 proxy server (2 nics, 1 running with an ip which is in DMZ same as edge, and 1 connected to internal local network)
    1 front end (lync 2013 standard installed.) connected to internal local network
    1 office web apps . connected to internal local network
    The question is that I am using 3 public ip addresses respectively on public DNS records for sip, meet and dialin(av) and using port 443 which has been set on edge server. So , I can use 3 DMZ network ip address on edge for sip, meet
    and dialin (av) port forwarding from 3 public ip addresses as per in Microsoft document.
    However, I also have a reverse proxy .Hence, my understanding is all public DNS records except SIP and port 443 should be pointed and port forwarded to reverse proxy ip address which is in DMZ network as it would redirect 443 and 80 to 4443 and 8080 to front
    end.
    Now the question has been clear, if simple URLs public DNS record and port forwarding rules for port 443 should be pointed to reverse proxy server, why they need to be set on each ip address and port number in Front end server topology to edge server?
    If anyone knows, please give a help how to set it correct and what is supposed to be a correct configuration for a topology lync 2013

    Hi George
    Thanks for your reply. Attached is my topology which could make my it bit clear. You may see the public dns host record from the image. I set sip, meet, dialin , and owa 4 host records. The first 3 records are pointed to lync edge by doing a NAT with port
    443 which is the same as per you said. However my understanding is they should be pointed to reverse proxy instead as for instance, I need meet.xxx.com with port 443 to be redirected to port 4443 through reverse proxy server to the front end. So when the external
    customers who do not have lync client installed to their machine then we can shoot a lync meeting and send to them via outlook and they just need to click on join lync meeting link in the email to join in such a meeting based on IE. (Is my understanding correct?)
    If lync web meeting works like so , then the question is why I need to set three SAME addresses in front end topology builder for edge and make them point to edge server instead? 
    1. Access Edge service (SIP.XXX.COM) ---> I understand that it is used for external login lync front end.
    2. Webconf edge server(Can I set to meet.xxx.com which is the same as simple URL that points to reverse proxy?) ----> If I can set this address to be the same as simple url address that points to reverse proxy, why should it need to be NATed to edge
    instead? TO BE HONEST, if I HAVE tested, if I set this url as sip.xxx.com which means to use a single FQDN and ip address with port 444 and points simple url meet.xxx.com to reverse proxy, it will still work to join lync meeting sent by
    outlook.I DO NOT REALLY UNDERSTAND WHAT this URL used for at this stage.
    3. AV edge --- same as webconf
    Regards
    Wen Fei Cao

  • Plz add setting apn proxy and port in BlackBerry Q10

    In pakistan all cariers network setting must define proxy and Port number but I no see any thing in setting

    We ha e three threads ongoing with this same topic now.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I am using a work laptop and have the same problem. When I try to change the "configure proxy", they only available option is "use this proxy server for all protocols". Could it be that my system administrator blocked me from changing it since they don'

    I am using a work laptop and have the same problem. When I try to change the "configure proxy", they only available option is "use this proxy server for all protocols". Could it be that my system administrator blocked me from changing it since they don't want us to use Firefox.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; FNGP_SYS)

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • Broadcast and point to point server in the same port

    I'm trying to set up a system where I can send point to point messages via sockets to certain ips, send broadcast messages to every pc in the network, and also be able to listen for point to point messages and broadcast messages, all in the same port. I've been able to establish a point to point connection using the Socket class to send the message, and using the ServerSocket class to listen for messages, but I can't seem to get broadcasting to work.
    I read somewhere that for broadcasting one should use the DatagramSocket class. The problem is i'm not sure which ip i'm supposed to specify when I send the message. Also, do I need a special listener to listen for broadcast messages, or will the ServerSocket listener work for that?
    This is what I have for the broadcasting part:
    String msg = myId;
    DatagramSocket sendSocket;
    sendSocket = new DatagramSocket(Constants.COM_PORT); // 4567
    InetAddress group = InetAddress.getByName(Constants.BROADCAST_ADDR); // "192.168.1.1"
    DatagramPacket dp = new DatagramPacket(msg.getBytes(), msg.getBytes().length, group, Constants.COM_PORT);
    sendSocket.send(dp);
    sendSocket.close();
    Thanks in advance
    Diego

    It worth mentioning that UDP/broadcast and robust do go together easily.
    - UDP does not guarantee delivery. i.e. messages can be dropped and you won't be told. Lost packets are not retransmitted either.
    - UDP can fragment packets if larger than 532 bytes long.
    - UDP packets can arrive out of order (though I have never seen this myself)
    If your receiver is under load/busy it can miss many packets if its buffers overflow.

  • MiniDisplay Port and Thunderbolt - the same??

    I am looking for a cable to connect my Dell 19inch Monitor..
    I did use an Apple adaptor to DVI and a DVI cable to my Monitor from my i7 Apple Macbook Pro with Thunderbolt, but suddenly this has stopped working and the Monitor isn't recognised?
    I am now looking for a single cable which maybe easier but have been told by different sites and eBay sellers that Thunderbolt and MiniDisplay Port are the same and others that its NOT the same??!?
    My DVI cable had 2 sets of 9 pins in 2 blocks inside the cable end, was this a contributing factor? Do I need a DVI end cable (going into the Monitor) with a full set of pins on the end?
    As mentioned this DID work and when I use the same DVI cable to connect the same Monitor to a PC it works fine?
    I'm still guessing that it maybe the Apple Adaptor, but if i bought a brand new cable like this, maybe this should correct it - I just need to know if I should buy a "MiniDisplay Port" connector or "Thunderbolt" connector?
    http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=261009051009&ssPageName=ADM E:X:RTQ:GB:1123
    Thanks for any help

    The physical port is the same but the function is different and the same.
    The port on your mac can do both thunderbolt connections and mini displayport connections. But on older system with that same port they can only do the displayport part.
    As to why your monitor stopped being seen well that is just one of the apple mac os x glitches. For some reason apple really has not figured out how to do external monitors very well let alone dual monitors.
    Try shutting down completely, powering off. Then restart with the external monitor and tb to dvi adapter disconnected. Then connect the adapter and then the monitor. If that still doesn't work then you may have a bad adapter or a bad cable.

  • Can't send and receive on the same port

    Hello,
    I have a socket client which send a message to serverSocket then it should wait for a response.
    The problem I have is that the client send the message but when it tries to open a connection as socketserver on the same port it can't , a have this ERROR CannotGetConnectToTheHost
    this is the code of my client :
    try {
    echoSocket = new Socket("localhost", 3001);
    out = new PrintWriter(echoSocket.getOutputStream(), true);
    out.println(hdr + testContent );
    echoSocket.getInputStream()));
    } catch (UnknownHostException e) {
              System.err.println("Don't know about host: localhost.");
              System.exit(1);
    } catch (IOException e) {
         System.err.println(
              "Couldn't get I/O for "
         + "the connection to: USE host : "
              + e.toString());
              System.exit(1);
         out.close();
         echoSocket.close();
    int compteur = 0;
    try {
    ServerSocket oreille = new ServerSocket(4001);
    Socket socket = (Socket)null;
    System.out.println("Ready to accept connections");
    while (true) {
         socket = oreille.accept();
         System.out.println("\n Nouveau message r�ceptionn� :\n");
         InputStream entree = socket.getInputStream();
         int c;
         String msgAdh = "";
         while ((c = entree.read()) != -1) {
         msgAdh += (char) c; //lecture byte par byte
         compteur++;
         System.out.println("Ready to accept Another Message ");
         entree.close();
         socket.close();
         oreille.close();
    } catch (IOException e) {
    System.out.println("CannotGetConnectToTheHost");
    thinks in advance

    When printing out an exception, print the exception object too, e.g.System.out.println("..whatever...:" + e); It almost always contains useful information. For extra credit, print out the stack trace too.
    If I understand correctly what the program does:
        while (true) {
            socket = oreille.accept();
            oreille.close();
        }That can't be right: after the first loop, you close the socket, and then try to use it again on the second loop. If you want to keep using a socket, keep it open.

  • Server name, port from OSB proxy and BPEL processes

    How do I read the server name, port and any other server related information from OSB proxy and BPEL processes?

    http://www.experts-exchange.com/Software/Server_Software/Application_Servers/Java/BEA_WebLogic/Q_24480613.html
    ObjectName service = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
    InitialContext ctx = new InitialContext();
    MBeanServer server = (MBeanServer)ctx.lookup("java:comp/env/jmx/runtime");
    ObjectName rt = (ObjectName)server.getAttribute(service,"ServerRuntime");
    System.out.println("Server Name : "+server.getAttribute(rt,"Name"));
    System.out.println("Server Address : "+server.getAttribute(rt,"ListenAddress"));
    System.out.println("Server Port : "+server.getAttribute(rt,"ListenPort"));
    ctx.close();
    By the way, it tool 10 seconds on google ...

  • Conflict between MAIL and AOL - cannot send! same port?

    I just spent an hour on the phone with a very nice Apple tech and it turns out that the reason I cannot send mail (I can, intermittently) on my Mac mail application is that it conflicts (he believes) with aol, i.e. perhaps they are sharing the same port.
    The error message says mail cannot be delivered on Port 25 - but when I sign out of aol, mail works!
    Is there a way to adjust the port aol uses, or make some other change with aol so I can have both app's open at the same time?

    I don't use the aol browser, but I do like to sign on directly
    to check my "other" (i.e. aol) email, use the address book, etc.
    Apple provides what is called the AOL Service Assistant which will transfer (from the AOL program) your AOL email account or accounts to the Mail application, AOL address book contacts to the Address Book application and I believe it will also transfer AOL bookmarks to Safari so you can dump using what is a VERY old program for OS X which I doubt AOL will provide another update for.
    I have no idea if it is possible to change the port used by the AOL program and I'm not even sure if the AOL program uses an SMTP server for sending messages with an AOL account.

  • Why can I download Gmail, and not Mobile Me mail, through same port?

    I can download email from my Gmail account without a problem at the office, where the appropriate "port" has been authorized to prevent the firewall from blocking it, but I cannot retrieve MobileMe mail: both are set to use exactly the same port and scrolling through the various setup options, I couldn't find any difference between the two.
    I was wondering if someone could help work around this problem.
    Thank you!

    They are both set by default at port 993, but what is strange is that Gmail works perfectly with exactly the same configuration! I tried deleting and resetting the account to no avail, for some reason it just won't connect to the server.

  • Trasnparent proxy and reverse proxy at the same time

    Can I have in a Content Engine v 4.2 transparent proxy and reverse proxy at the same time ?

    Yes, as long as you are not redirecting the two services on the same interface. One service takes precedence over the other and I believe transparent web-cache redirect takes precedence over reverse-proxy.

Maybe you are looking for

  • My apple mail keeps crashing all of the sudden.

    Hi, I've read over a number of answers to problems similar to mine, but everyone says something different and I'm not computer literate enough to know what info is relevant to me... Apple Mail just suddenly started crashing about a week ago. I open i

  • Network bandwith for oracle

    Hi, we should size our network (LAN and WAN) bandwidth regarding Oracle database and Oracle Applications that we will install. how to determine Bandwidth ? What is the relation between number of users, number of transactions and bandwidth ? Any Oracl

  • 'Video Filter Missing' Exporting AE CS4 project into Premiere Pro CS4 project

    Hey guys, I am new to Premiere and AE, and I just made a short little intro for my current project in After Effects using a couple different effects and such. When I go to export my AE project and make it into a Premiere Project file it will not let

  • Log job output to file - information missing? dbcc checkdb

    Hello Not sure where to put this question.. feel free to move it if necessary. I have a job which runs DBCC CHECKDB WITH PHYSICAL_ONLY on every database on the instance which is read_write. Problem is that I want to get the output of the result to ma

  • Printing in Black & White w/ Spot Color

    I have a Canon MX870 printer (4 color printer). When printing B&W photos, the color has a tint of magenta to it. I use photoshop cs6 to create the B&W image and have tried adjusting all kinds of settings on the software and on the printer. I used to