Ad Schellevis
f5c2f7760b
list_arp.py oops, forgot the hostname clause. for https://github.com/opnsense/core/issues/3595
2019-07-26 21:08:46 +02:00
Ad Schellevis
eb0e73607e
use shared dhcpd lease reader in list_arp.py, closes https://github.com/opnsense/core/issues/3595
2019-07-26 11:34:02 +02:00
Ad Schellevis
3a0b9e1620
arp list, first dhcp lease missing in list_arp.py, closes https://github.com/opnsense/core/issues/3595
2019-07-25 08:30:16 +02:00
Ad Schellevis
2f69282b28
python3: replace subprocess.call in src/opnsense/scripts/interfaces/* for https://github.com/opnsense/core/issues/3574
2019-07-23 16:29:51 +02:00
Franco Fichtner
e9f2862bd7
interfaces: background configd reconfigure; closes #2267
2019-06-07 11:15:43 +02:00
Ad Schellevis
11d64579ce
python3, use symlink in already converted scripts
2019-05-13 13:00:49 +02:00
Ad Schellevis
404f796eb8
python2->3 scripts in src/opnsense/scripts/interfaces
2019-05-13 11:37:01 +02:00
Franco Fichtner
be9a1c94ab
interfaces: small tweaks in PPP link scripts for #2267
2019-03-26 21:16:54 +01:00
Franco Fichtner
0e95b0f407
interfaces: remove rc.kill_states
...
There's no real world evidence this works or is needed today.
We do have to other state kills / flushes now, one works and
the other may be defunct. To progress this remove this arcane
script and if the need arises rewrite it as something portable.
See: https://redmine.pfsense.org/issues/1629
Also see: https://redmine.pfsense.org/issues/2887
2019-03-21 18:33:18 +01:00
Franco Fichtner
8f9a89e643
interfaces: fix permission
2019-02-25 08:28:06 +01:00
Franco Fichtner
75c3100ba7
interfaces: move mpd.script to scripts dir
...
mpd5 is started with -d /var/etc so it expects mpd.script to be there.
Some small simplifications along the way.
2019-02-25 08:23:50 +01:00
Franco Fichtner
cfc95122f2
interfaces: move ppp-related scripts to proper location
...
sbin/ is for console-bound binaries.
2019-02-25 08:23:50 +01:00
Franco Fichtner
90c0c395a5
interfaces: check for valid alias IP #3197
...
Suggested by: @tbandixen
2019-02-15 11:26:14 +01:00
Franco Fichtner
8e9ae38fdc
Revert "interfaces: remove arp flush from dhclient-script #3197 "
...
This reverts commit a1dbbb5ef132487c88b2b144ac67eeedb00a576c.
2019-02-15 11:22:07 +01:00
Franco Fichtner
b20f71b19e
interfaces: our dhclient-script doesn't clobber resolv.conf #3197
...
The FreeBSD one does, but we have different code that is "safe"
for multiple DHCP connections.
2019-02-08 22:23:18 +01:00
Franco Fichtner
a1dbbb5ef1
interfaces: remove arp flush from dhclient-script #3197
...
PR: https://forum.opnsense.org/index.php?topic=11037.0
2019-02-08 22:21:54 +01:00
Franco Fichtner
cae5ec3f69
system: remove apinger, dpinger takes over
2018-11-10 23:42:17 +01:00
Franco Fichtner
8f6c2bc881
src: whitespace and style sweep
2018-10-19 07:03:39 +00:00
Ad Schellevis
a3cb1a0c59
system: add configd call to return json structured interface data using legacy_interfaces_details(), while working on https://github.com/opnsense/core/issues/2787 missed something to return configured addresses.
...
No need to duplicate legacy_interfaces_details.
adds:
```
configctl interface list ifconfig
```
2018-10-15 13:02:50 +02:00
Franco Fichtner
19b832f6c8
interfaces: try to sync dhclient-script #2542
2018-08-08 18:15:32 +02:00
Franco Fichtner
00838b49ce
src: move dhclient-script to proper location
...
".ext" came to be because dhclient-script from BSD is also under sbin/,
but since we always explicity use this one just move it to a neutral
location and point to it.
2018-05-06 14:32:06 +02:00
Franco Fichtner
0c2fefab03
src: transform Ad's copyrights, add e-mail everywhere
2017-08-06 11:19:35 +02:00
Franco Fichtner
3226dce27d
interfaces: fix py-netaddr mac listing for new version
2017-06-11 09:36:16 +02:00
Ad Schellevis
feb11e59a8
(list_arp.py) only parse lease sections https://forum.opnsense.org/index.php?topic=4086.0
2016-12-14 03:05:15 +01:00
Ad Schellevis
f107116e7d
ditch load_mac_manufacturer_table, replace with configd call
2016-09-15 15:21:04 +02:00
Franco Fichtner
b3053e79ad
interfaces: finish up arp and ndp
...
o Order dependencies alphabetically in Makefile
o Use try/except so that failed lookup won't trash the script run
2016-01-23 16:01:21 +01:00
gitmod
40f6c6663a
use netaddr to lookup mac address
2016-01-22 19:53:10 +01:00
gitmod
a5a6678823
use space
2016-01-22 19:39:40 +01:00
gitmod
bde7fab3f9
use netaddr to lookup mac address
2016-01-22 19:33:26 +01:00
Ad Schellevis
18952b17c0
(ndp) add list ndp script code
2016-01-05 17:50:13 +01:00
Ad Schellevis
08d11e0d7e
(diagnostics) add list arp table action
2016-01-05 11:59:47 +01:00