| Summary: | PermitOpen none option | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Loganaden Velvindron <loganaden> | ||||||||||||
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> | ||||||||||||
| Status: | CLOSED FIXED | ||||||||||||||
| Severity: | enhancement | CC: | dtucker | ||||||||||||
| Priority: | P2 | ||||||||||||||
| Version: | 5.9p1 | ||||||||||||||
| Hardware: | All | ||||||||||||||
| OS: | OpenBSD | ||||||||||||||
| Bug Depends on: | |||||||||||||||
| Bug Blocks: | 1986 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Loganaden Velvindron
2011-11-06 19:51:23 AEDT
Created attachment 2108 [details]
permitOpen none with a single socket
Instead of creating a bunch of sockets with hosttoconnect to as NULL, It's simpler to create only one. Comment on attachment 2108 [details]
permitOpen none with a single socket
Darren is more familiar with this code than I am. The patch looks sane to me though.
Looks OK, but I think we need to add the equivalent code to channel_print_adm_permitted_opens() so that it'll output "permitopen none" when it sees the NULL in host_to_connect. Created attachment 2111 [details]
permitopen none with sshd -T support
Created attachment 2112 [details]
OpenBSD sshd permitopen diff
Port of dtucker's patch for openbsd
Created attachment 2116 [details]
PermitOpen None diff for native OpenSSH
Remove a whitespace in channel_disable_adm_local_opens(void)
& add a space before none in printf() to make it more consistent.
Any comments ?
Are there other issues that need fixing ? ping ? Now that the tree is unlocked, any chance this could make it to OpenSSH 6.1 ? Patching each machine is a pain... thanks for the patch (and patience). this has been committed and will be in the 6.1 release. Awesome :-) Thanks for finding time to looking at it ! Close all resolved bugs after 7.3p1 release |