Any way to send to broadcasthost out PPP if?
Any way to send to broadcasthost out PPP if?
- Subject: Any way to send to broadcasthost out PPP if?
- From: "Brian S Julin" <email@hidden>
- Date: Mon, 17 Sep 2007 11:05:07 -0400
- Thread-topic: Any way to send to broadcasthost out PPP if?
Hi,
I'm trying to port a script I wrote for linux machines over to
MAC.
The script runs via ppp/ipup and gets a split tunnel list from a
CISCO ASA/PIX L2TP VPN server by sending a DHCP Inform packet
to 255.255.255.255 (broadcasthost) and reading the results out
of a returned DHCP Ack.
Unfortunately I am having trouble getting this packet to go out
the PPP interface. So far I have tried using an ioctl to try to
set the broadcast flag on ppp0. That does not seem to be allowed
by the kernel.
Other research has pointed me towards using the bpf interfaces,
however the manual page for bpf states that write operations
are not implemented for PPP, only SLIP/ether. (Is the manpage
correct?)
I tried to test whether the native utilities could send such a
packet, which would suggest that BPF could indeed do it, but
ipconfig rejects "set ppp0 DHCP", "set ppp0 BOOTP", and "set
ppp0 INFORM <address> <netmask>" as "invalid operation".
So assuming the bpf manual page is correct, is there any other
way anyone can think of to get a dest=255.255.255.255 packet to
go out a PPP interface unmangled? I'm hesitant to try to
multi-open the pty, that strikes me as way too much hackery.
Thanks a bunch. This is not my normal OS, so any help would
be greatly appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden