Web lists-archives.com

Re: Free TCP/IP port numbers?




Gene Heskett wrote:
> On Sunday 01 October 2017 03:34:19 tomas@xxxxxxxxxx wrote:
>
>> On Sun, Oct 01, 2017 at 01:28:39AM -0400, Gene Heskett wrote:
>>
>> [...]
>>
>> > > > Assuring that my port is not in this IANA list is not enough to
>> > > > ensure that my port number will not clash with a port number
>> > > > used by a Debian package (by default).
>> > > >
>> > > > So your answer to my question is wrong.
>> >
>> > In which case debian should publish the unlisted ports they do use,
>> > if for no other reason than to "stake a claim".
>>
>> "Debian" "should". Gene, you "should" know better ;-)
>>
>> Want to start with it? Write a script which scans the /etc files in
>> all Debian packages for network configurations.
>>
> That might be possible IF you wanted to use a tool like grep, but in 30 
> years I've not found a way to silence the "binary file matches" messages 
> from grep. [...]

`grep -a` will force grep to treat a file (regardless of data) as ascii
text.  Beware that a truely binary file will spit out the whole thing.


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281