accel-pppd version 1.12.0 - problem with PPPoE initialization while clients are waiting to connect #160
Replies: 3 comments
-
Hi @MarcinKabiesz you describe really terrible things. First of all you have to capture all logs with debug level and provide config (mask private fields like public IP / secrets / passwords). Then check also core.log and emerge.log. If you have no overlapped IPs, try to verifu systemd-udev setting As for PPTP, in this case you need to build accel-ppp in debug and get coredump |
Beta Was this translation helpful? Give feedback.
-
Hello @DmitriyEshenko ,
Praise for a successful product that, in my opinion, beats this crap called PPP. Your application is much more efficient and lighter to handle many sets of sessions simultaneously, while PPP unfortunately causes a very large performance overhead and load on the router, which is unacceptable for us. Thanks again and please don't abandon the product because it is very, very good in my opinion and it was difficult to find you before, but I found it and I use it. Unfortunately, you still have stability problems, but the application itself is going in the right direction, so keep developing it because it has high potential. :) Best Regards |
Beta Was this translation helpful? Give feedback.
-
Hello @DmitriyEshenko, So:
I think you should implement these corrections right away. I tried to list them in order of importance of the problem 1 - critical, 3 - optional but welcome. If you do not want to use the fix publicly, you can send me the new fixed code, then I will try to compile it and test for you whether the given code fix works according to expectations and stability of the accel program. Remember, you are making a great program that beats by an order of magnitude in relation to this prehistory used to this day under the name pppdaemon. You have great potential, but the errors still exist in it. :) Best Regards |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have this problem and I don't know if anyone reported it to you or not, but it's hard to detect it when you're inactive.
[1] when starting a server with PPPoE support, when a significant number of PPPoE clients are waiting to connect to it, there is a problem with the initialization of vlan interfaces
This problem is interesting or strange because we must meet two conditions: have several/a dozen or so vlan interfaces with a group of PPPoE clients waiting to be connected (mainly MikroTik or UBNT or, less often, Windows or Linux), and additionally, there must be at least active on each interface. a dozen or so waiting sessions for the presence of a PPPoE server, let's say 30-50 should be enough per interface
accel-pppd then very often fails to load the vlan interfaces completely or selectively and then in the accel-cmd console we see that we have 1 interface when there should be more of them but there are not... for some reason
then accel-pppd also reports a problem with communication on 127.0.0.1 with port 2001
I can fix it manually in 2 ways:
1 - run only on the physical ethX interface and run in a series of e.g. 5 interfaces, then wait a few seconds between each batch for a certain group of clients waiting for the PPPoE session to load.
2 - try to start the daemon again and hope that it will load all the required interfaces correctly and all waiting clients will log in to the accel-pppd server
[2] the earlier version did not require having interfaces in the file for the initialization of the entire accel-pppd engine with the PPPoE module
it was then convenient for the automation which, on the so-called demand, executed the command to add or remove an interface from PPPoE using the command accel-cmd pppoe interface add ethX.xx or accel-cmd pppoe interface del ethX.xx
It may not be a bad approach that requires having an interface in the file as a definition to be able to add an interface to support a given module, in my case it is PPPoE, but the problem is the fact from point 1 that starting a large number of interfaces when there are 500-1000 PPPoE sessions on the accel-pppd server becomes a problem...
I then have to manually activate 1 interface, then upload a file with the full definition of the interfaces I want to use, and then use a script to manually send commands in batches, e.g. of 5 pieces, to add new interfaces between which I have to introduce a delay waiting until a number of people/sessions connect to my network. server so that I could continue working
Another problem, as I noticed, is having a VPN tunnel together with PPPoE in Accel-PPPd, e.g. PPtP. When PPPoE sessions work properly, but I need to log in to the PPtP VPN tunnel and for some unexplained reasons (in my opinion, the server expects a known client IP address), the entire Accel-PPPd server crashes, not just this 1 module, which is currently PPtP. This phenomenon can mainly occur when a service scanning bot detects a given service, e.g. VPN PPtP, and I try to connect to it, and at that moment the entire Accel-PPPd server crashes and I am forced to restart it, and therefore when using multiple interfaces with a vlan for an additional condition in the event that the server stops working when it serves a significant number of clients and has many interfaces on which a given service must be active.
Beta Was this translation helpful? Give feedback.
All reactions