Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 380 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 380 Bytes

iana-ports

An Awk script to process the IANA port list.

Download and save IANA's port-numbers file as iana-port-numbers. Then, run

cat iana-port-numbers | awk -f process_iana.awk

or, in case of multiple files, run

awk -f process_iana.awk iana-port-numbers p2p-port-numbers

The script outputs two files, tcp_port.list and udp_port.list.