> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Guy Harris > Sent: Thursday, April 07, 2005 22:36 > To: tcpdump-workers@lists.tcpdump.org > Subject: Re: [tcpdump-workers] libpcap: HP-UX Patch for > configurable DLSAP > > > On Apr 7, 2005, at 7:33 AM, Brown, Mark C (GSE GCSM) wrote: > > > Here's a patch to allow the user to override the DLSAP in the > > DL_BIND_REQ via environment variable PCAP_SAP when running on HP-UX. > > There have been issues with other applications binding to 22 > > I.e., other applications trying to read raw packets?
Not sure of the specifics of the app, but they had bound to 22. > Is there anything special about a SAP of 22? It sounds as if there > isn't, as you're implying that overriding 22 with a different SAP > value still works. Not really anything special about 22 other than convention. > What SAP values can be used for the raw mode DLPI service > primitives? Perhaps, instead of hardcoding 22 and 24 in, > pcap-dlpi.c > should try all of the available SAP values until it finds one where > you don't get EBUSY back from a bind, rather than, in effect, I tested SAP values 0 to 100 and they all worked on 11.11 and 11.23. Here's a new patch that tries SAP values 22 to 100. I didn't want to change libpcap's default behavior which is why I start with 22. Regards, Mark C. Brown, Hewlett-Packard Company Global Complex Solutions Management Global Solutions Engineering 1-240-744-8145 <https://ecardfile.com/id/mbrown> As always, please let me know if you prefer not to receive email messages from me. For More information regarding Hewlett-Packard's privacy policy or to obtain information, please see our privacy statement at: http://welcome.hp.com/country/us/en/privacy.html
pcap-dlpi_hpux.patch.gz
Description: pcap-dlpi_hpux.patch.gz
- This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.