The main consideration is that curl and WGet do not support breakpoint continuation function and concurrent download, while aria2 is a professional Downloader, which fully supports these functions. Of course, if the server supports breakpoint continuation, it can work well. This paper discusses the possibility of using aria2c for breakpoint continuation
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Jul 27 2020
@c-po In my personal opinion, it has more advantages than curl and wget. Because it can adapt to slow network (usually international communication is not particularly ideal period or area).
@c-po arai2c is the most frequently used download software in my computer. In fact, it is a command-line operating program. Under normal circumstances, aria2c has a high recognition among its users, even known as Linux's high-speed download software. It uses thread technology to download, transfers files in blocks, and supports disconnection and reconnection That is to say, as long as the server that downloads the file supports it, then aria2c can achieve breakpoint retransmission, that is, it can resume downloading from the last interrupted location without starting from the beginning.
Can we consider using aria2c instead of curl to support disconnection and reconnection and parallel download?
Jul 26 2020
Jul 25 2020
@c-po This PR has been open for several days, requesting a merge
@c-po This PR has been open for several days, requesting a merge
@c-po This PR has been open for several days, requesting a merge
Jul 24 2020
Jul 23 2020
@c-po Request merge
@c-po Request merge
@c-po Request merge
Jul 22 2020
Jul 21 2020
@c-po Please merge my pr
Jul 20 2020
I have found this implementation, but I don't know how to use it for my implementation. At present, I work in the XML framework of vyos-1x. I have provided a primary implementation for the time being. For details, please refer to:
@c-po Thank you. If I have the opportunity, I will consider and continue to pay attention to the implementation progress of NPT until it is implemented. For vyos, NPT is an optional technology, so that I can run normally without relying on NPT. Therefore, this is a relatively low priority task. If someone else implements it, thank you very much
@c-po What is the progress of NPT implementation?
@c-po Would it be great if the XML framework had a way to do something like ping?
@c-po In my opinion, it is not improper for routers to support some commonly used toolsets, such as arping, which can be used to locate the MAC address of the IPv4 host in a LAN, or to detect whether ARP attacks have occurred in the LAN, or to test the security (ARP can be forged)
Sorry, that sounds good, but I don't quite understand what you mean?
@c-po Arping has the following options. I wonder if there is a better way to help you freely combine these options?
Jul 19 2020
Add the monitoring tool of NDP to the document, as shown in:
Initiate the link only on demand, i.e. when data traffic is present. With this option, the remote IP address must be specified by the user on the command line or in an options file. Pppd will initially configure the interface and enable it for IP traffic without connecting to the peer. When traffic is available, pppd will connect to the peer and perform negotiation, authentication, etc. When this is completed, pppd will commence passing data packets (i.e., IP packets) across the link.
Jul 18 2020
@c-po I know you modified the submission, but the file name is not NTP but NDP
Because I think I have already made clear my meaning. Here, he reminds me that I must specify the IP addresses of local and remote before I can start dialing on demand. Am I wrong? Or configuration problem? Why are you normal?
Jul 18 17:40:57 vyos pppd[8458]: Terminating on signal 15
Jul 18 17:40:57 vyos pppd[8458]: Connect time 60.8 minutes.
Jul 18 17:40:57 vyos systemd[1]: Stopping Dialing PPP connection pppoe0...
Jul 18 17:40:57 vyos pppd[8458]: Sent 13235355 bytes, received 172781331 bytes.
Jul 18 17:40:57 vyos pppd[8458]: Script /etc/ppp/ip-down started (pid 21472)
Jul 18 17:40:57 vyos pppd[8458]: Script /etc/ppp/ipv6-down started (pid 21473)
Jul 18 17:40:57 vyos pppd[8458]: sent [LCP TermReq id=0x2 "User request"]
Jul 18 17:40:57 vyos pppd[8458]: rcvd [LCP TermAck id=0x2]
Jul 18 17:40:57 vyos pppd[8458]: Connection terminated.
Jul 18 17:40:57 vyos pppd[8458]: Connect time 60.8 minutes.
Jul 18 17:40:57 vyos pppd[8458]: Sent 13235355 bytes, received 172781395 bytes.
Jul 18 17:40:57 vyos pppd[8458]: Send PPPOE Discovery V1T1 PADT session 0x9a1 length 0
Jul 18 17:40:57 vyos pppd[8458]: dst 70:62:ac:bb:00:08 src 00:98:2b:f8:3f:16
Jul 18 17:40:57 vyos pppd[8458]:
Jul 18 17:40:57 vyos pppd[8458]: Sent PADT
Jul 18 17:40:57 vyos pppd[8458]: Script /etc/ppp/ipv6-down finished (pid 21473), status = 0x0
Jul 18 17:40:57 vyos pppd[8458]: Waiting for 1 child processes...
Jul 18 17:40:57 vyos pppd[8458]: script /etc/ppp/ip-down, pid 21472
Jul 18 17:41:02 vyos pppd[8458]: sending SIGTERM to process 21472
Jul 18 17:41:02 vyos pppd[8458]: Exit.
Jul 18 17:41:02 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=5/NOTINSTALLED
Jul 18 17:41:02 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
Jul 18 17:41:02 vyos systemd[1]: Stopped Dialing PPP connection pppoe0.
Jul 18 17:41:02 vyos systemd[1]: Started Dialing PPP connection pppoe0.
Jul 18 17:41:02 vyos pppd[21487]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:02 vyos pppd[21487]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:02 vyos pppd[21487]: /usr/sbin/pppd: local/remote LL address required for demand-dialling
Jul 18 17:41:02 vyos pppd[21487]: local/remote LL address required for demand-dialling
Jul 18 17:41:02 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 18 17:41:02 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
Jul 18 17:41:07 vyos systemd[1]: ppp@pppoe0.service: Service RestartSec=5s expired, scheduling restart.
Jul 18 17:41:07 vyos systemd[1]: ppp@pppoe0.service: Scheduled restart job, restart counter is at 1.
Jul 18 17:41:07 vyos systemd[1]: Stopped Dialing PPP connection pppoe0.
Jul 18 17:41:07 vyos systemd[1]: Started Dialing PPP connection pppoe0.
Jul 18 17:41:07 vyos pppd[21526]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:07 vyos pppd[21526]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:07 vyos pppd[21526]: /usr/sbin/pppd: local/remote LL address required for demand-dialling
Jul 18 17:41:07 vyos pppd[21526]: local/remote LL address required for demand-dialling
Jul 18 17:41:07 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 18 17:41:07 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
Jul 18 17:41:12 vyos systemd[1]: ppp@pppoe0.service: Service RestartSec=5s expired, scheduling restart.
Jul 18 17:41:12 vyos systemd[1]: ppp@pppoe0.service: Scheduled restart job, restart counter is at 2.
Jul 18 17:41:12 vyos systemd[1]: Stopped Dialing PPP connection pppoe0.
Jul 18 17:41:12 vyos systemd[1]: Started Dialing PPP connection pppoe0.
Jul 18 17:41:12 vyos pppd[21629]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:12 vyos pppd[21629]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:12 vyos pppd[21629]: /usr/sbin/pppd: local/remote LL address required for demand-dialling
Jul 18 17:41:12 vyos pppd[21629]: local/remote LL address required for demand-dialling
Jul 18 17:41:12 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 18 17:41:12 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
Jul 18 17:41:18 vyos systemd[1]: ppp@pppoe0.service: Service RestartSec=5s expired, scheduling restart.
Jul 18 17:41:18 vyos systemd[1]: ppp@pppoe0.service: Scheduled restart job, restart counter is at 3.
Jul 18 17:41:18 vyos systemd[1]: Stopped Dialing PPP connection pppoe0.
Jul 18 17:41:18 vyos systemd[1]: Started Dialing PPP connection pppoe0.
...skipping...
Jul 18 17:41:02 vyos pppd[21487]: /usr/sbin/pppd: local/remote LL address required for demand-dialling
Jul 18 17:41:02 vyos pppd[21487]: local/remote LL address required for demand-dialling
Jul 18 17:41:02 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 18 17:41:02 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
Jul 18 17:41:07 vyos systemd[1]: ppp@pppoe0.service: Service RestartSec=5s expired, scheduling restart.
Jul 18 17:41:07 vyos systemd[1]: ppp@pppoe0.service: Scheduled restart job, restart counter is at 1.
Jul 18 17:41:07 vyos systemd[1]: Stopped Dialing PPP connection pppoe0.
Jul 18 17:41:07 vyos systemd[1]: Started Dialing PPP connection pppoe0.
Jul 18 17:41:07 vyos pppd[21526]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:07 vyos pppd[21526]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:07 vyos pppd[21526]: /usr/sbin/pppd: local/remote LL address required for demand-dialling
Jul 18 17:41:07 vyos pppd[21526]: local/remote LL address required for demand-dialling
Jul 18 17:41:07 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 18 17:41:07 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
Jul 18 17:41:12 vyos systemd[1]: ppp@pppoe0.service: Service RestartSec=5s expired, scheduling restart.
Jul 18 17:41:12 vyos systemd[1]: ppp@pppoe0.service: Scheduled restart job, restart counter is at 2.
Jul 18 17:41:12 vyos systemd[1]: Stopped Dialing PPP connection pppoe0.
Jul 18 17:41:12 vyos systemd[1]: Started Dialing PPP connection pppoe0.
Jul 18 17:41:12 vyos pppd[21629]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:12 vyos pppd[21629]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:12 vyos pppd[21629]: /usr/sbin/pppd: local/remote LL address required for demand-dialling
Jul 18 17:41:12 vyos pppd[21629]: local/remote LL address required for demand-dialling
Jul 18 17:41:12 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 18 17:41:12 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
Jul 18 17:41:18 vyos systemd[1]: ppp@pppoe0.service: Service RestartSec=5s expired, scheduling restart.
Jul 18 17:41:18 vyos systemd[1]: ppp@pppoe0.service: Scheduled restart job, restart counter is at 3.
Jul 18 17:41:18 vyos systemd[1]: Stopped Dialing PPP connection pppoe0.
Jul 18 17:41:18 vyos systemd[1]: Started Dialing PPP connection pppoe0.
Jul 18 17:41:18 vyos pppd[21696]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:18 vyos pppd[21696]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:18 vyos pppd[21696]: /usr/sbin/pppd: local/remote LL address required for demand-dialling
Jul 18 17:41:18 vyos pppd[21696]: local/remote LL address required for demand-dialling
Jul 18 17:41:18 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 18 17:41:18 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
Jul 18 17:41:23 vyos systemd[1]: ppp@pppoe0.service: Service RestartSec=5s expired, scheduling restart.
Jul 18 17:41:23 vyos systemd[1]: ppp@pppoe0.service: Scheduled restart job, restart counter is at 4.
Jul 18 17:41:23 vyos systemd[1]: Stopped Dialing PPP connection pppoe0.
Jul 18 17:41:23 vyos systemd[1]: Started Dialing PPP connection pppoe0.
Jul 18 17:41:23 vyos pppd[21807]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:23 vyos pppd[21807]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:23 vyos pppd[21807]: /usr/sbin/pppd: local/remote LL address required for demand-dialling
Jul 18 17:41:23 vyos pppd[21807]: local/remote LL address required for demand-dialling
Jul 18 17:41:23 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 18 17:41:23 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
Jul 18 17:41:28 vyos systemd[1]: ppp@pppoe0.service: Service RestartSec=5s expired, scheduling restart.
Jul 18 17:41:28 vyos systemd[1]: ppp@pppoe0.service: Scheduled restart job, restart counter is at 5.
Jul 18 17:41:28 vyos systemd[1]: Stopped Dialing PPP connection pppoe0.
Jul 18 17:41:28 vyos systemd[1]: Started Dialing PPP connection pppoe0.
Jul 18 17:41:28 vyos pppd[21855]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:28 vyos pppd[21855]: Plugin rp-pppoe.so loaded.
Jul 18 17:41:28 vyos pppd[21855]: /usr/sbin/pppd: local/remote LL address required for demand-dialling
Jul 18 17:41:28 vyos pppd[21855]: local/remote LL address required for demand-dialling
Jul 18 17:41:28 vyos systemd[1]: ppp@pppoe0.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 18 17:41:28 vyos systemd[1]: ppp@pppoe0.service: Failed with result 'exit-code'.
I just had a test, but the problem is still the same. See the picture. Is it strange? Why can't you reproduce
Strange? I'll find a chance to test it!
In T2585#70520, @c-po wrote:I have no clue what you are talking about
Is it possible to report an error or warning when on-demand dialing is enabled without negotiation between remote IP and local IP? If warned, an error fallback should be supported
I already know what the problem is, using dial on demand requires negotiation to be disabled (specify remote IP and local IP explicitly)?
@c-po Why stop the implementation of this function? My original idea was to implement the automatic configuration and operation of the service in vyos-1x. It seems that you already have an idea?
Jul 17 2020
@c-po Please review my PR
Jul 16 2020
Can I make a suggestion? Since this DDoS detection supports user script processing, it is better to migrate the script during the vyos upgrade to prevent script loss
Jul 15 2020
Please prompt me the correct path to the vyos-1x dependency list @runar
I am about to make an amendment