Guest User

Untitled

a guest
Dec 6th, 2013
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.97 KB | None | 0 0
  1. 2013-09-24 22:23:34 d33tah is there any way I could help Nmap transistion to Git? it kind of feels inevitable.
  2. 2013-09-24 22:24:03 d33tah fixing one's own ones is something impossible to avoid
  3. 2013-09-24 22:24:31 yyzfp1 The biggest obstacle to me is having some way to do access control for whetever is the main repository.
  4. 2013-09-24 22:24:46 d33tah well, need some scripts?
  5. 2013-09-24 22:24:57 d33tah or research?
  6. 2013-09-24 22:25:04 yyzfp1 Right now, you define an svn-authz file, which is nice because you can easily create virtual users with commit access, and control what they may commit to.
  7. 2013-09-24 22:25:13 yyzfp1 I'm sure there is something similar for git, but I haven't done the research.
  8. 2013-09-24 22:25:22 d33tah on git, IIRC, you give users the shell accounts
  9. 2013-09-24 22:25:23 yyzfp1 Research I think is needed.
  10. 2013-09-24 22:25:34 d33tah they've got git-shell as their shell
  11. 2013-09-24 22:25:39 yyzfp1 It should be something that doesn't require actual Unix accounts for each committer.
  12. 2013-09-24 22:25:43 d33tah and you need to configure SSH to cut away stuff like tunneling
  13. 2013-09-24 22:26:01 yyzfp1 Or if that's not possible, instructions for running in an isolated sandbox separate from what else may be running.
  14. 2013-09-24 22:26:01 bonsaiviking yyzfp1 gitosis is a decent solution
  15. 2013-09-24 22:26:24 d33tah okay, I could play with that and let you know.
  16. 2013-09-24 22:26:25 bonsaiviking each user provides you a public ssh key
  17. 2013-09-24 22:26:29 yyzfp1 Yeah, so if you have some recommendataions or you see what has worked well in the past, that might be helpful.
  18. 2013-09-24 22:26:36 d33tah hm
  19. 2013-09-24 22:26:49 d33tah Daniel just said some. makes me think that perhaps we could use a nmap-dev topic
  20. 2013-09-24 22:26:51 bonsaiviking access is over ssh, but it's locked and you can't run shell commands. And there's only 1 user (gitosis) on the server
  21. 2013-09-24 22:26:59 d33tah IIRC Henri also liked the idea
  22. 2013-09-24 22:27:27 bonsaiviking otherwise github has decent access control, as far as I can tell from metasploit
  23. 2013-09-24 22:27:49 bonsaiviking but I know you (yyzfp1) are opposed to github because of maintaining an external account
  24. 2013-09-24 22:27:52 d33tah but you lose control over the server then.
  25. 2013-09-24 22:28:19 bonsaiviking d33tah: with git, the server is just another copy of the repo. Everyone has the full copy with full commit history
  26. 2013-09-24 22:28:28 yyzfp1 Well, I don't want particularly want to be a github sure, but that's not an ovverriding concern.
  27. 2013-09-24 22:28:31 bonsaiviking So what's authoritative is whatever copy you like best.
  28. 2013-09-24 22:28:45 yyzfp1 I think fyodor is worried about github becoming the next sourceforge (me too).
  29. 2013-09-24 22:28:59 d33tah you mean not alive anymore?
  30. 2013-09-24 22:29:01 bonsaiviking If, e.g. fyodor decided github's copy was bad, he could start over with his own copy.
  31. 2013-09-24 22:29:39 bonsaiviking since the id of each change is a sha-1 hash, you get some integrity control, too.
  32. 2013-09-24 22:30:07 d33tah and you get svn for free on github, still i'm anxious about external hosting as well.
  33. 2013-09-24 22:30:14 bonsaiviking yyzfp1: which aspects of sourceforge do you fear in github?
  34. 2013-09-24 22:32:29 yyzfp1 I think we can agree that sourceforge's glory days are behind it.
  35. 2013-09-24 22:32:35 d33tah 22:28:59 d33tah $ you mean not alive anymore?
  36. 2013-09-24 22:32:36 bonsaiviking absolutely.
  37. 2013-09-24 22:32:37 d33tah so I guessed ;)
  38. 2013-09-24 22:32:51 d33tah and google code's never happened xP
  39. 2013-09-24 22:33:07 yyzfp1 There's a danger of it becoming old and crufty and unmaintained, actually the bigger danger is perhaps that the operators' intereests no longer align with those of the deleopers that use it.
  40. 2013-09-24 22:33:39 yyzfp1 Not that I think the sky is falling or anything.
  41. 2013-09-24 22:33:58 yyzfp1 I don't think the risk is that high, or that the cost of moving away would be too great if it happened.
  42. 2013-09-24 22:33:58 d33tah hm, perhaps it's a good idea to start a nmap-dev thread so the rest could throw some ideas as well?
  43. 2013-09-24 22:34:15 bonsaiviking true. I think the flexibility with git means that you can just pull up stakes and move if you don't like your host any more.
  44. 2013-09-24 22:34:27 bonsaiviking biggest complaint I've heard from metasploit devs is that the bugtracker isn't fully-featured. So they run an external bugtracker (redmine)
  45. 2013-09-24 22:34:31 yyzfp1 But speaking generally, it is a bit spooky that github has become a big single point of failure for many free software projects, and it's not free osftware itself.
  46. 2013-09-24 22:35:06 d33tah well, git adds a bit of redundancy here.
  47. 2013-09-24 22:35:32 yyzfp1 It's true, but search Twitter for "github down" and see what havoc it causes when it happens.
  48. 2013-09-24 22:35:52 d33tah i personally don't like posting releases and main websites there, that's for sure.
  49. 2013-09-24 22:36:18 d33tah markdown readme as the homepage sucks and i won't say how badly because i'm trying not to curse anymore :P
  50. 2013-09-24 22:36:45 d33tah but as the git repository, I personally like it. though self-hosting definitely has its own upsides.
  51. 2013-09-24 22:37:32 d33tah so, mind if I'll throw the idea to the general public?
  52. 2013-09-24 22:37:39 yyzfp1 Go ahead.
  53. 2013-09-24 22:37:48 yyzfp1 I think you will also have to do some evangelism with fyodor.
  54. 2013-09-24 22:38:09 d33tah okay. I was thinking of summarizing the discussion that took place here as well, but it'd take some time
  55. 2013-09-24 22:38:13 d33tah I could as well attach the IRC log
  56. 2013-09-24 22:38:27 d33tah okay, I could try evangelising The Boss. :)
  57. 2013-09-24 22:39:02 d33tah btw, I was thinking if I'd ask you before/instead asking Fyodor...
  58. 2013-09-24 22:39:20 d33tah could I get a VPS close to nmap.org so I could play with stuff like websvn?
  59. 2013-09-24 22:39:45 d33tah i tried to host it on my box but it's dead slow
  60. 2013-09-24 22:40:16 yyzfp1 I dunno, you could try to get a linode in the same datacenter.
  61. 2013-09-24 22:40:57 d33tah what do you think about the idea?
  62. 2013-09-24 22:41:35 yyzfp1 I think you're better off making a deep git clone of the nmap svn repo, and running a gitweb instance locally.
  63. 2013-09-24 22:41:52 d33tah the step one here is "buy a new HDD".
  64. 2013-09-24 22:42:15 d33tah anyway, the point is to make it public
  65. 2013-09-24 22:42:28 d33tah so it's more easily browsable/linkable in mailing list talks
  66. 2013-09-24 22:42:43 yyzfp1 You can, to a certain degree.
  67. 2013-09-24 22:43:02 d33tah i understand it should run as an anonymous SVN user
  68. 2013-09-24 22:43:18 yyzfp1 https://svn.nmap.org/nmap/CHANGELOG
  69. 2013-09-24 22:43:25 yyzfp1 https://svn.nmap.org/nmap/CHANGELOG?p=20000
  70. 2013-09-24 22:43:33 d33tah and i'd prefer to be separated from Nmap infrastructure so I could play without worrying about breaking stuff
  71. 2013-09-24 22:43:41 yyzfp1 But it's not nice because it doesn't show you commit diffs and such.
  72. 2013-09-24 22:43:46 d33tah yeah.
  73. 2013-09-24 22:43:55 d33tah github solves it a bit, but it doesn't speak r31337.
  74. 2013-09-24 22:44:12 yyzfp1 There is a command for that.
  75. 2013-09-24 22:44:13 d33tah (damnit, sophron, why did you take the number? :<)
  76. 2013-09-24 22:44:26 d33tah i know, but you can't link a command over nmap-dev :P
  77. 2013-09-24 22:44:45 yyzfp1 git svn find-rev r32384
  78. 2013-09-24 22:45:00 d33tah not applicable on github.
  79. 2013-09-24 22:45:02 yyzfp1 Right, and I think our local commit digests are different.
  80. 2013-09-24 22:45:27 d33tah i personally did git log and there was some @r31337 stuff
  81. 2013-09-24 22:45:46 d33tah commit f968c9122e766d9565b22b5922ce9f9e11aaef1d
  82. 2013-09-24 22:45:46 d33tah Author: d33tah <d33tah@e0a8ed71-7df4-0310-8962-fdc924857419>
  83. 2013-09-24 22:45:46 d33tah Date: Wed Sep 18 18:24:07 2013 +0000
  84. 2013-09-24 22:45:46 d33tah Apply my color-input.diff patch I published here:
  85. 2013-09-24 22:45:46 d33tah http://seclists.org/nmap-dev/2013/q3/586
  86. 2013-09-24 22:45:46 d33tah
  87. 2013-09-24 22:45:46 d33tah git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/ncat-colors@32357 e0a8ed71-7df4-0310-8962-fdc924857419
Advertisement
Add Comment
Please, Sign In to add comment