Open Eykalzz opened 8 months ago
this works the same way for tcp port, need to edit /var/ipfire/ddos/udp_ports and change/add the port you want, later make sure the permission of the file is like below:
# chown nobody.nobody /var/ipfire/ddos/udp_ports
# ls -l /var/ipfire/ddos/udp_ports
-rw-r--r-- 1 nobody nobody 184 Apr 23 14:54 udp_ports
show current ports
[root@bpfire ddos]# cat /var/ipfire/ddos/udp_ports
domain 53/udp # Domain Name Server
game1 10408/udp # Domain Name Server
sip 5060/udp # Voice over Internet
siptls 5061/udp # Voice over Internet TLS
this works the same way for tcp port, need to edit /var/ipfire/ddos/udp_ports and change/add the port you want, later make sure the permission of the file is like below:
# chown nobody.nobody /var/ipfire/ddos/udp_ports # ls -l /var/ipfire/ddos/udp_ports -rw-r--r-- 1 nobody nobody 184 Apr 23 14:54 udp_ports
show current ports
[root@bpfire ddos]# cat /var/ipfire/ddos/udp_ports domain 53/udp # Domain Name Server game1 10408/udp # Domain Name Server sip 5060/udp # Voice over Internet siptls 5061/udp # Voice over Internet TLS
nice .. i try do first .. thanks for help
@Eykalzz just check in to see if you run into any issue :)
@Eykalzz just check in to see if you run into any issue :)
Hi bro .. for now everything okay .. i dont have try udp for now .. i just try tcp first ..
have you put it into production use already for tcp?
have you put it into production use already for tcp?
Yes, I did.
now my game has running with xdp ip fire
this is great news, you are the first BPFire/IPFire user with XDP in production use.
you run it in windows hyper v? if so, can you share command output like xdp-loader status
or the bottom of the XDP UI page also shows the result. I am curious if XDP is in generic mode or native mode, native mode meaning hyper v nic is supported by XDP natively with better performance.
this is great news, you are the first BPFire/IPFire user with XDP in production use.
you run it in windows hyper v? if so, can you share command output like
xdp-loader status
or the bottom of the XDP UI page also shows the result. I am curious if XDP is in generic mode or native mode, native mode meaning hyper v nic is supported by XDP natively with better performance.
sure .. here i share pictures
ok, it is XDP generic mode, looks hyper v virtual nic is not natively supported by XDP, but it is fine, no problem
This screenshot from proxmox .. if hyper V i send u later .. now i outside home
if I understand proxmox correct, proxmox should use virtual nic virtio driver that should be natively supported by XDP, when you get time, you can run lspci -vvv | grep -i eth
to show me the result, I can tell if proxmox is using virtual nic virtio driver for BPFire/IPFire or not
if I understand proxmox correct, proxmox should use virtual nic virtio driver that should be natively supported by XDP, when you get time, you can run
lspci -vvv | grep -i eth
to show me the result, I can tell if proxmox is using virtual nic virtio driver for BPFire/IPFire or not
like this ?? this is proxmox
lspci -vvv | grep -i eth
hyper V ,, got problem at hyper V ?
if I understand proxmox correct, proxmox should use virtual nic virtio driver that should be natively supported by XDP, when you get time, you can run
lspci -vvv | grep -i eth
to show me the result, I can tell if proxmox is using virtual nic virtio driver for BPFire/IPFire or notlike this ?? this is proxmox
@Eykalzz sorry missed your note, Intel 82540em might be old enough that is not supported by native XDP but generic XDP, maybe it depends on how you provisioned proxmox, for better performance, you can choose virtio type network from proxmox, I see someone asked similar question in proxmox forum https://forum.proxmox.com/threads/e1000-vs-virtio.80553/, I think you can try the virtio type network from proxmox, that would be supported natively by XDP for better performance.
lspci -vvv | grep -i eth
hyper V ,, got problem at hyper V ?
it seems lspci -vv | grep -i eth
did not get the virtual network type info, you run the command on the BPFire OS, right? what about lspci -vvv
output ?
if I understand proxmox correct, proxmox should use virtual nic virtio driver that should be natively supported by XDP, when you get time, you can run
lspci -vvv | grep -i eth
to show me the result, I can tell if proxmox is using virtual nic virtio driver for BPFire/IPFire or notlike this ?? this is proxmox
@Eykalzz sorry missed your note, Intel 82540em might be old enough that is not supported by native XDP but generic XDP, maybe it depends on how you provisioned proxmox, for better performance, you can choose virtio type network from proxmox, I see someone asked similar question in proxmox forum https://forum.proxmox.com/threads/e1000-vs-virtio.80553/, I think you can try the virtio type network from proxmox, that would be supported natively by XDP for better performance.
how to do this
lspci -vvv
[root@Eykalzz ddos]# lspci -vvv
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Subsystem: Red Hat, Inc. Qemu virtual machine
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
Subsystem: Red Hat, Inc. Qemu virtual machine
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort -
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (p rog-if 80 [ISA Compatibility mode-only controller, supports bus mastering])
Subsystem: Red Hat, Inc. Qemu virtual machine
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort -
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] ( rev 01) (prog-if 00 [UHCI])
Subsystem: Red Hat, Inc. QEMU Virtual Machine
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Subsystem: Red Hat, Inc. Qemu virtual machine
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort -
00:02.0 VGA compatible controller: Device 1234:1111 (rev 02) (prog-if 00 [VGA co ntroller])
Subsystem: Red Hat, Inc. Device 1100
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
00:03.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon
Subsystem: Red Hat, Inc. Virtio memory balloon
Physical Slot: 3
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
00:05.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge (prog-if 00 [Normal decode ])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
00:12.0 Ethernet controller: Red Hat, Inc. Virtio network device
Subsystem: Red Hat, Inc. Virtio network device
Physical Slot: 18
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
00:13.0 Ethernet controller: Red Hat, Inc. Virtio network device
Subsystem: Red Hat, Inc. Virtio network device
Physical Slot: 19
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
00:1e.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge (prog-if 00 [Normal decode ])
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
00:1f.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge (prog-if 00 [Normal decode ])
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
01:01.0 SCSI storage controller: Red Hat, Inc. Virtio SCSI
Subsystem: Red Hat, Inc. Virtio SCSI
Physical Slot: 1
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
[root@Eykalzz ddos]#
@Eykalzz is above lspci -vvv
from hyper v guest? if so, the Virtio network device
is provisioned from hyper v, which is good and natively supported by XDP.
00:13.0 Ethernet controller: Red Hat, Inc. Virtio network device
Subsystem: Red Hat, Inc. Virtio network device
Physical Slot: 19
I am not familiar with proxmox, I think there should be option in proxmox when you provision the guest to specify network type to be VirtIO (paravirtualized) network
interface.
also by the way, I have added load balancer feature to BPFire, so you can run mulitiple game servers with same game server services, and setup load balancer on BPFire to load balance game services to multiple game server, if one of your game server goes down or need maintenance, you still have other game server to serve, see a quick demo here https://youtu.be/80jumLkhDWo?si=ZisD7p7SSPUPrb_E
@Eykalzz is above
lspci -vvv
from hyper v guest? if so, theVirtio network device
is provisioned from hyper v, which is good and natively supported by XDP.00:13.0 Ethernet controller: Red Hat, Inc. Virtio network device Subsystem: Red Hat, Inc. Virtio network device Physical Slot: 19
I am not familiar with proxmox, I think there should be option in proxmox when you provision the guest to specify network type to be
VirtIO (paravirtualized) network
interface.also by the way, I have added load balancer feature to BPFire, so you can run mulitiple game servers with same game server services, and setup load balancer on BPFire to load balance game services to multiple game server, if one of your game server goes down or need maintenance, you still have other game server to serve, see a quick demo here https://youtu.be/80jumLkhDWo?si=ZisD7p7SSPUPrb_E
what command for i add load balancer .. can help me
@Eykalzz here is the loxicmd to create load balancer, I could add WebUI feature in future https://loxilb-io.github.io/loxilbdocs/cmd/#how-to-run-and-configure-loxilb
@Eykalzz just follow-up with your XDP SYNProxy deployment, is it still running ok?
bp fire now got new update ? where can i download latest version?
@Eykalzz a lot of feature has been added, here is the download link https://drive.google.com/drive/folders/1HPJTWP6wi5gPd5gyiiKvIhWipqguptzZ?usp=drive_link, feel free to reach out to me if you have problem
@Eykalzz I also relocated the download server to singapore, when you got chance, could you try to download ISO from here https://bpfire.net/download/
@Eykalzz are you able to try the new BPFire? another user tried it and it is working great for them
@Eykalzz are you able to try the new BPFire? another user tried it and it is working great for them
Can protect udp ?
bro check your discord thank you
Message ID: @.***>
anyone have ipfire iso with xdp ?