so when do you get the homework score back?
btw socket_type, udp/tcp, ip, port ?
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: Only for the REAL Techy GEEKS!!
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Only for the REAL Techy GEEKS!!"
Collapse
-
#1 2x (IP + port)
#2 Server behaviour:- Socket
- Bind (set local port number)
- Listen
- Accept
Client behaviour:- Socket
- Bind (optional)
- Connect
#3 Yes potentially
#4 Class C part irrelevant; netmask implies CIDR hence [2^(32-26) - 2] or 62; host part of all zeros is reserved for representing the network address; host part of all ones is the network broadcast address.
#5 Don't know.
#6 Examples:- If process spawned for each new connection then if hard limit on the number processes you have problems.
- May be hard limit on the number of sockets.
- May hit limit on resource such as memory.
#7 Don't know since don't use Windows much.
#8 Presumably daemons.
#9 chmod
Leave a comment:
-
1. What are the four components of a socket?
Mmm, not sure what is meant here. Must be source address:source port and destination address : destination port. But full UNIX sockets are made up user (e.g. root), process ID, protocol UDP/TCP4/6/, local address : port and foreign address : port.
2. How is a TCP connection established?
Forgotten, look up 'three way handshake'.
3. Could you run two web servers (both on TCP/80) on the same box?
Yes and no. Each daemon will want it's unique local address : port combination. However, multihomed systems can run address1 : 80 and address2 : 80 if address1 and address2 are bound to the same machine - but it's contrived to run multiple instances of the same daemon. Furthermore multiple sites can be hosted on one address : port combination using named based virtual hosting.
4. How many hosts can you have in a class C network with a 26 bit mask?
255.255.255.192
e.g. 192.16.168.0/26
Range 192.168.0.1 to 192.168.0.62, broadcast 192.168.0.63, 62 hosts
5. What is a TCP full scan?
Look up nmap
6. Give an example of resource starvation DOS attack?
Look up nmap again. Don't all DOS starve resources?
7. In windows, from the command line, what command would you use to start and or stop a service?
net start _______ & net stop ________
8. Service’s are to windows like _________ is to UNIX?
daemons
9. What command could you use to change the permissions of a file in UNIX?
chmod
10. What file is used to resolve a hostname if the /etc/host file does not contain the host information and IP address.
/etc/resolv.conf - it points to the DNS
Thanks all in advance!!
The Newbie on the Block!!
[/QUOTE]
Leave a comment:
-
Your "mate" could answer all those quite easily with a bit of research on Google.
They are all straight forward network and OS related questions, no need for a "real geek" to answer them unless you are a complete newbie and don't understand the questions to start with.
Leave a comment:
-
3 - No.Originally posted by sharemaster2 View PostHi People,
Just got some questions mailed to me by a mate that needs these questions answered by monday - people here it is:
1. What are the four components of a socket?
2. How is a TCP connection established?
3. Could you run two web servers (both on TCP/80) on the same box?
4. How many hosts can you have in a class C network with a 26 bit mask?
5. What is a TCP full scan?
6. Give an example of resource starvation DOS attack?
7. In windows, from the command line, what command would you use to start and or stop a service?
8. Service’s are to windows like _________ is to UNIX?
9. What command could you use to change the permissions of a file in UNIX?
10. What file is used to resolve a hostname if the /etc/host file does not contain the host information and IP address.
Thanks all in advance!!
The Newbie on the Block!!
7 - net start xxx / net stop xxx
8 - processes
9 - chmod
I think they're right, but I'm not sure.
You could ask a pure IT forum, or even ask Jeeves.
Leave a comment:
-
Should have read - I have an interview Monday for an IT gig. I managed to get the test paper from someone who works there. Can you please fill in the blanks for me so I can look good.Originally posted by sharemaster2 View PostHi People,
Just got some questions mailed to me by a mate that needs these questions answered by monday - people here it is:
1. What are the four components of a socket?
2. How is a TCP connection established?
3. Could you run two web servers (both on TCP/80) on the same box?
4. How many hosts can you have in a class C network with a 26 bit mask?
5. What is a TCP full scan?
6. Give an example of resource starvation DOS attack?
7. In windows, from the command line, what command would you use to start and or stop a service?
8. Service’s are to windows like _________ is to UNIX?
9. What command could you use to change the permissions of a file in UNIX?
10. What file is used to resolve a hostname if the /etc/host file does not contain the host information and IP address.
Thanks all in advance!!
The Newbie on the Block!!
Leave a comment:
-
Only for the REAL Techy GEEKS!!
Hi People,
Just got some questions mailed to me by a mate that needs these questions answered by monday - people here it is:
1. What are the four components of a socket?
2. How is a TCP connection established?
3. Could you run two web servers (both on TCP/80) on the same box?
4. How many hosts can you have in a class C network with a 26 bit mask?
5. What is a TCP full scan?
6. Give an example of resource starvation DOS attack?
7. In windows, from the command line, what command would you use to start and or stop a service?
8. Service’s are to windows like _________ is to UNIX?
9. What command could you use to change the permissions of a file in UNIX?
10. What file is used to resolve a hostname if the /etc/host file does not contain the host information and IP address.
Thanks all in advance!!
The Newbie on the Block!!
Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers

Leave a comment: