Guide to basic


socklab tcp - it executes socklab with tcp protocol passive



Download 116,09 Kb.
Pdf ko'rish
bet4/4
Sana12.05.2023
Hajmi116,09 Kb.
#937321
TuriGuide
1   2   3   4
Bog'liq
Linux-Networking-Commands

socklab tcp
- it executes socklab with tcp protocol
passive
- it creates a socket in passive mode, it’s equivalent to socklab, sock tcp, 
bind, listen
accept
- it accepts an incoming connection (it can be done before or after 
creating the incoming connection)
connect  

- these two commands are equivalent to 
socklab, sock tcp, bind, connect
close
- it closes the connection
read 
- to read bytes on the socket
write
(ex. write ciao, ex. write #10) to write “ciao” or to write 10 bytes on the 
socket
NAT/Firewall
rm /etc/resolv.conf
- it prevent address resolution and make sure your filtering 
and firewall rules works properly
ipnat –f file_name
- it writes filtering rules into file_name
ipnat –l
- it gives the list of active rules
ipnat –C –F
- it re-initialize the rules table
map em0 192.168.1.0/24 -> 195.221.227.57/32 em0
: mapping IP addresses 
to the interface
map em0 192.168.1.0/24 -> 195.221.227.57/32 portmap tcp/udp 
20000:50000
: mapping with port
ipf –f file_name
: it writes filtering rules into file_name
ipf –F –a
: it resets the rule table
ipfstat –I
: it grants access to a few information on filtered packets, as well as 
active filtering rules
This quick reference guide has been created by 
It’s FOSS
, your ultimate source of 
Open Source and Linux learning.
NAT Firewall

Document Outline


Download 116,09 Kb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish