I'm definitely no networking expert, but I believe /etc/hosts.allow fulfills this function. I don't know about port-specificity however - I think that would just be handled by the service itself, whatever port it's set to run on will be covered by the service's entry in hosts.allow.
You can specify IPs to allow connections from, service by service. for example, this:
would allow any IP that matches to login with ssh.
"les jeux son fait - translation: the game is up! your ass is mine!"
lol great nick.