TP-Link Easy Smart Switch security question
-
@stephenw10 Maybe is CRC16/CCITT (kermit) or CRC16/X-25. Yoy can try hashing the config file in this or more CRC16 algorithms with the checksum offsets filled with zeros or FF and compare results with original checksum. This checksum is based on config file, maybe in full config because this can verify every change made.
-
@johnpoz said in TP-Link Easy Smart Switch security question:
While I agree in enterprise setup you always remove vlan 1, do not use vlan 1 etc.. Your management vlan is not vlan 1, etc etc etc
As long as u can remove vlan1 from the ports u r pretty safe
Removing VLAN 1 not workin on a lot of lower priced switches..
eg zyxel or DlinkI was pretty sure that
I can remove vlan1 membership of ports on tplink smart switches in 2019/2020Hmmm gonna check
-
@noplan said in TP-Link Easy Smart Switch security question:
Removing VLAN 1 not workin on a lot of lower priced switches..
Not true at all.. I have multiple low priced smart switches on the shelf to play with.. Only one that did this nonsense where you could not remove vlan 1 from a port was the tplink that I have run into..
-
tplink, cool we use them a lot for low budget setups
And always remove VLAN 1 but yep depending on version and firmwareNever run into a problem on an audit or cert when we told them
That there is no default VLAN (1) on the switchBut bottom line... Remove vlan1 on low budget switch removes some security concerns tooooo
-
@noplan said in TP-Link Easy Smart Switch security question:
That there is no default VLAN (1) on the switch
So you lied to them..
-
-
that is different than removing vlan 1 from the device and setting a different vlan as default ;)
The reason tplink stated you couldn't remove vlan 1 on a port, is you wouldn't be able to admin the switch.. Its possible on those low end switches that do not allow you to change the default vlan.. 1 port has to remain in vlan 1 to be able to admin it.
-
-
@johnpoz said in TP-Link Easy Smart Switch security question:
1 port has to remain in vlan 1 to be able to admin it.
Yes true...
Got one tplink in the mail today to set up for a super low budget... I'm gonna check this VLAN1 fun next hours....
First New Light bulbs needed :)
-
so back with the budget project report ...
(at the moment ~ 20 - 28 EUR incl. VAT)u can remove VLAN1 from all ports (not member of) ;)
but u have to use both (if not both is set its not gonna work)
works wit an uplink from coreswitch (Cisco / HP)
and direct filled from pfSbrNP
-
TL-SG108E v1.0/v2.0: You can edit .cfg with hex editor and remove ports from VLAN1, mark as tagged or even remove VLAN1 completely. v2.0 can be flashed with v3.0 firmware.
TL-SG108E v3.0/v4.0/v5.0: Allow remove ports from VLAN1, or mark as tagged.
TL-SG105E v1.0/v2.0: .cfg can be modified. I don't know if v2.0 can be flashed with v3.0 firmware.
TL-SG105E v3.0/v4.0/v5.0: Allow remove or tag ports from VLAN1.
TL-SG1016DE v1.0/v2.0: Verifies .cfg checksum, and if it does not match, it cannot be restored.
TL-SG1016DE v3.0/v4.0: Allow remove ports from VLAN1 or mark as tagged.
-
wow pretty cool info ... thanks a lot !
pricing in retail incl. VAT 28EUR for SG108E and 20EUR for SG105E
makes it pretty easy to go with the SG108E for low budget projectsbrNp
-
lets have a look how these little TPLinks perform out in the wild ....
never done a LAG group for a VLAN before ... i think i have to test it ...well ;)haha this will e so much fun ;)
any hints / ideas or inputs are welcome ;) -
What is the point of the laggs in this setup exactly?
Your routing would happen at pfsense, those cheap switch don't do L3 routing. So for example any traffic between vlan1666 and 1777 would still be limited to the hairpin you have on opt1 connecting to pfsense. So other than than link redundancy the lagg would get you nothing.
If all your downstream switches you show there are going to only do 1 vlan, then there is no need for smart even on them.. You could save a few extra bucks each by just using dumb switches there.
Also your wasting a lot of ports in uplinks from all your switches. It would prob be more cost effective to just get a switch with more ports. Unless you have need for physical distance between the switches.. Prob better to just buy say a 48 port switch or 2 24 porters. Or maybe even just 1 would be enough ports if your not using so many up with lagg and uplinks.
edit: Looks like your AP connected to those downstream switches might be doing multiple vlans, if so then you would need to allow for the other vlans on your uplinks, etc. Not shown your drawing. Looks like those switches are only doing single vlans.
-
A)
yeah the lagGroup ... they just want it to have ... i dont see the use in it too
cuz the bottleNeck is the uplink to OPT-1B) those 4 downstream switches + the 1 for LAN need VLAN cuz i got a feeling that there will be some VLAN need in the Wifi setup (more than just a guest Wifi network)
C) those 4 + 1 downstream switches are needed as far is i m informed caused by the physical location (after callin the guys who think this is all fun and easy cheesee doable in no time ) it seems to be a super small coWorkin or so space
D) yes u r right seems like they are only doing single VLAN not the case iwth those APs
lets see what comes next arround the corner ....
the limiter vor each VLAN will be fun considering the up/down of WAN and openVPNEDIT:
oh now looks like we are Talkin global WiFi installation for
LAN an 4x VLAN and a global guest network with client isolation + 2 VLANs for Testbench should be all manageble by a cloud key -----> allright thats the easy part ;) -
I have the TL-SG105E v5 with a firmware from 2019 that came when I ordered it a few weeks ago. I have tested thoroughly and can confirm that the management interface is actually available on all VLANs, even if the port is unchecked from VLAN1 completely.
-
@vasko said in TP-Link Easy Smart Switch security question:
that the management interface is actually available on all VLANs, even if the port is unchecked from VLAN1 completely.
That is not very secure now is it ;)
-
I am trying to modify the TL-SG108E v1 to get the firmware from v3 or v4 working on v1. v1/2/3/4 they are identical except for the amount of memory, the v1 carries a 1 Megabyte GD25Q80 GigaDevice flash while the v2/3/4 carries a 2 Megabytes GD25Q16. Firmwares from v2 ownwards cannot be flashed to v1 just because of the amount of memory available (firmware from v2 occupies 0.98Megabyte, v3 or v4 occupies 1.05 Megabytes).I'm going to replace the flash memory from v1 with a GD25Q16. I will read the current flash memory, and introduce the firmware of v3 or v4.The memory layout is as follows:
0x0: Bootloader
0x1000: Firmware
0xFC000: MAC address
0xFF000: ConfigurationI intend to read the original flash, and modify from 0x1000 onwards by writing the firmware of v3/4 but it would exceed (due to its size) the 0xFC000 offset so the MAC address would be overwritten. In the v2/3/4 flash layout the MAC address must come in another offset, but I don't know which one. Nor do I know for sure if the MAC address is read from that offset by the bootloader or the firmware itself. In the first case, you should also modify or replace the bootloader.I am using a CH341a Mini Programmer with test clips (shorturl.at/abFI4) to read the flash without desoldering it.If someone has a TL-SG108E v2/3/4 and has a flash memory programmer, could you dump the memory and send it to me privately to investigate? Of course you must find your MAC address in the dump and modify it for example by 00:11:22:33:44:55 to be able to locate it.Thanks you very much for your collaboration.Not possible, v1 have a different Realtek chip than v2/v3. Instead, it can be crossflashed to Netgear GSS108E.
But it is possible to flash v3 firmware in v2. These are identical and v3 firmware allows to modify VLAN1.
-
I have managed to crossflash from TL-SG108E v1 to Netgear's GSS108E. Both have an RTL8370N chip.
The GSS108E is also a manageable 8-port switch with same chip and same flash memory as TP-Link v1 (1MB) and with a web interface. Also allow you to edit VLAN1. It also comes with two power-only USB ports for charging smartphones. But the Switch part is exactly the same and it doesn't affect anything.
You need the CH341a Mini Programmer and of course don't forget to make a backup of the flash. Read at least twice and check md5 of dumps to make sure it doesn't contain errors. Here are the steps to convert the TL-SG108E into a GSS108E.
1.- Create an empty 1MB file for v1 with hex editor and fill it completely with FF.
2.- Download the GSS108E bootloader from the Netgear website, it's included in the download of firmware version 1.0.0.10. Also download the latest firmware version (v1.6.0.4).
3-. Open the loader file with hex editor and select all content. Copy and paste it by writing (not inserting) from beginning (0x0) into the empty file you created before.
4-. Write the original MAC address at offset 0xFC000 and save the changes.
5.- Write the file in the flash with CH341A Mini Programmer (don't forget to check writed content).
6.- Turn on the Switch, connect your PC to any port and configure the network in 192.168.0.x/24.
7.- Open the browser and access the Switch (the default ip is 192.168.0.239). The bootloader recovery web will appear. Select the firmware v1.6.0.4 and flash. After a minute or two the Switch will reboot and you will be able to access its configuration.
Advantages over TP-Link firmware:
- Configuration web in TL-SG108E v1
- You can modify VLAN1, leave it without any port and even delete it.
- You can disable the configuration with the Netgear ProSAFE Plus Utility tool, which will prevent the Switch from being discovered by broadcast packets.
Problem (only cosmetic):
The port LEDs do not work as with original firmware. In Gigabit Ethernet mode, the LED that lights up is orange instead of green, and in Fast Ethernet mode is green instead of orange (leds are inverted).
All everything else works correctly as expected.
-
I have a TL-SG108E v2 on the way. I can upload a dump of the flash with the v3 firmware installed. In case anyone is interested.