• sory if this is a silly question in advance

    I was wondering if it is possible to create a rule based on useragent (browser)or application, I know it is done based on ip, port, host name, alias and etc

    but I need a rule, which dedects the useragent or application and applies to it only, for example a block rule working only for java ,(I assume java is considered as a useragent)

    I know within squid it is possible, but that is where my problem starts, all my connections are passing through squid, everything else is blocked, it works quite well but when it comes to java apps squid won't let me, so I thought if I create a particular firewall rule allowing only java particularly over the block rules, it can be solved(in windows java network settings "direct connection" option will be checked)