From c5d5c881f3f19e306f4b0d13a1750cfc28bcf78d Mon Sep 17 00:00:00 2001 From: Stefanos Mitropoulos Date: Tue, 5 Mar 2024 21:21:37 +0200 Subject: [PATCH 1/5] feat: add client dns hint --- services/settings/policy/condition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/settings/policy/condition.go b/services/settings/policy/condition.go index bad275e7..b68da83e 100644 --- a/services/settings/policy/condition.go +++ b/services/settings/policy/condition.go @@ -69,7 +69,7 @@ func (pCondition *PolicyCondition) UnmarshalJSON(data []byte) error { "SOURCE_INTERFACE", "DESTINATION_INTERFACE", "PROTOCOL_TYPE", "TIME_OF_DAY", "VLAN_TAG", "THREATPREVENTION", - "APPLICATION", "SERVER_APPLICATION", "CLIENT_APPLICATION", "HOSTNAME", "SERVER_DNS_HINT", + "APPLICATION", "SERVER_APPLICATION", "CLIENT_APPLICATION", "HOSTNAME", "SERVER_DNS_HINT", "CLIENT_DNS_HINT", "APPLICATION_NAME", "APPLICATION_NAME_INFERRED", "APPLICATION_CATEGORY", "APPLICATION_CATEGORY_INFERRED": default: From f8cf7c7a5fbcb9c841ed1b9a989f7800fdd826d8 Mon Sep 17 00:00:00 2001 From: vishalmane09 Date: Wed, 13 Mar 2024 12:26:47 +0530 Subject: [PATCH 2/5] MFW-4477 Updated the uri for featureupvote (#376) --- util/testdata/expected_settings.json | 4 ++-- util/testdata/settings_test_unzip.backup.tar | Bin 55296 -> 61440 bytes .../settings_test_unzip.backup.tar.gz | Bin 5332 -> 5363 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/testdata/expected_settings.json b/util/testdata/expected_settings.json index 97f3f441..62560949 100644 --- a/util/testdata/expected_settings.json +++ b/util/testdata/expected_settings.json @@ -1154,7 +1154,7 @@ "uri": "https://support.untangle.com/hc" }, { - "uri": "https://untanglemicroedge.featureupvote.com/" + "uri": "https://aristamicroedge.featureupvote.com/" }, { "uri": "https://license.untangle.com/license.php" @@ -1305,4 +1305,4 @@ "enabled": false, "passList": [] } -} \ No newline at end of file +} diff --git a/util/testdata/settings_test_unzip.backup.tar b/util/testdata/settings_test_unzip.backup.tar index be460f18c0b7a08a8c86412d5f03b0540b12ee9d..c65269ab85a724bc231b112a52c9d269cc44867d 100644 GIT binary patch delta 134 zcmZqJz})bFc|#_XiJ1w5fq{Xcxv2p%4HPjkH#Rk6Ff=hWH#RdcF*XLOGc+?cGGkCM zm~665rsfQWCdS65ra;orjKRRr)Wpn?LBU|MA!Ev9 fM#le}So-#Gl;)Kr=B4MPZk}==QfTwXOMf}La{zaZ!_;-}vA?$h%fi80KJBSVS(or-}B1(kFe*sWQza9aqv3}K1%CL(i`XhKmTLtRHK~7 z{V30BAFSb%!Bd_}A)`E`J@exK#xG3zr|@f#J)v249j9WSX5G(wt}ash4t@9K*Xz$0 zH(vd_zhr&y@8A0I?uk4<`t{HH(a{e1vtE0@xT5xc!$tO>F7n;qjV3$%+SvZ$4#5_)HxSFpPc{7zp?zc=tk{-yxR4G-1o0~;?Kru{IOo&xjr~;#r2M} z`}?OOyB=iM{iEO8JHP(76)@|{ zhgH;s?gEQxDvBd}9g1_AuQaM*l*{yr_Hx&|kH1(4F%=J>z$qhPRDa9lQ($aw&rn3MzdK(n8_t%#?vq{urNT1uCz=+Ye+jt`?_b=fQS<6 z#T76SKpNz8&>zOx5qcnf8#uZV1I}*$D4)Tu} z*x21|9(QU>3;jF46XQC09Eos%(@T3aN~=*js695|S^Lj_7L58#nNcs>M_*2Mn`f=V zPV?kbL;uzJ@uj)G zt{_QM%H7aPm*iIKIFsBm6Q*%ah9-fvFR75}d#f37npkbg`$p}oV|vrm)~5ACV_&~( zAOE;Q$0sm+j*&N0!su^H3z_{qRQ`r2v` zTmbAd0;mr;U@md7g9BUOB{Efk!_xF1aMEb^u3TdKjnXD1e3F>8 z#CowOJ}z)4)xsmLQdj{NP(9^w9|7tK3NQ``B?vl5*p*b5rk5bqsqE2w8zg!}$Y!P4 zR!~p}I)IS?X^i%Kz-YjM@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m;qXVTAH|BW6M3le=*jgi-1qcCm!|7;dXW)su#Kh(v+qln zx1289NEYiQgZXR3qsMKLU5U(Wk=0nA*9UQ-X8)e3v!q|fuRk{FL_SEh95jYen#%@_ zk!GIg_4eai6&Iu1k3$-!GIf)@7-#9r>*-gyC&uHI6MIQ2;zt+?y)7~~68l}jE<4Gkh#RZJrmw+JQV@ObbPFRsH#iED z_9lMh7V0L9>AkE+XKGJetOz{5y3$(^Emz!S53F@uTR&o1BKU=fzy zi1(Cj8qdnd_~FB4e2^*$6f1u{V2IsjaWyDT`{|{l<98t4p#XgOBQ4n_iw)R(6yM~)6{9befHt#-rQb( zCB#uEs3YYvA0U?_5QH=U5K`npn+S%9sk39x;e#IOlaHH9(mc}+TR$G^x*ESWT1Sl! zN6qsOjpKtat%J_tBXICgc?FtAE}sjB*#C zAYg#_p5i8VsIXn%5&m*UHjWy{`^`sTJZs1qdw;%vs9rd7Ti)3v~?R|#aeV0Y_hU7P$hvX zvGCN`itqqS*tX_5+1t^1!2DLKZOk4uQJkNi9JThB9GqQp7Igi10CT6IMa(T77o!+m z1JvP@G)qR^v`h=9ld9G|8(Hfm7mpIMVX~(9@#y5obxv@_tTAbZUR$X<&9vUh;u m*9AIEAOHZE@{w-<*Z=?^_D)g& From ea833e66bf35b3c65c3c5f004fc7039139475f71 Mon Sep 17 00:00:00 2001 From: iramasamy <111305748+iramasamy@users.noreply.github.com> Date: Fri, 15 Mar 2024 11:56:57 -0600 Subject: [PATCH 3/5] MFW-4570: DNAT traffic is getting dropped at WAN interface (#378) version:bug --- util/net/interfaces/net.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/util/net/interfaces/net.go b/util/net/interfaces/net.go index d0650f08..940d5468 100644 --- a/util/net/interfaces/net.go +++ b/util/net/interfaces/net.go @@ -1,6 +1,8 @@ package interfaces import ( + "net" + "github.com/untangle/golang-shared/services/logger" "github.com/untangle/golang-shared/services/settings" ) @@ -128,3 +130,18 @@ func GetInterfaceSettingsFromPath(path string) InterfaceSettings { intfSettings.SetJsonPath(defaultJsonParent, defaultJsonChild) return intfSettings } + +// Check Ip belong to device local IP address +func IsDeviceLocalIp(ip net.IP) bool { + addrs, err := net.InterfaceAddrs() + if err != nil { + panic(err) + } + for _, addr := range addrs { + ipNet, ok := addr.(*net.IPNet) + if ok && ip.Equal(ipNet.IP) { + return true + } + } + return false +} From 1a4ae226a4bd8979adcfc99b12dda2d4a9035dbd Mon Sep 17 00:00:00 2001 From: Stefanos Mitropoulos - Arista Date: Wed, 20 Mar 2024 20:22:16 +0200 Subject: [PATCH 4/5] Revert "feat: add client dns hint" (#381) --- services/settings/policy/condition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/settings/policy/condition.go b/services/settings/policy/condition.go index b68da83e..bad275e7 100644 --- a/services/settings/policy/condition.go +++ b/services/settings/policy/condition.go @@ -69,7 +69,7 @@ func (pCondition *PolicyCondition) UnmarshalJSON(data []byte) error { "SOURCE_INTERFACE", "DESTINATION_INTERFACE", "PROTOCOL_TYPE", "TIME_OF_DAY", "VLAN_TAG", "THREATPREVENTION", - "APPLICATION", "SERVER_APPLICATION", "CLIENT_APPLICATION", "HOSTNAME", "SERVER_DNS_HINT", "CLIENT_DNS_HINT", + "APPLICATION", "SERVER_APPLICATION", "CLIENT_APPLICATION", "HOSTNAME", "SERVER_DNS_HINT", "APPLICATION_NAME", "APPLICATION_NAME_INFERRED", "APPLICATION_CATEGORY", "APPLICATION_CATEGORY_INFERRED": default: From ac6b7e1e26eac1c591bb15c72825b4d661a799f1 Mon Sep 17 00:00:00 2001 From: Stefanos Mitropoulos - Arista Date: Wed, 20 Mar 2024 20:27:58 +0200 Subject: [PATCH 5/5] feat: add client dns hint (#382) version:patch --- services/settings/policy/condition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/settings/policy/condition.go b/services/settings/policy/condition.go index bad275e7..b68da83e 100644 --- a/services/settings/policy/condition.go +++ b/services/settings/policy/condition.go @@ -69,7 +69,7 @@ func (pCondition *PolicyCondition) UnmarshalJSON(data []byte) error { "SOURCE_INTERFACE", "DESTINATION_INTERFACE", "PROTOCOL_TYPE", "TIME_OF_DAY", "VLAN_TAG", "THREATPREVENTION", - "APPLICATION", "SERVER_APPLICATION", "CLIENT_APPLICATION", "HOSTNAME", "SERVER_DNS_HINT", + "APPLICATION", "SERVER_APPLICATION", "CLIENT_APPLICATION", "HOSTNAME", "SERVER_DNS_HINT", "CLIENT_DNS_HINT", "APPLICATION_NAME", "APPLICATION_NAME_INFERRED", "APPLICATION_CATEGORY", "APPLICATION_CATEGORY_INFERRED": default: