jclehner / bcm2-utils

Utilities for Broadcom-based cable modems
GNU General Public License v3.0
136 stars 22 forks source link

Failed to parse group `firewall` on SAGECOM F@ST 3686v2 - Vodafone #30

Open AgustinLorenzo opened 3 years ago

AgustinLorenzo commented 3 years ago

I happen to have a Sagecom F@ST 3686v2, and its GatewaySettings.bin is perfectly read by bcm2-utils, except for the firewall sections:

C:\Users\agust\Desktop\bcm2utils-v0.9.4-win32>bcm2cfg.exe info GatewaySettings.bin
failed to parse group firewall
GatewaySettings.bin
type    : gwsettings
profile : fast3686
checksum: dee176cbe8a0758d284942a330b92a4d (ok)
size    : 26317 (ok)
key     : 80

38303231  8021  0.44    bcmwifi         819 b
38303232  8022  0.44    bcmwifi2        816 b
57694775  WiGu  0.15    guestwifi      3598 b
57694776  WiGv  0.15    guestwifi2     3598 b
50524e54  PRNT  0.5     grp_prnt       3082 b
36535256  6SRV  0.1     grp_6srv       1354 b
534f4e4f  SONO  0.7     grp_sono       2294 b
52472e2e  RG..  0.33    rg             3372 b
4d4c6f67  MLog  0.5     userif          260 b
4344502e  CDP.  1.5     dhcp           1709 b
4341502e  CAP.  1.3     grp_cap        1726 b
5361676d  Sagm  0.34    grp_sagm       3374 b
76366677  v6fw  1.0     grp_v6fw          9 b
46495245  FIRE  0.8     firewall         62 b
4353502e  CSP.  1.4     grp_csp          53 b
50505053  PPPS  0.5     grp_ppps         30 b
56504e47  VPNG  1.0     grp_vpng         15 b
4d53432e  MSC.  0.1     msc              29 b
4e41532e  NAS.  0.2     grp_nas          53 b

I can send my .bin file if it helps.

Thanks and thanks for this tool, I have been able to adjust several parameters of my router that my company blocks us for no apparent reason.

Regards, Agustin

xmunoz commented 3 years ago

I also have this issue. My router is an Arris SBG6580-2.

$ ./bcm2cfg info GatewaySettings.bin
failed to parse group firewall
GatewaySettings.bin
type    : gwsettings
profile : gen2pslc
checksum: 8716afd6df4444ef2a85a6eb04b1324a (ok)
size    : 11813 (ok)

36535256  6SRV  0.1     grp_6srv        754 b
52472e2e  RG..  0.34    rg             3409 b
4d4c6f67  MLog  0.5     userif           96 b
4344502e  CDP.  1.5     dhcp           1537 b
46495245  FIRE  0.9     firewall        782 b
4353502e  CSP.  1.4     grp_csp          53 b
66776672  fwfr  0.1     grp_fwfr          9 b
52656777  Regw  0.5     grp_regw         49 b
56504e47  VPNG  1.0     grp_vpng         15 b
38303231  8021  0.36    bcmwifi         733 b
57694775  WiGu  0.11    guestwifi      4296 b
jclehner commented 3 years ago

There are very different formats for the firewall group. Unless you've got access to the firmware console (via serial port or telnet), there's really no way I can implement this. Also COVID keeps me quite busy at the moment.

AgustinLorenzo commented 3 years ago

Hi @jclehner

I can't get access to telnet, even trying to change the configuration from the GatewaySettings.bin but I do get access via SSH

Regards, Agustin