@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)
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
All Stories
Jul 20 2020
Sorry, that sounds good, but I don't quite understand what you mean?
Its always a good idea to research how other vendors are doong it - e.g. Arista, Cisco, Juniper and see if there is. common CLI ground.
@c-po Arping has the following options. I wonder if there is a better way to help you freely combine these options?
This happens when the system starts up:
Jul 19 2020
in the latest chronicles of me replying to myself and resolving issues
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?
Okay, and the reason you have not indicated your VyOS reason is because of?
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'.
Your log is not very helpful - a full log would be much better, that'
s why we have those show interfaces .... log commands
I just had a test, but the problem is still the same. See the picture. Is it strange? Why can't you reproduce
Then I guess you have not tested the latest version. Closing as Invalid.
Strange? I'll find a chance to test it!
I still don't get it - about which address you are talking about? 10.64.64.64 is pppd "hisaddr" which is 0x0a404040 + ppp unit number.
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 have no clue what you are talking about
I already know what the problem is, using dial on demand requires negotiation to be disabled (specify remote IP and local IP explicitly)?
Issue can not be reproduced:
@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?
This only happens when there are multiple <path> options.
Jul 17 2020
The issue did not reproduce in the VyOS 1.3-rolling-202007140117 version. Also commit fails if the local-ip is missing
Reproduced in VyOS 1.3-rolling-202007140117 version
When the mac address is added to the interface manually, the interface is marked down.
A PR #502 is created to fix the issue:
https://github.com/vyos/vyos-1x/pull/502
@c-po Please review my PR
I spoke too soon, I rebooted and nothing yet again until i ran
Resolved: It seems either my config or something else has changed but I figured it out just now after a coffee and some noodle scratching.
Jul 16 2020
Just did a test that I havent before for unknown reasons
This is issue is reproduced in the VyOS 1.3-rolling-202007140117 version.
While changing the mode of the pseudo-ethernet interface, the error "RTNETLINK answers: Invalid argument" is received
@thomas-mangin please fix it
@SrividyaA the task is assigned to you, if you are going to fix it, all good, otherwise happy to do so.
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
PR created https://github.com/vyos/vyos-1x/pull/498
Did the changes on dependencies file here: https://github.com/Maltahl/vyos-1x/commit/27400e09b27d98b6ee34568fe25828cff1d14770
this implementation would ba an operational mode command. THose are deinfed here: https://github.com/vyos/vyos-1x/blob/current/op-mode-definitions/wireguard.xml and package dependencies life here https://github.com/vyos/vyos-1x/blob/current/debian/control
Implemented as of T2651